powerpc: strcasestr optmization for power8
[glibc.git] / ChangeLog
blob79bfb734453982f96c79cde39cb58d818441bf8c
1 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5         (sysdep_routines): Add new strcasestr targets.
6         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7         (__libc_ifunc_impl_list): Likewise.
8         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
10         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11         * sysdeps/powerpc/powerpc64/power8/Makefile:
12         New file to add strcasestr-ppc64 to sysdep_routines.
13         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
18         * benchtests/Makefile (wcsmbs-benchset): Include only for
19         native builds and runs.
20         (LOCALES): Likewise.
21         (bench-build): Build timing-type here instead of the bench
22         target.  Generate locale only for native builds.
23         * benchtests/README: Add note for cross-building.
25         * benchtests/Makefile (bench-clean): Clean up extra-objs.
27         * benchtests/README: Update README to include instructions on
28         using bench-build.
30         * Makefile.in (bench-build): New target.
31         * Rules (PHONY): Add bench-build target.
32         * benchtests/Makefile (bench): Depend on bench-build.
33         (bench-build): New target.
35 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
38         profil_reply_port.
39         (profile_waiter): Do not initialize profil_reply_port.
40         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
41         frequency instead of tick length in us.
43 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
45         [BZ #18712]
46         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
47         (__old_mempcpy_small): Likewise.
48         (__old_strcpy_small): Likewise.
49         (__old_stpcpy_small): Likewise.
50         (__old_strpbrk_c2): Fix compat symbol name.
51         (__old_strpbrk_c3): Likewise.
52         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
53         (__mempcpy_small): Remove.
54         (__strcpy_small): Remove.
55         (__stpcpy_small): Remove.
57 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
59         [BZ #19400]
60         * locale/iso-639.def: Add the Talossan/tzl language.
62 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
64         [BZ #16983]
65         * locale/programs/ld-address.c (address_finish): Update postal_fmt
66         comment.  Add "ln" to strchr check on postal_fmt.
68 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
70         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
71         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
72         tel_dom_fmt.
74 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
76         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
77         (sysdep_routines): Added __strlen_power8.
78         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
79         __strlen_power8 entry.
80         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
81         Implementation for POWER8.
82         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
83         for __strlen_power8.
84         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
85         Implementation for POWER8.
87 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
89         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
91 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
93         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
94         Goldmont and Airmont processors.
96 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
98         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
99         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
100         (__STRING2_SMALL_GET32): Remove.
101         (memset): Remove.
102         (__memset_1): Remove.
103         (__memset_gc): Remove.
104         (__mempcpy): Remove.
105         (mempcpy): Remove.
106         (__mempcpy_args): Remove.
107         (strchr): Remove.
108         (strcpy): Remove.
109         (strcpy_args): Remove.
110         (__stpcpy_args): Remove.
111         (__strcmp_cc): Remove.
112         (__strcmp_gc): Remove.
113         (strstr): Remove.
115 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
117         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
118         * nis/nis_call.c (nis_server_cache_add): Likewise.
120 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
122         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
124 2016-04-14  Florian Weimer  <fweimer@redhat.com>
126         * malloc/arena.c (__malloc_fork_lock_parent)
127         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
128         internal_function attribute.
130 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
132         * stdio-common/printf_fp.c (__printf_fp_l):
133         Rename ___printf_fp_l to __printf_fp_l and
134         remove strong alias. Use libc_hidden_def instead
135         of ldbl_hidden_def macro.
137 2016-04-14  Florian Weimer  <fweimer@redhat.com>
139         Remove malloc hooks from fork handler.  They are no longer needed
140         because malloc runs right before fork, and no malloc calls from
141         other fork handlers are not possible anymore.
142         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
143         declarations.
144         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
145         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
146         (atfork_recursive_cntr): Remove.
147         (__malloc_fork_lock_parent): Do not override malloc hooks and
148         thread_arena.
149         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
150         thread_arena.
151         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
152         thread_arena instead of save_arena.
154 2016-04-14  Florian Weimer  <fweimer@redhat.com>
156         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
157         (thread_atfork, thread_atfork_static): Remove.
158         * sysdeps/mach/hurd/malloc-machine.h:
159         (thread_atfork, thread_atfork_static): Remove.
161 2016-04-14  Florian Weimer  <fweimer@redhat.com>
163         [BZ #19431]
164         Run the malloc fork handler as late as possible to avoid deadlocks.
165         * malloc/malloc-internal.h: New file.
166         * malloc/malloc.c: Include it.
167         * malloc/arena.c (ATFORK_MEM): Remove.
168         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
169         Update comment.
170         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
171         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
172         Remove outdated comment.
173         (ptmalloc_init): Do not call thread_atfork.  Remove
174         thread_atfork_static.
175         * malloc/tst-malloc-fork-deadlock.c: New file.
176         * Makefile (tests): Add tst-malloc-fork-deadlock.
177         (tst-malloc-fork-deadlock): Link against libpthread.
178         * manual/memory.texi (Aligned Memory Blocks): Update safety
179         annotation comments.
180         * sysdeps/nptl/fork.c (__libc_fork): Call
181         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
182         __malloc_fork_unlock_child.
183         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
185 2016-04-14  Florian Weimer  <fweimer@redhat.com>
187         [BZ #19613]
188         Remove union wait.
189         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
190         (w_stopsig, w_stopval): Remove.
191         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
192         stat_loc argument.
193         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
194         (__WAIT_STATUS_DEFN): Remove.
195         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
196         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
197         (wait, wait3, wait4): Use int * for the stat_loc argument.
198         * posix/wait.c (__wait): Likewise.
199         * posix/wait3.c (__wait3): Likewise.
200         * posix/wait4.c (__wait4): Likewise.
201         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
202         (__WAIT_STATUS_DEFN): Remove.
203         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
204         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
205         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
206         argument.
207         * sysdeps/posix/wait.c (__libc_wait): Likewise.
208         * sysdeps/posix/wait3.c (__wait3): Likewise.
209         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
210         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
211         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
212         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
213         stat_loc argument.
214         * manual/process.texi (BSD Wait Functions): Remove union wait.
216 2016-04-13  Andreas Schwab  <schwab@suse.de>
218         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
219         (test-extras): Add tst-tlsalign-vars.
220         * math/Makefile: Wrap long lines.
221         (libm-vec-test-wrappers): Define.
222         (test-extras): Add $(libm-vec-test-wrappers).
223         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
224         * nss/Makefile (extra-test-objs): Add nss_test1.os.
225         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
226         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
227         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
228         (extra-test-objs): Add corresponding objects.
230 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
232         [BZ #19928]
233         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
234         New.
235         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
236         times of shared cache size.
237         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
238         (VMOVNT): New.
239         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
240         (VMOVNT): Likewise.
241         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
242         (VMOVNT): Likewise.
243         (VMOVU): Changed to movups for smaller code sizes.
244         (VMOVA): Changed to movaps for smaller code sizes.
245         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
246         comments.
247         (PREFETCH): New.
248         (PREFETCH_SIZE): Likewise.
249         (PREFETCHED_LOAD_SIZE): Likewise.
250         (PREFETCH_ONE_SET): Likewise.
251         Rewrite to use forward and backward loops, which move 4 vector
252         registers at a time, to support overlapping addresses and use
253         non temporal store if size is above the threshold and there is
254         no overlap between destination and source.
256 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
258         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
259         Include dl-vdso.
260         * sysdeps/unix/sysv/linux/mips/Versions: Add
261         __vdso_clock_gettime.
262         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
263         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
264         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
265         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
266         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
267         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
268         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
269         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
270         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
272 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
274         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
275         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
276         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
277         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
278         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
279         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
282         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
283         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
284         syscalls generation.
285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
286         [__NR_pwrite64] (__NR_write): Remove define.
287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
288         [__NR_pwrite64] (__NR_write): Remove define.
289         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
290         Remove define.
291         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
292         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
293         Remove define.
294         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
295         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
296         Linux implementation as base.
297         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
299         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
300         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
302         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
305         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
306         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
307         syscall generation.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
309         [__NR_pread64] (__NR_pread): Remove define.
310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
311         [__NR_pread64] (__NR_pread): Likewise.
312         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
313         define.
314         (__libc_pread): Use SYSCALL_LL macro on offset argument.
315         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
316         Remove define.
317         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
318         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
319         Linux implementation as base.
320         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
321         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
322         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
324         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
325         definition.
326         (__ALIGNMENT_COUNT): Likewise.
327         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
328         (__ALIGNMENT_COUNT): Likewise.
329         (SYSCALL_LL): New define.
330         (SYSCALL_LL64): Likewise.
331         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
332         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
333         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
334         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
336         * sysdeps/unix/sysv/linux/arm/kernel-features.h
337         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
338         * sysdeps/unix/sysv/linux/mips/kernel-features.h
339         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
340         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
341         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
343 2016-04-11  Florian Weimer  <fweimer@redhat.com>
345         [BZ #19865]
346         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
347         original buffer before retry.
349 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
351         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
352         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
353         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
354         GLRO(dl_auxv) list.
355         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
356         including <ldsodefs.h>.
357         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
359 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
361         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
362         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
363         $(CPPFLAGS).
365 2016-04-09  Khem Raj  <raj.khem@gmail.com>
367         [BZ #17950]
368         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
369         Add -mfpmath=387.
371 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
373         * sysdeps/i386/configure.ac: Change == to = when calling test.
374         * sysdeps/x86_64/configure.ac: Likewise.
375         * sysdeps/i386/configure: Regenerated.
376         * sysdeps/x86_64/configure: Likewise.
378 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
380         [BZ #16137]
381         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
382         * benchtests/bench-strcoll.c (input_files): Likewise.
383         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
384         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
385         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
387 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
389         [BZ #19929]
390         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
391         [__USE_XOPEN2K8 && !__USE_GNU].
392         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
393         variable.
395         [BZ #19925]
396         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
397         define if [!__USE_MISC && __USE_XOPEN2K].
398         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
399         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
400         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
401         Likewise.
402         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
403         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
404         variable.
405         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
407 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
409         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
410         (sysdep_routines): Add new strspn targets.
411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
412         (__libc_ifunc_impl_list): Add strspn.
413         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
414         New file.
415         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
416         Likewise.
417         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
418         Likewise.
419         * sysdeps/powerpc/powerpc64/power8/strspn.S:
420         Likewise.
422 2016-04-07  Florian Weimer  <fweimer@redhat.com>
424         * misc/hsearch_r.c: Include <limits.h>.
426 2016-04-07  Florian Weimer  <fweimer@redhat.com>
428         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
430 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
432         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
433         (MEMCPY_SYMBOL): New.
434         (MEMPCPY_SYMBOL): Likewise.
435         (MEMMOVE_CHK_SYMBOL): Likewise.
436         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
437         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
438         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
439         Provide alias for memcpy in libc.a and ld.so.
441 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
443         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
444         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
445         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
446         Disabled fro now.
447         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
448         symbols.  Properly check USE_MULTIARCH on __memset symbols.
450 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
452         * benchtests/Makefile (string-benchset): Add memcpy-large,
453         memmove-large and memset-large.
454         * benchtests/bench-memcpy-large.c: New file.
455         * benchtests/bench-memmove-large.c: Likewise.
456         * benchtests/bench-memmove-large.c: Likewise.
457         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
459 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
461         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
462         32-bit displacement to avoid long nop between instructions.
464 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
466         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
467         a comment on VMOVU and VMOVA.
469 2016-04-04  Florian Weimer  <fweimer@redhat.com>
471         [BZ #19633]
472         Use specified locale for number formatting in strfmon_l.
473         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
474         (__nl_lookup_word): New inline functions.
475         * include/printf.h (__print_fp_l): Declare.
476         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
477         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
478         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
479         (___printf_fp): New function.
480         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
481         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
482         * stdlib/tst-strfmon_l.c (do_test): New test.
483         * stdlib/Makefile (tests): Add kt.
484         (LOCALES): Build additional locales.
485         (tst-strfmon_l.out): Require locales.
487 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
489         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
490         if not in libc.
491         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
492         Likewise.
493         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
494         Likewise.
495         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
496         Likewise.
498 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
500         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
501         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
502         with unaligned_erms.
503         (__memmove_erms): Skip if source == destination.
504         (__memmove_unaligned_erms): Don't check source == destination
505         first.
507 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
509         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
510         bit_arch_Fast_Copy_Backward for Intel Core proessors.
512 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
514         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
515         * string/strspn.c (strspn): Likewise.
517 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
519         * benchtests/bench-memset.c (do_test): Support 64-byte
520         alignment.
521         (test_main): Test 64-byte alignment.
523 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
525         * benchtests/bench-memmove.c (test_main): Test 64-byte
526         alignment.
528 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
530         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
532 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
534         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
535         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
536         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
538         * string/strpbrk.c (strpbrk): Rewrite function.
539         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
540         (__strpbrk_c2): Likewise.
541         (__strpbrk_c3): Likewise.
542         * string/string-inlines.c
543         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
544         Likewise.
545         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
546         Likewise.
548         * string/strspn.c (strcspn): Rewrite function.
549         * string/bits/string2.h (strspn): Use __builtin_strcspn.
550         (__strspn_c1): Remove inline function.
551         (__strspn_c2): Likewise.
552         (__strspn_c3): Likewise.
553         * string/string-inlines.c
554         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
555         compatibility symbol.
556         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
557         Likewise.
558         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
559         Likewise.
560         * string/string-inlines.c: Include generic version.
562 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
563             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
565         * string/Version (libc): Add GLIBC_2.24.
566         * string/strcspn.c (strcspn): Rewrite function.
567         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
568         (__strcspn_c1): Remove inline function.
569         (__strcspn_c2): Likewise.
570         (__strcspn_c3): Likewise.
571         * string/string-inline.c
572         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
573         compatibility symbol.
574         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
575         Likewise.
576         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
577         Likewise.
578         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
580 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
582         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
583         Use ahi instead of aghi to adjust stack pointer.
585 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
587         [BZ #19853]
588         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
589         TEST to take significant digits as second parameter.
590         [TEST]: Redefine in terms of TEST_N taking 30
591         significant digits.
592         (do_test): Add test case to demonstrate precision
593         failure in the ldbl-128ibm printf.
594         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
595         (__mpn_extract_long_double): Carry 7 extra intermediate
596         bits of precision to aide computing difference when
597         signs differ.
599 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
601         [BZ #19881]
602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
603         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
604         memset-avx512-unaligned-erms.
605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
606         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
607         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
608         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
609         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
610         __memset_sse2_unaligned_erms, __memset_erms,
611         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
612         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
613         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
614         file.
615         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
616         Likewise.
617         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
618         Likewise.
619         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
620         Likewise.
622 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
624         [BZ #19776]
625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
626         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
627         memmove-avx512-unaligned-erms.
628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
629         (__libc_ifunc_impl_list): Test
630         __memmove_chk_avx512_unaligned_2,
631         __memmove_chk_avx512_unaligned_erms,
632         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
633         __memmove_chk_sse2_unaligned_2,
634         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
635         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
636         __memmove_avx512_unaligned_erms, __memmove_erms,
637         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
638         __memcpy_chk_avx512_unaligned_2,
639         __memcpy_chk_avx512_unaligned_erms,
640         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
641         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
642         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
643         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
644         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
645         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
646         __mempcpy_chk_avx512_unaligned_erms,
647         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
648         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
649         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
650         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
651         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
652         __mempcpy_erms.
653         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
654         file.
655         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
656         Likwise.
657         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
658         Likwise.
659         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
660         Likwise.
662 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
664         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
665         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
666         (La_s390_64_regs): Likewise.
667         (La_s390_32_retval): Append vector register lrv_v24.
668         (La_s390_64_retval): Likeweise.
669         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
670         Handle extended structs La_s390_32_regs and La_s390_32_retval.
671         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
672         Handle extended structs La_s390_64_regs and La_s390_64_retval.
674 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
676         [BZ #19916]
677         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
678         to create a non-vector/vector version for _dl_runtime_resolve and
679         _dl_runtime_profile. Move implementation to ...
680         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
681         (_dl_runtime_resolve) Save and restore fpr/vrs.
682         (_dl_runtime_profile) Save and restore vrs and fix some issues
683         if _dl_call_pltexit is called.
684         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
685         Choose the correct resolver function if running on a machine with vx.
686         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
687         to create a non-vector/vector version for _dl_runtime_resolve and
688         _dl_runtime_profile. Move implementation to ...
689         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
690         (_dl_runtime_resolve) Save and restore fpr/vrs.
691         (_dl_runtime_profile) Save and restore vrs and fix some issues
692         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
693         Choose the correct resolver function if running on a machine with vx.
695 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
697         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
699 2016-03-31  Florian Weimer  <fweimer@redhat.com>
701         [BZ #19509]
702         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
703         skip_map != NULL.
704         * elf/tst-dlsym-error.c: New file.
705         * elf/Makefile (tests): Add tst-dlsym-error.
706         (tst-dlsym-error): Link against libdl.
708 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
710         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
711         (__ASSUME_FUTIMESAT): Remove macro.
712         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
714 2016-03-29  Florian Weimer  <fweimer@redhat.com>
716         [BZ #19879]
717         CVE-2016-3075
718         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
719         copy name.
721 2016-03-29  Florian Weimer  <fweimer@redhat.com>
723         [BZ #19837]
724         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
725         error if parse_line fails.
727 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
729         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
730         (index_cpu_ERMS): Likewise.
731         (reg_ERMS): Likewise.
733 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
735         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
736         PER_LINUX_FDPIC): Add.
738 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
741         memcpy-avx512-no-vzeroupper.
742         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
743         to ...
744         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
745         (MEMCPY): Don't define.
746         (MEMCPY_CHK): Likewise.
747         (MEMPCPY): Likewise.
748         (MEMPCPY_CHK): Likewise.
749         (MEMPCPY_CHK): Renamed to ...
750         (__mempcpy_chk_avx512_no_vzeroupper): This.
751         (MEMPCPY_CHK): Renamed to ...
752         (__mempcpy_chk_avx512_no_vzeroupper): This.
753         (MEMCPY_CHK): Renamed to ...
754         (__memmove_chk_avx512_no_vzeroupper): This.
755         (MEMCPY): Renamed to ...
756         (__memmove_avx512_no_vzeroupper): This.
757         (__memcpy_avx512_no_vzeroupper): New alias.
758         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
760 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
762         [BZ #18858]
763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
764         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
765         and mempcpy-avx512-no-vzeroupper.
766         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
767         New.
768         (MEMPCPY): Likewise.
769         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
770         (MEMPCPY_CHK): New.
771         (MEMPCPY): Likewise.
772         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
773         (MEMPCPY): Likewise.
774         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
775         (MEMPCPY): Likewise.
776         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
777         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
778         Likewise.
779         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
780         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
782 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
783              Amit Pawar  <Amit.Pawar@amd.com>
785         [BZ #19583]
786         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
787         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
788         processors.  Set Fast_Copy_Backward for AMD Excavator
789         processors.
790         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
791         New.
792         (index_arch_Fast_Unaligned_Copy): Likewise.
793         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
794         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
796 2016-03-25  Florian Weimer  <fweimer@redhat.com>
798         [BZ #19791]
799         * resolv/res_send.c (close_and_return_error): New function.
800         (send_dg): Initialize *resplen2 after reopen failure.  Call
801         close_and_return_error for error returns.  On error paths without
802         __res_iclose, initialze *resplen2 explicitly.  Update comment for
803         successful return.
805 2016-03-25  Florian Weimer  <fweimer@redhat.com>
807         [BZ# 19860]
808         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
809         zero if the compiler does not provide the AVX512F bit.
811 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
813         [BZ #19848]
814         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
815         from 8 to 4.
816         (__ieee754_powl): Compare integer exponent against 4 not 8.
817         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
818         from 8 to 4.
819         (__ieee754_powl): Compare integer exponent against 4 not 8.
820         * math/auto-libm-test-in: Add more tests of pow.
821         * math/auto-libm-test-out: Regenerated.
822         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
825 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
827         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
828         Make code unconditional.
829         [!__NR_utimensat]: Remove conditional code.
830         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
831         Make code unconditional.
832         [!__NR_utimensat]: Remove conditional code.
833         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
834         Make code unconditional.
835         [!__NR_utimensat]: Remove conditional code.
837 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
839         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
840         Make code unconditional.
842 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
844         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
845         call-clobbered %eax on retry path.
846         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
848 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
850         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
851         Don't set %rcx twice before "rep movsb".
853 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
855         [BZ #19583]
856         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
857         inline.  Check family before setting family, model and
858         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
859         bits here.
860         (init_cpu_features): Replace HAS_CPU_FEATURE and
861         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
862         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
863         for Intel processors with usable AVX2.  Call get_common_indeces
864         for other processors with family == NULL.
865         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
866         (CPU_FEATURES_ARCH_P): Likewise.
867         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
868         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
870 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
872         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
873         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
874         $(shared-thread-library) instead of hardcoding the path to libpthread.
876 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
878         * sysdeps/unix/sysv/linux/kernel-features.h
879         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
880         * sysdeps/unix/sysv/linux/getdents.c
881         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
882         [!have_no_getdents64_defined]: Likewise.
883         (__GETDENTS): Remove __have_no_getdents64 conditional.
885 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
887         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
888         Remove macro.
889         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
890         <kernel-features.h>.
891         (signalfd) [__NR_signalfd4]: Make code unconditional.
892         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
894 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
896         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
897         style.
899 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
901         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
902         (__pthread_enable_asynccancel): Use JUMPTARGET to call
903         __pthread_unwind.
904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
905         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
906         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
907         (__condvar_cleanup1): Likewise.
909 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
911         [BZ #19822]
912         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
913         move it to the final $@ location.
915 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
917         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
918         access where posix_spawn success and pid argument is null.
919         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
920         success case.
922 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
924         * sysdeps/mach/hurd/i386/c++-types.data: New file.
926         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
928         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
929         and __fcntl.
930         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
931         __fcntl only.
932         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
933         adding attribute_hidden to __open and __fcntl.
935         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
936         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
937         depend on libc-modules.h,
938         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
940 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
942         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
943         Remove macro.
944         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
945         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
946         entry.
948         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
949         Remove macro.
950         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
951         include <kernel-features.h>.
952         [!__ASSUME_FALLOCATE]: Remove conditional code.
953         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
955 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
957         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
958         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
959         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
960         (_ZGVdN4v_cos_avx2): Likewise.
961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
962         (_ZGVdN4v_cos): Likewise.
963         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
964         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
965         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
966         (_ZGVdN4v_exp_avx2): Likewise.
967         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
968         (_ZGVdN4v_exp): Likewise.
969         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
970         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
971         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
972         (_ZGVdN4v_log_avx2): Likewise.
973         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
974         (_ZGVdN4v_log): Likewise.
975         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
976         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
977         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
978         (_ZGVdN4vv_pow_avx2): Likewise.
979         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
980         (_ZGVdN4vv_pow): Likewise.
981         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
982         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
983         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
984         (_ZGVdN4v_sin_avx2): Likewise.
985         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
986         (_ZGVdN4v_sin): Likewise.
987         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
988         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
989         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
990         (_ZGVdN4vvv_sincos_avx2): Likewise.
991         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
992         (_ZGVdN4vvv_sincos): Likewise.
993         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
994         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
995         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
996         (_ZGVbN4v_cosf_sse4): Likewise.
997         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
998         (_ZGVdN8v_cosf_avx2): Likewise.
999         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
1000         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
1001         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
1002         (_ZGVbN4v_expf_sse4): Likewise.
1003         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
1004         (_ZGVdN8v_expf_avx2): Likewise.
1005         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
1006         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
1007         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
1008         (_ZGVbN4v_logf_sse4): Likewise.
1009         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
1010         (_ZGVdN8v_logf_avx2): Likewise.
1011         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
1012         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
1013         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
1014         (_ZGVbN4vv_powf_sse4): Likewise.
1015         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
1016         (_ZGVdN8vv_powf_avx2): Likewise.
1017         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1018         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
1019         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1020         (_ZGVbN4vvv_sincosf_sse4): Likewise.
1021         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1022         (_ZGVdN8vvv_sincosf_avx2): Likewise.
1023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
1024         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
1025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
1026         (_ZGVbN4v_sinf_sse4): Likewise.
1027         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
1028         (_ZGVdN8v_sinf_avx2): Likewise.
1029         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1030         Use JUMPTARGET to call callee.
1031         (WRAPPER_IMPL_SSE2_ff): Likewise.
1032         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1033         (WRAPPER_IMPL_AVX): Likewise.
1034         (WRAPPER_IMPL_AVX_ff): Likewise.
1035         (WRAPPER_IMPL_AVX_fFF): Likewise.
1036         (WRAPPER_IMPL_AVX512): Likewise.
1037         (WRAPPER_IMPL_AVX512_ff): Likewise.
1038         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1039         Likewise.
1040         (WRAPPER_IMPL_SSE2_ff): Likewise.
1041         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1042         (WRAPPER_IMPL_AVX): Likewise.
1043         (WRAPPER_IMPL_AVX_ff): Likewise.
1044         (WRAPPER_IMPL_AVX_fFF): Likewise.
1045         (WRAPPER_IMPL_AVX512): Likewise.
1046         (WRAPPER_IMPL_AVX512_ff): Likewise.
1047         (WRAPPER_IMPL_AVX512_fFF): Likewise.
1049 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1051         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
1052         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
1053         qualifier.
1054         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
1055         internal_function qualifiers.
1057 2016-03-15  Carlos O'Donell <carlos@redhat.com>
1059         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
1060         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
1061         * math/atest-exp.c (exp_mpn): Mark chk unused.
1062         * math/atest-exp2.c (exp_mpn): Likwise.
1063         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
1064         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
1066 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
1068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
1069         Remove macro.
1070         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
1071         <kernel-features.h>.
1072         [__NR_ppoll]: Make code unconditional.
1073         [!__ASSUME_PPOLL]: Remove conditional code.
1075         * sysdeps/unix/sysv/linux/kernel-features.h
1076         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
1077         (__ASSUME_ACCEPT4): Likewise.
1078         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1079         Define.
1080         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
1081         Likewise.
1082         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1083         Likewise.
1084         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
1085         Likewise.
1086         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
1087         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
1088         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1089         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1090         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1091         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1092         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1093         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1094         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1095         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1096         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1097         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1098         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1099         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1100         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1101         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1102         Likewise.
1103         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1104         Likewise.
1105         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1106         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1107         0x040300].
1108         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1109         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1110         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1111         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1112         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1113         0x030300].
1114         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
1115         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1116         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1117         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1118         0x040300].
1119         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1120         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1122         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1123         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1124         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1125         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1126         0x030300].
1127         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1128         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1129         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1130         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1131         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1132         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1133         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1134         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1135         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1136         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1137         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1138         0x040300].
1139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1140         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1141         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1142         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1145         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1146         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1147         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1148         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1149         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1150         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1151         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1152         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1153         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1154         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1155         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1156         Likewise.
1157         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1158         Likewise.
1160 2016-03-15  Andreas Schwab  <schwab@suse.de>
1162         [BZ #19257]
1163         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
1164         statp->_u._ext.nscount as loop count.
1166 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1168         * math/test-signgam-finite-c99.c: Also #undef
1169         __LIBC_INTERNAL_MATH_INLINES.
1170         * math/test-signgam-main.c: Likewise.
1172 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
1174         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
1175         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1176         (MADV_FREE): Likewise.
1177         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
1178         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
1179         EPOLLEXCLUSIVE.
1181 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
1183         * timezone/README: Remove mention of checktab.awk. Mention wiki
1184         SharedSourceFiles.
1186 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
1188         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
1189         WUNTRACED.
1191 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1193         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
1194         order to match the type of p when calling atomic_exchange_acq().
1196 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1198         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
1199         cfi_offset calls.
1200         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1201         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
1202         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
1203         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
1204         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
1206 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
1208         * timezone/checktab.awk: Removed.
1210 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
1212         * manual/math.texi (Errors in Math Functions): Document relaxed
1213         accuracy goals for IBM long double.
1214         * math/libm-test.inc (test_exceptions): Always allow spurious
1215         "underflow" and "inexact" exceptions for IBM long double.
1217 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
1219         [BZ #19762]
1220         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1221         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
1222         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1223         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
1224         (bit_arch_*): This for feature array.
1225         (bit_*): Renamed to ...
1226         (bit_cpu_*): This for cpu array.
1227         (index_*): Renamed to ...
1228         (index_arch_*): This for feature array.
1229         (index_*): Renamed to ...
1230         (index_cpu_*): This for cpu array.
1231         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
1232         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
1233         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
1234         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
1235         bit_##name with index_cpu_##name and bit_cpu_##name.
1236         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
1237         bit_##name with index_arch_##name and bit_arch_##name.
1239 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
1241         [BZ #19792]
1242         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1243         Terminate FDE before return label.
1245 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
1247         [BZ #19790]
1248         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
1249         (rintl): Define as macro.
1250         [USE_AS_NEARBYINTL] (__rintl): Likewise.
1251         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
1252         of fesetround.  Ensure results are evaluated before end of scope.
1253         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
1254         USE_AS_NEARBYINTL and include s_rintl.c.
1255         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
1256         Disable exception traps in new environment.
1257         (libc_feholdsetround_ppc_ctx): Likewise.
1259 2016-03-08  Roland McGrath  <roland@hack.frob.com>
1261         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
1262         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
1263         (tst_audit10_aux) [__AVX512F__]: ... here.
1265 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
1267         * include/sys/auxv.h: New file.
1269 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1271         [BZ #19759]
1272         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
1274 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1276         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
1277         operand modifier.
1278         (feclearexcept): Likewise.
1280 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1282         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
1283         to reflect the entire 32-bit HWCAP.
1284         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
1285         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
1287 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1289         [BZ #19783]
1290         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
1291         $(test-via-rtld-prefix).
1292         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
1294 2016-03-08  Florian Weimer  <fweimer@redhat.com>
1296         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
1297         union wait.  Report any non-zero exit status as error.
1299 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1301         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
1302         configured with --enable-hardcoded-path-in-tests.
1304 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
1306         [BZ #19677]
1307         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1308         (__ieee754_remainderl): Put zero low parts in canonical form.
1309         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
1310         file.  Based on
1311         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
1312         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
1313         with wrapper round test-fmodrem-ldbl-128ibm.c.
1314         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
1315         file.
1316         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
1317         Likewise.
1318         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1319         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1321 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1323         [BZ #19610]
1324         * elf/ldconfig.c (opt_link): Update comment.
1325         (options): Update help string for option -X.
1326         (search_dir): Unlink stale symbolic link only if updating symbolic
1327         links.
1328         * elf/tst-ldconfig-X.sh: New file.
1329         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1330         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1332 2016-03-07  Andreas Schwab  <schwab@suse.de>
1334         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1335         needed arguments.
1337 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
1339         [BZ #15333]
1340         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1341         to lstat64.
1343 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1345         * libio/filedoalloc.c (isatty): Remove.
1346         (local_isatty): Add comment.  Call __isatty directly.
1347         (_IO_file_doallocate): Update comment.  Assume _LIBC.
1348         * libio/wfiledoalloc.c (isatty): Remove.
1349         (_IO_wfile_doallocate): Update comment.
1351 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1353         [BZ #19269]
1354         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1355         tst-audit4-aux.o.
1356         (tst-audit10): Depend on tst-audit10-aux.o.
1357         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1358         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1359         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1360         instead of inline AVX code.
1361         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1362         instead of inline AVX512 code.
1363         * sysdeps/x86_64/tst-audit4-aux.c: New file
1364         * sysdeps/x86_64/tst-audit10-aux.c: New file
1366         [BZ #19648]
1367         * test-skeleton.c (main): Do not set RLIMIT_DATA.
1369 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1371         [BZ #14750]
1372         [BZ #10354]
1373         [BZ #18433]
1374         * include/sched.h (__clone): Add hidden prototype.
1375         (__clone2): Likewise.
1376         * include/unistd.h (__dup): Likewise.
1377         * posix/Makefile (tests): Add tst-spawn2.
1378         * posix/tst-spawn2.c: New file.
1379         * sysdeps/posix/dup.c (__dup): Add hidden definition.
1380         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
1381         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1382         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1383         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1384         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1385         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
1386         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1387         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
1388         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1389         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1391         Likewise.
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1393         Likewise.
1394         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1395         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1396         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1397         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1398         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1399         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1400         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1401         * sysdeps/unix/sysv/linux/nptl-signals.h
1402         (____nptl_is_internal_signal): New function.
1403         * sysdeps/unix/sysv/linux/spawni.c: New file.
1405         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1406         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1407         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1408         * posix/tst-execvp2.c (do_test): Likewise.
1409         * posix/tst-execvp3.c (do_test): Likewise.
1410         * posix/tst-execvp4.c (do_test): Likewise.
1411         * posix/tst-execvpe1.c: New file.
1412         * posix/tst-execvpe2.c: Likewise.
1413         * posix/tst-execvpe3.c: Likewise.
1414         * posix/tst-execvpe4.c: Likewise.
1415         * posix/tst-execvpe5.c: Likewise.
1416         * posix/tst-execvpe6.c: Likewise.
1418         [BZ #19534]
1419         * posix/execl.c (execl): Remove dynamic memory allocation.
1420         * posix/execle.c (execle): Likewise.
1421         * posix/execlp.c (execlp): Likewise.
1423 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1425         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1426         Replace .text with .text.avx512.
1427         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1428         Likewise.
1430 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
1432         * sysdeps/generic/libnsl.abilist: New file.
1433         * sysdeps/generic/libutil.abilist: New file.
1435 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1437         [BZ #19762]
1438         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1439         HAS_ARCH_FEATURE with Fast_Rep_String.
1440         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1441         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1442         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1443         Likewise.
1444         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1445         Likewise.
1446         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1447         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1448         Likewise.
1449         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1450         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1451         Likewise.
1453 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1455         [BZ #19745]
1456         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1457         with *%rax in call.
1459 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1461         [BZ #19745]
1462         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1463         with *__libc_start_main@GOTPCREL(%rip) in call.
1465 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1467         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1468         inside conditional for nonempty $(CXX).
1470         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1471         nonempty.
1473         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1474         to test for empty $(CXX) rather than $(CXX) of "no".
1476 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1478         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1480 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1481             H.J. Lu  <hongjiu.lu@intel.com>
1483         [BZ #18880]
1484         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1485         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1486         enable __memcpy_ssse3_back.
1488 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1490         [BZ #19758]
1491         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1492         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1494 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1496         [BZ #19490]
1497         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1498         (__fentry__): Likewise.
1500 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1502         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1503         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1505 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1507         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1508         __mcount_internal directly.
1509         (C_LABEL(__fentry__)): Likewise.
1510         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1511         directly.
1513 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1515         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1516         (__start_context): Call __setcontext directly.
1518 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1520         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1521         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1522         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1523         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1525         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1526         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1527         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1528         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1529         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1530         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1531         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1532         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1533         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1534         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1535         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1536         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1538         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1539         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1540         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1541         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1542         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1543         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1544         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1545         Remove conditional code.
1546         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1547         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1548         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1549         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1550         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1551         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1552         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1553         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1554         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1555         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1556         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1557         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1559 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1561         * NEWS (2.23): Fix typo in bug 19048 text.
1563 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1565         [BZ #14259]
1566         * Makeconfig: Rename msgcatdir to localedir.
1567         Rename inst_msgcatdir to inst_localedir.
1568         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1569         * config.make.in: Add localedir.
1570         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1571         (ldd-rewrite): Likewise.
1572         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1573         (install-others): Use inst_localedir.
1574         (CPPFLAGS): Use localedir.
1575         * locale/Makefile (locale-CPPFLAGS): Likewise.
1576         * po/Makefile (mo-installed): Use inst_localedir.
1578         [BZ #19575]
1579         * localedata/charmaps/GB18030: Update comments regarding PAU to
1580         non-PUA mappings.
1582 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1584         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1585         test for header.
1586         * sysdeps/unix/sysv/linux/configure: Regenerated.
1587         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1588         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1589         Remove conditional code.
1590         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1592         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1593         Define to 3.2.0.
1594         (arch_minimum_kernel): Likewise.
1595         * sysdeps/unix/sysv/linux/configure: Regenerated.
1596         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1597         Define to 2.6.32.
1598         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1599         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1600         (arch_minimum_kernel): Define to 2.6.32.
1601         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1602         * README: Document Linux 3.2 requirement.
1603         * manual/install.texi (Linux): Document Linux 3.2 headers
1604         requirement.
1605         * INSTALL: Regenerated.
1607 2016-02-24  Andreas Schwab  <schwab@suse.de>
1609         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1610         if !NO_LONG_DOUBLE.
1612 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1614         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1615         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1617 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1619         [BZ #19512]
1620         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1622 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1624         * posix/tst-dir.c: Include libc-internal.h.
1626 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1628         [BZ #19056]
1629         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1630         * manual/filesys.texi (Reading/Closing Directory): Mention
1631         deprecaion.
1632         * posix/tst-dir.c (main): Disable deprecation warning in test.
1634 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1636         [BZ #19679]
1637         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1638         Renamed to ...
1639         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1640         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1641         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1642         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1643         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1644         * sysdeps/x86_64/dl-trampoline.h
1645         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1646         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1648 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1650         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1652 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1654         * elf/elf.h (R_386_GOT32X): New.
1655         (R_386_NUM): Update.
1656         (R_X86_64_GOTPCRELX: New.
1657         (R_X86_64_REX_GOTPCRELX): New.
1658         (R_X86_64_NUM): Update.
1660 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1662         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1664 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1666         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1667         assign attr->stackaddr to it, and adjust it down when
1668         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1669         [_STACK_GROWS_UP]: Delete assert.
1670         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1671         Implement stack grows up logic.
1672         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1673         stack grows up logic.
1675 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1677         * NEWS: Update with 2.24 template.
1679 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1681         [BZ #19678]
1682         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1683         Ensure +0.0 is returned when taking the next value below the least
1684         positive value.
1686 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1688         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1689         available.  Do not define NO_THREADS.
1690         * malloc/malloc.c: Do not check NO_THREADS.
1691         * malloc/arena.c: Likewise.
1693 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1695         * malloc/malloc.c (__libc_mallinfo): Update comment.
1696         (struct malloc_par): Remove max_total_mem member, it was always 0.
1697         (int_mallinfo): Store 0 into usmblks (no functional change).
1698         * malloc/hooks.c (struct malloc_state): Document that
1699         max_total_mem is always 0.
1700         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1701         always 0.
1702         * manual/memory.texi (Statistics of Malloc): Likewise.
1704 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1706         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1707         * malloc/arena.c (arena_max): Remove.
1708         (heap_trim, _int_new_arena): Do not update arena_max.
1710 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1712         * resolv/res_init.c (res_ninit): Update comment.
1714 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1716         [BZ #19505]
1717         * posix/spawn_int.h: Add headers and include guard.
1718         (__spawn_valid_fd): New function.
1719         * posix/spawn_faction_addopen.c
1720         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1721         * posix/spawn_faction_addclose.c
1722         (posix_spawn_file_actions_addclose): Likewise.
1723         * posix/spawn_faction_adddup2.c
1724         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1725         second file descriptor.
1726         * posix/spawn_valid_fd.c: New file.
1727         * posix/tst-posix_spawn-fd.c: New file.
1728         * posix/Makefile (routines): Add spawn_valid_fd.
1729         (tests): Add tst-posix_spawn-fd.
1731 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1733         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1734         (do_test): Limit the number of arenas, so that we can use fewer
1735         outer threads.  Limit timeout to 3 seconds, in preparation for a
1736         larger TIMEOUT value.
1738 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1740         [BZ #19674]
1741         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1742         sign in overflowing and underflowing results when overflow or
1743         underflow is detected early.  Include sign in result before rather
1744         than after scaling.
1746         [BZ #19603]
1747         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1748         (__ieee754_remainderl): Adjust sign of integer version of low part
1749         when taking absolute value of high part.
1750         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1751         * math/libm-test.inc (remainder_test_data): Add another test.
1752         (remquo_test_data): Likewise.
1754 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1756         [BZ #19602]
1757         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1758         equal high parts and both low parts zero specially.
1759         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1760         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1761         Add test-fmodl-ldbl-128ibm.
1763         [BZ #19595]
1764         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1765         common logic for all cases of shifting subnormal results.  Do not
1766         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1767         exponent to ldbl_insert_mantissa in subnormal case.
1769         [BZ #19594]
1770         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1771         on high and low parts then adjust result and use
1772         ldbl_canonicalize_int if needed.
1774         [BZ #19593]
1775         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1776         on high part and __floor or __ceil on low part then use
1777         ldbl_canonicalize_int if needed.
1779         [BZ #19592]
1780         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1781         high and low parts then use ldbl_canonicalize_int if needed.
1783         [BZ #17899]
1784         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1785         New function.
1786         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1787         on high and low parts then use ldbl_canonicalize_int if needed.
1789 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1791         * configure: Regenerated.
1793         * po/libc.pot: Regenerated.
1795         * po/be.po: Updated translation.
1796         * po/bg.po: Likewise.
1797         * po/ca.po: Likewise.
1798         * po/cs.po: Likewise.
1799         * po/da.po: Likewise.
1800         * po/el.po: Likewise.
1801         * po/eo.po: Likewise.
1802         * po/es.po: Likewise.
1803         * po/fi.po: Likewise.
1804         * po/fr.po: Likewise.
1805         * po/gl.po: Likewise.
1806         * po/hr.po: Likewise.
1807         * po/hu.po: Likewise.
1808         * po/ia.po: Likewise.
1809         * po/id.po: Likewise.
1810         * po/it.po: Likewise.
1811         * po/ja.po: Likewise.
1812         * po/lt.po: Likewise.
1813         * po/nb.po: Likewise.
1814         * po/nl.po: Likewise.
1815         * po/pt_BR.po: Likewise.
1816         * po/rw.po: Likewise.
1817         * po/sk.po: Likewise.
1818         * po/sl.po: Likewise.
1819         * po/sv.po: Likewise.
1820         * po/tr.po: Likewise.
1821         * po/zh_CN.po: Likewise.
1822         * po/zh_TW.po: Likewise.
1824         * version.h (RELEAES): Set to "development".
1825         (VERSION): Set to 2.23.90.
1827         * version.h (RELEASE): Set to "stable".
1828         (VERSION): Set to 2.23.
1829         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1831         * NEWS: Updated fixed bugs.
1833 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1834             Wilco Dijkstra  <wdijkstr@arm.com>
1836         [BZ #19462]
1837         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1838         (_STRING_INLINE_unaligned): This.
1839         * include/string.h: Include <string_private.h>.
1840         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1841         _STRING_INLINE_unaligned.
1842         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1843         (_STRING_INLINE_unaligned): New.
1844         * sysdeps/aarch64/string_private.h: New file.
1845         * sysdeps/generic/string_private.h: Likewise.
1846         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1847         * sysdeps/s390/string_private.h: Likewise.
1848         * sysdeps/x86/string_private.h: Likewise.
1849         * sysdeps/m68k/m680x0/m68020/bits/string.h
1850         (_STRING_ARCH_unaligned): Renamed to ...
1851         (_STRING_INLINE_unaligned): This.
1852         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1853         to ...
1854         (_STRING_INLINE_unaligned): This.
1855         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1856         to ...
1857         (_STRING_INLINE_unaligned): This.
1858         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1859         to ...
1860         (_STRING_INLINE_unaligned): This.
1862 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1863             H.J. Lu  <hongjiu.lu@intel.com>
1865         [BZ #19590]
1866         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1867         relocation.
1869 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1871         [BZ #18665]
1872         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1873         *herrno_p.
1874         (gaih_getanswer): Document functional behviour. Return tryagain
1875         if any result is tryagain.
1876         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1877         when freed.
1878         * resolv/res_send.c: Add copyright text.
1879         (__libc_res_nsend): Document that MAXPACKET is expected.
1880         (send_vc): Document. Remove buffer reuse.
1881         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1882         size of the buffer. Add Dprint for truncated UDP buffer.
1884 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1886         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1887         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1888         * INSTALL: Regenerate.
1890 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1891             Jonathan Wakely  <jwakely@redhat.com>
1892             Carlos O'Donell  <carlos@redhat.com>
1894         [BZ 19439]
1895         * math/Makefile (tests): Add test-math-isinff.
1896         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1897         * math/bits/mathcalls.h [__USE_MISC]: Use
1898         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1899         functions not in C++11 and which don't conflict e.g. isinff,
1900         isinfl etc.
1901         * math/test-math-isinff.cc: New file.
1903 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1905         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1907 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1909         [BZ #19529]
1910         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1912 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1914         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1916 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1918         [BZ #19550]
1919         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1920         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1921         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1922         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1923         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1924         New syscall entry.
1925         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1926         New syscall entry.
1927         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1928         syscall entry.
1930 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1932         [BZ #18240]
1933         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1934         unsigned int wraparound.
1936 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1938         [BZ #18240]
1939         * misc/bug18240.c: New test.
1940         * misc/Makefile (tests): Add it.
1942 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1943             Joseph Myers  <joseph@codesourcery.com>
1945         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1946         load in branch delay slot when less than a word of input left.
1948 2016-01-27  Andreas Schwab  <schwab@suse.de>
1950         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1951         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1952         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1953         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1955 2016-01-26  David S. Miller  <davem@davemloft.net>
1957         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1959 2016-01-25  David S. Miller  <davem@davemloft.net>
1961         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1962         __sqrtl_finite.
1963         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1964         instead using versioned_symbol.
1965         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1966         of entries.
1968         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1969         __sqrtl_finite to GLIBC_2.23
1971 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1973         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1975 2016-01-25  Andreas Schwab  <schwab@suse.de>
1977         [BZ #17514]
1978         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1979         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1980         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1981         * nptl/tst-mutex-errorcheck.c: New file.
1983 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1985         [BZ #18560]
1986         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1987         (IPCOP_semop): Likewise.
1988         (IPCOP_semget): Likewise.
1989         (IPCOP_semctl): Likewise.
1990         (IPCOP_msgsnd): Likewise.
1991         (IPCOP_msgrcv): Likewise.
1992         (IPCOP_msgget): Likewise.
1993         (IPCOP_msgctl): Likewise.
1994         (IPCOP_shmat): Likewise.
1995         (IPCOP_shmdt): Likewise.
1996         (IPCOP_shmget): Likewise.
1997         (IPCOP_shmctl): Likewise.
1999 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2001         * string/tst-endian.c: Include <libc-internal.h>.
2002         (do_test): Ignore tautological-compare warnings around
2003         "htobeXX (beXXtoh (i)) != i" and
2004         "htoleXX (leXXtoh (i)) != i" if-statements.
2006 2016-01-24  David S. Miller  <davem@davemloft.net>
2008         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2009         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
2010         alias.
2011         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2012         __sqrtl_finite.
2014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2016 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
2018         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
2019         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
2020         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2022 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2024         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
2025         (thread_func): Use new function to simplify barrier check.
2026         (do_test): Use new function to simplify checking barrier exit
2027         code, and actually join the child thread.
2029 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2031         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
2032         semicolon.
2033         (__libc_tend): Likewise.
2034         (__libc_tabort): Likewise.
2036 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
2038         * sysdeps/nios2/libm-test-ulps: Update.
2039         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
2040         (__gtsf2): Likewise.
2041         (__unorddf2): Likewise.
2042         (__unordsf2): Likewise.
2043         (__ledf2): Likewise.
2045 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
2047         * nis/nis_table.c (__follow_path): Disable diagnostic for
2048         uninitialized variable that is a false positive for gcc 4.7.
2049         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
2051 2016-01-20  Roland McGrath  <roland@hack.frob.com>
2053         * sysdeps/nacl/lowlevellock-futex.h
2054         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
2055         Always evaluate PRIVATE argument.
2057 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
2059         [BZ #19490]
2060         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
2061         (pthread_cond_broadcast): Use ENTRY/END
2062         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
2063         (pthread_cond_signal): Likewise.
2064         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
2065         Likewise.
2066         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
2067         Likewise.
2068         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
2069         Likewise.
2071 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
2073         * sysdeps/ieee754/dbl-64/s_finite.c
2074         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
2075         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
2076         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
2077         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
2078         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2081         (__gtsf2): Add as optional for libc.so.
2082         (__unordsf2): Likewise.
2083         (__signbit): Remove for libc.so.
2084         (__signbitl): Likewise.
2086 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2088         * iconvdata/bug-iconv11.c (test_ibm93x):
2089         Use %zu printf format specifier for size_t argument.
2091 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
2093         * math/gen-libm-test.pl (parse_ulps): Do not reduce
2094         already-recorded ulps.
2095         * sysdeps/arm/libm-test-ulps: Regenerated.
2096         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2097         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2098         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2100 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2101             Paul Pluzhnikov  <ppluzhnikov@google.com>
2103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
2104         assembler not supporting AVX-512.
2106 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2108         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2110 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
2112         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2113         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2115         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2117         * sysdeps/arm/libm-test-ulps: Regenerated.
2119 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2121         [BZ #19451]
2122         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
2124 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2126         [BZ #19486]
2127         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
2128         * sysdeps/generic/fix-fp-int-convert-overflow.h
2129         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
2130         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
2131         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
2132         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
2133         Likewise.
2134         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
2135         Avoid conversions to long int where inexact exceptions
2136         could be raised.
2137         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
2138         Likewise.
2139         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
2140         Avoid conversions to long long int where inexact exceptions
2141         could be raised.
2142         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
2143         Likewise.
2145 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
2147         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
2148         * configure: Regenerated.
2150 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2152         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
2154 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
2156         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
2157         outside of comment.
2159 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2161         * nptl/tst-barrier1.c: Add description on first line.
2162         * nptl/tst-barrier2.c: Likewise.
2163         * nptl/tst-barrier3.c: Likewise.
2164         * nptl/tst-barrier4.c: Likewise.
2165         * nptl/tst-barrier5.c: Likewise.
2167 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2169         [BZ #18868]
2170         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
2172 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
2175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2176         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
2177         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
2178         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
2179         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
2180         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2181         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2182         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2183         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2184         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2186 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2188         [BZ #13065]
2189         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
2190         new implementation.
2191         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
2192         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
2193         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
2194         (BARRIER_IN_THRESHOLD): New macro.
2195         * nptl/pthread_barrierattr_setpshared.c
2196         (pthread_barrierattr_setpshared): Clean up.
2197         * nptl/tst-barrier4.c: Correct comment.
2198         * nptl/tst-barrier5.c: New file.
2199         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
2200         (gen-as-const-headers): Remove lowlevelbarrier.sym.
2201         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
2202         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
2203         * nptl/lowlevelbarrier.sym: Remove.
2204         * nptl/DESIGN-barrier.txt: Remove.
2205         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
2206         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
2207         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
2208         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
2209         error.
2210         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
2211         implementation.
2213 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2215         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
2216         (do_child): Mask SIGRTMIN while thr is running.
2218 2016-01-15  Martin Sebor  <msebor@redhat.com>
2220         [BZ #19432]
2221         * iconvdata/Makefile: Add bug-iconv11.
2222         * iconvdata/bug-iconv11.c: New test.
2223         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
2224         * iconvdata/ibm933.c: Same.
2225         * iconvdata/ibm935.c: Same.
2226         * iconvdata/ibm937.c: Same.
2227         * iconvdata/ibm939.c: Same.
2229 2016-01-15  Martin Sebor  <msebor@redhat.com>
2231         [BZ #19443]
2232         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
2233         [DEBUG] (_ufc_set_bits): Declare used.
2234         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
2235         [DEBUG] (print_all): Declare used.
2236         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
2237         operands of the ternary ?: expression to target type.
2238         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
2239         calling the undeclared abort.
2240         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
2242 2016-01-15  Martin Sebor  <msebor@redhat.com>
2244         [BZ #18755]
2245         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
2246         warnings.
2247         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
2248         (__gai_create_helper_thread): Same.
2249         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
2250         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
2251         to suppress -Wmaybe-uninitialized warnings.
2253 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
2255         [BZ #19465]
2256         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
2257         inside if.
2258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2259         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2260         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2262 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2264         [BZ #19466]
2265         * time/tst-mktime2.c (time_t_max): Removed.
2266         (time_t_min): Likewise.
2267         (TYPE_SIGNED): New.
2268         (TYPE_MINIMUM): Likewise.
2269         (TYPE_MAXIMUM): Likewise.
2270         (TIME_T_MIN): Likewise.
2271         (TIME_T_MAX): Likewise.
2272         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
2273         and TIME_T_MIN.
2274         (do_test): Likewise.
2276 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
2278         [BZ #19467]
2279         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2280         index_Fast_Unaligned_Load flag for Excavator family CPUs.
2282 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
2284         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
2286 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
2288         * benchtests/Makefile (PYTHON): Define.
2289         (bench-func): Use $(PYTHON) to run python scripts.
2290         ($(objpfx)bench-%.c): Likewise.
2292 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
2294         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
2295         leading slash when `file_name' is "/".
2297 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
2299         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
2300         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
2301         Likewise.
2302         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
2303         Likewise.
2304         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
2305         Likewise.
2306         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
2307         enum constant and macro.
2308         (PTRACE_SETSIGMASK): Likewise.
2309         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2310         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2311         (PTRACE_GETSIGMASK): Likewise.
2312         (PTRACE_SETSIGMASK): Likewise.
2313         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2314         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
2315         Likewise.
2316         (PTRACE_SETSIGMASK): Likewise.
2317         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2318         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2319         (PTRACE_GETSIGMASK): Likewise.
2320         (PTRACE_SETSIGMASK): Likewise.
2321         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2322         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2323         Likewise.
2324         (PTRACE_SETSIGMASK): Likewise.
2325         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2326         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2327         Likewise.
2328         (PTRACE_SETSIGMASK): Likewise.
2329         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2330         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2331         Likewise.
2332         (PTRACE_SETSIGMASK): Likewise.
2333         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2335 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2336             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2338         [BZ #19439]
2339         * math/bits/mathcalls.h
2340         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2341         prototype.
2342         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2344 2016-01-11  Andreas Schwab  <schwab@suse.de>
2346         [BZ #19253]
2347         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2348         cache when TZDEFRULES was used.
2349         * time/tst-tzname.c: New file.
2350         * time/Makefile (test): Add tst-tzname.
2351         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2352         * timezone/Makefile (test-zones): Add $(posixrules-file).
2353         ($(testdata)/$(posixrules-file)): New rule.
2355 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
2357         Fix doc quoting problems with Texinfo 5
2358         Without this change, in the info file output, Texinfo 5 quotes code
2359         in text with undirected single quotes 'like this' and generates
2360         code examples that with many PDF readers cannot be cut out of PDFs
2361         and pasted into code.
2362         * manual/libc.texinfo: Configure the libc manual like the GNU
2363         Emacs manual, by using @documentencoding and setting
2364         txicodequoteundirected and txicodequotebacktick.  This way,
2365         Texinfo 5 quotes code in text with directed single quotes ‘like
2366         this’ and produces examples that can be cut out of PDFs.  This
2367         change causes Texinfo 5 to generate info files that contain UTF-8
2368         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
2369         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
2371 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2373         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
2374         __libc_tabort, __libc_tend): New wrappers that enforce compiler
2375         barriers to their respective compiler built-ins.
2376         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
2377         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
2378         * sysdeps/powerpc/sysdep.h: Likewise.
2379         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
2380         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
2381         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
2383 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
2385         * scripts/config.guess: Revert previous shebang change.
2386         * scripts/config.sub: Likewise.
2387         * scripts/mkinstalldirs: Likewise.
2389 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2391         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
2392         PPC_FEATURE2_HAS_IEEE128.
2393         * sysdeps/powerpc/dl-procinfo.c:
2394         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
2396 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
2398         [BZ #19415]
2399         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
2400         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
2401         (_dl_lookup_address): Rewrite using function resolver trampoline.
2402         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
2403         two bits in address.
2405 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2407         * longlong.h: Change !__SHMEDIA__ to
2408         (!defined (__SHMEDIA__) || !__SHMEDIA__).
2409         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2411 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
2412             Joseph Myers  <joseph@codesourcery.com>
2413             Mark Shinwell  <shinwell@codesourcery.com>
2414             Andrew Stubbs  <ams@codesourcery.com>
2415             Rich Felker <dalias@libc.org>
2417         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2419 2016-01-07  Richard Henderson  <rth@redhat.com>
2421         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2423 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2425         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2426         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2427         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2428         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2429         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2431 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2432             Joseph Myers  <joseph@codesourcery.com>
2434         * timezone/private.h: Update from tzcode 2015g.
2435         * timezone/tzfile.h: Likewise.
2436         * timezone/tzselect.ksh: Likewise.
2437         * timezone/zdump.c: Likewise.
2438         * timezone/zic.c: Likewise.
2439         * timezone/ialloc.c: Remove file.
2440         * timezone/scheck.c: Likewise.
2441         * timezone/Makefile (extra-objs): Remove variable.
2442         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2443         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2444         -Wno-maybe-uninitialized.
2445         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2446         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2447         (CFLAGS-ialloc.c): Remove variable.
2448         (CFLAGS-scheck.c): Likewise.
2449         * timezone/README: Update list of files from tzcode.
2451 2016-01-07  Khem Raj  <raj.khem@gmail.com>
2453         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2454         instead of __fxprintf when _LIBC is undefined.
2456 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2458         * catgets/test-gencat.sh: Remove space after shebang.
2459         * conform/GlibcConform.pm: Likewise.
2460         * conform/check-header-lists.sh: Likewise.
2461         * conform/conformtest.pl: Likewise.
2462         * conform/linknamespace.pl: Likewise.
2463         * conform/list-header-symbols.pl: Likewise.
2464         * debug/catchsegv.sh: Likewise.
2465         * elf/genrtldtbl.awk: Likewise.
2466         * elf/tst-pathopt.sh: Likewise.
2467         * elf/tst-rtld-load-self.sh: Likewise.
2468         * grp/tst_fgetgrent.sh: Likewise.
2469         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2470         * iconvdata/gen-8bit-gap.sh: Likewise.
2471         * iconvdata/gen-8bit.sh: Likewise.
2472         * iconvdata/run-iconv-test.sh: Likewise.
2473         * intl/tst-gettext.sh: Likewise.
2474         * intl/tst-gettext2.sh: Likewise.
2475         * intl/tst-gettext4.sh: Likewise.
2476         * intl/tst-gettext6.sh: Likewise.
2477         * intl/tst-translit.sh: Likewise.
2478         * io/ftwtest-sh: Likewise.
2479         * libio/test-freopen.sh: Likewise.
2480         * locale/gen-translit.pl: Likewise.
2481         * malloc/tst-mtrace.sh: Likewise.
2482         * manual/check-safety.sh: Likewise.
2483         * manual/libc-texinfo.sh: Likewise.
2484         * manual/tsort.awk: Likewise.
2485         * manual/xtract-typefun.awk: Likewise.
2486         * nptl/tst-cancel-wrappers.sh: Likewise.
2487         * nptl/tst-tls6.sh: Likewise.
2488         * posix/globtest.sh: Likewise.
2489         * posix/tst-getconf.sh: Likewise.
2490         * posix/wordexp-tst.sh: Likewise.
2491         * scripts/check-c++-types.sh: Likewise.
2492         * scripts/check-local-headers.sh: Likewise.
2493         * scripts/config.guess: Likewise.
2494         * scripts/config.sub: Likewise.
2495         * scripts/cpp: Likewise.
2496         * scripts/cross-test-ssh.sh: Likewise.
2497         * scripts/documented.sh: Likewise.
2498         * scripts/evaluate-test.sh: Likewise.
2499         * scripts/gen-libc-abis: Likewise.
2500         * scripts/gen-sorted.awk: Likewise.
2501         * scripts/list-fixed-bugs.py: Likewise.
2502         * scripts/merge-test-results.sh: Likewise.
2503         * scripts/mkinstalldirs: Likewise.
2504         * scripts/rellns-sh: Likewise.
2505         * scripts/test-installation.pl: Likewise.
2506         * scripts/update-copyrights: Likewise.
2507         * stdio-common/tst-printf.sh: Likewise.
2508         * stdio-common/tst-unbputc.sh: Likewise.
2509         * stdlib/tst-fmtmsg.sh: Likewise.
2510         * stdlib/tst-setcontext3.sh: Likewise.
2511         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2512         * sysdeps/unix/make-syscalls.sh: Likewise.
2514 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2516         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2517         asm stw with atomic_exchange_rel.  Add explanatory comment.
2518         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2519         Likewise.
2521 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2523         [BZ #19122]
2524         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2525         * sysdeps/generic/dl-unistd.h: New file.
2526         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2528 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2530          [BZ #19122]
2531          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2532          * sysdeps/generic/dl-mman.h: New file.
2533          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2535 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2537         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2538         trailing whitespace removed.
2539         * scripts/config.guess: Update to version 2016-01-01.
2540         * scripts/config.sub: Update to version 2016-01-01.
2541         * scripts/move-if-change: Update from gnulib.
2543 2016-01-04  Anton Blanchard  <anton@samba.org>
2545         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2546         for array indices.
2547         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2549 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2551         * NEWS: Update copyright dates.
2552         * catgets/gencat.c (print_version): Likewise.
2553         * csu/version.c (banner): Likewise.
2554         * debug/catchsegv.sh: Likewise.
2555         * debug/pcprofiledump.c (print_version): Likewise.
2556         * debug/xtrace.sh (do_version): Likewise.
2557         * elf/ldconfig.c (print_version): Likewise.
2558         * elf/ldd.bash.in: Likewise.
2559         * elf/pldd.c (print_version): Likewise.
2560         * elf/sotruss.sh: Likewise.
2561         * elf/sprof.c (print_version): Likewise.
2562         * iconv/iconv_prog.c (print_version): Likewise.
2563         * iconv/iconvconfig.c (print_version): Likewise.
2564         * locale/programs/locale.c (print_version): Likewise.
2565         * locale/programs/localedef.c (print_version): Likewise.
2566         * login/programs/pt_chown.c (print_version): Likewise.
2567         * malloc/memusage.sh (do_version): Likewise.
2568         * malloc/memusagestat.c (print_version): Likewise.
2569         * malloc/mtrace.pl: Likewise.
2570         * manual/libc.texinfo: Likewise.
2571         * nptl/version.c (banner): Likewise.
2572         * nscd/nscd.c (print_version): Likewise.
2573         * nss/getent.c (print_version): Likewise.
2574         * nss/makedb.c (print_version): Likewise.
2575         * posix/getconf.c (main): Likewise.
2576         * scripts/test-installation.pl: Likewise.
2577         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2579         * All files with FSF copyright notices: Update copyright dates
2580         using scripts/update-copyrights.
2581         * intl/plural.c: Regenerated.
2582         * locale/programs/charmap-kw.h: Likewise.
2583         * locale/programs/locfile-kw.h: Likewise.
2585 2016-01-02  Helge Deller  <deller@gmx.de>
2587         [BZ #19285]
2588         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2589         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2590         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2591         (MADV_xxK_PAGES): Remove.
2593 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2595         [BZ #15421]
2596         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2597         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2598         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2599         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2601 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2603         [BZ #19408]
2604         * sysdeps/unix/sysv/linux/personality.c: New file.
2605         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2606         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2607         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2608         (sysdep_routines): Add personality.
2609         (tests): Add tst-personality.
2610         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2611         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2612         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2613         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2614         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2615         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2616         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2617         Likewise.
2618         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2619         Likewise.
2620         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2621         Likewise.
2622         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2623         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2624         Likewise.
2626 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2628         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2629         (PATH_ARM_SYSTYPE): Remove.
2630         (PATH_CPUINFO): Likewise.
2631         (IO_BASE_FOOTBRIDGE): Likewise.
2632         (IO_SHIFT_FOOTBRIDGE): Likewise.
2633         (struct platform): Likewise.
2634         (init_iosys): Remove compatibility code for 2.4 kernels.
2635         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2637 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2639         * malloc/tst-malloc-thread-fail.c: New file.
2640         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2641         (tst-malloc-thread-fail): Link against libpthread.
2643 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2645         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2646         (get_parser): New function.
2647         (main): New function.
2649 2015-12-29  Rob Wu  <rob@robwu.nl>
2651         [BZ #19369]
2652         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2654 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2656         [BZ #19270]
2657         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2659 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2661         [BZ #15421]
2662         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2664 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2666         [BZ #13690]
2667         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2668         after releasing it.
2669         (__lll_robust_unlock): Likewise.
2670         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2671         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2672         (lll_robust_unlock): Likewise.
2673         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2674         Prevent warnings in callers.
2676 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2678         * malloc/arena.c (list_lock): Update comment.
2680 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2682         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2683         __parse_hwcap_and_convert_at_platform to libc.a.
2685 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2687         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2688         platform and feature support for POWER9.
2689         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2690         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2691         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2692         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2693         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2694         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2695         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2696         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2698 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2700         Harmonize generic stdio-lock support with nptl
2702         This fixes build when _IO_funlockfile is a macro, fixes build where
2703         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2704         stack unwind.
2706         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2707         _IO_release_lock ): Use cleanup attribute on new
2708         _IO_acquire_lock_file variable instead of assuming that
2709         _IO_release_lock will be called.
2710         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2711         _IO_acquire_lock_needs_exceptions_enabled.
2712         (_IO_acquire_lock_clear_flags2): New macro.
2714 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2716         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2718 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2720         [BZ #19182]
2721         * malloc/arena.c (list_lock): Document lock ordering requirements.
2722         (free_list_lock): New lock.
2723         (ptmalloc_lock_all): Comment on free_list_lock.
2724         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2725         (detach_arena): Update comment.  free_list_lock is now needed.
2726         (_int_new_arena): Use free_list_lock around detach_arena call.
2727         Acquire arena lock after list_lock.  Add comment, including FIXME
2728         about incorrect synchronization.
2729         (get_free_list): Switch to free_list_lock.
2730         (reused_arena): Acquire free_list_lock around detach_arena call
2731         and attached threads counter update.  Add two FIXMEs about
2732         incorrect synchronization.
2733         (arena_thread_freeres): Switch to free_list_lock.
2734         * malloc/malloc.c (struct malloc_state): Update comments to
2735         mention free_list_lock.
2737 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2739         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2740         Remove functions.
2741         (sloww, sloww1): Accept argument to offset quadrant.
2742         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2743         quadrant.
2744         (__sin, __cos): Consolidate common code into new functions.
2745         (reduce_sincos_1, do_sincos_1): New functions.
2746         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2748         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2749         code to new functions.
2750         (reduce_sincos_2, do_sincos_2): New functions.
2751         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2754         common code for sincos.
2755         (__cos) [!IN_SINCOS]: Likewise.
2756         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2757         New function.
2758         (__sincos): Use it.
2760 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2762         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2763         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2764         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2766 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2768         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2771         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2772         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2773         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2774         index_Prefer_No_VZEROUPPER): New feature.
2775         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2776         Prefer_No_VZEROUPPER for Knights Landing.
2778 015-12-18  Torvald Riegel  <triegel@redhat.com>
2780         * math/atest-exp2.c (mp_exp_m1): Remove.
2782 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2784         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2785         syscalls.
2786         (__SYSCALL0): New macro.
2787         (__SYSCALL1): Likewise.
2788         (__SYSCALL2): Likewise.
2789         (__SYSCALL3): Likewise.
2790         (__SYSCALL4): Likewise.
2791         (__SYSCALL5): Likewise.
2792         (__SYSCALL6): Likewise.
2793         (__SYSCALL_CONCAT_X): Likewise.
2794         (__SYSCALL_CONCAT): Likewise.
2795         (__SYSCALL_DIST): Likewise.
2796         (__SYSCALL_CALL): Likewise.
2798 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2800         [BZ #19363]
2801         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2803 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2805         [BZ #19375]
2806         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2807         negative subnormals.
2809 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2812         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2813         (INTERNAL_SYSCALL_NCS): Use it.
2814         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2816 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2818         [BZ #19243]
2819         * malloc/arena.c (get_free_list): Remove assert and adjust
2820         reference count handling.  Add comment about reused_arena
2821         interaction.
2822         (reused_arena): Add comments abount get_free_list interaction.
2823         * malloc/tst-malloc-thread-exit.c: New file.
2824         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2825         (tst-malloc-thread-exit): Link against libpthread.
2827 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2829         [BZ #19367]
2830         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2831         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2832         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2833         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2834         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2836 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2838         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2839         Silvermont optimizations for Knights Landing.
2841 2015-12-15  Andreas Schwab  <schwab@suse.de>
2843         [BZ #17197]
2844         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2845         immediately after emitting SI.
2846         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2847         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2848         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2849         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2850         * iconvdata/bug-iconv10.c: New file.
2851         * iconvdata/Makefile (tests): Add bug-iconv10.
2852         ($(objpfx)bug-iconv10.out): New rule.
2854 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2856         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2857         aliasing violation.
2859 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2861         [BZ #18472]
2862         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2863         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2864         conditionals for them.
2865         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2866         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2868         sys/kdaemon.h.
2869         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2870         compat-only syscall, obsoleted in glibc 2.23.
2871         (create_module): Likewise.
2872         (get_kernel_syms): Likewise.
2873         (query_module): Likewise.
2874         (uselib): Likewise.
2875         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2877 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2879         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2880         <linux/version.h>.
2881         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2882         conditional code.
2883         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2884         and ioshift_name initialization.
2886 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2888         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2889         Fix indentation.
2891 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2893         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2895 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2897         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2899 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2900             Jakub Wilk  <jwilk@debian.org>
2902         [BZ #19347]
2903         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2904         to change the group of the device to the tty group.
2906 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2908         Split large string section; add truncation advice
2909         * manual/examples/strncat.c: Remove.
2910         This example was misleading, as the code would have undefined
2911         behavior if "hello" was longer than SIZE.  Anyway, the manual
2912         shouldn't encourage strncpy+strncat for this sort of thing.
2913         * manual/string.texi (Copying Strings and Arrays): Split into
2914         three sections Copying Strings and Arrays, Concatenating Strings,
2915         and Truncating Strings, as this section was way too long.  All
2916         cross-referenced changed.  Add advice about string-truncation
2917         functions.  Remove misleading strncat example.
2919 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2921         * manual/nss.texi (NSS Modules Interface): Document
2922         NSS_STATUS_NOTFOUND and SUCCESS.
2924 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2926         [BZ 18568]
2927         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2928         201505L, for Unicode 8.
2930 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2932         * locale/C-translit.h: Regenerate.
2934 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2936         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2937         and U+0153.
2939 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2941         [BZ #19351]
2942         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2943         expanding log(1+z), compare z rather than its square with epsilon
2944         to determine when to avoid evaluating the expansion.
2946         [BZ #19350]
2947         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2948         Increase overflow threshold.
2950         [BZ #19349]
2951         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2952         when small.
2954         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2955         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2956         New macro.
2957         [__LINUX_KERNEL_VERSION >= 0x040300]
2958         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2960         Likewise.
2961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2962         Likewise.
2963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2964         Likewise.
2965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2966         Likewise.
2967         [__LINUX_KERNEL_VERSION >= 0x040300]
2968         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2969         [__LINUX_KERNEL_VERSION >= 0x040300]
2970         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2971         [__LINUX_KERNEL_VERSION >= 0x040300]
2972         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2973         [__LINUX_KERNEL_VERSION >= 0x040300]
2974         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2975         [__LINUX_KERNEL_VERSION >= 0x040300]
2976         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2977         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2978         Likewise.
2979         [__LINUX_KERNEL_VERSION >= 0x040300]
2980         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2982         Likewise.
2983         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2984         Likewise.
2985         [__LINUX_KERNEL_VERSION >= 0x040300]
2986         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2987         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2988         Likewise.
2989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2990         Likewise.
2991         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2993         Likewise.
2994         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2995         Likewise.
2996         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2997         Likewise.
2998         [__LINUX_KERNEL_VERSION >= 0x040300]
2999         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3000         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3001         Likewise.
3002         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3003         Likewise.
3004         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3005         Likewise.
3006         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3007         Likewise.
3008         [__LINUX_KERNEL_VERSION >= 0x040300]
3009         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3010         [__LINUX_KERNEL_VERSION >= 0x040300]
3011         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3012         [__LINUX_KERNEL_VERSION >= 0x040300]
3013         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3014         [__LINUX_KERNEL_VERSION >= 0x040300]
3015         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3016         [__LINUX_KERNEL_VERSION >= 0x040300]
3017         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3018         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3019         Likewise.
3020         [__LINUX_KERNEL_VERSION >= 0x040300]
3021         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3022         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3023         Likewise.
3024         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3025         Likewise.
3026         [__LINUX_KERNEL_VERSION >= 0x040300]
3027         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3029         Likewise.
3030         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3031         Likewise.
3032         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3033         (__ASSUME_SOCKET_SYSCALL): Likewise.
3034         (__ASSUME_BIND_SYSCALL): Likewise.
3035         (__ASSUME_CONNECT_SYSCALL): Likewise.
3036         (__ASSUME_LISTEN_SYSCALL): Likewise.
3037         (__ASSUME_ACCEPT_SYSCALL): Likewise.
3038         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3039         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3040         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3041         (__ASSUME_SEND_SYSCALL): Likewise.
3042         (__ASSUME_SENDTO_SYSCALL): Likewise.
3043         (__ASSUME_RECV_SYSCALL): Likewise.
3044         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3045         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
3046         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3047         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3048         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3049         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3050         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3051         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
3052         Likewise.
3053         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
3054         Likewise.
3055         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
3056         Likewise.
3057         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
3058         Likewise.
3059         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
3060         Likewise.
3061         [__LINUX_KERNEL_VERSION >= 0x020625]
3062         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3063         [__LINUX_KERNEL_VERSION >= 0x020625]
3064         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3065         [__LINUX_KERNEL_VERSION >= 0x020625]
3066         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3067         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
3068         Likewise.
3069         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
3070         Likewise.
3071         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
3072         Likewise.
3073         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
3074         Likewise.
3075         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
3076         Likewise.
3077         [__LINUX_KERNEL_VERSION >= 0x020625]
3078         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3079         [__LINUX_KERNEL_VERSION >= 0x020625]
3080         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3081         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
3082         Likewise.
3083         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
3084         Likewise.
3086 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3088         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
3089         record the current if the current ABI and CPU support the FP64
3090         extension.
3091         (has-modd-spreg): Define to record the current if the current ABI and
3092         CPU support 32-bit floating point values in odd FPU registers.
3093         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3094         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
3095         $(has-modd-spreg) equals yes.
3096         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
3097         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
3098         $(has-modd-spreg) equal yes.
3100 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3102         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
3103         basename.
3105 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
3107         * benchtests/Makefile (bench-math): Move ffs and ffsll...
3108         (bench-string): ... here.
3109         (bench): Add bench-string.
3110         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
3111         to *-benchset to reflect what they are.
3112         (benchset): Adjust.
3114         * benchtests/sincos-inputs: Add inputs from sin-inputs and
3115         cos-inputs.
3117 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
3119         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
3120         __attribute__ ((__simd__)) for vector math function declarations.
3122 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3124         Fix typo in strncat, wcsncat manual entries
3125         * manual/string.texi (Copying and Concatenation): Fix typos in
3126         sample implementations of strncat and wcsncat, by having them use
3127         the old value of the destination length, not the new one.
3129 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
3131         [BZ #16961]
3132         [BZ #16962]
3133         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
3134         string on the stack for strtod.
3135         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
3136         a string on the stack for strtof.
3137         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
3138         constructing a string on the stack for strtold.
3139         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
3140         __strtold_nan to GLIBC_PRIVATE.
3141         * math/test-nan-overflow.c: New file.
3142         * math/test-nan-payload.c: Likewise.
3143         * math/Makefile (tests): Add test-nan-overflow and
3144         test-nan-payload.
3146 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3148         Consistency about byte vs character in string.texi
3149         * manual/string.texi (String and Array Utilities):
3150         Distinguish more carefully among bytes, multibyte characters,
3151         and wide characters.  Use "byte" when talking about C 'char',
3152         to distinguish it more clearly from multibyte characters.
3153         Say "wide character" or "multibyte character" instead of
3154         "character", when a wide or multibyte character is intended.
3155         Similarly for "multibyte string" versus "string".
3156         Define these terms more carefully.
3158 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
3160         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
3161         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
3162         Likewise.
3163         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3164         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3165         * sysdeps/sh/math_private.h: New file.
3166         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
3167         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
3168         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
3169         long double function name.
3170         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3171         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3172         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3173         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3174         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
3176         Remove __finitel, __isinfl, and __isnanl.
3177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3178         Likewise.
3179         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3181         Remove __finitel.
3182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3183         Likewise.
3184         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3186 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
3188         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
3189         installed libmvec_nonshared.a.
3191 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3193         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
3194         (sysdep_routines): Likewise.
3195         (sysdep-rtld-routines): Likewise.
3196         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
3197         [$(subdir) = nptl](tests-static): test-get_hwcap-static
3198         * sysdeps/powerpc/Versions: Added new
3199         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
3200         * sysdeps/powerpc/hwcapinfo.c: New file.
3201         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
3202         and parse hwcap, hwcap2 and platform number information.
3203         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
3204         to store HWCAP+HWCAP2 and platform number.
3205         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
3206         for HWCAP+HWCAP2 and platform number in the TCB.
3207         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
3208         the HWCAP, HWCAP2 and platform number in the TCB.
3209         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
3210         (TLS_INIT_TP): Included calls to add the hwcap and
3211         at_platform values in the TCB in TP initialization.
3212         (TLS_DEFINE_INIT_TP): Likewise.
3213         (THREAD_GET_HWCAP): New macro.
3214         (THREAD_SET_HWCAP): Likewise.
3215         (THREAD_GET_AT_PLATFORM): Likewise.
3216         (THREAD_SET_AT_PLATFORM): Likewise.
3217         * sysdeps/powerpc/powerpc32/dl-machine.h:
3218         (dl_platform_init): New function that calls
3219         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
3220         powerpc32.
3221         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
3222         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
3223         this functionality, static linking case.
3224         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
3225         linking case.
3226         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
3227         __parse_hwcap_and_convert_at_platform for the static linking case.
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
3229         Included the new __parse_hwcap_and_convert_at_platform symbol in the
3230         ABI list for GLIBC 2.23.
3231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
3232         Likewise.
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
3234         Likewise.
3236 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
3238         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
3239         * configure: Regenerate.
3240         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
3241         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
3243 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
3245         * iconvdata/ibm930.c: Add comment explaining encoding uses.
3246         * iconvdata/ibm933.c: Likewise.
3247         * iconvdata/ibm935.c: Likewise.
3248         * iconvdata/ibm937.c: Likewise.
3249         * iconvdata/ibm939.c: Likewise.
3251 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3253         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
3254         pthread_join.
3255         * nptl/tst-cancel21.c (tf): Likewise.
3257 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
3259         [BZ #19313]
3260         * bits/typesizes.h (__CPU_MASK_TYPE): New.
3261         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3262         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3263         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
3264         Likewise.
3265         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
3266         Likewise.
3267         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
3268         Likewise.
3269         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
3270         Likewise.
3271         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
3272         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
3273         unsigned long int with __CPU_MASK_TYPE.
3275 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3277         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3279 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
3281         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
3282         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
3283         t512.x.
3284         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
3286 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
3288         [BZ #19214]
3289         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
3290         argument to return extended model.  Update family and model
3291         with extended family and model when family == 0x0f.
3292         (init_cpu_features): Updated.
3294 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3296         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
3297         signed off_t, so 32bit bigger than 2GiB values are fine actually.
3299         * sysdeps/mach/hurd/mmap64.c: New file.
3301 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
3303         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
3304         rights for its main user thread in NEWTASK.
3306 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
3308         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
3309         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
3311 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
3313         [BZ #14259]
3314         * Makeconfig: Rename localedir to complocaledir.
3315         Rename inst_localedir to inst_complocaledir.
3316         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
3317         * config.make.in: Use complocaledir and libc_cv_complocaledir.
3318         * configure.ac: Use libc_cv_complocaledir.
3319         * configure: Regenerate.
3320         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3321         -DCOMPLOCALEDIR.
3322         * locale/findlocale.c: Use COMPLOCALEDIR.
3323         * locale/loadarchive.c: Likewise.
3324         * locale/programs/locale.c: Likewise.
3325         * locale/programs/localedef.c: Likewise.
3326         * locale/programs/locarchive.c: Likewise.
3327         * localedata/Makefile: Use inst_complocaledir.
3328         * sysdeps/gnu/configure: Regenerate.
3329         * sysdeps/hppa/configure: Regenerate.
3330         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3331         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3333         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3334         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3335         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3336         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3338 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
3340         [BZ #19058]
3341         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3342         AS_NEEDED.
3343         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3344         workaround.
3345         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3346         libmvec-static-only-routines): Added new file.
3347         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3349 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3351         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3352         of interrupted RPC instead of restoring it.
3354         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3355         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3356         libc_hidden_def.
3357         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3358         into initialized data instead of common. Define rtld_hidden_data_def.
3359         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3360         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3361         libc_hidden_def.
3362         (if_freenameindex): Add libc_hidden_weak.
3363         (if_nameindex): Add libc_hidden_weak.
3364         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
3365         __open64.
3366         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
3367         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
3368         * sysdeps/mach/nanosleep.c: Include <time.h>
3369         (__nanosleep): Rename to __libc_nanosleep.
3370         (__nanosleep): Add weak_alias.
3371         (nanosleep): Update alias.
3373 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3375         * stdlib/strtod_nan.c: New file.
3376         * stdlib/strtod_nan_double.h: Likewise.
3377         * stdlib/strtod_nan_float.h: Likewise.
3378         * stdlib/strtod_nan_main.c: Likewise.
3379         * stdlib/strtod_nan_narrow.h: Likewise.
3380         * stdlib/strtod_nan_wide.h: Likewise.
3381         * stdlib/strtof_nan.c: Likewise.
3382         * stdlib/strtold_nan.c: Likewise.
3383         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
3384         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
3385         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
3386         * wcsmbs/wcstod_nan.c: Likewise.
3387         * wcsmbs/wcstof_nan.c: Likewise.
3388         * wcsmbs/wcstold_nan.c: Likewise.
3389         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
3390         strtold_nan.
3391         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
3392         wcstof_nan.
3393         * include/stdlib.h (__strtof_nan): Declare and use
3394         libc_hidden_proto.
3395         (__strtod_nan): Likewise.
3396         (__strtold_nan): Likewise.
3397         (__wcstof_nan): Likewise.
3398         (__wcstod_nan): Likewise.
3399         (__wcstold_nan): Likewise.
3400         * include/wchar.h (____wcstoull_l_internal): Declare.
3401         * stdlib/strtod_l.c: Do not include <ieee754.h>.
3402         (____strtoull_l_internal): Remove declaration.
3403         (STRTOF_NAN): Define macro.
3404         (SET_MANTISSA): Remove macro.
3405         (STRTOULL): Likewise.
3406         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3407         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3408         (STRTOF_NAN): Define macro.
3409         (SET_MANTISSA): Remove macro.
3410         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3411         (SET_MANTISSA): Remove macro.
3412         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3413         macro.
3414         (SET_MANTISSA): Remove macro.
3415         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3416         macro.
3417         (SET_MANTISSA): Remove macro.
3418         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3419         (SET_MANTISSA): Remove macro.
3420         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3421         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3422         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3424         [BZ #19266]
3425         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3426         upper case and lower case letters inside NAN(), not using TOLOWER.
3427         * stdlib/tst-strtod-nan-locale-main.c: New file.
3428         * stdlib/tst-strtod-nan-locale.c: Likewise.
3429         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3430         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3431         Depend on $(gen-locales).
3432         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3433         * wcsmbs/tst-wcstod-nan-locale.c: New file.
3434         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3435         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3436         Depend on $(gen-locales).
3437         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3439 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
3441         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3443         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3445         __finitel, __isinfl, and __isnanl.
3446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3447         Likewise.
3448         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3450         __finitel.
3451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3452         Likewise.
3453         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3455 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3457         * malloc/memusage.c (me): Remove redundant getenv call.
3459 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3461         [BZ #19143]
3462         [BZ #19164]
3463         * nptl/check-cpuset.h: Remove.
3464         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3465         Remove CPU set size check.
3466         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3467         Likewise.
3468         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3469         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3470         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3471         (__pthread_setaffinity_new): Remove CPU set size check.
3472         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3473         (__kernel_cpumask_size): Remove.
3474         (__sched_setaffinity_new): Remove CPU set size check.
3475         * manual/threads.texi (Default Thread Attributes): Remove stale
3476         reference to check_cpuset_attr, determine_cpumask_size in comment.
3477         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3478         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3479         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3480         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3481         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3482         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3483         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3484         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3485         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3486         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3487         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3488         skeleton test file.
3489         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3490         tst-affinity-pid.
3492 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3494         * scripts/update-abilist.sh: New file.
3495         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3496         * Makerules (update-all-abi-%, update-all-abi)
3497         (subdir_update-all-abi): New targets.
3498         * elf/Makefile (update-all-abi): New target.
3500 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3502         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3503         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3504         (__libc_lock_define_initialized): Use it.
3505         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3506         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3507         * malloc/malloc.c (main_arena): Likewise.
3508         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3509         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3511 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3513         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3514         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3515         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3516         (PTRACE_O_MASK): Update value.
3517         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3518         New value in enum __ptrace_setoptions.
3519         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3520         (PTRACE_O_MASK): Update value.
3521         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3522         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3523         (PTRACE_O_MASK): Update value.
3524         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3525         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3526         (PTRACE_O_MASK): Update value.
3527         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3528         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3529         (PTRACE_O_MASK): Update value.
3530         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3531         New value in enum __ptrace_setoptions.
3532         (PTRACE_O_MASK): Update value.
3533         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3534         New value in enum __ptrace_setoptions.
3535         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3536         (PTRACE_O_MASK): Update value.
3538         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3539         New macro.
3540         (PACKET_AUXDATA): Likewise.
3541         (PACKET_ORIGDEV): Likewise.
3542         (PACKET_VERSION): Likewise.
3543         (PACKET_HDRLEN): Likewise.
3544         (PACKET_RESERVE): Likewise.
3545         (PACKET_TX_RING): Likewise.
3546         (PACKET_LOSS): Likewise.
3547         (PACKET_VNET_HDR): Likewise.
3548         (PACKET_TX_TIMESTAMP): Likewise.
3549         (PACKET_TIMESTAMP): Likewise.
3550         (PACKET_FANOUT): Likewise.
3551         (PACKET_TX_HAS_OFF): Likewise.
3552         (PACKET_QDISC_BYPASS): Likewise.
3553         (PACKET_ROLLOVER_STATS): Likewise.
3554         (PACKET_FANOUT_DATA): Likewise.
3555         (PACKET_MR_UNICAST): Likewise.
3557         [BZ #19242]
3558         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3559         (TOUPPER): Likewise.
3560         * stdlib/tst-strtol-locale-main.c: New file.
3561         * stdlib/tst-strtol-locale.c: Likewise.
3562         * stdlib/Makefile (tests): Add tst-strtol-locale.
3563         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3564         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3565         Depend on $(gen-locales).
3566         * wcsmbs/tst-wcstol-locale.c: New file.
3567         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3568         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3569         tr_TR.ISO-8859-9.
3570         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3571         Depend on $(gen-locales).
3573 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3575         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3576         __glibc_likely instead of __builtin_expect.  After falling back to
3577         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3578         system interface to register the code pages as occupied.
3580 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3582         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3583         [!ARM_MATH_PRIVATE_H].
3584         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3585         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3586         [!HPPA_MATH_PRIVATE_H].
3587         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3588         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3589         to [!I386_MATH_PRIVATE_H].
3590         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3591         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3592         Change guard to [!M68K_MATH_PRIVATE_H].
3593         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3594         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3595         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3596         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3597         macro.
3598         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3599         [!MIPS_MATH_PRIVATE_H].
3600         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3601         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3602         [!NIO2_MATH_PRIVATE_H].
3603         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3604         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3605         [!TILE_MATH_PRIVATE_H].
3606         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3608         [BZ #15421]
3609         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3610         initialize with 0 and define as weak alias of __signgam.
3611         * include/math.h [!_ISOMAC] (__signgam): Declare.
3612         * math/Makefile (libm-calls): Add w_lgamma_compat.
3613         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3614         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3615         test-signgam-ullong-init.
3616         (tests-static): Add test-signgam-uchar-static,
3617         test-signgam-uchar-init-static, test-signgam-uint-static,
3618         test-signgam-uint-init-static, test-signgam-ullong-static and
3619         test-signgam-ullong-init-static.
3620         (CFLAGS-test-signgam-uchar.c): New variable.
3621         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3622         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3623         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3624         (CFLAGS-test-signgam-uint.c): Likewise.
3625         (CFLAGS-test-signgam-uint-init.c): Likewise.
3626         (CFLAGS-test-signgam-uint-static.c): Likewise.
3627         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3628         (CFLAGS-test-signgam-ullong.c): Likewise.
3629         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3630         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3631         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3632         * math/Versions (libm): Add GLIBC_2.23.
3633         * math/lgamma-compat.h: New file.
3634         * math/test-signgam-main.c: Likewise.
3635         * math/test-signgam-uchar-init-static.c: Likewise.
3636         * math/test-signgam-uchar-init.c: Likewise.
3637         * math/test-signgam-uchar-static.c: Likewise.
3638         * math/test-signgam-uchar.c: Likewise.
3639         * math/test-signgam-uint-init-static.c: Likewise.
3640         * math/test-signgam-uint-init.c: Likewise.
3641         * math/test-signgam-uint-static.c: Likewise.
3642         * math/test-signgam-uint.c: Likewise.
3643         * math/test-signgam-ullong-init-static.c: Likewise.
3644         * math/test-signgam-ullong-init.c: Likewise.
3645         * math/test-signgam-ullong-static.c: Likewise.
3646         * math/test-signgam-ullong.c: Likewise.
3647         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3648         wrapper of w_lgamma_main.c.
3649         * math/w_lgamma_compat.c: New file.
3650         * math/w_lgamma_compatf.c: Likewise.
3651         * math/w_lgamma_compatl.c: Likewise.
3652         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3653         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3654         defining compatibility symbols.
3655         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3656         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3657         wrapper of w_lgammaf_main.c.
3658         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3659         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3660         defining compatibility symbols.
3661         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3662         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3663         wrapper of w_lgammal_main.c.
3664         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3665         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3666         defining compatibility symbols.
3667         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3668         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3669         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3670         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3671         <lgamma-compat.h>.
3672         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3673         (__ieee754_gamma): Define as alias.
3674         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3675         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3676         <lgamma-compat.h>.
3677         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3678         (__ieee754_gammaf): Define as alias.
3679         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3680         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3681         <lgamma-compat.h>.
3682         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3683         (__ieee754_gammal): Define as alias.
3684         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3685         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3686         <math/w_lgamma_compat.c>.
3687         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3688         Define as alias of __lgamma_compat and use in defining lgammal.
3689         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3690         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3691         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3692         (USE_AS_COMPAT): New macro.
3693         (LGAMMA_OLD_VER): Undefine and redefine.
3694         (lgammal): Do not define here.
3695         (gammal): Only define here if [GAMMA_ALIAS].
3696         * conform/linknamespace.pl (@whitelist): Remove signgam.
3697         * sysdeps/nacl/libm.abilist: Update.
3698         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3699         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3700         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3701         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3702         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3703         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3704         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3705         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3706         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3707         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3708         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3709         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3711         Likewise.
3712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3713         Likewise.
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3715         Likewise.
3716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3717         Likewise.
3718         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3719         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3720         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3721         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3722         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3724         Likewise.
3725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3726         Likewise.
3727         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3728         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3729         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3731 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3733         [BZ #16364]
3734         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3735         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3737 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3739         * sysdeps/s390/fpu/bits/mathinline.h:
3740         Use __asm__ [__volatile__] instead of asm [volatile].
3741         * sysdeps/s390/abort-instr.h: Likewise.
3742         * sysdeps/s390/atomic-machine.h: Likewise.
3743         * sysdeps/s390/bits/string.h: Likewise.
3744         * sysdeps/s390/dl-tls.h: Likewise.
3745         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3746         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3747         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3748         * sysdeps/s390/fpu/fesetround.c: Likewise.
3749         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3750         * sysdeps/s390/fpu/s_fma.c: Likewise.
3751         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3752         * sysdeps/s390/memusage.h: Likewise.
3753         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3754         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3755         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3756         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3757         * sysdeps/s390/nptl/tls.h: Likewise.
3758         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3759         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3760         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3761         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3762         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3763         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3764         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3765         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3766         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3767         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3768         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3769         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3770         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3771         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3772         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3773         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3774         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3775         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3776         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3777         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3778         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3779         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3780         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3782 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3783             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3785         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3786         Add lwarx hint, and use macro for acquire instruction.
3787         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3788         Likewise.
3789         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3790         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3791         update to use new atomic macros.
3793 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3795         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3796         (__lll_trylock_elision): Fix setting of adapt_count.
3797         * sysdeps/unix/sysv/linux/powerpc/htm.h
3798         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3799         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3800         (_ABORT_SYSCALL): Renumber, and clarify definition.
3801         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3803 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3805         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3806         after system headers to prevent MIN/MAX redefinition.  Define
3807         HAVE_ALLOCA to preserve builtin alloca usage.
3809 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3811         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3812         static and don't set or restore rounding.
3813         (__cos)[IN_SINCOS]: Likewise.
3814         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3815         (__sincos): Set and restore rounding mode.  Remove check for infinite
3816         or NaN input.
3818         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3820         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3821         as used.
3823 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3825         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3827 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3829         * config.make.in (have-glob-dat-reloc): New.
3830         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3831         target supports GLOB_DAT relocaton. AC_SUBST.
3832         * configure: Regenerated.
3833         * elf/Makefile (tests): Add tst-prelink.
3834         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3835         (tst-prelink-ENV): New.
3836         ($(objpfx)tst-prelink-conflict.out): Likewise.
3837         ($(objpfx)tst-prelink-cmp.out): Likewise.
3838         * sysdeps/x86/tst-prelink.c: Moved to ...
3839         * elf/tst-prelink.c: Here.
3840         * sysdeps/x86/tst-prelink.exp: Moved to ...
3841         * elf/tst-prelink.exp: Here.
3842         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3843         (tst-prelink-ENV): Removed.
3844         ($(objpfx)tst-prelink-conflict.out): Likewise.
3845         ($(objpfx)tst-prelink-cmp.out): Likewise.
3846         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3848 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3850         [BZ #14551]
3851         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3852         (__mpn_construct_long_double): If high part overflows to infinity,
3853         set errno and recompute overflowed result of the correct sign.
3854         * sysdeps/ieee754/ldbl-128ibm/Makefile
3855         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3856         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3857         $(libm).
3858         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3860 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3862         [BZ #15479]
3863         [BZ #19238]
3864         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3865         floating-point state after first operation on input.  Restore full
3866         state rather than just rounding mode.
3867         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3868         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3869         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3871         [BZ #19235]
3872         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3873         add 0.5 to integer arguments.
3874         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3875         Likewise.
3876         (.LC2): New object.
3878 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3880         * scripts/pylintrc (reports): Set to no.
3882 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3884         * elf/dl-load.c (open_verify): Take new argument FD.
3885         Skip __open call if passed FD is not -1.
3886         (_dl_map_object, open_path): Update callers.
3887         * elf/dl-sysdep-open.h: New file.
3888         * elf/dl-load.c: Include it.
3889         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3890         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3891         * sysdeps/nacl/dl-sysdep-open.h: New file.
3892         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3893         from libc to rtld.
3895 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3897         [BZ #19228]
3898         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3899         and restore full floating-point state.
3900         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3901         Likewise.
3902         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3903         Likewise.
3904         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3905         Likewise.
3906         * math/test-nearbyint-except-2.c: New file.
3907         * math/Makefile (tests): Add test-nearbyint-except-2.
3909 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3911         [BZ #19178]
3912         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3913         (tst-prelink-ENV): New.
3914         ($(objpfx)tst-prelink-conflict.out): Likewise.
3915         ($(objpfx)tst-prelink-cmp.out): Likewise.
3916         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3917         * sysdeps/x86/tst-prelink.c: New file.
3918         * sysdeps/x86/tst-prelink.exp: Likewise.
3920 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3922         * math/auto-libm-test-in: Add another test of pow.
3923         * math/auto-libm-test-out: Regenerated.
3924         * math/libm-test.inc (pow_test_data): Add another test.
3926 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3928         [BZ #19219]
3929         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3930         weak_alias to nearbyintl.
3932 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3934         * sysdeps/aarch64/bits/string.h: New file.
3935         (_STRING_ARCH_unaligned): Define.
3937 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3939         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3940         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3941         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3942         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3945 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3947         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3948         for original name of the DSO.  Add it to the name list of the DSO
3949         if it is actually given.
3950         (_dl_map_object): Keep track of whether an audit module rewrote
3951         the file name.  If yes, pass the original name to
3952         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3953         debugging is enabled, log the change of the file name.
3954         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3955         _dl_map_object_from_fd.
3956         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3957         * elf/tst-audit11.c: New file
3958         * elf/tst-auditmod11.c: New file.
3959         * elf/tst-audit11mod1.c: New file.
3960         * elf/tst-audit11mod2.c: New file.
3961         * elf/tst-audit11mod2.map: New file.
3962         * elf/tst-audit12.c: New file
3963         * elf/tst-auditmod12.c: New file.
3964         * elf/tst-audit12mod1.c: New file.
3965         * elf/tst-audit12mod2.c: New file.
3966         * elf/tst-audit12mod2.map: New file.
3967         * elf/tst-audit12mod3.c: New file.
3969 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3971         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3972         Don't create weak aliases,
3973         because versioned symbols are created later.
3974         * sysdeps/s390/s390-32/setjmp.S
3975         (setjmp, _setjmp): Remove weak and rename to an unique name
3976         in SHARED case due to existing versioned symbols.
3977         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3978         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3979         (getcontext): Create weak alias only in non SHARED case.
3980         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3982 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3984         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3985         (__ASSUME_*_SYSCALL) Define new macros.
3986         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3987         Remove socketcall syscalls.
3988         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3989         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3990         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3991         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3992         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3993         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3995 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3997         [BZ #12926]
3998         Terminate process on invalid netlink response.
3999         * sysdeps/unix/sysv/linux/netlinkaccess.h
4000         (__netlink_assert_response): Declare.
4001         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
4002         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
4003         (sysdep_routines): Add netlink_assert_response.
4004         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
4005         __netlink_assert_response.
4006         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4007         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4008         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
4009         __netlink_assert_response.
4011 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4013         [BZ #19178]
4014         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
4015         (RTYPE_CLASS_PLT): Likewise.
4016         (RTYPE_CLASS_COPY): Likewise.
4017         (RTYPE_CLASS_TLS): Likewise.
4018         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
4019         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
4020         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
4021         DL_DEBUG_PRELINK.
4023 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
4025         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
4026         calls with argument -0.5.
4027         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
4029         * configure.ac (libc_cv_z_nodelete): Remove configure test.
4030         (libc_cv_z_nodlopen): Likewise.
4031         (libc_cv_z_initfirst): Likewise.
4032         * configure: Regenerated.
4034 2015-11-06  Florian Weimer  <fweimer@redhat.com>
4036         Simplify abilist format to be line-based.
4037         * scripts/abilist.awk: Collect descriptors in the descs variable.
4038         (emit): Write descs variable and sort it
4039         externally, with sort.
4040         * sysdeps/**/*.abilist: Convert to new format.
4042 2015-11-06  Mark Wielaard  <mjw@redhat.com>
4044         [BZ #11460]
4045         * io/Makefile (routines): Add fts64.
4046         (tests): Add tst-fts and tst-fts-lfs.
4047         (CFLAGS-fts64.c): New.
4048         * io/Versions (GLIBC_2.23): New.
4049         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
4050         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
4051         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
4052         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
4053         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
4054         (FTSENT64): Likewise.
4055         (fts64_children): Likewise.
4056         (fts64_close): Likewise.
4057         (fts64_open): Likewise.
4058         (fts64_read): Likewise.
4059         (fts64_set): Likewise.
4060         * io/fts64.c: New file.
4061         * io/tst-fts.c: New test.
4062         * io/tst-fts-lfs.c: Likewise.
4063         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
4064         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
4065         fts64_set.
4066         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4067         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4068         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4069         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4070         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4071         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4072         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4073         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4074         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4075         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4076         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4077         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4078         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4080         Likewise.
4081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4082         Likewise.
4083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4085         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4086         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4087         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4088         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4089         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4092         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4093         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4094         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4095         * sysdeps/wordsize-64/fts.c: New file.
4096         * sysdeps/wordsize-64/fts64.c: Likewise.
4097         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
4098         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
4099         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
4100         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
4102 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4104         * math/libm-test.inc (NON_FINITE): New macro.
4105         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
4106         * math/gen-libm-test.pl (show_exceptions): Add argument
4107         $non_finite.
4108         (parse_args): Update call to show_exceptions.
4109         * math/test-math-finite.h: New file.
4110         * math/test-math-no-finite.h: Likewise.
4111         * math/test-double-finite.c: Likewise.
4112         * math/test-float-finite.c: Likewise.
4113         * math/test-ldouble-finite.c: Likewise.
4114         * math/test-double.c: Include "test-math-no-finite.h".
4115         * math/test-float.c: Include "test-math-no-finite.h".
4116         * math/test-ldouble.c: Include "test-math-no-finite.h".
4117         * math/test-math-inline.h (TEST_FINITE): New macro.
4118         * math/test-math-vector.h (TEST_FINITE): Likewise.
4119         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
4120         (libm-tests): Add test-float-finite and test-double-finite.
4121         ($(objpfx)test-float-finite.o): New dependency on
4122         $(objpfx)libm-test.stmp.
4123         ($(objpfx)test-double-finite.o): Likewise.
4124         ($(objpfx)test-ldouble-finite.o): Likewise.
4125         (libm-test-no-inline-cflags): New variable.
4126         (libm-test-finite-cflags): Likewise.
4127         (CFLAGS-test-float-finite.c): Likewise.
4128         (CFLAGS-test-double-finite.c): Likewise.
4129         (CFLAGS-test-ldouble-finite.c): Likewise.
4130         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
4131         (CFLAGS-test-double.c): Likewise.
4132         (CFLAGS-test-ldouble.c): Likewise.
4134 2015-11-05  Roland McGrath  <roland@hack.frob.com>
4136         * io/fcntl.c (__fcntl): Add ... to prototype.
4137         * misc/ioctl.c (__ioctl): Likewise.
4138         * misc/syscall.c (syscall): Likewise.
4140 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4142         * scripts/list-fixed-bugs.py: New file.
4144         [BZ #19213]
4145         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
4146         returned for argument 1.
4147         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
4148         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
4149         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
4150         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
4151         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
4152         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
4154         [BZ #19211]
4155         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
4156         __USE_XOPEN], not if [!__USE_ISOC99].
4157         (lgammaf): Likewise.
4158         (lgammal): Likewise.
4159         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
4160         (gammaf): Likewise.
4161         (gammal): Likewise.
4162         * math/test-signgam-finite-c11.c: New file.
4163         * math/test-signgam-finite-c99.c: Likewise.
4164         * math/test-signgam-finite.c: Likewise.
4165         * math/Makefile (tests): Add test-signgam-finite,
4166         test-signgam-finite-c99 and test-signgam-finite-c11.
4167         (CFLAGS-test-signgam-finite.c): New variable.
4168         (CFLAGS-test-signgam-finite-c99.c): Likewise.
4169         (CFLAGS-test-signgam-finite-c11.c): Likewise.
4171         [BZ #19212]
4172         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
4173         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
4174         500].
4175         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
4176         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
4177         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
4178         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
4179         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
4180         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
4181         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
4182         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
4183         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
4184         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
4186         [BZ #19209]
4187         * math/bits/math-finite.h (ldexp): Remove declaration.
4188         (ldexpf): Likewise.
4189         (ldexpl): Likewise.
4191         [BZ #19205]
4192         * math/bits/math-finite.h (acosf): Condition declaration on
4193         [__USE_ISOC99].
4194         (acosl): Likewise.
4195         (acoshf): Likewise.
4196         (acoshl): Likewise.
4197         (asinf): Likewise.
4198         (asinl): Likewise.
4199         (atan2f): Likewise.
4200         (atan2l): Likewise.
4201         (atanhf): Likewise.
4202         (atanhl): Likewise.
4203         (coshf): Likewise.
4204         (coshl): Likewise.
4205         (expf): Likewise.
4206         (expl): Likewise.
4207         (fmodf): Likewise.
4208         (fmodl): Likewise.
4209         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
4210         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
4211         (j0l): Likewise.
4212         (y0f): Likewise.
4213         (y0l): Likewise.
4214         (j1f): Likewise.
4215         (j1l): Likewise.
4216         (y1f): Likewise.
4217         (y1l): Likewise.
4218         (jnf): Likewise.
4219         (jnl): Likewise.
4220         (ynf): Likewise.
4221         (ynl): Likewise.
4222         (lgammaf_r): Condition declaration on [__USE_ISOC99].
4223         (lgammal_r): Likewise.
4224         (__lgamma_r_finite): New declaration.
4225         (__lgammaf_r_finite): Likewise.
4226         (__lgammal_r_finite): Likewise.
4227         (lgamma): Use __lgamma_r_finite.
4228         (lgammaf): Condition definition on [__USE_ISOC99].  Use
4229         __lgammaf_r_finite.
4230         (lgammal): Condition definition on [__USE_ISOC99].  Use
4231         __lgammal_r_finite.
4232         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
4233         __lgamma_r_finite.
4234         (gammaf): Condition definition on [__USE_ISOC99].  Use
4235         __lgammaf_r_finite.
4236         (gammal): Condition definition on [__USE_ISOC99].  Use
4237         __lgammal_r_finite.
4238         (logf): Condition declaration on [__USE_ISOC99].
4239         (logl): Likewise.
4240         (log10f): Likewise.
4241         (log10l): Likewise.
4242         (ldexpf): Likewise.
4243         (ldexpl): Likewise.
4244         (powf): Likewise.
4245         (powl): Likewise.
4246         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
4247         __USE_ISOC99].
4248         (remainderf): Condition declaration on [__USE_ISOC99].
4249         (remainderl): Likewise.
4250         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
4251         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
4252         (scalbl): Likewise.
4253         (sinhf): Condition declaration on [__USE_ISOC99].
4254         (sinhl): Likewise.
4255         (sqrtf): Likewise.
4256         (sqrtl): Likewise.
4258 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4260         * sysdeps/arm/atomic-machine.h
4261         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4262         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4263         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
4264         Remove conditional code.
4265         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4266         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4267         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
4268         Change conditional to [__ASSEMBLER__].
4269         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4270         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
4271         [!__ASSEMBLER__].
4272         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
4273         code.
4274         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
4275         conditional macro definitions.
4276         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
4277         (__arch_compare_and_exchange_val_16_acq): Likewise.
4278         (__arch_compare_and_exchange_val_32_acq): Likewise.
4279         (atomic_exchange_and_add): Likewise.
4280         (atomic_add): Likewise.
4281         (atomic_add_negative): Likewise.
4282         (atomic_add_zero): Likewise.
4283         (atomic_bit_set): Likewise.
4284         (atomic_bit_test_set): Likewise.
4285         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
4286         code unconditional.
4287         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4289         * math/test-math-errno.h: New file.
4290         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
4291         empty.
4292         (TEST_ERRNO): New macro.
4293         (TEST_EXCEPTIONS): Likewise.
4294         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
4295         (TEST_EXCEPTIONS): Likewise.
4296         * math/test-math-vector.h (TEST_ERRNO): Likewise.
4297         * math/test-double.c: Include "test-math-errno.h".
4298         * math/test-float.c: Likewise.
4299         * math/test-ldouble.c: Likewise.
4300         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
4301         code unconditional.
4302         (test_exceptions): Only run code if TEST_EXCEPTIONS.
4303         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
4304         unconditional.
4305         (test_errno): Only run code if TEST_ERRNO.
4306         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
4308 2015-11-04  Florian Weimer  <fweimer@redhat.com>
4310         * nptl/tst-once5.cc: Remove attribution.
4312 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4314         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
4315         sqrt, tan, tanh, y0, y1 and yn.
4316         * math/auto-libm-test-out: Regenerated.
4317         * math/libm-test.inc (scalb_test_data): Add more tests.
4318         (scalbn_test_data): Likewise.
4319         (scalbln_test_data): Likewise.
4320         (signbit_test_data): Likewise.
4321         (sin_test_data): Likewise.
4322         (sincos_test_data): Likewise.
4323         (sinh_test_data): Likewise.
4324         (sqrt_test_data): Likewise.
4325         (tan_test_data): Likewise.
4326         (tanh_test_data): Likewise.
4327         (tgamma_test_data): Likewise.
4328         (y0_test_data): Likewise.
4329         (y1_test_data): Likewise.
4330         (yn_test_data): Likewise.
4331         (significand_test_data): Likewise.
4332         * sysdeps/i386/fpu/libm-test-ulps: Update.
4334 2015-11-03  David Kastrup  <dak@gnu.org>
4336         [BZ #18604]
4337         * assert/assert.h (assert): Don't macro-expand failed assertion
4338         expression in error message.
4339         * malloc/malloc.c (assert): Likewise.
4341 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
4343         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4344         test.
4345         * configure: Regenerated.
4347 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
4349         * math/libm-test.inc (modf_test_data): Add more tests.
4350         (nearbyint_test_data): Likewise.
4351         (nextafter_test_data): Likewise.
4352         (nexttoward_test_data): Likewise.
4353         (pow_test_data): Likewise.
4354         (remainder_test_data): Likewise.
4355         (remquo_test_data): Likewise.
4356         (rint_test_data): Likewise.
4358         [BZ #19201]
4359         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4360         Check for zero remainder in case of large exponents and ensure
4361         correct sign of result in that case.
4362         * math/libm-test.inc (remainder_test_data): Add more tests.
4364         [BZ #6799]
4365         * math/s_nextafter.c: Include <errno.h>.
4366         (__nextafter): Set errno on overflow and underflow.
4367         * math/s_nexttowardf.c: Include <errno.h>.
4368         (__nexttowardf): Set errno on overflow and underflow.
4369         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
4370         (__nextafterl): Set errno on overflow and underflow.
4371         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
4372         (__nexttoward): Set errno on overflow and underflow.
4373         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
4374         (__nexttowardf): Set errno on overflow and underflow.
4375         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
4376         (__nextafterf): Set errno on overflow and underflow.
4377         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
4378         (__nextafterl): Set errno on overflow and underflow.
4379         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
4380         (__nexttoward): Set errno on overflow and underflow.
4381         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
4382         (__nexttowardf): Set errno on overflow and underflow.
4383         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
4384         (__nextafterl): Set errno on overflow and underflow.
4385         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
4386         (__nexttoward): Set errno on overflow and underflow.
4387         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
4388         (__nexttowardf): Set errno on overflow and underflow.
4389         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
4390         (__nexttoward): Set errno on overflow and underflow.
4391         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
4392         (__nexttowardf): Set errno on overflow and underflow.
4393         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
4394         (__nldbl_nexttowardf): Set errno on overflow and underflow.
4395         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
4396         (__nextafterl): Set errno on overflow and underflow.
4397         * math/libm-test.inc (nextafter_test_data): Do not allow errno
4398         setting to be missing on overflow.  Add more tests.
4399         (nexttoward_test_data): Likewise.
4401         * configure.ac (libc_cv_initfini_array): Remove configure test.
4402         * configure: Regenerated.
4404 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
4406         [BZ #19189]
4407         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4408         non-finite argument handle arguments with negative sign.
4410         * math/libm-test.inc (j0_test_data): Do not test sign of zero
4411         result from infinite argument.
4412         (j1_test_data): Likewise.
4413         (jn_test_data): Likewise.
4414         (y0_test_data): Likewise.
4415         (y1_test_data): Likewise.
4416         (yn_test_data): Likewise.
4418         [BZ #16171]
4419         * math/w_remainder.c (drem): Define as weak alias of __remainder.
4420         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4421         * math/w_remainderf.c (dremf): Define as weak alias of
4422         __remainderf.
4423         * math/w_remainderl.c (dreml): Define as weak alias of
4424         __remainderl.
4425         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4426         __remainder.
4427         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4428         __remainderf.
4429         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4430         __remainderl.
4431         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4432         weak alias of remainderl.
4433         * sysdeps/ieee754/ldbl-opt/w_remainder.c
4434         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4435         alias of __remainder.
4436         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4437         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4438         strong alias of __remainderl.
4439         (dreml): Use long_double_symbol.
4440         * math/Makefile (libm-calls): Remove w_drem.
4441         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4442         (CFLAGS-nldbl-drem.c): Remove variable.
4443         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4444         * math/w_drem.c: Remove file.
4445         * math/w_dremf.c: Likewise.
4446         * math/w_dreml.c: Likewise.
4447         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4448         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4449         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4451         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4452         * sysdeps/i386/configure: Regenerated.
4453         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4454         * sysdeps/x86_64/configure: Regenerated.
4456         * configure.ac (libc_cv_asm_protected_directive): Remove configure
4457         test.
4458         (libc_cv_visibility_attribute): Likewise.
4459         (libc_cv_protected_data): Test unconditionally.
4460         (libc_cv_broken_visibility_attribute): Remove configure test.
4461         (libc_cv_have_sdata_section): Test unconditionally.
4462         * configure: Regenerated.
4464         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4465         * include/scratch_buffer.h: Include <stddef.h> instead of
4466         <libc-internal.h>.
4467         (struct scratch_buffer): Use max_align_t instead of
4468         libc_max_align_t.
4470 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4472         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4473         instead of extend_alloca.  Change control flow to avoid a goto.
4474         Remove assert which is trivially always true.
4476 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4478         [BZ #16068]
4479         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4480         (FE_ALL_EXCEPT_X86): New macro.
4481         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4482         FE_ALL_EXCEPT.  Ensure precision control is included in
4483         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4484         handle "denormal operand exception" and clear FZ and DAZ bits.
4485         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4486         (FE_ALL_EXCEPT_X86): New macro.
4487         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4488         FE_ALL_EXCEPT.  Ensure precision control is included in
4489         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4490         handle "denormal operand exception" and clear FZ and DAZ bits.
4491         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4492         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4493         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4494         test-fenv-x87 and test-fenv-sse-2.
4495         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4497         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4498         * math/test-double.h (BUILD_COMPLEX): New macro.
4499         * math/test-float.h (BUILD_COMPLEX): Likewise.
4500         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4502         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4503         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4504         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4506         instead of DBL_DENORM_MIN in comment.
4507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4508         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4509         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4510         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4511         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4512         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4514 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4516         [BZ# 19048]
4517         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4518         attached_threads member.
4519         (main_arena): Initialize attached_threads.
4520         * malloc/arena.c (list_lock): Update comment.
4521         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4522         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4523         (deattach_arena): New function.
4524         (_int_new_arena): Initialize arena reference count and deattach
4525         replaced arena.
4526         (get_free_list, reused_arena): Update reference count and deattach
4527         replaced arena.
4528         (arena_thread_freeres): Update arena reference count and only put
4529         unreferenced arenas on the free list.
4531 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4533         [BZ #19181]
4534         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4535         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4536         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4537         * math/test-fenv-clear-main.c: New file.
4538         * math/test-fenv-clear.c: Likewise.
4539         * math/Makefile (tests): Add test-fenv-clear.
4540         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4541         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4542         test-fenv-clear-sse.
4543         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4545         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4546         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4547         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4549 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4551         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4552         static libc.
4554 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4556         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4557         test.
4558         * sysdeps/i386/configure: Regenerated.
4559         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4560         test.
4561         * sysdeps/x86_64/configure: Regenerated.
4562         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4564         memset-avx2 unconditionally instead of conditionally on
4565         [$(config-cflags-avx2) = yes].
4566         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4567         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4568         unconditional.
4569         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4570         * sysdeps/x86_64/multiarch/memset_chk.S
4571         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4572         to [IS_IN (libc) && SHARED].
4574 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4576         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4577         configure test.
4578         * sysdeps/arm/configure: Regenerated.
4579         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4580         Define variable if not already defined.
4582         [BZ #17404]
4583         * sysdeps/mips/atomic-machine.h
4584         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4585         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4586         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4588         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4589         unconditional.
4590         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4591         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4592         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4593         unconditional.
4594         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4595         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4596         unconditional.
4597         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4598         * stdlib/setenv.c
4599         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4600         code unconditional.
4601         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4602         Remove conditional code.
4603         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4604         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4605         unconditional.
4606         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4607         code.
4608         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4609         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4610         unconditional.
4611         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4612         code.
4613         * sysdeps/ieee754/ldbl-128/k_tanl.c
4614         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4615         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4616         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4617         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4618         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4619         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4620         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4621         unconditional.
4622         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4623         code.
4624         * sysdeps/ieee754/ldbl-96/k_tanl.c
4625         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4626         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4628         * nptl/tst-initializers1-c11.c: New file.
4629         * nptl/tst-initializers1-gnu11.c: Likewise.
4630         * nptl/Makefile (tests): Add these new tests.
4631         (CFLAGS-tst-initializers1-c11.c): New variable.
4632         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4634         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4635         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4636         instead of -std=gnu99.
4637         * configure.ac (systemtap): Test with -std=gnu11 instead of
4638         -std=gnu99.
4639         * configure: Regenerated.
4640         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4641         in compilation command in comment.
4643         * sysdeps/nptl/configure.ac: Remove file.
4644         * sysdeps/nptl/configure: Remove generated file.
4645         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4646         * configure: Regenerated.
4647         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4648         * config.make.in (have-forced-unwind): Remove variable.
4649         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4650         unconditional.
4651         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4652         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4653         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4654         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4655         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4656         unconditional.
4658 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4660         [BZ #19174]
4661         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4662         .skip_lock_out_of_tbegin_retries.
4663         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4664         (__lll_lock_elision): Likewise, and respect a value of
4665         try_tbegin <= 0.
4667 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4669         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4670         statement.
4672 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4674         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4675         variable.
4676         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4677         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4679         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4680         of -std=c1x -D_ISOC11_SOURCE.
4682         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4683         * configure: Regenerated.
4684         * manual/install.texi (Tools for Compilation): Document
4685         requirement for GCC 4.7 or later.
4686         * INSTALL: Regenerated.
4688 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4690         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4691         on CNT to a conditional jump to 'puntdata'.
4693 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4695         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4696         (libc_cv_gcc_tls_model_attr): Likewise.
4697         * configure: Regenerated.
4699         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4700         * configure: Regenerated.
4701         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4703 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4705         * configure.ac (old_glibc_headers): Remove configure test.
4706         * configure: Regenerated.
4707         * config.make.in (old-glibc-headers): Remove variable.
4708         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4709         (install): Remove dependency on remove-old-headers.
4710         (headers2_0): Remove variable.
4711         (remove-old-headers): Remove rule.
4713         * configure.ac (libc_cv_dot_text): Remove configure test.
4714         (libc_cv_asm_set_directive): Use .text instead of
4715         ${libc_cv_dot_text} in configure test.
4716         * configure: Regenerated.
4718 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4720         [BZ #19168]
4721         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4723 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4725         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4726         not support static linking.
4727         * configure: Regenerate.
4729 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4731         * math/libm-test.inc (check_float_internal): Do not special-case
4732         errors up to 0.5 ulp.
4734         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4735         log2.
4736         * math/auto-libm-test-out: Regenerated.
4737         * math/libm-test.inc (MAX_EXP): New macro.
4738         (ilogb_test_data): Add more tests.
4739         (isfinite_test_data): Likewise.
4740         (isgreater_test_data): Likewise.
4741         (isgreaterequal_test_data): Likewise.
4742         (isinf_test_data): Likewise.
4743         (isless_test_data): Likewise.
4744         (islessequal_test_data): Likewise.
4745         (islessgreater_test_data): Likewise.
4746         (isnan_test_data): Likewise.
4747         (isnormal_test_data): Likewise.
4748         (issignaling_test_data): Likewise.
4749         (isunordered_test_data): Likewise.
4750         (j0_test_data): Likewise.
4751         (j1_test_data): Likewise.
4752         (jn_test_data): Likewise.
4753         (lgamma_test_data): Likewise.
4754         (log_test_data): Likewise.
4755         (log10_test_data): Likewise.
4756         (log1p_test_data): Likewise.
4757         (log2_test_data): Likewise.
4758         (logb_test_data): Likewise.
4759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4761         [BZ #18611]
4762         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4763         avoid excess range and precision on underflow.
4764         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4765         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4766         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4767         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4768         underflow.
4769         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4771         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4772         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4773         * math/auto-libm-test-in: Do not allow missing errno setting for
4774         tests of j1 and jn.
4775         * math/auto-libm-test-out: Regenerated.
4777 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4779         [BZ #15491]
4780         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4781         floating-point environment instead of clearing all exceptions.
4782         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4783         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4784         merging in "invalid" exceptions from frndint.
4785         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4786         * math/test-nearbyint-except.c: New file.
4787         * math/Makefile (tests): Add test-nearbyint-except.
4789 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4791         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4793         * sysdeps/tile/libm-test-ulps: Regenerated.
4795 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4798         (__NR_sync_file_range2): Assume it is always defined.
4799         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4800         (__NR_sync_file_range): Assume it is always defined.
4802 2015-10-22  Andreas Schwab  <schwab@suse.de>
4804         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4805         INTERNAL_SYSCALL_ERRNO.
4806         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4807         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4808         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4809         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4810         Likewise.
4811         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4813 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4815         * io/tst-fcntl.c (fd): New static variable.
4816         (do_prepare): Open temporary file here....
4817         (do_test): ...not here.
4819         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4821 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4823         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4824         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4825         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4826         Moved before "#ifdef __ASSEMBLER__".
4828 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4830         [BZ #19156]
4831         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4832         arguments very close to 0.
4834 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4836         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4837         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4839 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4841         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4842         New.  Defined for GCC 5 and above when not compiling for
4843         profiling.
4844         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4846         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4847         Renamed to ...
4848         (CFLAGS-epoll_pwait.o): This.
4849         (CFLAGS-mmap.c): Renamed to ...
4850         (CFLAGS-mmap.o): This.
4851         (CFLAGS-mmap64.c): Renamed to ...
4852         (CFLAGS-mmap64.o): This.
4853         (CFLAGS-epoll_pwait.os): New.
4854         (CFLAGS-mmap.os): Likewise.
4855         (CFLAGS-mmap64.os): Likewise.
4856         (CFLAGS-semtimedop.os): Likewise.
4857         (CFLAGS-semtimedop.c): Renamed to ...
4858         (CFLAGS-semtimedop.o): This.
4860 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4862         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4863         warning message.
4865 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4867         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4868         * Makefile ($(objpfx)c++-types-check.out): Filter out
4869         $(+gccwarn-c) instead of -Wstrict-prototypes.
4871         * io/fts.c (fts_open): Convert to prototype-style function
4872         definition.
4873         * malloc/mcheck.c (mcheck): Likewise.
4874         (mcheck_pedantic): Likewise.
4875         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4876         internal_function.
4877         (re_search_internal): Likewise.
4878         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4879         prototype-style function definition.
4880         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4881         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4882         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4883         (xdr_utmpptr): Likewise.
4884         (xdr_utmparr): Likewise.
4885         (xdr_utmpidle): Likewise.
4886         (xdr_utmpidleptr): Likewise.
4887         (xdr_utmpidlearr): Likewise.
4889         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4890         log, log10 and log2.
4891         * math/auto-libm-test-out: Regenerated.
4892         * math/libm-test.inc (fmod_test_data): Add more tests.
4893         (fpclassify_test_data): Likewise.
4894         (frexp_test_data): Likewise.
4895         (hypot_test_data): Likewise.
4896         (ilogb_test_data): Likewise.
4898 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4900         * debug/fortify_fail.c (__fortify_fail): Convert to
4901         prototype-style function definition.  Use internal_function.
4902         * libio/genops.c (save_for_backup): Convert to prototype-style
4903         function definition.
4904         * libio/wgenops.c (save_for_wbackup): Likewise.
4905         * login/grantpt.c (grantpt): Likewise.
4906         * login/ptsname.c (ptsname): Likewise.
4907         (__ptsname_r): Likewise.
4908         * login/unlockpt.c (unlockpt): Likewise.
4909         * mach/msgserver.c (__mach_msg_server): Likewise.
4910         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4911         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4912         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4913         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4914         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4915         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4916         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4917         Likewise.
4918         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4919         internal_function.
4920         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4921         prototype-style function definition.
4922         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4923         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4924         (__pthread_create_2_0): Likewise.
4925         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4926         * nptl/register-atfork.c (__register_atfork): Likewise.
4927         * posix/glob.c (glob): Likewise.
4928         * posix/regcomp.c (re_comp): Likewise.
4929         * posix/regexec.c (re_exec): Likewise.
4930         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4931         [!__STDC__]: Remove conditional code.
4932         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4933         [!__STDC__]: Remove conditional code.
4934         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4935         [!__STDC__]: Remove conditional code.
4936         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4937         [!__STDC__]: Remove conditional code.
4938         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4939         [!__STDC__]: Remove conditional code.
4940         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4941         [!__STDC__]: Remove conditional code.
4942         * stdlib/mul.c [__STDC__]: Make code unconditional.
4943         [!__STDC__]: Remove conditional code.
4944         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4945         [!__STDC__]: Remove conditional code.
4946         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4947         [!__STDC__]: Remove conditional code.
4948         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4949         function definition.
4950         (STRTOF): Likewise.
4951         * stdlib/strtod_l.c (__STRTOF): Likewise.
4952         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4953         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4954         (__strtol_l): Likewise.
4955         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4956         [!__STDC__]: Remove conditional code.
4957         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4958         definition.
4959         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4960         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4961         type.
4962         (__strcasecmp): Convert to prototype-style function definition.
4963         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4964         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4965         type.
4966         (__strncasecmp): Convert to prototype-style function definition.
4967         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4968         * sunrpc/xdr.c (xdr_union): Likewise.
4969         * sunrpc/xdr_array.c (xdr_array): Likewise.
4970         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4971         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4972         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4973         Likewise.
4974         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4975         Likewise.
4976         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4977         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4978         Likewise.
4979         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4980         (LOCALE_PARAM_PROTO): Likewise.
4981         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4982         argument type.
4983         (ut_argument_spec): Remove macro.
4984         (ut_argument_spec_iso): Rename to ut_argument_spec.
4985         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4986         prototype-style function definition.
4987         (memcpy_uppcase): Likewise.
4988         (__strftime_internal): Likewise.
4989         (my_strftime): Likewise.
4990         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4991         (LOCALE_PARAM_DECL): Likewise.
4992         [_LIBC] (LOCALE_PARAM): Include argument type.
4993         (__strptime_internal): Convert to prototype-style function
4994         definition.
4995         (strptime): Likewise.
4996         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4997         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4998         type.
4999         (__wcscasecmp): Convert to prototype-style function definition.
5000         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
5001         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5002         type.
5003         (__wcsncasecmp): Convert to prototype-style function definition.
5005         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
5006         function definition.
5007         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5008         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5009         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
5010         * elf/dl-minimal.c (_itoa): Likewise.
5011         * hurd/hurdmalloc.c (malloc): Likewise.
5012         (free): Likewise.
5013         (realloc): Likewise.
5014         * inet/inet6_option.c (inet6_option_space): Likewise.
5015         (inet6_option_init): Likewise.
5016         (inet6_option_append): Likewise.
5017         (inet6_option_alloc): Likewise.
5018         (inet6_option_next): Likewise.
5019         (inet6_option_find): Likewise.
5020         * io/ftw.c (FTW_NAME): Likewise.
5021         (NFTW_NAME): Likewise.
5022         (NFTW_NEW_NAME): Likewise.
5023         (NFTW_OLD_NAME): Likewise.
5024         * libio/iofwide.c (_IO_fwide): Likewise.
5025         * libio/strops.c (_IO_str_init_static_internal): Likewise.
5026         (_IO_str_init_static): Likewise.
5027         (_IO_str_init_readonly): Likewise.
5028         (_IO_str_overflow): Likewise.
5029         (_IO_str_underflow): Likewise.
5030         (_IO_str_count): Likewise.
5031         (_IO_str_seekoff): Likewise.
5032         (_IO_str_pbackfail): Likewise.
5033         (_IO_str_finish): Likewise.
5034         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
5035         (_IO_wstr_overflow): Likewise.
5036         (_IO_wstr_underflow): Likewise.
5037         (_IO_wstr_count): Likewise.
5038         (_IO_wstr_seekoff): Likewise.
5039         (_IO_wstr_pbackfail): Likewise.
5040         (_IO_wstr_finish): Likewise.
5041         * locale/programs/localedef.c (normalize_codeset): Likewise.
5042         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5043         (add_locales_to_archive): Likewise.
5044         (delete_locales_from_archive): Likewise.
5045         * malloc/malloc.c (__libc_mallinfo): Likewise.
5046         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
5047         * misc/tsearch.c (__tfind): Likewise.
5048         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
5049         * nptl/pthread_attr_getdetachstate.c
5050         (__pthread_attr_getdetachstate): Likewise.
5051         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
5052         Likewise.
5053         * nptl/pthread_attr_getinheritsched.c
5054         (__pthread_attr_getinheritsched): Likewise.
5055         * nptl/pthread_attr_getschedparam.c
5056         (__pthread_attr_getschedparam): Likewise.
5057         * nptl/pthread_attr_getschedpolicy.c
5058         (__pthread_attr_getschedpolicy): Likewise.
5059         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
5060         Likewise.
5061         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
5062         Likewise.
5063         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
5064         Likewise.
5065         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
5066         Likewise.
5067         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
5068         (__pthread_attr_init_2_0): Likewise.
5069         * nptl/pthread_attr_setdetachstate.c
5070         (__pthread_attr_setdetachstate): Likewise.
5071         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
5072         Likewise.
5073         * nptl/pthread_attr_setinheritsched.c
5074         (__pthread_attr_setinheritsched): Likewise.
5075         * nptl/pthread_attr_setschedparam.c
5076         (__pthread_attr_setschedparam): Likewise.
5077         * nptl/pthread_attr_setschedpolicy.c
5078         (__pthread_attr_setschedpolicy): Likewise.
5079         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
5080         Likewise.
5081         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
5082         Likewise.
5083         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
5084         Likewise.
5085         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
5086         Likewise.
5087         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
5088         Likewise.
5089         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
5090         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
5091         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
5092         use internal_function.
5093         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
5094         prototype-style function definition.
5095         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
5096         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
5097         internal_function.
5098         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
5099         Convert to prototype-style function definition.
5100         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5101         Likewise.
5102         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5103         Likewise.
5104         (__pthread_mutex_unlock): Likewise.
5105         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
5106         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
5107         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
5108         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
5109         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
5110         * nss/makedb.c (process_input): Likewise.
5111         * posix/fnmatch.c (__strchrnul): Likewise.
5112         (__wcschrnul): Likewise.
5113         (fnmatch): Likewise.
5114         * posix/fnmatch_loop.c (FCT): Likewise.
5115         * posix/glob.c (globfree): Likewise.
5116         (__glob_pattern_type): Likewise.
5117         (__glob_pattern_p): Likewise.
5118         * posix/regcomp.c (re_compile_pattern): Likewise.
5119         (re_set_syntax): Likewise.
5120         (re_compile_fastmap): Likewise.
5121         (regcomp): Likewise.
5122         (regerror): Likewise.
5123         (regfree): Likewise.
5124         * posix/regexec.c (regexec): Likewise.
5125         (re_match): Likewise.
5126         (re_search): Likewise.
5127         (re_match_2): Likewise.
5128         (re_search_2): Likewise.
5129         (re_search_stub): Likewise.  Use internal_function
5130         (re_copy_regs): Likewise.
5131         (re_set_registers): Convert to prototype-style function
5132         definition.
5133         (prune_impossible_nodes): Likewise.  Use internal_function.
5134         * resolv/inet_net_pton.c (inet_net_pton): Convert to
5135         prototype-style function definition.
5136         (inet_net_pton_ipv4): Likewise.
5137         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5138         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
5139         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
5140         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
5141         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5142         Make variadic.
5143         * time/strptime_l.c (localtime_r): Convert to prototype-style
5144         function definition.
5145         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5146         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5147         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5148         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5150         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
5151         definition.
5152         (_ufc_doit_r): Likewise.
5153         * crypt/crypt_util.c (_ufc_copymem): Likewise.
5154         (_ufc_output_conversion_r): Likewise.
5155         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
5156         * inet/rcmd.c (rcmd_af): Likewise.
5157         (rcmd): Likewise.
5158         (ruserok_af): Likewise.
5159         (ruserok): Likewise.
5160         (ruserok2_sa): Likewise.
5161         (ruserok_sa): Likewise.
5162         (iruserok_af): Likewise.
5163         (iruserok): Likewise.
5164         (__ivaliduser): Likewise.
5165         (__validuser2_sa): Likewise.
5166         * inet/rexec.c (rexec_af): Likewise.
5167         (rexec): Likewise.
5168         * inet/ruserpass.c (ruserpass): Likewise.
5169         * locale/programs/xmalloc.c (xcalloc): Likewise.
5170         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
5171         * math/w_drem.c (__drem): Likewise.
5172         * math/w_dremf.c (__dremf): Likewise.
5173         * math/w_dreml.c (__dreml): Likewise.
5174         * misc/daemon.c (daemon): Likewise.
5175         * resolv/res_debug.c (p_fqnname): Likewise.
5176         * stdlib/div.c (div): Likewise.
5177         * string/memcmp.c (memcmp_bytes): Likewise.
5178         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
5179         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
5181         * crypt/cert.c (main): Convert to prototype-style function
5182         definition.
5183         * io/pipe.c (__pipe): Likewise.
5184         * io/pipe2.c (__pipe2): Likewise.
5185         * misc/futimesat.c (futimesat): Likewise.
5186         * misc/utimes.c (__utimes): Likewise.
5187         * posix/execve.c (__execve): Likewise.
5188         * posix/execvp.c (execvp): Likewise.
5189         * posix/execvpe.c (__execvpe): Likewise.
5190         * posix/fexecve.c (fexecve): Likewise.
5191         * socket/socketpair.c (socketpair): Likewise.
5192         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5193         * stdlib/erand48.c (erand48): Likewise.
5194         * stdlib/erand48_r.c (__erand48_r): Likewise.
5195         * stdlib/jrand48.c (jrand48): Likewise.
5196         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
5197         * stdlib/lcong48.c (lcong48): Likewise.
5198         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
5199         * stdlib/nrand48.c (nrand48): Likewise.
5200         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
5201         * stdlib/seed48.c (seed48): Likewise.
5202         * stdlib/seed48_r.c (__seed48_r): Likewise.
5203         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
5204         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
5205         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
5207 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5209         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
5210         * configure: Regenerated.
5211         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
5212         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
5213         unconditional.
5214         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5215         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5216         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5217         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
5218         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
5219         unconditional.
5220         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5222         * posix/Makefile (CFLAGS-regex.c): Remove variable.
5223         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
5225         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
5226         function definition.
5227         * crypt/crypt_util.c (__encrypt_r): Likewise.
5228         * libio/genops.c (_IO_no_init): Likewise.
5229         * libio/iofopncook.c (_IO_fopencookie): Likewise.
5230         (_IO_old_fopencookie): Likewise.
5231         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5232         * libio/iogetline.c (_IO_getline): Likewise.
5233         (_IO_getline_info): Likewise.
5234         * libio/iogetwline.c (_IO_getwline): Likewise.
5235         (_IO_getwline_info): Likewise.
5236         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5237         * libio/vswprintf.c (_IO_vswprintf): Likewise.
5238         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
5239         (find_entry): Likewise.
5240         (iterate_table): Likewise.
5241         (lookup): Likewise.
5242         * login/forkpty.c (forkpty): Likewise.
5243         * misc/hsearch_r.c (__hsearch_r): Likewise.
5244         * misc/select.c (__select): Likewise.
5245         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
5246         Likewise.
5247         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
5248         Likewise.
5249         * nptl/old_pthread_cond_timedwait.c
5250         (__pthread_cond_timedwait_2_0): Likewise.
5251         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5252         * nptl/pthread_barrierattr_getpshared.c
5253         (pthread_barrierattr_getpshared): Likewise.
5254         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5255         Likewise.
5256         * nptl/pthread_mutex_setprioceiling.c
5257         (pthread_mutex_setprioceiling): Likewise.
5258         * nptl/pthread_mutexattr_getprioceiling.c
5259         (pthread_mutexattr_getprioceiling): Likewise.
5260         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5261         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5262         Likewise.
5263         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5264         Likewise.
5265         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
5266         Likewise.
5267         * socket/recvfrom.c (__recvfrom): Likewise.
5268         * socket/sendto.c (__sendto): Likewise.
5269         * socket/setsockopt.c (__setsockopt): Likewise.
5270         * stdio-common/_itoa.c (_itoa): Likewise.
5271         * stdio-common/_itowa.c (_itowa): Likewise.
5272         * stdio-common/reg-printf.c (__register_printf_specifier):
5273         Likewise.
5274         (__register_printf_function): Likewise.
5275         * stdio-common/tempname.c (__path_search): Likewise.
5276         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
5277         * stdlib/mul_1.c (mpn_mul_1): Likewise.
5278         * stdlib/random_r.c (__initstate_r): Likewise.
5279         * stdlib/setenv.c (__add_to_environ): Likewise.
5280         * stdlib/submul_1.c (mpn_submul_1): Likewise.
5281         * streams/getpmsg.c (getpmsg): Likewise.
5282         * streams/putmsg.c (putmsg): Likewise.
5283         * streams/putpmsg.c (putpmsg): Likewise.
5284         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
5285         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5286         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
5287         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
5288         * sunrpc/pm_getport.c (pmap_getport): Likewise.
5289         * sunrpc/svc_udp.c (cache_get): Likewise.
5290         * sunrpc/xdr_array.c (xdr_vector): Likewise.
5291         * sysdeps/mach/hurd/getcwd.c
5292         (__canonicalize_directory_name_internal): Likewise.
5293         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
5294         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
5295         * sysdeps/mach/hurd/select.c (__select): Likewise.
5296         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5297         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
5298         * sysdeps/sparc/nptl/pthread_barrier_init.c
5299         (__pthread_barrier_init): Likewise.
5300         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
5301         (__pthread_cond_timedwait): Likewise.
5302         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
5303         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
5304         Likewise.
5305         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
5306         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
5307         Likewise.
5308         * sysvipc/semtimedop.c (semtimedop): Likewise.
5309         * time/setitimer.c (__setitimer): Likewise.
5310         * time/strftime_l.c (emacs_strftime): Likewise.
5312 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5314         * config.make.in (have-ssp): Delete.
5315         (stack-protector): New variable.
5316         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
5317         cache test for -fstack-protector-strong.  Export stack_protector to
5318         the best ssp flag.
5319         * configure: Regenerated.
5320         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5321         * nscd/Makefile (CFLAGS-nscd): Likewise.
5322         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5324 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
5326         [BZ #19122]
5327         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5328         attribute_hidden.
5330 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5332         [BZ #18743]
5333         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5334         code to...
5335         (ELIDE_LOCK): ...here.
5336         (__get_new_count): New function with part of the code from
5337         __elide_lock that updates the value of adapt_count after a
5338         transaction abort.
5339         (__elided_trylock): Moved this code to...
5340         (ELIDE_TRYLOCK): ...here.
5342 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5344         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5345         * configure: Regenerate.
5346         * INSTALL: Regenerate.
5347         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5348         and tweak grammar.
5350 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
5352         * login/programs/pt_chown.c: Include signal.h
5353         (main): Clear any signal mask from the parent process.
5355 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5357         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5358         * configure: Regenerated.
5359         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5360         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5361         $(gnu89-inline-CFLAGS).
5363         * configure.ac (libc_cv_asm_weak_directive): Remove configure
5364         test.
5365         (libc_cv_asm_weakext_directive): Likewise.
5366         * configure: Regenerated.
5367         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
5368         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
5369         * include/libc-symbols.h
5370         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
5371         #error.
5372         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
5373         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
5375         * sysdeps/arm/backtrace.c (__backtrace): Convert to
5376         prototype-style function definition.
5377         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5378         * sysdeps/i386/ffs.c (__ffs): Likewise.
5379         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5380         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
5381         Likewise.
5382         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5383         Likewise.
5384         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5385         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5386         Likewise.
5387         * sysdeps/m68k/ffs.c (__ffs): Likewise.
5388         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
5389         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
5390         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
5391         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
5392         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
5393         * sysdeps/mach/hurd/access.c (__access): Likewise.
5394         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
5395         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
5396         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5397         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
5398         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
5399         (cthread_getspecific): Likewise.
5400         (cthread_setspecific): Likewise.
5401         (__libc_getspecific): Likewise.
5402         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
5403         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
5404         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
5405         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5406         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5407         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5408         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5409         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5410         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5411         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5412         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5413         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5414         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5415         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5416         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5417         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5418         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5419         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5420         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5421         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5422         * sysdeps/mach/hurd/link.c (__link): Likewise.
5423         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5424         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5425         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5426         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5427         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5428         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5429         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5430         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5431         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5432         * sysdeps/mach/hurd/rename.c (rename): Likewise.
5433         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5434         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5435         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5436         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5437         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5438         * sysdeps/mach/hurd/send.c (__send): Likewise.
5439         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5440         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5441         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5442         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5443         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5444         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5445         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5446         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5447         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5448         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5449         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5450         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5451         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5452         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5453         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5454         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5455         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5456         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5457         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5458         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5459         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5460         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5461         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5462         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5463         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5464         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5465         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5466         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5467         * sysdeps/posix/alarm.c (alarm): Likewise.
5468         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5469         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5470         * sysdeps/posix/dup.c (__dup): Likewise.
5471         * sysdeps/posix/dup2.c (__dup2): Likewise.
5472         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5473         (main): Likewise.
5474         * sysdeps/posix/flock.c (__flock): Likewise.
5475         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5476         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5477         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5478         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5479         * sysdeps/posix/isatty.c (__isatty): Likewise.
5480         * sysdeps/posix/killpg.c (killpg): Likewise.
5481         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5482         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5483         * sysdeps/posix/raise.c (raise): Likewise.
5484         * sysdeps/posix/remove.c (remove): Likewise.
5485         * sysdeps/posix/rename.c (rename): Likewise.
5486         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5487         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5488         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5489         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5490         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5491         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5492         * sysdeps/posix/sigset.c (sigset): Likewise.
5493         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5494         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5495         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5496         * sysdeps/posix/time.c (time): Likewise.
5497         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5498         (ttyname): Likewise.
5499         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5500         * sysdeps/posix/utime.c (utime): Likewise.
5501         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5502         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5503         Likewise.
5504         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5505         (pthread_spin_trylock): Likewise.
5506         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5507         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5508         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5509         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5510         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5511         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5512         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5513         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5514         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5515         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5516         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5517         * sysdeps/s390/ffs.c (__ffs): Likewise.
5518         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5519         Likewise.
5520         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5521         Likewise.
5522         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5523         Likewise.
5524         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5525         (pthread_barrier_destroy): Likewise.
5526         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5527         (__pthread_barrier_wait): Likewise.
5528         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5529         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5530         (__pthread_barrier_wait): Likewise.
5531         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5532         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5533         (memcmp_not_common_alignment): Likewise.
5534         (MEMCMP): Likewise.
5535         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5536         (_wordcopy_fwd_dest_aligned): Likewise.
5537         (_wordcopy_bwd_aligned): Likewise.
5538         (_wordcopy_bwd_dest_aligned): Likewise.
5539         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5540         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5541         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5542         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5543         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5544         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5545         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5546         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5547         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5548         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5549         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5550         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5551         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5552         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5553         * sysdeps/unix/stime.c (stime): Likewise.
5554         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5555         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5556         Likewise.  Use internal_function.
5557         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5558         Convert to prototype-style function definition.
5559         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5560         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5561         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5562         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5563         Likewise.  Use internal_function.
5564         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5565         prototype-style function definition
5566         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5567         Likewise.
5568         (__getlogin_r): Likewise.
5569         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5570         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5571         (__pthread_cond_broadcast): Likewise.
5572         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5573         (__pthread_cond_destroy): Likewise.
5574         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5575         (__pthread_cond_init): Likewise.
5576         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5577         (__pthread_cond_signal): Likewise.
5578         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5579         (__pthread_cond_wait): Likewise.
5580         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5581         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5582         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5583         Likewise.
5584         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5585         Likewise.
5586         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5587         Likewise.
5588         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5589         Likewise.
5590         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5592         (__ftruncate64): Likewise.
5593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5594         (truncate64): Likewise.
5595         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5596         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5597         (pthread_getcpuclockid): Likewise.
5598         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5599         Likewise.
5600         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5601         Likewise.
5602         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5603         Likewise.
5604         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5605         Likewise.
5606         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5607         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5608         (__libc_sigaction): Likewise.
5609         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5610         Likewise.
5611         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5612         (__sigprocmask): Likewise.
5613         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5614         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5615         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5616         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5617         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5618         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5619         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5620         Likewise.
5621         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5622         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5623         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5624         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5626         Likewise.
5627         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5628         (__sigprocmask): Likewise.
5629         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5630         (cfgetispeed): Likewise.
5631         (cfsetospeed): Likewise.
5632         (cfsetispeed): Likewise.
5633         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5634         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5635         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5636         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5637         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5638         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5639         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5640         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5641         Likewise.
5642         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5643         Likewise.
5644         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5645         Likewise.
5646         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5647         Likewise.
5648         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5650 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5652         sunrpc: Rewrite with explicit TLS access using __thread.
5653         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5654         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5655         directly.
5656         (__rpc_thread_variables): Access thread_rpc_vars directly.
5657         Eliminate redundant assignment of the tvp variable.
5659 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5661         malloc: Rewrite with explicit TLS access using __thread.
5662         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5663         (tsd_setspecific, tsd_getspecific): Remove.
5664         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5665         (tsd_setspecific, tsd_getspecific): Likewise.
5666         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5667         (tsd_setspecific, tsd_getspecific): Likewise.
5668         * malloc/arena.c (thread_arena): New TLS variable.
5669         (arena_key): Remove variable.
5670         (arena_get): Use thread_arena.
5671         (arena_lookup): Remove macro.
5672         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5673         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5674         (_int_new_arena, get_free_list, reused_arena)
5675         (arena_thread_freeres): Use thread_arena.
5676         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5677         tsd_getspecific, tsd_setspecific from safety annotations.
5678         (Allocating Cleared Space): Remove arena_lookup from safety
5679         annotations.
5681 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5683         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5684         struct scratch_buffer instead of extend_alloca.
5686 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5688         * sysdeps/unix/sysv/linux/kernel-features.h
5689         (__ASSUME_SOCK_CLOEXEC): Remove.
5690         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5691         (__have_paccept): Remove unused macro.
5692         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5693         * misc/syslog.c (openlog_internal): Remove fallback code for
5694         !__ASSUME_SOCK_CLOEXEC.
5695         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5696         missing SOCK_CLOEXEC.
5697         * nscd/connections.c (have_sock_cloexec): Remove definition.
5698         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5699         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5700         !__ASSUME_SOCK_CLOEXEC.
5701         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5702         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5703         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5704         definition.
5705         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5706         code for !__ASSUME_SOCK_CLOEXEC.
5708 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5710         [BZ #18982]
5711         * manual/stdio.texi (Variable Arguments Output): Add portability
5712         note, explaining that vfprintf clobbers the va_list pointer.
5714 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5716         * math/libm-test.inc (fabs_test_data): Add more tests.
5717         (fdim_test_data): Likewise.
5718         (fma_test_data): Likewise.
5719         (fmax_test_data): Likewise.
5720         (fmin_test_data): Likewise.
5721         (fmod_test_data): Likewise.
5723 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5725         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5726         data.
5728 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5730         * math/libm-test.inc (ceil_test_data): Add more tests and more
5731         expectations for "inexact".
5732         (floor_test_data): Add more tests.
5733         (round_test_data): Likewise.
5734         (trunc_test_data): Likewise.
5736         * crypt/cert.c (good_bye): Convert to prototype-style function
5737         definition.
5738         (get8): Likewise.
5739         (put8): Likewise.
5740         * crypt/crypt-entry.c (crypt): Likewise.
5741         (__fcrypt): Likewise.
5742         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5743         (_ufc_set_bits): Likewise.
5744         (_ufc_clearmem): Likewise.
5745         (__init_des_r): Likewise.
5746         (shuffle_sb): Likewise.
5747         (shuffle_sb): Likewise.
5748         (_ufc_setup_salt_r): Likewise.
5749         (_ufc_mk_keytab_r): Likewise.
5750         (_ufc_dofinalperm_r): Likewise.
5751         (encrypt): Likewise.
5752         (__setkey_r): Likewise.
5753         (setkey): Likewise.
5754         * crypt/md5.c (md5_init_ctx): Likewise.
5755         (md5_read_ctx): Likewise.
5756         (md5_finish_ctx): Likewise.
5757         (md5_stream): Likewise.
5758         (md5_buffer): Likewise.
5759         (md5_process_bytes): Likewise.
5760         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5761         (__sha256_finish_ctx): Likewise.
5762         (__sha256_process_bytes): Likewise.
5763         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5764         (__sha512_finish_ctx): Likewise.
5765         (__sha512_process_bytes): Likewise.
5766         * ctype/isctype.c (__isctype): Likewise.
5767         * debug/backtrace.c (__backtrace): Likewise.
5768         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5769         * debug/fgets_chk.c (__fgets_chk): Likewise.
5770         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5771         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5772         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5773         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5774         * debug/memset_chk.c (__memset_chk): Likewise.
5775         * debug/strcat_chk.c (__strcat_chk): Likewise.
5776         * debug/strncat_chk.c (__strncat_chk): Likewise.
5777         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5778         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5779         * dirent/dirfd.c (dirfd): Likewise.
5780         * dirent/getdents.c (__getdirentries): Likewise.
5781         * dirent/getdents64.c (getdirentries64): Likewise.
5782         * dirent/rewinddir.c (__rewinddir): Likewise.
5783         * dirent/seekdir.c (seekdir): Likewise.
5784         * dirent/telldir.c (telldir): Likewise.
5785         * elf/sln.c (makesymlinks): Likewise.
5786         (makesymlink): Likewise.
5787         * gmon/gmon.c (__moncontrol): Likewise.
5788         (__monstartup): Likewise.
5789         (write_hist): Likewise.
5790         (write_call_graph): Likewise.
5791         (write_bb_counts): Likewise.
5792         * grp/setgroups.c (setgroups): Likewise.
5793         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5794         * inet/inet_net.c (inet_network): Likewise.
5795         * inet/inet_netof.c (inet_netof): Likewise.
5796         * inet/rcmd.c (rresvport_af): Likewise.
5797         (rresvport): Likewise.
5798         * io/access.c (__access): Likewise.
5799         * io/chdir.c (__chdir): Likewise.
5800         * io/chmod.c (__chmod): Likewise.
5801         * io/chown.c (__chown): Likewise.
5802         * io/close.c (__close): Likewise.
5803         * io/creat.c (creat): Likewise.
5804         * io/creat64.c (creat64): Likewise.
5805         * io/dup.c (__dup): Likewise.
5806         * io/dup2.c (__dup2): Likewise.
5807         * io/dup3.c (__dup3): Likewise.
5808         * io/euidaccess.c (__euidaccess): Likewise.
5809         * io/faccessat.c (faccessat): Likewise.
5810         * io/fchmod.c (__fchmod): Likewise.
5811         * io/fchmodat.c (fchmodat): Likewise.
5812         * io/fchown.c (__fchown): Likewise.
5813         * io/fchownat.c (fchownat): Likewise.
5814         * io/fcntl.c (__fcntl): Likewise.
5815         * io/flock.c (__flock): Likewise.
5816         * io/fts.c (fts_load): Likewise.
5817         (fts_close): Likewise.
5818         (fts_read): Likewise.
5819         (fts_set): Likewise.
5820         (fts_children): Likewise.
5821         (fts_build): Likewise.
5822         (fts_stat): Likewise.
5823         (fts_sort): Likewise.
5824         (fts_alloc): Likewise.
5825         (fts_lfree): Likewise.
5826         (fts_palloc): Likewise.
5827         (fts_padjust): Likewise.
5828         (fts_maxarglen): Likewise.
5829         (fts_safe_changedir): Likewise.
5830         * io/getwd.c (getwd): Likewise.
5831         * io/isatty.c (__isatty): Likewise.
5832         * io/lchown.c (__lchown): Likewise.
5833         * io/link.c (__link): Likewise.
5834         * io/linkat.c (linkat): Likewise.
5835         * io/lseek.c (__libc_lseek): Likewise.
5836         * io/mkdir.c (__mkdir): Likewise.
5837         * io/mkdirat.c (mkdirat): Likewise.
5838         * io/mkfifo.c (mkfifo): Likewise.
5839         * io/mkfifoat.c (mkfifoat): Likewise.
5840         * io/open.c (__libc_open): Likewise.
5841         * io/open64.c (__libc_open64): Likewise.
5842         * io/readlink.c (__readlink): Likewise.
5843         * io/readlinkat.c (readlinkat): Likewise.
5844         * io/rmdir.c (__rmdir): Likewise.
5845         * io/symlink.c (__symlink): Likewise.
5846         * io/symlinkat.c (symlinkat): Likewise.
5847         * io/ttyname.c (ttyname): Likewise.
5848         * io/ttyname_r.c (__ttyname_r): Likewise.
5849         * io/umask.c (__umask): Likewise.
5850         * io/unlink.c (__unlink): Likewise.
5851         * io/unlinkat.c (unlinkat): Likewise.
5852         * io/utime.c (utime): Likewise.
5853         * libio/clearerr.c (clearerr): Likewise.
5854         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5855         * libio/feof.c (_IO_feof): Likewise.
5856         * libio/feof_u.c (feof_unlocked): Likewise.
5857         * libio/ferror.c (_IO_ferror): Likewise.
5858         * libio/ferror_u.c (ferror_unlocked): Likewise.
5859         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5860         * libio/fileno.c (__fileno): Likewise.
5861         * libio/fputc.c (fputc): Likewise.
5862         * libio/fputc_u.c (fputc_unlocked): Likewise.
5863         * libio/fputwc.c (fputwc): Likewise.
5864         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5865         * libio/freopen.c (freopen): Likewise.
5866         * libio/freopen64.c (freopen64): Likewise.
5867         * libio/fseek.c (fseek): Likewise.
5868         * libio/fseeko.c (fseeko): Likewise.
5869         * libio/fseeko64.c (fseeko64): Likewise.
5870         * libio/ftello.c (__ftello): Likewise.
5871         * libio/ftello64.c (ftello64): Likewise.
5872         * libio/fwide.c (fwide): Likewise.
5873         * libio/genops.c (_IO_un_link): Likewise.
5874         (_IO_link_in): Likewise.
5875         (_IO_least_marker): Likewise.
5876         (_IO_switch_to_main_get_area): Likewise.
5877         (_IO_switch_to_backup_area): Likewise.
5878         (_IO_switch_to_get_mode): Likewise.
5879         (_IO_free_backup_area): Likewise.
5880         (_IO_switch_to_put_mode): Likewise.
5881         (__overflow): Likewise.
5882         (__underflow): Likewise.
5883         (__uflow): Likewise.
5884         (_IO_setb): Likewise.
5885         (_IO_doallocbuf): Likewise.
5886         (_IO_default_underflow): Likewise.
5887         (_IO_default_uflow): Likewise.
5888         (_IO_default_xsputn): Likewise.
5889         (_IO_sgetn): Likewise.
5890         (_IO_default_xsgetn): Likewise.
5891         (_IO_sync): Likewise.
5892         (_IO_default_setbuf): Likewise.
5893         (_IO_default_seekpos): Likewise.
5894         (_IO_default_doallocate): Likewise.
5895         (_IO_init): Likewise.
5896         (_IO_old_init): Likewise.
5897         (_IO_default_sync): Likewise.
5898         (_IO_default_finish): Likewise.
5899         (_IO_default_seekoff): Likewise.
5900         (_IO_sputbackc): Likewise.
5901         (_IO_sungetc): Likewise.
5902         (_IO_set_column): Likewise.
5903         (_IO_set_column): Likewise.
5904         (_IO_adjust_column): Likewise.
5905         (_IO_get_column): Likewise.
5906         (_IO_init_marker): Likewise.
5907         (_IO_remove_marker): Likewise.
5908         (_IO_marker_difference): Likewise.
5909         (_IO_marker_delta): Likewise.
5910         (_IO_seekmark): Likewise.
5911         (_IO_unsave_markers): Likewise.
5912         (_IO_nobackup_pbackfail): Likewise.
5913         (_IO_default_pbackfail): Likewise.
5914         (_IO_default_seek): Likewise.
5915         (_IO_default_stat): Likewise.
5916         (_IO_default_read): Likewise.
5917         (_IO_default_write): Likewise.
5918         (_IO_default_showmanyc): Likewise.
5919         (_IO_default_imbue): Likewise.
5920         (_IO_iter_next): Likewise.
5921         (_IO_iter_file): Likewise.
5922         * libio/getc.c (_IO_getc): Likewise.
5923         * libio/getwc.c (_IO_getwc): Likewise.
5924         * libio/iofclose.c (_IO_new_fclose): Likewise.
5925         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5926         * libio/iofflush.c (_IO_fflush): Likewise.
5927         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5928         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5929         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5930         * libio/iofgets.c (_IO_fgets): Likewise.
5931         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5932         * libio/iofgetws.c (fgetws): Likewise.
5933         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5934         * libio/iofopen64.c (_IO_fopen64): Likewise.
5935         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5936         (_IO_cookie_write): Likewise.
5937         (_IO_cookie_seek): Likewise.
5938         (_IO_cookie_close): Likewise.
5939         (_IO_cookie_seekoff): Likewise.
5940         (_IO_old_cookie_seek): Likewise.
5941         * libio/iofputs.c (_IO_fputs): Likewise.
5942         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5943         * libio/iofputws.c (fputws): Likewise.
5944         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5945         * libio/iofread.c (_IO_fread): Likewise.
5946         * libio/iofread_u.c (__fread_unlocked): Likewise.
5947         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5948         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5949         * libio/ioftell.c (_IO_ftell): Likewise.
5950         * libio/iofwrite.c (_IO_fwrite): Likewise.
5951         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5952         * libio/iogets.c (_IO_gets): Likewise.
5953         * libio/iopadn.c (_IO_padn): Likewise.
5954         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5955         (_IO_new_popen): Likewise.
5956         (_IO_new_proc_close): Likewise.
5957         * libio/ioputs.c (_IO_puts): Likewise.
5958         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5959         (_IO_seekoff): Likewise.
5960         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5961         (_IO_seekpos): Likewise.
5962         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5963         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5964         * libio/ioungetc.c (_IO_ungetc): Likewise.
5965         * libio/ioungetwc.c (ungetwc): Likewise.
5966         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5967         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5968         * libio/iowpadn.c (_IO_wpadn): Likewise.
5969         * libio/libc_fatal.c (__libc_fatal): Likewise.
5970         * libio/memstream.c (__open_memstream): Likewise.
5971         (_IO_mem_sync): Likewise.
5972         (_IO_mem_finish): Likewise.
5973         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5974         (_IO_old_file_close_it): Likewise.
5975         (_IO_old_file_finish): Likewise.
5976         (_IO_old_file_fopen): Likewise.
5977         (_IO_old_file_attach): Likewise.
5978         (_IO_old_file_setbuf): Likewise.
5979         (_IO_old_do_write): Likewise.
5980         (old_do_write): Likewise.
5981         (_IO_old_file_underflow): Likewise.
5982         (_IO_old_file_overflow): Likewise.
5983         (_IO_old_file_sync): Likewise.
5984         (_IO_old_file_seekoff): Likewise.
5985         (_IO_old_file_write): Likewise.
5986         (_IO_old_file_xsputn): Likewise.
5987         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5988         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5989         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5990         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5991         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5992         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5993         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5994         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5995         (_IO_old_popen): Likewise.
5996         (_IO_old_proc_close): Likewise.
5997         * libio/oldpclose.c (__old_pclose): Likewise.
5998         * libio/pclose.c (__new_pclose): Likewise.
5999         * libio/peekc.c (_IO_peekc_locked): Likewise.
6000         * libio/putc.c (_IO_putc): Likewise.
6001         * libio/putc_u.c (putc_unlocked): Likewise.
6002         * libio/putchar.c (putchar): Likewise.
6003         * libio/putchar_u.c (putchar_unlocked): Likewise.
6004         * libio/putwc.c (putwc): Likewise.
6005         * libio/putwc_u.c (putwc_unlocked): Likewise.
6006         * libio/putwchar.c (putwchar): Likewise.
6007         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6008         * libio/rewind.c (rewind): Likewise.
6009         * libio/setbuf.c (setbuf): Likewise.
6010         * libio/setlinebuf.c (setlinebuf): Likewise.
6011         * libio/vasprintf.c (_IO_vasprintf): Likewise.
6012         * libio/vscanf.c (_IO_vscanf): Likewise.
6013         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
6014         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
6015         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6016         * libio/wgenops.c (_IO_least_wmarker): Likewise.
6017         (_IO_switch_to_main_wget_area): Likewise.
6018         (_IO_switch_to_wbackup_area): Likewise.
6019         (_IO_wsetb): Likewise.
6020         (_IO_wdefault_pbackfail): Likewise.
6021         (_IO_wdefault_finish): Likewise.
6022         (_IO_wdefault_uflow): Likewise.
6023         (__woverflow): Likewise.
6024         (__wuflow): Likewise.
6025         (__wunderflow): Likewise.
6026         (_IO_wdefault_xsputn): Likewise.
6027         (_IO_wdefault_xsgetn): Likewise.
6028         (_IO_wdoallocbuf): Likewise.
6029         (_IO_wdefault_doallocate): Likewise.
6030         (_IO_switch_to_wget_mode): Likewise.
6031         (_IO_free_wbackup_area): Likewise.
6032         (_IO_switch_to_wput_mode): Likewise.
6033         (_IO_sputbackwc): Likewise.
6034         (_IO_sungetwc): Likewise.
6035         (_IO_adjust_wcolumn): Likewise.
6036         (_IO_init_wmarker): Likewise.
6037         (_IO_wmarker_delta): Likewise.
6038         (_IO_seekwmark): Likewise.
6039         (_IO_unsave_wmarkers): Likewise.
6040         * libio/wmemstream.c (open_wmemstream): Likewise.
6041         (_IO_wmem_sync): Likewise.
6042         (_IO_wmem_finish): Likewise.
6043         * locale/nl_langinfo.c (nl_langinfo): Likewise.
6044         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
6045         * locale/programs/simple-hash.c (init_hash): Likewise.
6046         (delete_hash): Likewise.
6047         (insert_entry): Likewise.
6048         (set_entry): Likewise.
6049         (next_prime): Likewise.
6050         (is_prime): Likewise.
6051         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
6052         (xmalloc): Likewise.
6053         (xrealloc): Likewise.
6054         * locale/programs/xstrdup.c (xstrdup): Likewise.
6055         * localedata/collate-test.c (xstrcoll): Likewise.
6056         * localedata/xfrm-test.c (xstrcmp): Likewise.
6057         * login/getlogin_r.c (__getlogin_r): Likewise.
6058         * login/getpt.c (__posix_openpt): Likewise.
6059         * login/login_tty.c (login_tty): Likewise.
6060         * login/setlogin.c (setlogin): Likewise.
6061         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
6062         (mach_msg_destroy_port): Likewise.
6063         (mach_msg_destroy_memory): Likewise.
6064         * malloc/mcheck.c (flood): Likewise.
6065         * misc/acct.c (acct): Likewise.
6066         * misc/brk.c (__brk): Likewise.
6067         * misc/chflags.c (chflags): Likewise.
6068         * misc/chroot.c (chroot): Likewise.
6069         * misc/fchflags.c (fchflags): Likewise.
6070         * misc/fstab.c (getfsspec): Likewise.
6071         (getfsfile): Likewise.
6072         * misc/fsync.c (fsync): Likewise.
6073         * misc/ftruncate.c (__ftruncate): Likewise.
6074         * misc/ftruncate64.c (__ftruncate64): Likewise.
6075         * misc/getdomain.c (getdomainname): Likewise.
6076         (getdomainname): Likewise.
6077         * misc/gethostname.c (__gethostname): Likewise.
6078         * misc/getpass.c (getpass): Likewise.
6079         * misc/getttyent.c (skip): Likewise.
6080         (value): Likewise.
6081         * misc/gtty.c (gtty): Likewise.
6082         * misc/hsearch.c (hsearch): Likewise.
6083         (hcreate): Likewise.
6084         * misc/hsearch_r.c (__hcreate_r): Likewise.
6085         (__hdestroy_r): Likewise.
6086         * misc/ioctl.c (__ioctl): Likewise.
6087         * misc/mkdtemp.c (mkdtemp): Likewise.
6088         * misc/mkostemp.c (mkostemp): Likewise.
6089         * misc/mkostemp64.c (mkostemp64): Likewise.
6090         * misc/mkostemps.c (mkostemps): Likewise.
6091         * misc/mkostemps64.c (mkostemps64): Likewise.
6092         * misc/mkstemp.c (mkstemp): Likewise.
6093         * misc/mkstemp64.c (mkstemp64): Likewise.
6094         * misc/mkstemps.c (mkstemps): Likewise.
6095         * misc/mkstemps64.c (mkstemps64): Likewise.
6096         * misc/mktemp.c (__mktemp): Likewise.
6097         * misc/preadv.c (preadv): Likewise.
6098         * misc/preadv64.c (preadv64): Likewise.
6099         * misc/pwritev.c (pwritev): Likewise.
6100         * misc/pwritev64.c (pwritev64): Likewise.
6101         * misc/readv.c (__readv): Likewise.
6102         * misc/revoke.c (revoke): Likewise.
6103         * misc/setdomain.c (setdomainname): Likewise.
6104         * misc/setegid.c (setegid): Likewise.
6105         * misc/seteuid.c (seteuid): Likewise.
6106         * misc/sethostid.c (sethostid): Likewise.
6107         * misc/sethostname.c (sethostname): Likewise.
6108         * misc/setregid.c (__setregid): Likewise.
6109         * misc/setreuid.c (__setreuid): Likewise.
6110         * misc/sstk.c (sstk): Likewise.
6111         * misc/stty.c (stty): Likewise.
6112         * misc/syscall.c (syscall): Likewise.
6113         * misc/syslog.c (setlogmask): Likewise.
6114         * misc/truncate.c (__truncate): Likewise.
6115         * misc/truncate64.c (truncate64): Likewise.
6116         * misc/ualarm.c (ualarm): Likewise.
6117         * misc/usleep.c (usleep): Likewise.
6118         * misc/ustat.c (ustat): Likewise.
6119         * misc/writev.c (__writev): Likewise.
6120         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
6121         * nptl/old_pthread_cond_broadcast.c
6122         (__pthread_cond_broadcast_2_0): Likewise.
6123         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
6124         Likewise.
6125         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
6126         Likewise.
6127         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
6128         Likewise.
6129         * nptl/pt-raise.c (raise): Likewise.
6130         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
6131         Likewise.
6132         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
6133         * nptl/pthread_barrierattr_destroy.c
6134         (pthread_barrierattr_destroy): Likewise.
6135         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6136         Likewise.
6137         * nptl/pthread_barrierattr_setpshared.c
6138         (pthread_barrierattr_setpshared): Likewise.
6139         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6140         Likewise.
6141         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6142         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6143         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6144         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
6145         Likewise.
6146         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
6147         Likewise.
6148         * nptl/pthread_condattr_getpshared.c
6149         (pthread_condattr_getpshared): Likewise.
6150         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
6151         Likewise.
6152         * nptl/pthread_condattr_setpshared.c
6153         (pthread_condattr_setpshared): Likewise.
6154         * nptl/pthread_detach.c (pthread_detach): Likewise.
6155         * nptl/pthread_equal.c (__pthread_equal): Likewise.
6156         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
6157         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
6158         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
6159         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
6160         Likewise.
6161         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6162         Likewise.
6163         * nptl/pthread_mutex_getprioceiling.c
6164         (pthread_mutex_getprioceiling): Likewise.
6165         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
6166         Likewise.
6167         * nptl/pthread_mutexattr_getprotocol.c
6168         (pthread_mutexattr_getprotocol): Likewise.
6169         * nptl/pthread_mutexattr_getpshared.c
6170         (pthread_mutexattr_getpshared): Likewise.
6171         * nptl/pthread_mutexattr_getrobust.c
6172         (pthread_mutexattr_getrobust): Likewise.
6173         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6174         Likewise.
6175         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
6176         Likewise.
6177         * nptl/pthread_mutexattr_setprioceiling.c
6178         (pthread_mutexattr_setprioceiling): Likewise.
6179         * nptl/pthread_mutexattr_setprotocol.c
6180         (pthread_mutexattr_setprotocol): Likewise.
6181         * nptl/pthread_mutexattr_setpshared.c
6182         (pthread_mutexattr_setpshared): Likewise.
6183         * nptl/pthread_mutexattr_setrobust.c
6184         (pthread_mutexattr_setrobust): Likewise.
6185         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
6186         Likewise.
6187         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
6188         Likewise.
6189         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
6190         Likewise.
6191         * nptl/pthread_rwlockattr_getkind_np.c
6192         (pthread_rwlockattr_getkind_np): Likewise.
6193         * nptl/pthread_rwlockattr_getpshared.c
6194         (pthread_rwlockattr_getpshared): Likewise.
6195         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
6196         Likewise.
6197         * nptl/pthread_rwlockattr_setkind_np.c
6198         (pthread_rwlockattr_setkind_np): Likewise.
6199         * nptl/pthread_rwlockattr_setpshared.c
6200         (pthread_rwlockattr_setpshared): Likewise.
6201         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
6202         Likewise.
6203         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
6204         Likewise.
6205         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
6206         Likewise.
6207         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6208         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
6209         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
6210         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
6211         * nptl/sem_close.c (sem_close): Likewise.
6212         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
6213         * nptl/sem_init.c (__old_sem_init): Likewise.
6214         * nptl/sigaction.c (__sigaction): Likewise.
6215         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6216         * posix/_exit.c (_exit): Likewise.
6217         * posix/alarm.c (alarm): Likewise.
6218         * posix/confstr.c (confstr): Likewise.
6219         * posix/fpathconf.c (__fpathconf): Likewise.
6220         * posix/getgroups.c (__getgroups): Likewise.
6221         * posix/getpgid.c (__getpgid): Likewise.
6222         * posix/group_member.c (__group_member): Likewise.
6223         * posix/pathconf.c (__pathconf): Likewise.
6224         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
6225         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
6226         * posix/setgid.c (__setgid): Likewise.
6227         * posix/setpgid.c (__setpgid): Likewise.
6228         * posix/setuid.c (__setuid): Likewise.
6229         * posix/sleep.c (__sleep): Likewise.
6230         * posix/sysconf.c (__sysconf): Likewise.
6231         * posix/times.c (__times): Likewise.
6232         * posix/uname.c (__uname): Likewise.
6233         * posix/waitid.c (__waitid): Likewise.
6234         * pwd/getpw.c (__getpw): Likewise.
6235         * resolv/base64.c (b64_pton): Likewise.
6236         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
6237         * resolv/gethnamaddr.c (Dprintf): Likewise.
6238         (gethostbyname): Likewise.
6239         (gethostbyname2): Likewise.
6240         (gethostbyaddr): Likewise.
6241         (_sethtent): Likewise.
6242         (_gethtbyname): Likewise.
6243         (_gethtbyname2): Likewise.
6244         (_gethtbyaddr): Likewise.
6245         (map_v4v6_address): Likewise.
6246         (map_v4v6_hostent): Likewise.
6247         (addrsort): Likewise.
6248         (ht_sethostent): Likewise.
6249         (ht_gethostbyname): Likewise.
6250         (ht_gethostbyaddr): Likewise.
6251         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
6252         (inet_net_ntop_ipv4): Likewise.
6253         * resolv/inet_neta.c (inet_neta): Likewise.
6254         * resolv/inet_ntop.c (inet_ntop): Likewise.
6255         (inet_ntop4): Likewise.
6256         (inet_ntop6): Likewise.
6257         * resolv/inet_pton.c (__inet_pton): Likewise.
6258         (inet_pton4): Likewise.
6259         (inet_pton6): Likewise.
6260         * resolv/res_debug.c (loc_aton): Likewise.
6261         (loc_ntoa): Likewise.
6262         * resource/getpriority.c (__getpriority): Likewise.
6263         * resource/getrusage.c (__getrusage): Likewise.
6264         * resource/nice.c (nice): Likewise.
6265         * resource/setpriority.c (__setpriority): Likewise.
6266         * resource/setrlimit64.c (setrlimit64): Likewise.
6267         * resource/vlimit.c (vlimit): Likewise.
6268         * resource/vtimes.c (vtimes): Likewise.
6269         * rt/aio_error.c (aio_error): Likewise.
6270         * rt/aio_return.c (aio_return): Likewise.
6271         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
6272         * signal/kill.c (__kill): Likewise.
6273         * signal/killpg.c (killpg): Likewise.
6274         * signal/raise.c (raise): Likewise.
6275         * signal/sigaction.c (__sigaction): Likewise.
6276         * signal/sigaddset.c (sigaddset): Likewise.
6277         * signal/sigaltstack.c (sigaltstack): Likewise.
6278         * signal/sigandset.c (sigandset): Likewise.
6279         * signal/sigblock.c (__sigblock): Likewise.
6280         * signal/sigdelset.c (sigdelset): Likewise.
6281         * signal/sigempty.c (sigemptyset): Likewise.
6282         * signal/sigfillset.c (sigfillset): Likewise.
6283         * signal/sighold.c (sighold): Likewise.
6284         * signal/sigignore.c (sigignore): Likewise.
6285         * signal/sigintr.c (siginterrupt): Likewise.
6286         * signal/sigisempty.c (sigisemptyset): Likewise.
6287         * signal/sigismem.c (sigismember): Likewise.
6288         * signal/signal.c (signal): Likewise.
6289         * signal/sigorset.c (sigorset): Likewise.
6290         * signal/sigpause.c (__sigpause): Likewise.
6291         * signal/sigpending.c (sigpending): Likewise.
6292         * signal/sigprocmask.c (__sigprocmask): Likewise.
6293         * signal/sigrelse.c (sigrelse): Likewise.
6294         * signal/sigreturn.c (__sigreturn): Likewise.
6295         * signal/sigset.c (sigset): Likewise.
6296         * signal/sigsetmask.c (__sigsetmask): Likewise.
6297         * signal/sigstack.c (sigstack): Likewise.
6298         * signal/sigsuspend.c (__sigsuspend): Likewise.
6299         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
6300         * signal/sysv_signal.c (__sysv_signal): Likewise.
6301         * socket/accept.c (accept): Likewise.
6302         * socket/accept4.c (__libc_accept4): Likewise.
6303         * socket/bind.c (__bind): Likewise.
6304         * socket/connect.c (__connect): Likewise.
6305         * socket/getpeername.c (getpeername): Likewise.
6306         * socket/getsockname.c (__getsockname): Likewise.
6307         * socket/getsockopt.c (getsockopt): Likewise.
6308         * socket/listen.c (__listen): Likewise.
6309         * socket/recv.c (__recv): Likewise.
6310         * socket/recvmsg.c (__recvmsg): Likewise.
6311         * socket/send.c (__send): Likewise.
6312         * socket/sendmsg.c (__sendmsg): Likewise.
6313         * socket/shutdown.c (shutdown): Likewise.
6314         * socket/sockatmark.c (sockatmark): Likewise.
6315         * socket/socket.c (__socket): Likewise.
6316         * stdio-common/ctermid.c (ctermid): Likewise.
6317         * stdio-common/cuserid.c (cuserid): Likewise.
6318         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
6319         * stdio-common/remove.c (remove): Likewise.
6320         * stdio-common/rename.c (rename): Likewise.
6321         * stdio-common/renameat.c (renameat): Likewise.
6322         * stdio-common/tempname.c (__gen_tempname): Likewise.
6323         * stdio-common/xbug.c (InitBuffer): Likewise.
6324         (AppendToBuffer): Likewise.
6325         (ReadFile): Likewise.
6326         * stdlib/a64l.c (a64l): Likewise.
6327         * stdlib/drand48_r.c (drand48_r): Likewise.
6328         * stdlib/getcontext.c (getcontext): Likewise.
6329         * stdlib/getenv.c (getenv): Likewise.
6330         * stdlib/l64a.c (l64a): Likewise.
6331         * stdlib/llabs.c (llabs): Likewise.
6332         * stdlib/lldiv.c (lldiv): Likewise.
6333         * stdlib/lrand48_r.c (lrand48_r): Likewise.
6334         * stdlib/mrand48_r.c (mrand48_r): Likewise.
6335         * stdlib/putenv.c (putenv): Likewise.
6336         * stdlib/random.c (__srandom): Likewise.
6337         (__initstate): Likewise.
6338         (__setstate): Likewise.
6339         * stdlib/random_r.c (__srandom_r): Likewise.
6340         (__setstate_r): Likewise.
6341         (__random_r): Likewise.
6342         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6343         * stdlib/setcontext.c (setcontext): Likewise.
6344         * stdlib/setenv.c (setenv): Likewise.
6345         (unsetenv): Likewise.
6346         * stdlib/srand48.c (srand48): Likewise.
6347         * stdlib/srand48_r.c (__srand48_r): Likewise.
6348         * stdlib/swapcontext.c (swapcontext): Likewise.
6349         * stdlib/system.c (__libc_system): Likewise.
6350         * stdlib/tst-strtod.c (expand): Likewise.
6351         * stdlib/tst-strtol.c (expand): Likewise.
6352         * stdlib/tst-strtoll.c (expand): Likewise.
6353         * streams/fattach.c (fattach): Likewise.
6354         * streams/fdetach.c (fdetach): Likewise.
6355         * streams/getmsg.c (getmsg): Likewise.
6356         * streams/isastream.c (isastream): Likewise.
6357         * string/ffs.c (__ffs): Likewise.
6358         * string/ffsll.c (ffsll): Likewise.
6359         * string/memcmp.c (memcmp_common_alignment): Likewise.
6360         (memcmp_not_common_alignment): Likewise.
6361         (MEMCMP): Likewise.
6362         * string/memcpy.c (memcpy): Likewise.
6363         * string/memmove.c (MEMMOVE): Likewise.
6364         * string/memset.c (memset): Likewise.
6365         * string/rawmemchr.c (RAWMEMCHR): Likewise.
6366         * string/strchrnul.c (STRCHRNUL): Likewise.
6367         * string/strerror.c (strerror): Likewise.
6368         * string/strndup.c (__strndup): Likewise.
6369         * string/strverscmp.c (__strverscmp): Likewise.
6370         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
6371         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
6372         (clnttcp_freeres): Likewise.
6373         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
6374         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
6375         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
6376         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
6377         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
6378         (xdr_callhdr): Likewise.
6379         * sunrpc/rpcinfo.c (udpping): Likewise.
6380         (tcpping): Likewise.
6381         (pstatus): Likewise.
6382         (pmapdump): Likewise.
6383         (brdcst): Likewise.
6384         (deletereg): Likewise.
6385         (getprognum): Likewise.
6386         (getvers): Likewise.
6387         (get_inet_address): Likewise.
6388         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
6389         * sunrpc/svc_udp.c (svcudp_create): Likewise.
6390         (svcudp_stat): Likewise.
6391         (svcudp_recv): Likewise.
6392         (svcudp_reply): Likewise.
6393         (svcudp_getargs): Likewise.
6394         (svcudp_freeargs): Likewise.
6395         (svcudp_destroy): Likewise.
6396         * sunrpc/xdr.c (xdr_bytes): Likewise.
6397         (xdr_netobj): Likewise.
6398         (xdr_string): Likewise.
6399         (xdr_wrapstring): Likewise.
6400         * sunrpc/xdr_float.c (xdr_float): Likewise.
6401         (xdr_double): Likewise.
6402         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
6403         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
6404         * sysvipc/ftok.c (ftok): Likewise.
6405         * sysvipc/msgctl.c (msgctl): Likewise.
6406         * sysvipc/msgget.c (msgget): Likewise.
6407         * sysvipc/msgrcv.c (msgrcv): Likewise.
6408         * sysvipc/msgsnd.c (msgsnd): Likewise.
6409         * sysvipc/semget.c (semget): Likewise.
6410         * sysvipc/semop.c (semop): Likewise.
6411         * sysvipc/shmat.c (shmat): Likewise.
6412         * sysvipc/shmctl.c (shmctl): Likewise.
6413         * sysvipc/shmdt.c (shmdt): Likewise.
6414         * sysvipc/shmget.c (shmget): Likewise.
6415         * termios/cfmakeraw.c (cfmakeraw): Likewise.
6416         * termios/speed.c (cfgetospeed): Likewise.
6417         (cfgetispeed): Likewise.
6418         (cfsetospeed): Likewise.
6419         (cfsetispeed): Likewise.
6420         * termios/tcflow.c (tcflow): Likewise.
6421         * termios/tcflush.c (tcflush): Likewise.
6422         * termios/tcgetattr.c (__tcgetattr): Likewise.
6423         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6424         * termios/tcgetsid.c (tcgetsid): Likewise.
6425         * termios/tcsendbrk.c (tcsendbreak): Likewise.
6426         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6427         * time/adjtime.c (__adjtime): Likewise.
6428         * time/dysize.c (dysize): Likewise.
6429         * time/ftime.c (ftime): Likewise.
6430         * time/getitimer.c (__getitimer): Likewise.
6431         * time/gettimeofday.c (__gettimeofday): Likewise.
6432         * time/gmtime.c (__gmtime_r): Likewise.
6433         (gmtime): Likewise.
6434         * time/localtime.c (__localtime_r): Likewise.
6435         (localtime): Likewise.
6436         * time/offtime.c (__offtime): Likewise.
6437         * time/settimeofday.c (__settimeofday): Likewise.
6438         * time/stime.c (stime): Likewise.
6439         * time/strftime_l.c (tm_diff): Likewise.
6440         (iso_week_days): Likewise.
6441         * time/strptime.c (strptime): Likewise.
6442         * time/time.c (time): Likewise.
6443         * time/timespec_get.c (timespec_get): Likewise.
6444         * time/tzset.c (tzset_internal): Likewise.
6445         (compute_change): Likewise.
6446         (__tz_compute): Likewise.
6447         * wcsmbs/btowc.c (__btowc): Likewise.
6448         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6449         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6450         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6451         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6452         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6453         * wcsmbs/wcscat.c (__wcscat): Likewise.
6454         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6455         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6456         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6457         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6458         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6459         * wcsmbs/wcslen.c (__wcslen): Likewise.
6460         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6461         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6462         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6463         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6464         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6465         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6466         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6467         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6468         * wcsmbs/wcstok.c (wcstok): Likewise.
6469         * wcsmbs/wctob.c (wctob): Likewise.
6470         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6471         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6472         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6473         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6474         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6475         * wcsmbs/wmemset.c (__wmemset): Likewise.
6476         * wctype/wcfuncs.c (__towlower): Likewise.
6477         (__towupper): Likewise.
6479         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6480         (lll_unlock_elision): Add adapt_count parameter.
6482 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6484         * sysdeps/nptl/configure.ac: Do not give errors based on the
6485         results of top-level configure tests.
6486         * sysdeps/nptl/configure: Regenerated.
6488         * configure.ac (libc_cv_Bgroup): Remove configure test.
6489         * configure: Regenerated.
6490         * config.make.in (have-Bgroup): Remove variable.
6492         * configure.ac (sizeof_long_double): Remove configure test.
6493         * configure: Regenerated.
6494         * config.make.in (sizeof-long-double): Remove variable.
6496         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6497         * configure: Regenerated.
6498         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6499         variable.
6500         (exceptions): Likewise.
6501         * sysdeps/arm/configure: Regenerated.
6502         * config.make.in (exceptions): Remove variable.
6503         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6504         $(exceptions).
6505         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6506         (CFLAGS-vdprintf_chk.c): Likewise.
6507         (CFLAGS-printf_chk.c): Likewise.
6508         (CFLAGS-fprintf_chk.c): Likewise.
6509         (CFLAGS-vprintf_chk.c): Likewise.
6510         (CFLAGS-vfprintf_chk.c): Likewise.
6511         (CFLAGS-gets_chk.c): Likewise.
6512         (CFLAGS-fgets_chk.c): Likewise.
6513         (CFLAGS-fgets_u_chk.c): Likewise.
6514         (CFLAGS-fread_chk.c): Likewise.
6515         (CFLAGS-fread_u_chk.c): Likewise.
6516         (CFLAGS-wprintf_chk.c): Likewise.
6517         (CFLAGS-fwprintf_chk.c): Likewise.
6518         (CFLAGS-vwprintf_chk.c): Likewise.
6519         (CFLAGS-vfwprintf_chk.c): Likewise.
6520         (CFLAGS-fgetws_chk.c): Likewise.
6521         (CFLAGS-fgetws_u_chk.c): Likewise.
6522         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6523         (CFLAGS-fputc.c): Likewise.
6524         (CFLAGS-fputwc.c): Likewise.
6525         (CFLAGS-freopen64.c): Likewise.
6526         (CFLAGS-freopen.c): Likewise.
6527         (CFLAGS-fseek.c): Likewise.
6528         (CFLAGS-fseeko64.c): Likewise.
6529         (CFLAGS-fseeko.c): Likewise.
6530         (CFLAGS-ftello64.c): Likewise.
6531         (CFLAGS-ftello.c): Likewise.
6532         (CFLAGS-fwide.c): Likewise.
6533         (CFLAGS-genops.c): Likewise.
6534         (CFLAGS-getc.c): Likewise.
6535         (CFLAGS-getchar.c): Likewise.
6536         (CFLAGS-getwc.c): Likewise.
6537         (CFLAGS-getwchar.c): Likewise.
6538         (CFLAGS-iofclose.c): Likewise.
6539         (CFLAGS-iofflush.c): Likewise.
6540         (CFLAGS-iofgetpos64.c): Likewise.
6541         (CFLAGS-iofgetpos.c): Likewise.
6542         (CFLAGS-iofgets.c): Likewise.
6543         (CFLAGS-iofgetws.c): Likewise.
6544         (CFLAGS-iofputs.c): Likewise.
6545         (CFLAGS-iofputws.c): Likewise.
6546         (CFLAGS-iofread.c): Likewise.
6547         (CFLAGS-iofsetpos64.c): Likewise.
6548         (CFLAGS-iofsetpos.c): Likewise.
6549         (CFLAGS-ioftell.c): Likewise.
6550         (CFLAGS-iofwrite.c): Likewise.
6551         (CFLAGS-iogetdelim.c): Likewise.
6552         (CFLAGS-iogetline.c): Likewise.
6553         (CFLAGS-iogets.c): Likewise.
6554         (CFLAGS-iogetwline.c): Likewise.
6555         (CFLAGS-ioputs.c): Likewise.
6556         (CFLAGS-ioseekoff.c): Likewise.
6557         (CFLAGS-ioseekpos.c): Likewise.
6558         (CFLAGS-iosetbuffer.c): Likewise.
6559         (CFLAGS-iosetvbuf.c): Likewise.
6560         (CFLAGS-ioungetc.c): Likewise.
6561         (CFLAGS-ioungetwc.c): Likewise.
6562         (CFLAGS-oldfileops.c): Likewise.
6563         (CFLAGS-oldiofclose.c): Likewise.
6564         (CFLAGS-oldiofgetpos64.c): Likewise.
6565         (CFLAGS-oldiofgetpos.c): Likewise.
6566         (CFLAGS-oldiofsetpos64.c): Likewise.
6567         (CFLAGS-oldiofsetpos.c): Likewise.
6568         (CFLAGS-peekc.c): Likewise.
6569         (CFLAGS-putc.c): Likewise.
6570         (CFLAGS-putchar.c): Likewise.
6571         (CFLAGS-putwc.c): Likewise.
6572         (CFLAGS-putwchar.c): Likewise.
6573         (CFLAGS-rewind.c): Likewise.
6574         (CFLAGS-wfileops.c): Likewise.
6575         (CFLAGS-wgenops.c): Likewise.
6576         (CFLAGS-oldiofopen.c): Likewise.
6577         (CFLAGS-iofopen.c): Likewise.
6578         (CFLAGS-iofopen64.c): Likewise.
6579         (CFLAGS-oldtmpfile.c): Likewise.
6580         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6581         (CFLAGS-fprintf.c): Likewise.
6582         (CFLAGS-printf.c): Likewise.
6583         (CFLAGS-vfwprintf.c): Likewise.
6584         (CFLAGS-vfscanf.c): Likewise.
6585         (CFLAGS-vfwscanf.c): Likewise.
6586         (CFLAGS-fscanf.c): Likewise.
6587         (CFLAGS-scanf.c): Likewise.
6588         (CFLAGS-isoc99_vfscanf.c): Likewise.
6589         (CFLAGS-isoc99_vscanf.c): Likewise.
6590         (CFLAGS-isoc99_fscanf.c): Likewise.
6591         (CFLAGS-isoc99_scanf.c): Likewise.
6592         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6593         (CFLAGS-isoc99_fwscanf.c): Likewise.
6594         (CFLAGS-isoc99_vwscanf.c): Likewise.
6595         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6597         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6598         after mkstemp64.
6599         * login/tst-utmp.c (do_prepare): Likewise.
6600         * rt/tst-aio.c (do_prepare): Likewise.
6601         * rt/tst-aio64.c (do_prepare): Likewise.
6603 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6605         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6606         (__lll_lock_elision): Remove adapt_count decrement...
6607         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6608         (__lll_trylock_elision): Likewise.
6609         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6610         (__lll_unlock_elision): ... to here. And utilize
6611         new adapt_count parameter.
6612         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6613         (__lll_unlock_elision): Update to include adapt_count
6614         parameter.
6615         (lll_unlock_elision): Pass pointer to adapt_count
6616         variable.
6618 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6620         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6621         Add elision adapt_count parameter to list of arguments.
6622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6623         (lll_unlock_elision): Update with new parameter list
6624         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6625         (lll_unlock_elision): Likewise.
6626         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6627         (lll_unlock_elision): Likewise.
6629 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6631         [BZ #19122]
6632         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6633         attribute_hidden.
6635         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6636         attribute_hidden.
6637         [IS_IN (rtld)] (__strdup): Likewise.
6638         [IS_IN (rtld)] (__strerror_r): Likewise.
6639         [IS_IN (rtld)] (__strsep_g): Likewise.
6640         [IS_IN (rtld)] (memchr): Likewise.
6641         [IS_IN (rtld)] (memcmp): Likewise.
6642         [IS_IN (rtld)] (memcpy): Likewise.
6643         [IS_IN (rtld)] (memmove): Likewise.
6644         [IS_IN (rtld)] (memset): Likewise.
6645         [IS_IN (rtld)] (rawmemchr): Likewise.
6646         [IS_IN (rtld)] (stpcpy): Likewise.
6647         [IS_IN (rtld)] (strchr): Likewise.
6648         [IS_IN (rtld)] (strcmp): Likewise.
6649         [IS_IN (rtld)] (strlen): Likewise.
6650         [IS_IN (rtld)] (strnlen): Likewise.
6651         [IS_IN (rtld)] (strsep): Likewise.
6653         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6654         attribute_hidden.
6655         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6657         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6658         attribute_hidden.
6659         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6661         * include/setjmp.h (__longjmp): Add attribute_hidden.
6662         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6664         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6665         Add attribute_hidden.
6667         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6668         [IS_IN (rtld)] (__open): Likewise.
6669         [IS_IN (rtld)] (__fcntl): Likewise.
6671         * include/dirent.h (__opendirat): Add attribute_hidden.
6672         (__getdents): Likewise.
6673         (__getdents64): Likewise.
6674         (__alloc_dir): Likewise.
6675         [IS_IN (rtld)] (__closedir): Likewise.
6676         [IS_IN (rtld)] (__fdopendir): Likewise.
6677         [IS_IN (rtld)] (__readdir): Likewise.
6678         [IS_IN (rtld)] (__readdir64): Likewise.
6679         [IS_IN (rtld)] (__rewinddir): Likewise.
6681         * include/dlfcn.h (_dl_catch_error): Moved to ...
6682         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6683         attribute_hidden.
6685         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6686         (_itoa_word): Likewise.
6688         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6689         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6690         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6691         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6692         (_dl_higher_prime_number): Likewise.
6693         (_dl_debug_printf_c): Likewise.
6694         (_dl_signal_cerror): Likewise.
6695         (_dl_receive_error): Likewise.
6696         (_dl_reloc_bad_type): Likewise.
6697         (_dl_resolve_conflicts): Likewise.
6698         (_dl_check_all_versions): Likewise.
6699         (_dl_check_map_versions): Likewise.
6700         (_dl_sort_fini): Likewise.
6701         (_dl_debug_initialize): Likewise.
6702         (_dl_init_paths): Likewise.
6703         (_dl_show_auxv): Likewise.
6704         (_dl_next_ld_env_entry): Likewise.
6705         (_dl_important_hwcaps): Likewise.
6706         (_dl_load_cache_lookup): Likewise.
6707         (_dl_update_slotinfo): Likewise.
6708         (_dl_show_scope): Likewise.
6710         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6711         attribute_hidden.
6712         (_wordcopy_fwd_dest_aligned): Likewise.
6713         (_wordcopy_bwd_aligned): Likewise.
6714         (_wordcopy_bwd_dest_aligned): Likewise.
6716         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6717         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6718         Likewise.
6719         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6720         Likewise.
6721         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6723 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6725         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6726         GCC 5 requirement.
6728 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6730         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6731         test.
6732         * sysdeps/i386/configure: Regenerated.
6733         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6734         code unconditional.
6736         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6737         test.
6738         (libc_cv_asm_popsection_directive): Likewise.
6739         * configure: Regenerated.
6740         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6741         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6742         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6743         (__make_section_unallocated): Make definition unconditional.
6744         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6745         Remove conditional definition.
6746         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6747         (__make_section_unallocated): Likewise.
6749         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6750         * configure: Regenerated.
6751         * config.make.in (static-libgcc): Remove variable.
6752         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6753         $(static-libgcc).
6754         (build-module-helper): Likewise.
6756         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6757         * configure: Regenerated.
6759 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6761         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6762         (struct char_buffer): New type.
6763         (char_buffer_start, char_buffer_size, char_buffer_error)
6764         (char_buffer_rewind, char_buffer_add): New functions.
6765         (ADDW): Remove macro, replaced by the char_buffer_add function.
6766         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6767         of extend_alloca.  Make control flow more explicit.
6769 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6771         [BZ #19137]
6772         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6773         Add -fomit-frame-pointer.
6774         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6776 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6778         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6779         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6780         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6781         only if !__GNUC_PREREQ (5,0).
6782         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6783         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6784         (INTERNAL_SYSCALL_NCS): Likewise.
6785         (LOADREGS_0): New macro for GCC 5.
6786         (ASMARGS_0): Likewise.
6787         (LOADREGS_1): Likewise.
6788         (ASMARGS_1): Likewise.
6789         (LOADREGS_2): Likewise.
6790         (ASMARGS_2): Likewise.
6791         (LOADREGS_3): Likewise.
6792         (ASMARGS_3): Likewise.
6793         (LOADREGS_4): Likewise.
6794         (ASMARGS_4): Likewise.
6795         (LOADREGS_5): Likewise.
6796         (ASMARGS_5): Likewise.
6797         (LOADREGS_6): Likewise.
6798         (ASMARGS_6): Likewise.
6800 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6802         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6803         -fomit-frame-pointer.
6804         (CFLAGS-mmap64.c): Likewise.
6805         (CFLAGS-semtimedop.c): Likewise.
6806         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6807         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6808         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6809         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6811 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6813         [BZ #18928]
6814         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6815         _dl_pointer_guard member.
6816         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6817         initializer.
6818         (security_init): Always set up pointer guard.
6819         (process_envvars): Do not process LD_POINTER_GUARD.
6821 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6823         [BZ #19134]
6824         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6825         (.LC2): Likewise.
6826         (.LC3): Likewise.
6827         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6829 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6831         [BZ #19129]
6832         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6833         r0 and r1.
6835 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6837         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6839 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6841         * include/stap-probe.h: Fix macro definition formatting.
6843 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6845         [BZ #19074]
6846         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6847         load and store num_ifs.
6849 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6851         [BZ #18822]
6852         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6853         (__sched_getaffinity_new): Add libc_hidden_proto and
6854         libc_hidden_def.
6856 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6858         [BZ #19007]
6859         * scripts/localplt.awk: Also allow GOT references.
6860         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6861         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6862         with "+ REL R_386_GLOB_DAT".
6863         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6864         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6866 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6868         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6869         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6870         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6871         Likewise.
6872         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6873         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6874         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6875         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6876         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6877         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6878         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6879         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6880         Likewise.
6881         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6883 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6885         [BZ #19125]
6886         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6887         <math_private.h> and <stdint.h>.
6888         (__llround): Avoid conversions to and from long long int, and
6889         subtractions, where those might raise spurious exceptions.
6890         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6891         <math_private.h> and <stdint.h>.
6892         (__llroundf): Avoid conversions to and from long long int, and
6893         subtractions, where those might raise spurious exceptions.
6895 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6897         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6898         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6899         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6900         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6901         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6902         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6903         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6904         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6905         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6906         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6907         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6908         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6909         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6910         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6911         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6912         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6913         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6914         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6915         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6916         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6917         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6918         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6919         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6920         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6921         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6922         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6923         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6924         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6925         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6926         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6927         (__xstat64_conv): Likewise.
6928         (__xstat32_conv): Likewise.
6930 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6932         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6933         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6934         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6935         <sysdeps/unix/sysv/linux/sysdep.h>.
6936         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6937         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6938         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6939         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6940         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6941         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6942         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6943         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6944         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6947         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6949         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6950         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6952         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6953         (sysdep-dl-routines): Add sysdep.
6954         [$(subdir) == nptl] (libpthread-routines): Likewise.
6955         [$(subdir) == rt] (librt-routines): Likewise.
6956         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6957         PIC when branching to SYSCALL_ERROR_LABEL.
6958         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6960         <sysdeps/unix/sysv/linux/sysdep.h>.
6961         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6962         (SYSCALL_ERROR_ERRNO): Removed.
6963         (SYSCALL_ERROR_HANDLER): Changed to empty.
6964         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6965         (__syscall_error): New prototype.
6966         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6967         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6969 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6971         [BZ #19124]
6972         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6973         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6974         _dl_runtime_resolve_avx.
6975         (_dl_runtime_profile_avx512): Make it a hidden alias of
6976         _dl_runtime_profile_avx.
6978 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6980         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6981         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6982         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6983         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6985         [BZ #16422]
6986         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6987         New configure test.
6988         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6989         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6990         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6991         <math_private.h> and <stdint.h>.
6992         (__llrint): Avoid conversions to long long int where those might
6993         raise spurious exceptions.
6994         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6995         <math_private.h> and <stdint.h>.
6996         (__llrintf): Avoid conversions to long long int where those might
6997         raise spurious exceptions.
6999 2015-10-12  Andreas Schwab  <schwab@suse.de>
7001         [BZ #18969]
7002         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
7003         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
7004         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
7005         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
7006         $(gen-locales).
7007         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
7008         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
7009         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
7010         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
7011         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
7012         $(gen-locales).
7013         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
7014         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
7015         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
7016         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
7017         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
7018         ($(objpfx)tst-ftell-active-handler.out)
7019         ($(objpfx)tst-ftell-append.out)
7020         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
7021         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
7022         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
7023         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
7024         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
7025         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
7026         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
7027         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
7028         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
7029         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
7030         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
7031         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
7032         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
7033         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
7034         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
7035         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
7036         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
7037         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
7038         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
7039         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
7040         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
7041         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
7042         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
7043         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
7044         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
7045         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
7046         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
7047         $(gen-locales).
7048         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
7049         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
7050         $(gen-locales).
7051         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
7052         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
7053         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
7054         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
7055         $(gen-locales).
7056         * libio/tst_wprintf2.c (main): Use explicit locale.
7057         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
7059 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7061         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
7062         __msg_sig_post.
7063         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
7065 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7067         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7068         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7070         * sysdeps/arm/libm-test-ulps: Regenerated.
7072         [BZ #15470]
7073         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
7075         [BZ #16399]
7076         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
7077         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
7078         and <fix-fp-int-convert-overflow.h>.
7079         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7080         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7081         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
7082         and <fix-fp-int-convert-overflow.h>.
7083         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
7084         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7085         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
7086         <fix-fp-int-convert-overflow.h>.
7087         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7088         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7089         * sysdeps/ieee754/dbl-64/s_lround.c: Include
7090         <fix-fp-int-convert-overflow.h>.
7091         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
7092         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7093         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
7094         and <fix-fp-int-convert-overflow.h>.
7095         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7096         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7097         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
7098         <limits.h> and <fix-fp-int-convert-overflow.h>.
7099         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7100         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7101         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
7102         and <fix-fp-int-convert-overflow.h>.
7103         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7104         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7105         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
7106         and <fix-fp-int-convert-overflow.h>.
7107         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7108         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7109         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
7111 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
7113         [BZ #18589]
7114         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
7115         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
7116         $(gen-locales).
7118 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7119             Phil Blundell <pb@pbcl.net>
7121         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
7122         * nptl/tst-cancel26.c: New file.
7123         * nptl/tst-cancel27.c: Likewise.
7125 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
7127         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
7128         __ILP32__ isn't defined.
7129         (lrint): Likewise.
7130         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
7131         (lrintf): Likewise.
7132         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
7133         (lrintl): Likewise.
7134         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
7135         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
7136         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
7138 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7140         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7141         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7143         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
7144         file.
7145         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
7146         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7148 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7150         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
7151         configure test.
7152         * sysdeps/i386/configure: Regenerated.
7153         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
7154         configure test.
7155         * sysdeps/x86_64/configure: Regenerated.
7156         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
7157         Make code unconditional.
7159         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
7160         test.
7161         * sysdeps/i386/configure: Regenerated.
7162         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
7163         test.
7164         * sysdeps/x86_64/configure: Regenerated.
7165         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
7166         Make code unconditional.
7167         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7168         Likewise.
7169         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
7170         Likewise.
7171         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7172         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
7173         code unconditional.
7174         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7175         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
7176         code unconditional.
7177         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7178         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
7179         code unconditional.
7180         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
7181         code unconditional.
7182         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7183         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
7184         code unconditional.
7185         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7186         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
7187         code unconditional.
7188         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7189         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
7190         code unconditional.
7191         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7192         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
7193         code unconditional.
7194         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7195         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
7197         [BZ #19095]
7198         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
7199         mantissa to long int before shifting left.
7201 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7203         [BZ #19094]
7204         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
7205         <limits.h>.
7206         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7207         when result overflows but exception would not result from cast.
7208         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
7209         <limits.h>.
7210         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7211         when result overflows but exception would not result from cast.
7212         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
7213         <limits.h>.
7214         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7215         when result overflows but exception would not result from cast.
7216         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
7217         <limits.h>.
7218         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7219         when result overflows but exception would not result from cast.
7220         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
7221         <limits.h>.
7222         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7223         when result overflows but exception would not result from cast.
7224         * math/libm-test.inc (lrint_test_data): Add more tests.
7225         (llrint_test_data): Likewise.
7227 2015-10-08  Roland McGrath  <roland@hack.frob.com>
7229         [BZ #18872]
7230         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
7231         Move out from under [$(run-built-tests) = yes] conditional.
7232         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
7233         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
7235 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
7237         [BZ #18589]
7238         * string/Makefile (tests): Add bug-strcoll2.
7239         (LOCALES): Add cs_CZ.UTF-8.
7240         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
7242         [BZ #18589]
7243         * string/bug-strcoll2.c: New file.
7244         * locale/categories.def: Revert commit
7245         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
7246         * locale/langinfo.h: Likewise.
7247         * locale/localeinfo.h: Likewise.
7248         * locale/C-collate.c: Likewise.
7249         * locale/programs/ld-collate.c (collate_output): Likewise.
7250         * string/strcoll_l.c (STRDIFF): Likewise.
7251         (STRCOLL): Likewise.
7252         * wcsmbs/wcscoll_l.c: Likewise.
7254 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7256         * math/libm-test.inc (lround_test_data): Do not expect the absence
7257         of "inexact" for some tests with non-integer arguments.
7258         (llround_test_data): Likewise.
7260         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
7261         test.
7262         (libc_cv_cc_sse2avx): Likewise.
7263         * sysdeps/i386/configure: Regenerated.
7264         * sysdeps/i386/i686/multiarch/Makefile
7265         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
7266         [$(subdir) = math].
7267         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
7268         code unconditional.
7269         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7270         Likewise.
7271         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
7272         Likewise.
7273         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7274         Likewise.
7275         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
7276         test.
7277         (libc_cv_cc_sse2avx): Likewise.
7278         * sysdeps/x86_64/configure: Regenerated.
7279         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
7280         unconditional.
7281         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
7282         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
7283         unconditional.
7284         (_dl_runtime_profile)
7285         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
7286         conditional code.
7287         * sysdeps/x86_64/fpu/multiarch/Makefile
7288         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
7289         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7290         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7291         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7292         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7293         * sysdeps/x86_64/fpu/multiarch/e_log.c
7294         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7295         * sysdeps/x86_64/fpu/multiarch/s_atan.c
7296         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7297         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7298         Likewise.
7299         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7300         Likewise.
7301         * sysdeps/x86_64/fpu/multiarch/s_sin.c
7302         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7303         * sysdeps/x86_64/fpu/multiarch/s_tan.c
7304         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7305         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
7306         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
7307         (HAVE_SSE2AVX_SUPPORT): Likewise.
7309 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
7311         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
7312         instead of #pragma optimize.
7314 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7316         [BZ #17195]
7317         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
7318         as is similarly done in systrim and _int_free already.
7320 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7322         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7324 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7326         [BZ #19088]
7327         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7328         <limits.h>.
7329         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7330         overflows but exception would not result from cast.
7331         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7332         and <limits.h>.
7333         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7334         overflows but exception would not result from cast.
7335         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7336         <limits.h>.
7337         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7338         overflows but exception would not result from cast.
7339         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7340         <limits.h>.
7341         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7342         overflows but exception would not result from cast.
7343         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7344         <limits.h>.
7345         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7346         overflows but exception would not result from cast.
7347         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7348         <limits.h>.
7349         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7350         overflows but exception would not result from cast.
7351         * math/libm-test.inc (lround_test_data): Add more tests.
7352         (llround_test_data): Likewise.
7354 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
7356         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7357         (CFLAGS-ialloc.c): Ditto.
7358         (CFLAGS-scheck.c): Ditto.
7360 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7362         [BZ #19086]
7363         * manual/filesys.texi (Storage Allocation): Fix argument order for
7364         posix_fallocate64.
7366 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7368         [BZ #19085]
7369         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
7370         exponent below 48 inside case for non-overflowing exponent.
7371         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7373 2015-10-07  Florian Weimer  <fweimer@redhat.com>
7375         * iconvdata/cp737.h (from_idx): Add const.
7376         * iconvdata/cp775.h (from_idx): Likewise.
7378 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7380         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
7381         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7382         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
7384         [BZ #19079]
7385         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
7386         file, conditioned on [!_LP64].
7387         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7388         [!_LP64] (__lround): Do not define as function or alias.
7389         [!_LP64] (lround): Likewise.
7390         [!_LP64] (__lroundl): Likewise.
7391         [!_LP64] (lroundl): Likewise.
7392         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
7393         macro.
7394         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7395         Likewise.
7397 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7399         * math/libm-test.inc (lrint_test_data): Add more tests.
7400         (llrint_test_data): Likewise.
7401         (lround_test_data): Likewise.
7402         (llround_test_data): Likewise.
7404         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
7405         (llrint_test_data): Add tests used for lrint.
7407         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7408         test.
7409         * sysdeps/i386/configure: Regenerated.
7410         * sysdeps/i386/i686/multiarch/Makefile
7411         [$(config-cflags-sse4) = yes]: Make code unconditional.
7412         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7413         Likewise.
7414         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7415         Likewise.
7416         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7417         test.
7418         * sysdeps/x86_64/configure: Regenerated.
7419         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7420         Make code unconditional.
7421         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7422         Likewise.
7423         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7424         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7426         * scripts/rpm2dynsym.sh: Remove file.
7428 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7430         * configure.ac (libc_cv_cxx_thread_local): Define.
7431         * configure: Regenerate.
7432         * config.make.in (have-cxx-thread_local): Define.
7433         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7434         (LDLIBS-tst-thread_local1): Define.
7435         (tests): Add tst-thread_local1.
7436         [have-cxx-thread_local != yes] (tests-unsupported): Add
7437         tst-thread_local1.
7438         * nptl/tst-thread_local1.cc: New file.
7440 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7442         [BZ #19078]
7443         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7444         (u_thres): Likewise.
7445         (__expl): Determine whether to call __kernel_standard_l based on
7446         value of result, not argument.
7448         * math/libm-test.inc (scalb_test_data): Add more expectations for
7449         the "inexact" exception.
7451         [BZ #19077]
7452         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7453         0.0L for argument 1.0L.
7455         [BZ #19076]
7456         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7457         constant 0.0L when computing infinite result.
7459 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7461         [BZ #10432]
7462         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7463         malloc_usable_size.
7465 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7467         [BZ #19018]
7468         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7469         Mangle function pointer before storing it.
7470         (__call_tls_dtors): Demangle function pointer before calling it.
7472 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7474         [BZ #19012]
7475         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7476         Clean up on failure.
7478 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7480         [BZ #19071]
7481         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7482         long int variable to store possibly incremented high part of
7483         mantissa.
7484         * math/libm-test.inc (lround_test_data): Add tests used for
7485         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7486         for tests requiring 64-bit long.  Do not condition tests on
7487         [TEST_FLOAT] unnecessarily.
7488         (llround_test_data): Add tests used for lround.  Add another
7489         expectation for the "inexact" exception.  Do not condition tests
7490         on [TEST_FLOAT] unnecessarily.
7492         [BZ #887]
7493         [BZ #19049]
7494         [BZ #19050]
7495         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7496         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7497         <fix-int-fp-convert-zero.h>.
7498         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7499         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7500         <fix-int-fp-convert-zero.h>.
7501         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7502         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7503         <fix-int-fp-convert-zero.h>.
7504         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7505         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7506         <fix-int-fp-convert-zero.h>.
7507         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7508         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7509         <fix-int-fp-convert-zero.h>.
7510         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7511         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7512         <fix-int-fp-convert-zero.h>.
7513         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7514         * sysdeps/ieee754/flt-32/s_erff.c: Include
7515         <fix-int-fp-convert-zero.h>.
7516         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7517         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7518         <fix-int-fp-convert-zero.h>.
7519         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7520         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7521         <fix-int-fp-convert-zero.h>.
7522         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7523         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7524         <fix-int-fp-convert-zero.h>.
7525         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7526         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7527         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7528         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7529         file.
7530         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7532 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7534         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7536 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7538         [BZ #19059]
7539         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7540         overflowing computation.
7541         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7542         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7543         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7544         Likewise.
7545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7546         Likewise.
7547         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7548         Likewise.
7549         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7550         Likewise.
7551         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7552         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7553         Likewise.
7554         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7555         Likewise.
7556         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7558         * nss/rewrite_field.c (__nss_rewrite_field): Use
7559         internal_function.
7560         * nss/valid_field.c (__nss_valid_field): Likewise.
7561         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7563 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7565         [BZ #18724]
7566         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7567         (__nss_invalid_field_characters, __nss_valid_field)
7568         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7569         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7570         tst-field.c: New file.
7571         * nss/Makefile (routines): Add valid_field, rewrite_field.
7572         (tests-static): Define unconditionally.
7573         (tests): Include tests-static.
7574         [build-static-nss] (tests-static): Use append.
7575         [build-static-nss] (tests): Remove modification.
7576         * nss/getent.c (print_group): Call putgrent.  Report error.
7577         (print_gshadow): Call putsgent.  Report error.
7578         (print_passwd): Call putpwent.  Report error.
7579         (print_shadow): Call putspent.  Report error.
7580         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7581         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7582         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7583         name, password, directory, shell fields for valid syntax.  Rewrite
7584         GECOS field to match syntax.
7585         * pwd/Makefile (tests): Add tst-putpwent.
7586         * pwd/tst-putpwent.c: New file.
7587         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7588         Check grName, grpasswd, gr_mem fields for valid syntax.
7589         Change loop variable i to size_t.
7590         * grp/Makefile (tests): Add tst-putgrent.
7591         * grp/tst-putgrent.c: New file.
7592         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7593         valid syntax.
7594         * shadow/Makefile (tests): Add tst-putspent.
7595         * shadow/tst-putspent.c: New file.
7596         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7597         sg_mem fields for valid syntax.
7598         * gshadow/Makefile (tests): Add tst-putsgent.
7599         * gshadow/tst-putsgent.c: New file.
7601 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7603         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7604         assembly instructions.
7606 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7608         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7609         prefix from operands.
7611 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7613         [BZ #16347]
7614         [BZ #19046]
7615         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7616         <libc-internal.h>.
7617         (MAXLGM): Do not use diagnostic control macros.
7618         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7619         threshold for ldbl-128ibm.
7620         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7621         instead of multiplying by log then subtracting.
7622         * math/auto-libm-test-in: Add more tests of lgamma.
7623         * math/auto-libm-test-out: Regenerated.
7625         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7626         (TYPE_HEX_DIG): Likewise.
7627         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7628         precisions when printing floating-point numbers.
7629         (check_float_internal): Likewise.
7631 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7633         [BZ #16620]
7634         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7635         of log (10) rounded downward to 48 bits.
7636         (log10_low): Use corresponding low part of log (10).
7638         [BZ #19032]
7639         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7640         compute result as (x - x) / (x - x) not as 0 / 0.
7641         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7642         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7644         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7645         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7646         and expm1.
7647         * math/auto-libm-test-out: Regenerated.
7648         * math/libm-test.inc (acos_test_data): Add more tests.
7649         (asin_test_data): Likewise.
7650         (asinh_test_data): Likewise.
7651         (atan_test_data): Likewise.
7652         (atanh_test_data): Likewise.
7653         (atan2_test_data): Likewise.
7654         (cbrt_test_data): Likewise.
7655         (ceil_test_data): Likewise.
7656         (copysign_test_data): Likewise.
7657         (cos_test_data): Likewise.
7658         (cosh_test_data): Likewise.
7659         (erf_test_data): Likewise.
7660         (erfc_test_data): Likewise.
7661         (exp_test_data): Likewise.
7662         (exp10_test_data): Likewise.
7663         (exp2_test_data): Likewise.
7664         (expm1_test_data): Likewise.
7665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7667 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7669         [BZ #19006]
7670         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7671         to ...
7672         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7673         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7674         to ...
7675         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7676         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7677         to ...
7678         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7679         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7680         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7681         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7682         to ...
7683         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7684         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7685         Moved to ...
7686         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7687         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7688         Moved to ...
7689         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7690         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7691         to ...
7692         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7693         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7694         Moved to ...
7695         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7696         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7697         to ...
7698         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7699         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7700         Removed.
7701         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7702         Likewise.
7703         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7704         Likewise.
7705         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7706         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7707         Likewise.
7708         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7709         Likewise.
7710         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7711         Likewise.
7712         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7713         Likewise.
7714         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7715         Likewise.
7716         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7717         Likewise.
7718         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7719         Likewise.
7720         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7721         Likewise.
7722         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7723         Likewise.
7724         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7725         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7726         Likewise.
7727         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7728         Likewise.
7729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7730         Likewise.
7731         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7732         Likewise.
7733         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7734         Likewise.
7735         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7736         Replace ../i486/pthread_cond_timedwait.S with
7737         ../pthread_cond_timedwait.S.
7739 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7741         * math/libm-test.inc (acos_test_data): Refine expectations for
7742         errno and "inexact" exceptions.
7743         (acosh_test_data): Likewise.
7744         (asin_test_data): Likewise.
7745         (asinh_test_data): Likewise.
7746         (atan_test_data): Likewise.
7747         (atanh_test_data): Likewise.
7748         (atan2_test_data): Likewise.
7749         (cbrt_test_data): Likewise.
7750         (ceil_test_data): Likewise.
7751         (copysign_test_data): Likewise.
7752         (cosh_test_data): Likewise.
7753         (erf_test_data): Likewise.
7754         (erfc_test_data): Likewise.
7755         (exp_test_data): Likewise.
7756         (exp10_test_data): Likewise.
7757         (exp2_test_data): Likewise.
7758         (expm1_test_data): Likewise.
7759         (fabs_test_data): Likewise.
7760         (floor_test_data): Likewise.
7761         (fma_test_data): Likewise.
7762         (fmax_test_data): Likewise.
7763         (fmin_test_data): Likewise.
7764         (fmod_test_data): Likewise.
7765         (fpclassify_test_data): Likewise.
7766         (frexp_test_data): Likewise.
7767         (hypot_test_data): Likewise.
7768         (ilogb_test_data): Likewise.
7769         (isgreater_test_data): Likewise.
7770         (isgreaterequal_test_data): Likewise.
7771         (isinf_test_data): Likewise.
7772         (isless_test_data): Likewise.
7773         (islessequal_test_data): Likewise.
7774         (islessgreater_test_data): Likewise.
7775         (isnan_test_data): Likewise.
7776         (isnormal_test_data): Likewise.
7777         (issignaling_test_data): Likewise.
7778         (isunordered_test_data): Likewise.
7779         (j0_test_data): Likewise.
7780         (j1_test_data): Likewise.
7781         (jn_test_data): Likewise.
7782         (lgamma_test_data): Likewise.
7783         (lrint_test_data): Likewise.
7784         (llrint_test_data): Likewise.
7785         (log_test_data): Likewise.
7786         (log10_test_data): Likewise.
7787         (log1p_test_data): Likewise.
7788         (log2_test_data): Likewise.
7789         (logb_test_data): Likewise.
7790         (lround_test_data): Likewise.
7791         (llround_test_data): Likewise.
7792         (modf_test_data): Likewise.
7793         (nearbyint_test_data): Likewise.
7794         (nextafter_test_data): Likewise.
7795         (nexttoward_test_data): Likewise.
7796         (pow_test_data): Likewise.
7797         (remainder_test_data): Likewise.
7798         (remquo_test_data): Likewise.
7799         (rint_test_data): Likewise.
7800         (round_test_data): Likewise.
7801         (signbit_test_data): Likewise.
7802         (sinh_test_data): Likewise.
7803         (sqrt_test_data): Likewise.
7804         (tanh_test_data): Likewise.
7805         (tgamma_test_data): Likewise.
7806         (trunc_test_data): Likewise.
7807         (y0_test_data): Likewise.
7808         (y1_test_data): Likewise.
7809         (yn_test_data): Likewise.
7810         (significand_test_data): Likewise.
7812 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7814         * manual/filesys.texi (Storage Allocation): Document that
7815         posix_fallocate emulation fails when fd is open with O_WRONLY.
7817 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7819         [BZ #19016]
7820         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7821         allow more cases with X^2 + Y^2 >= 0.5.
7822         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7823         normal element in sum instead of special-casing based on values of
7824         arguments.
7825         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7826         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7827         -1 as normal element in sum instead of special-casing based on
7828         values of arguments.
7829         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7830         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7831         (__x2y2m1): Update comment.
7832         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7833         as normal element in sum instead of special-casing based on values
7834         of arguments.
7835         * math/s_clog.c (__clog): Handle more cases using log1p without
7836         hypot.
7837         * math/s_clog10.c (__clog10): Likewise.
7838         * math/s_clog10f.c (__clog10f): Likewise.
7839         * math/s_clog10l.c (__clog10l): Likewise.
7840         * math/s_clogf.c (__clogf): Likewise.
7841         * math/s_clogl.c (__clogl): Likewise.
7842         * math/auto-libm-test-in: Add more tests of clog and clog10.
7843         * math/auto-libm-test-out: Regenerated.
7844         * sysdeps/i386/fpu/libm-test-ulps: Update.
7845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7847 2015-09-28  Martin Sebor  <msebor@redhat.com>
7849         [BZ #18969]
7850         * string/Makefile (LOCALES): Define.
7851         (gen-locales.mk): Include.
7852         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7853         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7854         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7855         on setlocale failure.
7857 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7859         [BZ #18985]
7860         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7861         (__strftime_internal): Likewise.
7862         * time/tst-strftime.c (do_bz18985): New test.
7863         (do_test): Call it.
7865 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7867         [BZ #18956]
7868         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7869         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7870         extracting high part.
7871         * math/auto-libm-test-in: Add another test of pow.
7872         * math/auto-libm-test-out: Regenerated.
7873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7875 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7877         [BZ #18825]
7878         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7879         New macro.
7880         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7881         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7882         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7883         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7884         DBL_NARROW_EVAL, reloading the PIC register as needed.
7885         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7886         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7887         FLT_NARROW_EVAL.  Use separate return path for case when first
7888         argument is NaN.
7889         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7890         DEFINE_LDBL_MIN.
7891         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7892         PIC register.
7893         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7894         math_check_force_underflow_nonneg.
7895         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7896         underflow for subnormal result.
7897         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7898         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7899         math_check_force_underflow_nonneg.
7900         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7901         math_check_force_underflow.
7902         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7903         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7904         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7905         DEFINE_LDBL_MIN.
7906         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7907         * math/auto-libm-test-in: Add more tests of pow.
7908         * math/auto-libm-test-out: Regenerated.
7910 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7912         * nss/bug17079.c (init_test_items): Add diagnostic for
7913         inconsistent entries.
7914         (test_buffer_size): Skip inconsistent entries.
7916 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7918         [BZ #13304]
7919         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7920         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7921         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7923         [BZ #13304]
7924         * sysdeps/microblaze/s_fma.c: New file.
7925         * sysdeps/microblaze/s_fmaf.c: Likewise.
7926         * sysdeps/microblaze/sfp-machine.h: Likewise.
7928 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7930         [BZ #17250]
7931         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7932         member.
7934 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7936         [BZ #18803]
7937         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7938         (MO): New macro.
7939         (__ieee754_hypot) [PIC]: Load PIC register.
7940         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7941         DBL_NARROW_EVAL.
7942         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7943         math_check_force_underflow_nonneg in case where result might be
7944         tiny.
7945         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7946         Likewise.
7947         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7948         Likewise.
7949         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7950         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7951         * math/auto-libm-test-in: Add more tests of hypot.
7952         * math/auto-libm-test-out: Regenerated.
7954 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7956         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7958 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7960         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7961         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7962         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7963         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7964         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7965         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7966         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7968         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7969         LOAD_PIC_REG.
7971         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7972         (FLT_CHECK_FORCE_UFLOW): Likewise.
7973         (DBL_CHECK_FORCE_UFLOW): Likewise.
7974         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7975         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7976         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7977         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7978         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7979         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7980         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7981         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7982         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7983         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7984         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7985         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7986         (flt_min): Replace with use of DEFINE_FLT_MIN.
7987         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7988         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7989         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7990         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7991         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7992         (flt_min): Replace with use of DEFINE_FLT_MIN.
7993         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7994         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7995         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7996         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7997         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7998         (flt_min): Replace with use of DEFINE_FLT_MIN.
7999         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
8000         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
8001         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8002         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8003         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
8004         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8005         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8006         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
8007         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8008         (__atan): Use DBL_CHECK_FORCE_UFLOW.
8009         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
8010         (flt_min): Replace with use of DEFINE_FLT_MIN.
8011         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
8012         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
8013         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8014         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
8015         main computation.
8016         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
8017         (flt_min): Replace with use of DEFINE_FLT_MIN.
8018         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
8019         main computation.
8020         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
8021         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8022         (MO): New macro.
8023         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
8024         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
8025         (flt_min): Replace with use of DEFINE_FLT_MIN.
8026         (MO): New macro.
8027         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
8028         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
8029         (__log1pl): Use MO.
8031         [BZ #19003]
8032         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
8033         $(config-cflags-nofma).
8035 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8037         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8039 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
8041         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
8042         (TWO127): Likewise.
8044         * sysdeps/generic/math_private.h (fabs_tg): New macro.
8045         (min_of_type): Likewise.
8046         (math_check_force_underflow): Likewise.
8047         (math_check_force_underflow_nonneg): Likewise.
8048         (math_check_force_underflow_complex): Likewise.
8049         * math/e_exp2l.c (__ieee754_exp2l): Use
8050         math_check_force_underflow_nonneg.
8051         * math/k_casinh.c (__kernel_casinh): Likewise.
8052         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8053         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8054         * math/s_catan.c (__catan): Use
8055         math_check_force_underflow_complex.
8056         * math/s_catanf.c (__catanf): Likewise.
8057         * math/s_catanh.c (__catanh): Likewise.
8058         * math/s_catanhf.c (__catanhf): Likewise.
8059         * math/s_catanhl.c (__catanhl): Likewise.
8060         * math/s_catanl.c (__catanl): Likewise.
8061         * math/s_ccosh.c (__ccosh): Likewise.
8062         * math/s_ccoshf.c (__ccoshf): Likewise.
8063         * math/s_ccoshl.c (__ccoshl): Likewise.
8064         * math/s_cexp.c (__cexp): Likewise.
8065         * math/s_cexpf.c (__cexpf): Likewise.
8066         * math/s_cexpl.c (__cexpl): Likewise.
8067         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
8068         * math/s_clog10.c (__clog10): Likewise.
8069         * math/s_clog10f.c (__clog10f): Likewise.
8070         * math/s_clog10l.c (__clog10l): Likewise.
8071         * math/s_clogf.c (__clogf): Likewise.
8072         * math/s_clogl.c (__clogl): Likewise.
8073         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
8074         * math/s_csinf.c (__csinf): Likewise.
8075         * math/s_csinh.c (__csinh): Likewise.
8076         * math/s_csinhf.c (__csinhf): Likewise.
8077         * math/s_csinhl.c (__csinhl): Likewise.
8078         * math/s_csinl.c (__csinl): Likewise.
8079         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
8080         * math/s_csqrtf.c (__csqrtf): Likewise.
8081         * math/s_csqrtl.c (__csqrtl): Likewise.
8082         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
8083         * math/s_ctanf.c (__ctanf): Likewise.
8084         * math/s_ctanh.c (__ctanh): Likewise.
8085         * math/s_ctanhf.c (__ctanhf): Likewise.
8086         * math/s_ctanhl.c (__ctanhl): Likewise.
8087         * math/s_ctanl.c (__ctanl): Likewise.
8088         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
8089         instead of volatile.
8090         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
8091         math_check_force_underflow.
8092         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8093         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
8094         volatile when forcing underflow.
8095         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8096         math_check_force_underflow_nonneg.
8097         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8098         Likewise.
8099         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
8100         math_check_force_underflow.
8101         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8102         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8103         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8104         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
8105         math_check_force_underflow_nonneg.
8106         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
8107         math_check_force_underflow.
8108         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
8110         instead of volatile.
8111         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
8112         math_check_force_underflow.
8113         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8114         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8115         math_check_force_underflow_nonneg.
8116         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
8117         math_check_force_underflow.
8118         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
8119         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8120         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
8121         math_check_force_underflow_nonneg.
8122         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8123         Likewise.
8124         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
8125         math_check_force_underflow.
8126         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8127         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8128         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8129         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
8130         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8131         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
8132         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8133         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8134         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8135         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
8136         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
8137         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8138         Likewise.
8139         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
8140         math_check_force_underflow_nonneg.
8141         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8142         Likewise.
8143         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
8144         math_check_force_underflow.
8145         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8146         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8147         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8148         Likewise.
8149         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8150         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
8151         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
8152         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
8153         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
8154         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
8156         instead of volatile.
8157         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
8158         math_check_force_underflow.
8159         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8160         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
8161         math_check_force_underflow.
8162         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
8163         Likewise.
8164         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8165         Use math_check_force_underflow_nonneg.
8166         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
8167         math_check_force_underflow.
8168         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8169         Likewise.
8170         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8171         Likewise.
8172         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8173         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8174         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8175         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8176         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
8177         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8178         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8179         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8180         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
8181         math_check_force_underflow_nonneg.
8182         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
8183         math_check_force_underflow.
8184         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8185         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8186         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
8187         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
8188         math_check_force_underflow_nonneg.
8189         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
8190         math_check_force_underflow.
8191         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
8193         instead of volatile.
8194         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
8195         math_check_force_underflow.
8197         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
8198         * stdlib/strtod_l.c: Include <math_private.h>.
8199         (overflow_value): Use math_narrow_eval.
8200         (underflow_value): Likewise.
8201         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8202         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8203         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
8204         (__ieee754_gamma_r): Likewise.
8205         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
8206         Likewise.
8207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8208         Likewise.
8209         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8210         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
8211         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8212         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8213         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8214         (__ieee754_gammaf_r): Likewise.
8215         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8216         Likewise.
8217         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8218         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
8219         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8220         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8221         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
8222         volatile.
8223         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8224         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
8225         math_narrow_eval.
8226         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8227         Likewise.
8228         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8229         Likewise.
8230         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
8231         Likewise.
8232         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
8233         volatile.
8234         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8235         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
8236         math_narrow_eval.
8237         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8238         Likewise.
8239         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8240         Likewise.
8242 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
8244         * nptl/Versions: Remove ignored symbols.
8246 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8248         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
8249         * nss/Makefile (tests): Update.
8251 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8253         * nss/bug18287.c: New file.
8254         * nss/Makefile (tests): Add bug18287.
8256 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8258         * mach/Versions (__mach_host_self_): Add symbol.
8260 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8262         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
8263         vm_page_size.
8265 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8267         Really fix sysdeps/i386/fpu/s_scalbn.S build
8269         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
8270         (libc: GLIBC_2_22): Remove unused version set.
8272 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8274         * config.make.in (enable-timezone-tools): New variable.
8275         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
8276         (enable_timezone_tools): Export to generated files.
8277         * configure: Regenerate.
8278         * INSTALL: Regenerate.
8279         * manual/install.texi (--disable-timezone-tools): Document new flag.
8280         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
8281         ifeq ($(enable-timezone-tools),yes) check.
8283 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8285         * timezone/Makefile: Revert previous change.
8287         [BZ #18980]
8288         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
8289         (DEFINE_DBL_MIN): Likewise.
8290         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8291         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8292         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8293         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8294         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
8295         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8296         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8297         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
8298         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
8299         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8300         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8301         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
8302         (flt_min): Replace with use of DEFINE_FLT_MIN.
8303         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8304         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
8305         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8306         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8307         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
8308         (flt_min): Replace with use of DEFINE_FLT_MIN.
8309         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8310         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
8311         (flt_min): Replace with use of DEFINE_FLT_MIN.
8312         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8313         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
8314         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
8315         (__ieee754_hypot): Use DBL_NARROW_EVAL.
8316         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
8317         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
8318         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
8319         (__ieee754_pow): Use DBL_NARROW_EVAL.
8320         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8321         (__ieee754_powf): Use FLT_NARROW_EVAL.
8322         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8323         (__ieee754_expf_sse2): Convert double-precision result to single
8324         precision.
8325         * sysdeps/i386/fpu/libm-test-ulps: Update.
8327 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8329         * timezone/Makefile: Ignore unused variable errors due to private.h
8330         (time_t_min) and (time_t_max).
8331         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
8332         Likewise.
8334 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8336         [BZ #18981]
8337         * sysdeps/i386/fpu/i386-math-asm.h: New file.
8338         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8339         (__ieee754_scalb): Use DBL_NARROW_EVAL.
8340         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8341         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8342         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8343         (__scalbn): Use DBL_NARROW_EVAL.
8344         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8345         (__scalbnf): Use FLT_NARROW_EVAL.
8347 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8349         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8350         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8351         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8352         * stdio-common/printf_fp.c (___printf_fp):
8353         Use signbit to get the sign. Use isinf macro to allow inlining.
8354         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8355         * stdio-common/printf_size.c (__printf_size): Likewise.
8357 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8359         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8361 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8363         [BZ #18980]
8364         * sysdeps/generic/math_private.h: Include <float.h>.
8365         (math_narrow_eval): New macro.
8366         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8367         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
8368         math_narrow_eval on overflowing return value.
8369         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
8370         Likewise.
8371         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8372         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
8373         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
8374         Likewise.
8375         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8377 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8379         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
8380         * math/Makefile: Remove isinf_ns.c.
8381         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
8382         * math/multc3.c (__multc3): Likewise.
8383         * math/s_casin.c (__casin): Likewise.
8384         * math/s_casinf.c (__casinf): Likewise.
8385         * math/s_casinl.c (__casinl): Likewise.
8386         * math/s_cproj.c (__cproj): Likewise.
8387         * math/s_cprojf.c (__cprojf): Likewise.
8388         * math/s_cprojl.c (__cprofl): Likewise.
8389         * math/s_ctan.c (__ctan): Likewise.
8390         * math/s_ctanf.c (__ctanf): Likewise.
8391         * math/s_ctanh.c (__ctanh): Likewise.
8392         * math/s_ctanhf.c (__ctanhf): Likewise.
8393         * math/s_ctanhl.c (__ctanhl): Likewise.
8394         * math/s_ctanl.c (__ctanl): Likewise.
8395         * math/w_fmod.c (__fmod): Likewise.
8396         * math/w_fmodf.c (__fmodf): Likewise.
8397         * math/w_fmodl.c (_fmodl): Likewise.
8398         * math/w_remainder.c (__remainder): Likewise.
8399         * math/w_remainderf.c (__remainderf): Likewise.
8400         * math/w_remainderl.c (__remainderl): Likewise.
8401         * math/w_scalb.c (__scalb): Likewise.
8402         * math/w_scalbf.c (__scalbf): Likewise.
8403         * math/w_scalbl.c (__scalbl): Likewise.
8404         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
8405         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8406         with isinf.
8407         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8408         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8409         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8410         __isinf_nsf with isinf.
8411         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8412         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8413         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8414         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8415         with isinf.
8416         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8417         __isinf_nsl with isinf.
8418         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8419         with isinf.
8420         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8421         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8422         __isinf_nsl with isinf.
8423         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8424         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8425         with isinf.
8427 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8429         * resolv/base64.c (rcsid): Remove unused static.
8430         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8431         static.  (tqpi1): Likewise.
8432         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8433         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8434         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8435         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8436         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8437         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8438         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8439         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
8440         Likewise.
8442 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
8444         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8445         <nptl/pthreadP.h>.
8446         (_longjmp_unwind): Use __libc_ptf_call.
8447         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8449 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
8451         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8452         * sysdeps/arm/__longjmp.S: Likewise.
8454 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8456         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8457         Use __builtin_signbit.
8458         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8459         Use __builtin_signbitf.
8460         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8461         Use __builtin_signbitl.
8462         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8463         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8465 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8467         [BZ #15367]
8468         [BZ #17441]
8470         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8471         * math/math.h (fpclassify): Use __builtin_fpclassify when
8472         available.  (signbit): Use __builtin_signbit(f/l).
8473         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8474         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8475         (isinf): Use __builtin_isinf_sign.
8477 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8479         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8480         * benchtests/bench-math-inlines.c: New benchmark.
8481         * benchtests/bench-util.h: New file.
8482         * benchtests/bench-util.c: New file.
8483         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8485 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8487         * elf/tst-dlmopen1.c: Define TEST_SO.
8488         (do_test): Use TEST_SO.
8490         * elf/dl-load.c: Include libc-internal.h.
8491         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8493 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8495         [BZ #17887]
8496         * time/strptime_l.c (__strptime_internal): Make %z accept
8497         [+-]HH:MM time zones.
8499 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8501         [BZ #17886]
8502         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8503         valid time zone.
8505 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8507         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8508         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8509         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8510         (__ASSUME_FDATASYNC): Delete.
8512 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8514         * conform/linknamespace.pl: Require weak undefined symbols to be
8515         in the standard namespace.
8516         (%strong_syms): Rename to %seen_syms.
8517         (%strong_seen): Rename to %seen_where.
8519 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8521         [BZ #18970]
8522         * misc/error.c (error): Replace pthread_setcancelstate with
8523         __pthread_setcancelstate.
8524         (error_at_line): Likewise.
8525         * posix/wordexp.c (parse_comm): Likewise.
8526         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8527         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8528         (__pthread_setcancelstate): This.
8529         (pthread_setcancelstate): Add an alias.
8530         * nptl/nptl-init.c (pthread_functions): Replace
8531         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8532         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8533         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8534         hidden_proto.
8535         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8536         it with hidden_def.
8537         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8538         (pthread_setcancelstate): Renamed to ...
8539         (__pthread_setcancelstate): This.
8540         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8541         __libc_ptf_call with __pthread_setcancelstate.
8543 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8544             Andreas Schwab  <schwab@suse.de>
8546         [BZ #17118]
8547         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8548         result when imaginary part of argument is infinite using sine and
8549         cosine.
8550         * math/s_ctanf.c (__ctanf): Likewise.
8551         * math/s_ctanl.c (__ctanl): Likewise.
8552         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8553         of result when real part of argument is infinite using sine and
8554         cosine.
8555         * math/s_ctanhf.c (__ctanhf): Likewise.
8556         * math/s_ctanhl.c (__ctanhl): Likewise.
8557         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8558         (ctanh_test_data): Add more tests of ctanh.
8560 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8562         [BZ #15384]
8563         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8564         bit-mask as in subtraction.
8565         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8566         Likewise.
8567         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8568         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8569         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8571         [BZ #18951]
8572         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8573         underflow exception for small results.
8574         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8575         Likewise.
8576         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8577         Likewise.
8578         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8579         Likewise.
8580         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8581         Likewise.
8582         * math/auto-libm-test-in: Add more tests of tgamma.
8583         * math/auto-libm-test-out: Regenerated.
8585 2015-09-17  Andreas Schwab  <schwab@suse.de>
8587         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8589 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8591         [BZ #18977]
8592         * math/bits/mathcalls.h
8593         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8594         not declare.
8595         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8596         Likewise.
8597         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8598         Likewise.
8599         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8600         Likewise.
8601         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8602         Likewise.
8603         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8604         Likewise.
8605         * conform/data/math.h-data
8606         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8607         function.
8608         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8609         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8610         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8611         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8612         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8613         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8614         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8615         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8616         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8617         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8618         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8620         [BZ #6803]
8621         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8622         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8623         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8624         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8625         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8626         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8627         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8628         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8629         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8630         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8631         Likewise.
8632         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8633         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8634         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8635         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8636         long_double_symbol calls.
8637         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8638         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8639         strong alias of __ldexpl.
8640         (scalbnl): Define using long_double_symbol.
8641         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8642         Remove alias.
8643         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8644         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8645         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8646         (scalbln_test_data): Add more errno expectations.
8648 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8650         Cache the host port like we cache the task port.  This way we do not
8651         need to call the kernel just to get the port.  Furthermore, we no
8652         longer increase the reference count on every invocation of
8653         `mach_host_self'.
8655         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8656         Protect declarations against the macro expansion.
8657         * mach/mach_init.c (__mach_host_self_): New variable.
8658         (mach_init): Initialize `__mach_host_self_'.
8659         * mach/mach_init.h (__mach_host_self_): New declaration.
8660         (__mach_host_self, mach_host_self): New macros.
8661         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8662         Release reference.
8664 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8666         [BZ #4404]
8667         * po/de.po: Update from Translation Project.
8669         [BZ #16415]
8670         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8671         (__expm1l): Remove code to handle positive infinity and overflow.
8672         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8673         variable.
8674         (__expm1l): Remove code to handle positive infinity and overflow.
8676 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8677             Paul Pluzhnikov  <ppluzhnikov@google.com>
8679         [BZ #18872]
8680         * stdio-common/Makefile (tst-printf-bz18872): New test.
8681         (tst-printf-bz18872-mem.out): Likewise.
8682         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8683         * stdio-common/vfprintf.c: Fix memory leaks.
8685 2015-09-16  Andreas Schwab  <schwab@suse.de>
8687         [BZ #17244]
8688         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8689         Remove extra va_start/va_end calls.
8691         [BZ #17243]
8692         * posix/execl.c (execl): Add missing va_end.
8693         * posix/execle.c (execle): Likewise.
8694         * posix/execlp.c (execlp): Likewise.
8696 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8698         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8699         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8701 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8703         [BZ #18967]
8704         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8705         undefine around includes of <bits/mathcalls.h>.
8706         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8707         not declare function.
8708         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8709         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8710         (scalb): Likewise.
8711         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8712         not define macro.
8713         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8714         variable.
8715         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8716         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8717         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8719         [BZ #18857]
8720         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8721         return non-finite argument without doing ordered comparisons on
8722         it.
8724         [BZ #16296]
8725         * math/fenv.h (fegetround): Use __attribute_pure__.
8726         * include/fenv.h (__fegetround): Likewise.
8728         [BZ #18595]
8729         * math/s_ctan.c (__ctan): Force underflow exception for results
8730         whose real or imaginary part has small absolute value.
8731         * math/s_ctanf.c (__ctanf): Likewise.
8732         * math/s_ctanh.c (__ctanh): Likewise.
8733         * math/s_ctanhf.c (__ctanhf): Likewise.
8734         * math/s_ctanhl.c (__ctanhl): Likewise.
8735         * math/s_ctanl.c (__ctanl): Likewise.
8736         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8737         and ctanh.  Add more tests of ctan and ctanh.
8739         [BZ #15918]
8740         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8741         handling of cases where one argument is an infinity.
8743         [BZ #18875]
8744         [BZ #18966]
8745         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8746         (MO): New macro.
8747         (__ieee754_exp10): For small results, force underflow exception
8748         and remove excess range and precision from return value.
8749         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8750         (MO): New macro.
8751         (__ieee754_exp10f): For small results, force underflow exception
8752         and remove excess range and precision from return value.
8753         * math/auto-libm-test-in: Add more tests of exp10.
8754         * math/auto-libm-test-out: Regenerated.
8756 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8758         [BZ #18875]
8759         [BZ #18961]
8760         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8761         (MO): New macro.
8762         (__ieee754_exp): For small results, force underflow exception and
8763         remove excess range and precision from return value.
8764         (__exp_finite): Likewise.
8765         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8766         (MO): New macro.
8767         (__ieee754_expf): For small results, force underflow exception and
8768         remove excess range and precision from return value.
8769         (__expf_finite): Likewise.
8770         * math/auto-libm-test-in: Add more tests of exp.
8771         * math/auto-libm-test-out: Regenerated.
8773         [BZ #16521]
8774         [BZ #18875]
8775         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8776         small results.
8777         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8778         (MO): New macro.
8779         (__ieee754_exp2): For small results, force underflow exception and
8780         remove excess range and precision from return value.
8781         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8782         (MO): New macro.
8783         (__ieee754_exp2f): For small results, force underflow exception
8784         and remove excess range and precision from return value.
8785         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8786         (MO): New macro.
8787         (__ieee754_exp2l): Force underflow exception for small results.
8788         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8789         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8790         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8791         (MO): New macro.
8792         (__ieee754_exp2l): Force underflow exception for small results.
8793         * math/auto-libm-test-in: Add more tests or exp2.
8794         * math/auto-libm-test-out: Regenerated.
8796 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8798         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8800         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8801         /dev/null.
8803 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8805         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8806         io fs process)): Drop spurious backslash.
8808 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8810         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8811         Use sysinfo system call instead of parsing /proc/meminfo.
8812         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8813         Likewise.
8815 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8817         [BZ #16985]
8818         * programs/localedef.c (main): Display argv[remaining] when
8819         output_path is NULL.
8821 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8823         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8824         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8825         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8826         tanh.
8827         * math/auto-libm-test-out: Regenerated.
8828         * sysdeps/i386/fpu/libm-test-ulps: Update.
8829         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8830         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8833 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8835         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8836         Use 'override' keyword to freeze the value here, preventing
8837         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8839 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8841         [BZ #14912]
8842         * sysdeps/aarch64/bits/atomic.h: Move to ...
8843         * sysdeps/aarch64/atomic-machine.h: ...here.
8844         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8845         _AARCH64_ATOMIC_MACHINE_H.
8846         * sysdeps/alpha/bits/atomic.h: Move to ...
8847         * sysdeps/alpha/atomic-machine.h: ...here.
8848         * sysdeps/arm/bits/atomic.h: Move to ...
8849         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8850         * bits/atomic.h: Move to ...
8851         * sysdeps/generic/atomic-machine.h: ...here.
8852         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8853         * sysdeps/i386/bits/atomic.h: Move to ...
8854         * sysdeps/i386/atomic-machine.h: ...here.
8855         * sysdeps/ia64/bits/atomic.h: Move to ...
8856         * sysdeps/ia64/atomic-machine.h: ...here.
8857         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8858         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8859         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8860         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8861         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8862         * sysdeps/microblaze/bits/atomic.h: Move to ...
8863         * sysdeps/microblaze/atomic-machine.h: ...here.
8864         * sysdeps/mips/bits/atomic.h: Move to ...
8865         * sysdeps/mips/atomic-machine.h: ...here.
8866         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8867         * sysdeps/powerpc/bits/atomic.h: Move to ...
8868         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8869         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8870         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8871         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8872         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8873         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8874         <atomic-machine.h> instead of <bits/atomic.h>.
8875         * sysdeps/s390/bits/atomic.h: Move to ...
8876         * sysdeps/s390/atomic-machine.h: ...here.
8877         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8878         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8879         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8880         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8881         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8882         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8883         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8884         * sysdeps/tile/bits/atomic.h: Move to ...
8885         * sysdeps/tile/atomic-machine.h: ...here.
8886         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8887         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8888         <sysdeps/tile/atomic-machine.h> instead of
8889         <sysdeps/tile/bits/atomic.h>.
8890         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8891         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8892         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8893         <sysdeps/tile/atomic-machine.h> instead of
8894         <sysdeps/tile/bits/atomic.h>.
8895         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8896         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8897         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8898         <sysdeps/arm/atomic-machine.h> instead of
8899         <sysdeps/arm/bits/atomic.h>.
8900         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8901         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8902         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8903         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8904         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8905         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8906         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8907         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8908         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8909         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8910         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8911         * sysdeps/x86_64/bits/atomic.h: Move to ...
8912         * sysdeps/x86_64/atomic-machine.h: ...here.
8913         * include/atomic.h: Include <atomic-machine.h> instead of
8914         <bits/atomic.h>.
8916         * sysdeps/mips/mips32/libm-test-ulps: Update.
8917         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8919         [BZ #18952]
8920         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8921         not convert non-integer negative arguments to int to determine the
8922         value of signgam.
8923         * math/auto-libm-test-in: Add more tests of lgamma.
8924         * math/auto-libm-test-out: Regenerated.
8926         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8927         cosh, csqrt, erfc, expm1 and lgamma.
8928         * math/auto-libm-test-out: Regenerated.
8929         * sysdeps/i386/fpu/libm-test-ulps: Update.
8930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8932 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8934         [BZ #2542]
8935         [BZ #2543]
8936         [BZ #2558]
8937         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8938         __lgamma_neg for arguments from -28.0 to -2.0.
8939         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8940         __lgamma_negf for arguments from -15.0 to -2.0.
8941         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8942         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8943         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8944         Call __lgamma_negl for arguments from -33.0 to -2.0.
8945         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8946         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8947         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8948         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8949         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8950         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8951         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8952         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8953         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8954         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8955         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8956         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8957         (__lgamma_neg): Likewise.
8958         (__lgamma_negl): Likewise.
8959         (__lgamma_product): Likewise.
8960         (__lgamma_productl): Likewise.
8961         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8962         * math/auto-libm-test-in: Add more tests of lgamma.
8963         * math/auto-libm-test-out: Regenerated.
8964         * sysdeps/i386/fpu/libm-test-ulps: Update.
8965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8967 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8969         [BZ #18675]
8970         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8972 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8974         [BZ #14912]
8975         * bits/libc-lock.h: Move to ...
8976         * sysdeps/generic/libc-lock.h: ...here.
8977         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8978         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8979         * sysdeps/mach/hurd/libc-lock.h: ...here.
8980         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8981         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8982         * sysdeps/mach/bits/libc-lock.h: Move to ...
8983         * sysdeps/mach/libc-lock.h: ...here.
8984         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8985         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8986         * sysdeps/nptl/libc-lock.h: ...here.
8987         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8988         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8989         * sysdeps/nptl/libc-lockP.h: ...here.
8990         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8991         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8992         <bits/libc-lock.h>.
8993         * dirent/scandir-tail.c: Likewise.
8994         * dlfcn/dlerror.c: Likewise.
8995         * elf/dl-close.c: Likewise.
8996         * elf/dl-iteratephdr.c: Likewise.
8997         * elf/dl-lookup.c: Likewise.
8998         * elf/dl-open.c: Likewise.
8999         * elf/dl-support.c: Likewise.
9000         * elf/dl-writev.h: Likewise.
9001         * elf/rtld.c: Likewise.
9002         * grp/fgetgrent.c: Likewise.
9003         * gshadow/fgetsgent.c: Likewise.
9004         * gshadow/sgetsgent.c: Likewise.
9005         * iconv/gconv_conf.c: Likewise.
9006         * iconv/gconv_db.c: Likewise.
9007         * iconv/gconv_dl.c: Likewise.
9008         * iconv/gconv_int.h: Likewise.
9009         * iconv/gconv_trans.c: Likewise.
9010         * include/link.h: Likewise.
9011         * inet/getnameinfo.c: Likewise.
9012         * inet/getnetgrent.c: Likewise.
9013         * inet/getnetgrent_r.c: Likewise.
9014         * intl/bindtextdom.c: Likewise.
9015         * intl/dcigettext.c: Likewise.
9016         * intl/finddomain.c: Likewise.
9017         * intl/gettextP.h: Likewise.
9018         * intl/loadmsgcat.c: Likewise.
9019         * intl/localealias.c: Likewise.
9020         * intl/textdomain.c: Likewise.
9021         * libidn/idn-stub.c: Likewise.
9022         * libio/libioP.h: Likewise.
9023         * locale/duplocale.c: Likewise.
9024         * locale/freelocale.c: Likewise.
9025         * locale/newlocale.c: Likewise.
9026         * locale/setlocale.c: Likewise.
9027         * login/getutent_r.c: Likewise.
9028         * login/getutid_r.c: Likewise.
9029         * login/getutline_r.c: Likewise.
9030         * login/utmp-private.h: Likewise.
9031         * login/utmpname.c: Likewise.
9032         * malloc/mtrace.c: Likewise.
9033         * misc/efgcvt.c: Likewise.
9034         * misc/error.c: Likewise.
9035         * misc/fstab.c: Likewise.
9036         * misc/getpass.c: Likewise.
9037         * misc/mntent.c: Likewise.
9038         * misc/syslog.c: Likewise.
9039         * nis/nis_call.c: Likewise.
9040         * nis/nis_callback.c: Likewise.
9041         * nis/nss-default.c: Likewise.
9042         * nis/nss_compat/compat-grp.c: Likewise.
9043         * nis/nss_compat/compat-initgroups.c: Likewise.
9044         * nis/nss_compat/compat-pwd.c: Likewise.
9045         * nis/nss_compat/compat-spwd.c: Likewise.
9046         * nis/nss_nis/nis-alias.c: Likewise.
9047         * nis/nss_nis/nis-ethers.c: Likewise.
9048         * nis/nss_nis/nis-grp.c: Likewise.
9049         * nis/nss_nis/nis-hosts.c: Likewise.
9050         * nis/nss_nis/nis-network.c: Likewise.
9051         * nis/nss_nis/nis-proto.c: Likewise.
9052         * nis/nss_nis/nis-pwd.c: Likewise.
9053         * nis/nss_nis/nis-rpc.c: Likewise.
9054         * nis/nss_nis/nis-service.c: Likewise.
9055         * nis/nss_nis/nis-spwd.c: Likewise.
9056         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9057         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9058         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9059         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9060         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
9061         * nis/nss_nisplus/nisplus-network.c: Likewise.
9062         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9063         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9064         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9065         * nis/nss_nisplus/nisplus-service.c: Likewise.
9066         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9067         * nis/ypclnt.c: Likewise.
9068         * nptl/libc_pthread_init.c: Likewise.
9069         * nss/getXXbyYY.c: Likewise.
9070         * nss/getXXent.c: Likewise.
9071         * nss/getXXent_r.c: Likewise.
9072         * nss/nss_db/db-XXX.c: Likewise.
9073         * nss/nss_db/db-netgrp.c: Likewise.
9074         * nss/nss_db/nss_db.h: Likewise.
9075         * nss/nss_files/files-XXX.c: Likewise.
9076         * nss/nss_files/files-alias.c: Likewise.
9077         * nss/nsswitch.c: Likewise.
9078         * posix/regex_internal.h: Likewise.
9079         * posix/wordexp.c: Likewise.
9080         * pwd/fgetpwent.c: Likewise.
9081         * resolv/res_hconf.c: Likewise.
9082         * resolv/res_libc.c: Likewise.
9083         * shadow/fgetspent.c: Likewise.
9084         * shadow/lckpwdf.c: Likewise.
9085         * shadow/sgetspent.c: Likewise.
9086         * socket/opensock.c: Likewise.
9087         * stdio-common/reg-modifier.c: Likewise.
9088         * stdio-common/reg-printf.c: Likewise.
9089         * stdio-common/reg-type.c: Likewise.
9090         * stdio-common/vfprintf.c: Likewise.
9091         * stdio-common/vfscanf.c: Likewise.
9092         * stdlib/abort.c: Likewise.
9093         * stdlib/cxa_atexit.c: Likewise.
9094         * stdlib/fmtmsg.c: Likewise.
9095         * stdlib/random.c: Likewise.
9096         * stdlib/setenv.c: Likewise.
9097         * string/strsignal.c: Likewise.
9098         * sunrpc/auth_none.c: Likewise.
9099         * sunrpc/bindrsvprt.c: Likewise.
9100         * sunrpc/create_xid.c: Likewise.
9101         * sunrpc/key_call.c: Likewise.
9102         * sunrpc/rpc_thread.c: Likewise.
9103         * sysdeps/arm/backtrace.c: Likewise.
9104         * sysdeps/generic/ldsodefs.h: Likewise.
9105         * sysdeps/generic/stdio-lock.h: Likewise.
9106         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
9107         * sysdeps/i386/backtrace.c: Likewise.
9108         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9109         * sysdeps/m68k/backtrace.c: Likewise.
9110         * sysdeps/mach/hurd/cthreads.c: Likewise.
9111         * sysdeps/mach/hurd/dirstream.h: Likewise.
9112         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9113         * sysdeps/nptl/malloc-machine.h: Likewise.
9114         * sysdeps/nptl/stdio-lock.h: Likewise.
9115         * sysdeps/posix/dirstream.h: Likewise.
9116         * sysdeps/posix/getaddrinfo.c: Likewise.
9117         * sysdeps/posix/system.c: Likewise.
9118         * sysdeps/pthread/aio_suspend.c: Likewise.
9119         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9120         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9121         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9122         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9123         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
9124         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
9125         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
9126         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9127         * sysdeps/unix/sysv/linux/system.c: Likewise.
9128         * sysdeps/x86_64/backtrace.c: Likewise.
9129         * time/alt_digit.c: Likewise.
9130         * time/era.c: Likewise.
9131         * time/tzset.c: Likewise.
9132         * wcsmbs/wcsmbsload.c: Likewise.
9133         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
9134         instead of <bits/libc-lock.h> in comment.
9136 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
9138         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
9139         Only use .set mips2 if the current ISA is below mips2.
9140         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
9141         Likewise.
9142         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
9143         mips32r2 if the current ISA is below mips32r2.
9144         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
9145         (TLS_IE): Updated to use the TLD_RDHWR macro.
9146         (TLS_LE): Likewise.
9147         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
9148         __ASSEMBLER__ condition.
9150 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9152         Fix parallel build of before-compile targets.
9154         * sysdeps/mach/Makefile ($(patsubst
9155         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
9156         mach-before-compile target.
9157         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9158         io fs process)): Move rule to dedicated hurd-before-compile target.
9160 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9162         Fix rules generating headers in hurd/ and mach/ when initial make call
9163         has subdir= explicitly set.
9165         * sysdeps/mach/Makefile ($(patsubst
9166         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
9167         calling $(MAKE).
9168         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9169         io fs process)): Force subdir to hurd when calling $(MAKE).
9170         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
9171         subdir to mach when calling $(MAKE).
9173 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
9175         Check sysheaders when looking for Mach and Hurd headers
9177         * sysdeps/mach/configure.ac: Add sysheaders check.
9178         * sysdeps/mach/configure: Regenerate.
9179         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
9180         * sysdeps/mach/hurd/configure: Regenerate.
9182 2015-09-04  Roland McGrath  <roland@hack.frob.com>
9184         [BZ #18921]
9185         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
9186         Fix inverted sense of test of 'o_directory_works' value.
9187         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
9188         Bernhard Voelker <mail@bernhard-voelker.de>.
9190 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9192         [BZ #14912]
9193         * bits/linkmap.h: Move to ...
9194         * sysdeps/generic/linkmap.h: ...here.
9195         * sysdeps/aarch64/bits/linkmap.h: Move to ...
9196         * sysdeps/aarch64/linkmap.h: ...here.
9197         * sysdeps/arm/bits/linkmap.h: Move to ...
9198         * sysdeps/arm/linkmap.h: ...here.
9199         * sysdeps/hppa/bits/linkmap.h: Move to ...
9200         * sysdeps/hppa/linkmap.h: ...here.
9201         * sysdeps/ia64/bits/linkmap.h: Move to ...
9202         * sysdeps/ia64/linkmap.h: ...here.
9203         * sysdeps/mips/bits/linkmap.h: Move to ...
9204         * sysdeps/mips/linkmap.h: ...here.
9205         * sysdeps/s390/bits/linkmap.h: Move to ...
9206         * sysdeps/s390/linkmap.h: ...here.
9207         * sysdeps/sh/bits/linkmap.h: Move to ...
9208         * sysdeps/sh/linkmap.h: ...here.
9209         * sysdeps/x86/bits/linkmap.h: Move to ...
9210         * sysdeps/x86/linkmap.h: ...here.
9211         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
9213 2015-09-04  Andreas Schwab  <schwab@suse.de>
9215         [BZ #18635]
9216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
9217         (__makecontext): Terminate FDE before return label.
9218         (__novec_makecontext): Likewise.
9220 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9222         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
9223         first member of struct sv in syscall macro.
9225 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9227         [BZ #14912]
9228         * bits/stdio-lock.h: Move to ...
9229         * sysdeps/generic/stdio-lock.h: ...here.
9230         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9231         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
9232         * sysdeps/nptl/stdio-lock.h: ...here.
9233         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9234         * include/libio.h: Include <stdio-lock.h> instead of
9235         <bits/stdio-lock.h>.
9236         * sysdeps/nptl/fork.c: Likewise.
9237         * sysdeps/pthread/flockfile.c: Likewise.
9238         * sysdeps/pthread/ftrylockfile.c: Likewise.
9239         * sysdeps/pthread/funlockfile.c: Likewise.
9241         [BZ #14912]
9242         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
9243         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
9244         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
9245         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
9246         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
9247         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9248         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
9250 2015-09-03  Roland McGrath  <roland@hack.frob.com>
9252         * elf/Makefile (test-xfail-tst-protected1a): New variable.
9253         (test-xfail-tst-protected1b): New variable.
9255 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
9257         [BZ #14912]
9258         * bits/libc-tsd.h: Move to ...
9259         * sysdeps/generic/libc-tsd.h: ...here.
9260         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
9261         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
9262         * sysdeps/mach/hurd/libc-tsd.h: ...here.
9263         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
9264         * include/ctype.h: Include <libc-tsd.h> instead of
9265         <bits/libc-tsd.h>.
9266         * include/rpc/rpc.h: Likewise.
9267         * locale/localeinfo.h: Likewise.
9268         * sunrpc/rpc_thread.c: Likewise.
9269         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9270         * sysdeps/nptl/malloc-machine.h: Likewise.
9272         * Makefile (headers): Remove bits/libc-lock.h.
9273         * libio/Makefile (headers): Remove bits/stdio-lock.h.
9275         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
9276         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
9277         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
9278         <bits/stdio-lock.h>.
9279         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
9280         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
9282 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9284         [BZ #18757]
9285         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
9286         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
9287         BZ #18757.
9289 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9291         * malloc/mtrace.pl: Filter out NULL entries.
9293 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
9295         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
9296         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9297         macro.
9299         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
9300         (TCP_CC_INFO): Likewise.
9301         (TCP_SAVE_SYN): Likewise.
9302         (TCP_SAVED_SYN): Likewise.
9304 2015-08-31  Brett Neumeier <brett@neumeier.us>
9306         [BZ #18870]
9307         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
9309 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
9311         [BZ #18873]
9312         Fix broken overflow check in posix_fallocate
9313         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
9314         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9315         Fix parenthesization typo.
9317 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
9319         [BZ #18887]
9320         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9321         tst-mntent-blank-passno.
9322         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9323         * misc/tst-mntent-blank-corrupt.c: New test.
9324         * misc/tst-mntent-blank-passno.c: New test ripped from ...
9325         * misc/tst-mntent.c (do_test): ... here.
9327 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
9329         [BZ #4404]
9330         * po/de.po: Fix SIGALRM typo.
9332 2015-08-28  James Perkins  <james@loowit.net>
9334         * time/tst-strptime2.c (tests): Replace short list of test
9335         strings for strptime %z specifier with code which exhaustively
9336         tests every combination of sign and 0 to 5 digits. Tests for
9337         rejection of invalid strings.
9339 2015-08-28  James Perkins  <james@loowit.net>
9341         [BZ #16141]
9342         * time/strptime_l.c (__strptime_internal): Fix %z minutes
9343         calculation, removing incorrect decimal time rounding, so that
9344         all minute values result in a valid seconds value.
9345         * time/strptime_l.c (__strptime_internal): Extend %z time zone
9346         offset range limits to UTC-99:59 through UTC+99:59 to parse
9347         current and historical use cases.
9348         * time/tst-strptime2.c (tests): Modify and add tests for the
9349         strptime %z input field descriptor, specifically conversion of
9350         minutes to seconds and validating an offset range of -9959 to
9351         +9959.
9353 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9354             Dmitry V. Levin  <ldv@altlinux.org>
9356         [BZ #18877]
9357         * posix/Makefile (tests): Add tst-mmap-offset.
9358         * posix/tst-mmap.c: New file.
9359         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9360         offset calculation for negative values.
9362 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9364         * sysdeps/i386/init-arch.h: New file.
9365         * sysdeps/i386/i586/init-arch.h: Likewise.
9366         * sysdeps/i386/i686/init-arch.h: Likewise.
9367         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
9368         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
9369         * sysdeps/x86/cpu-features.h (bit_I586): New.
9370         (bit_I686): Likewise.
9371         (bit_CX8): Likewise.
9372         (bit_CMOV): Likewise.
9373         (index_CX8): Likewise.
9374         (index_CMOV): Likewise.
9375         (index_I586): Likewise.
9376         (index_I686): Likewise.
9377         (reg_CX8): Likewise.
9378         (reg_CMOV): Likewise.
9379         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
9380         available at compile-time.
9381         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
9382         available at compile-time.
9383         * sysdeps/x86/init-arch.h (USE_I586): New macro.
9384         (USE_I686): Likewise.
9386 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9388         * sysdeps/i386/bcopy.S: New file.
9389         * sysdeps/i386/bzero.S: Likewise.
9390         * sysdeps/i386/memcpy.S: Likewise.
9391         * sysdeps/i386/memmove.S: Likewise.
9392         * sysdeps/i386/mempcpy.S: Likewise.
9393         * sysdeps/i386/memset.S: Likewise.
9394         * sysdeps/i386/bzero.c: Removed.
9395         * sysdeps/i386/memset.c: Likewise.
9396         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
9397         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
9398         * sysdeps/i386/i586/memset_chk.S: Likewise.
9399         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
9400         * sysdeps/i386/memcpy_chk.S: Here.
9401         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
9402         * sysdeps/i386/memmove_chk.S: Here.
9403         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
9404         * sysdeps/i386/mempcpy_chk.S: Likewise.
9405         * sysdeps/i386/i686/memset_chk.S: Moved to ...
9406         * sysdeps/i386/memset_chk.S: Likewise.
9408 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
9410         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9411         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9412         file, move DIAG_POP_NEEDS_COMMENT to end of file.
9413         * soft-fp/fmadf4.c: Ditto.
9414         * soft-fp/fmatf4.c: Ditto.
9416 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9418         * sysdeps/i386/i586/Implies: Removed.
9419         * sysdeps/i386/i686/Implies: Likewise.
9421 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9423         * sysdeps/i386/i486/strlen.S: Moved to ...
9424         * sysdeps/i386/strlen.S: Here.
9426 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9428         * sysdeps/i386/i486/strcat.S: Moved to ...
9429         * sysdeps/i386/strcat.S: Here.
9431 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9433         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9434         * sysdeps/i386/pthread_spin_trylock.S: Here.
9435         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9436         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9438 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9440         * sysdeps/i386/i486/string-inlines.c: Moved to ...
9441         * sysdeps/i386/string-inlines.c: Here.
9443 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9445         * sysdeps/i386/i486/htonl.S: Moved ...
9446         * sysdeps/i386/htonl.S: here.
9448 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9450         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9451         * sysdeps/i386/bits/atomic.h: Here.
9453 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9455         * sysdeps/i386/i486/Versions: Removed.
9457 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9459         [BZ #2898]
9460         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9461         Based on patch by Aurelien Jarno.
9463 2015-08-26  Stan Shebs  <stanshebs@google.com>
9465         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9466         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9468 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9470         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9471         * sysdeps/powerpc/dl-procinfo.c:
9472         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9473         feature so it shows when LD_SHOW_AUXV=1.
9475 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9477         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9478         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9479         definition.  ISA 2.07B no longer requires full sync.
9481 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9483         [BZ #18863]
9484         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9485         (si_call_addr): Define.
9486         (si_syscall): Define.
9487         (si_arch): Define.
9489 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9491         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9492         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9493         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9494         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9495         (__memset_zero_constant_len_parameter): New.
9496         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9497         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9498         (__memset_zero_constant_len_parameter): Don't define if
9499         __memset_chk or USE_AS_BZERO are defined.
9501         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9502         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9503         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9505         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9506         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9507         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9508         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9509         comments.
9510         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9511         -mno-mmx for $(all-rtld-routines).
9512         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9513         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9514         i386.
9516 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9518         * sysdeps/generic/unwind.h
9519         (_Unwind_Word): Use __mode__(__unwind_word__)
9520         instead of __mode__(__word__).
9521         (_Unwind_Sword): Likewise.
9523         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9524         (MAX_NEEDED_INPUT): New define.
9525         (MAX_NEEDED_OUTPUT): New define.
9527         * NEWS: New item for IBM z13 string optimizations.
9529         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9530         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9531         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9532         * sysdeps/s390/multiarch/Makefile
9533         (sysdep_routines): Add memrchr functions.
9534         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9535         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9537         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9538         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9539         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9540         * sysdeps/s390/multiarch/Makefile
9541         (sysdep_routines): Add wmemcmp functions.
9542         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9543         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9544         * benchtests/bench-wmemcmp.c: New File.
9545         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9547         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9548         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9549         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9550         * sysdeps/s390/multiarch/Makefile
9551         (sysdep_routines): Add wmemset functions.
9552         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9553         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9554         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9555         * string/test-memset.c: Add wmemset support.
9556         * wcsmbs/test-wmemset.c: New File.
9557         * wcsmbs/Makefile (strop-tests): Add wmemset.
9558         * benchtests/bench-memset.c: Add wmemset support.
9559         * benchtests/bench-wmemset.c: New File.
9560         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9562         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9563         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9564         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9565         * sysdeps/s390/multiarch/Makefile
9566         (sysdep_routines): Add memccpy functions.
9567         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9568         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9569         * string/memccpy.c: Use MEMCCPY if defined.
9571         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9572         * sysdeps/s390/multiarch/memchr.c: Likewise.
9573         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9574         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9575         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9576         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9577         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9578         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9579         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9580         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9581         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9582         and rawmemchr functions.
9583         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9584         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9585         and wmemchr.
9586         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9587         * string/test-memchr.c: Add wmemchr support.
9588         * wcsmbs/test-wmemchr.c: New File.
9589         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9590         * benchtests/bench-memchr.c: Add wmemchr support.
9591         * benchtests/bench-wmemchr.c: New File.
9592         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9594         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9595         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9596         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9597         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9598         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9599         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9600         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9601         wcscspn functions.
9602         * sysdeps/s390/multiarch/ifunc-impl-list.c
9603         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9604         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9605         * string/test-strcspn.c: Add wcscspn support.
9606         * wcsmbs/test-wcscspn.c: New File.
9607         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9608         * benchtests/bench-strcspn.c: Add wcscspn support.
9609         * benchtests/bench-wcscspn.c: New File.
9610         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9612         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9613         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9614         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9615         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9616         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9617         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9618         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9619         wcspbrk functions.
9620         * sysdeps/s390/multiarch/ifunc-impl-list.c
9621         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9622         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9623         * string/test-strpbrk.c: Add wcspbrk support.
9624         * wcsmbs/test-wcspbrk.c: New File.
9625         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9626         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9627         * benchtests/bench-wcspbrk.c: New File.
9628         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9630         * sysdeps/s390/multiarch/strspn-c.c: New File.
9631         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9632         * sysdeps/s390/multiarch/strspn.c: Likewise.
9633         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9634         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9635         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9636         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9637         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9638         wcsspn functions.
9639         * sysdeps/s390/multiarch/ifunc-impl-list.c
9640         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9641         * string/test-strspn.c: Add wcsspn support.
9642         * wcsmbs/test-wcsspn.c: New File.
9643         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9644         * benchtests/bench-strspn.c: Add wcsspn support.
9645         * benchtests/bench-wcsspn.c: New File.
9646         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9648         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9649         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9650         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9651         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9652         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9653         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9654         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9655         wcsrchr functions.
9656         * sysdeps/s390/multiarch/ifunc-impl-list.c
9657         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9658         * benchtests/bench-wcsrchr.c: New File.
9659         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9661         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9662         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9663         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9664         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9665         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9666         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9667         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9668         wcschrnul functions.
9669         * sysdeps/s390/multiarch/ifunc-impl-list.c
9670         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9671         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9672         * string/test-strchr.c: Add wcschrnul support.
9673         * wcsmbs/test-wcschrnul.c: New File.
9674         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9675         * benchtests/bench-strchr.c: Add wcschrnul support.
9676         * benchtests/bench-wcschrnul.c: New File.
9677         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9679         * sysdeps/s390/multiarch/strchr-c.c: New File.
9680         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9681         * sysdeps/s390/multiarch/strchr.c: Likewise.
9682         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9683         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9684         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9685         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9686         wcschr functions.
9687         * sysdeps/s390/multiarch/ifunc-impl-list.c
9688         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9689         * string/strchr.c (STRCHR): Define and use macro.
9690         * benchtests/bench-wcschr.c: New File.
9691         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9693         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9694         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9695         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9696         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9697         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9698         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9699         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9700         wcsncmp functions.
9701         * sysdeps/s390/multiarch/ifunc-impl-list.c
9702         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9703         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9704         * benchtests/bench-strncmp.c: Add wcsncmp support.
9705         * benchtests/bench-wcsncmp.c: New File.
9706         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9708         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9709         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9710         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9711         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9712         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9713         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9714         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9715         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9716         wcscmp functions.
9717         * sysdeps/s390/multiarch/ifunc-impl-list.c
9718         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9719         * string/strcmp.c (STRCMP): Define and use macro.
9720         * benchtests/bench-wcscmp.c: New File.
9721         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9722         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9723         instead of _HAVE_STRING_ARCH_memchr.
9725         * sysdeps/s390/multiarch/strncat-c.c: New File.
9726         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9727         * sysdeps/s390/multiarch/strncat.c: Likewise.
9728         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9729         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9730         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9731         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9732         wcsncat functions.
9733         * sysdeps/s390/multiarch/ifunc-impl-list.c
9734         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9735         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9736         * string/test-strncat.c: Add wcsncat support.
9737         * wcsmbs/test-wcsncat.c: New File.
9738         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9739         * benchtests/bench-strncat.c: Add wcsncat support.
9740         * benchtests/bench-wcsncat.c: New File.
9741         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9743         * sysdeps/s390/multiarch/strcat-c.c: New File.
9744         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9745         * sysdeps/s390/multiarch/strcat.c: Likewise.
9746         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9747         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9748         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9749         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9750         wcscat functions.
9751         * sysdeps/s390/multiarch/ifunc-impl-list.c
9752         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9753         * string/strcat.c (STRCAT): Define and use macro.
9754         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9755         * string/test-strcat.c: Add wcscat support.
9756         * wcsmbs/test-wcscat.c: New File.
9757         * wcsmbs/Makefile (strop-tests): Add wcscat.
9758         * benchtests/bench-strcat.c: Add wcscat support.
9759         * benchtests/bench-wcscat.c: New File.
9760         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9762         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9763         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9764         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9765         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9766         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9767         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9768         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9769         wcpncpy functions.
9770         * sysdeps/s390/multiarch/ifunc-impl-list.c
9771         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9772         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9773         * string/test-stpncpy.c: Add wcpncpy support.
9774         * wcsmbs/test-wcpncpy.c: New File.
9775         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9776         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9777         * benchtests/bench-wcpncpy.c: New File.
9778         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9780         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9781         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9782         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9783         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9784         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9785         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9786         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9787         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9788         wcsncpy functions.
9789         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9790         * sysdeps/s390/multiarch/ifunc-impl-list.c
9791         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9792         * string/test-strncpy.c: Add wcsncpy support.
9793         * wcsmbs/test-wcsncpy.c: New File.
9794         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9795         * benchtests/bench-strncpy.c: Add wcsncpy support.
9796         * benchtests/bench-wcsncpy.c: New File.
9797         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9799         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9800         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9801         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9802         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9803         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9804         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9805         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9806         wcpcpy functions.
9807         * string/stpcpy.c: Use STPCPY if defined.
9808         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9809         * sysdeps/s390/multiarch/ifunc-impl-list.c
9810         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9811         * string/test-stpcpy.c: Add wcpcpy support.
9812         * wcsmbs/test-wcpcpy.c: New File.
9813         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9814         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9815         * benchtests/bench-wcpcpy.c: New File.
9816         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9818         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9819         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9820         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9821         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9822         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9823         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9824         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9825         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9826         wcscpy functions.
9827         * sysdeps/s390/multiarch/ifunc-impl-list.c
9828         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9829         * benchtests/bench-wcscpy.c: New File.
9830         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9832         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9833         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9834         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9835         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9836         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9837         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9838         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9839         wcsnlen functions.
9840         * sysdeps/s390/multiarch/ifunc-impl-list.c
9841         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9842         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9843         * string/test-strnlen.c: Add wcsnlen support.
9844         * wcsmbs/test-wcsnlen.c: New File.
9845         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9846         * benchtests/bench-strnlen.c: Add wcsnlen support.
9847         * benchtests/bench-wcsnlen.c: New File.
9848         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9850         * sysdeps/s390/multiarch/Makefile: New File.
9851         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9852         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9853         * sysdeps/s390/multiarch/strlen.c: Likewise.
9854         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9855         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9856         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9857         * string/strlen.c (STRLEN): Define and use macro.
9858         * sysdeps/s390/multiarch/ifunc-impl-list.c
9859         (IFUNC_VX_IMPL): New macro function.
9860         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9861         * benchtests/Makefile (wcsmbs-bench): New variable.
9862         (string-bench-all): Added wcsmbs-bench.
9863         * benchtests/bench-wcslen.c: New File.
9865         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9866         s390_vx_libc_ifunc2): New macro function.
9868         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9869         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9870         assembler support.
9871         * sysdeps/s390/configure: Regenerated.
9873         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9874         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9876         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9877         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9878         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9880         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9881         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9882         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9883         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9884         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9885         (memcmp, bcmp): Use __memcmp_default as alias source.
9886         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9887         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9888         Rename to __memcmp_default.
9889         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9890         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9891         (memcpy): Use __memcpy_default as alias source.
9892         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9893         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9894         Rename to __memcpy_default.
9895         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9896         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9897         (memset): Use __memset_default as alias source.
9898         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9899         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9900         Rename to __memset_default.
9901         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9902         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9903         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9904         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9905         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9906         (memcmp, bcmp): Use __memcmp_default as alias source.
9907         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9908         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9909         Rename to __memcmp_default.
9910         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9911         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9912         (memcpy): Use __memcpy_default as alias source.
9913         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9914         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9915         Rename to __memcpy_default.
9916         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9917         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9918         (memset): Use __memset_default as alias source.
9919         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9920         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9921         Rename to __memset_default.
9922         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9923         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9925         [BZ #18610]
9926         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9927         __ieee_instruction_pointer to __unused.
9928         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9929         __ieee_instruction_pointer.
9930         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9931         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9932         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9933         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9934         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9935         Mark dxc-field as reserved.
9937 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9939         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9940         if the weak reference is not null.
9942 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9944         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9946         [BZ #11214]
9947         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9949 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9951         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9952         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9953         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9954         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9955         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9956         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9957         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9958         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9959         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9960         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9961         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9962         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9963         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9964         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9965         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9966         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9967         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9968         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9970 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9972         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9973         register other than r0 for tabort, it has special meaning.
9974         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9975         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9976         transaction before starting syscall.
9978 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9980         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9982 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9984         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9986         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9987         * sysdeps/x86_64/rtld-memset.S: Likewise.
9988         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9989         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9990         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9991         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9993         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9995 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9997         * debug/strcpy_chk.c: Improve performance.
9998         * debug/stpcpy_chk.c: Likewise.
9999         * sysdeps/x86_64/strcpy_chk.S: Remove.
10000         * sysdeps/x86_64/stpcpy_chk.S: Remove.
10002         [BZ #18240]
10003         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
10005 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10007         [BZ #15128]
10008         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
10009         ifuncmain8.
10010         (modules-names): Add ifuncmod8.
10011         ($(objpfx)ifuncmain8): New rule.
10012         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
10013         <cpuid.h>.
10014         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
10015         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
10016         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
10017         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
10018         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
10019         * sysdeps/x86_64/dl-trampoline.h: Likewise.
10020         * sysdeps/x86_64/ifuncmain8.c: New file.
10021         * sysdeps/x86_64/ifuncmod8.c: Likewise.
10022         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
10023         Removed.
10024         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
10025         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
10026         Change rtld_savespace_sse to __glibc_unused2.
10027         (RTLD_CHECK_FOREIGN_CALL): Removed.
10028         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
10029         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
10030         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
10032 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10034         * sysdeps/aarch64/bzero.S (__bzero): Remove.
10036 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10038         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
10039         Unconditionally set __fpcr to avoid uninialized warning.
10040         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
10042 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10044         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
10045         is corrupt.
10047         * malloc/arena.c (arena_get2): Drop unused argument.
10048         (arena_lock): Adjust.
10049         (arena_get_retry): Likewise.
10051 2015-08-24  Andreas Schwab  <schwab@suse.de>
10053         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
10054         Don't define.
10055         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10056         (__ASSUME_IPC64): Don't undef.
10057         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
10058         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10059         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10060         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
10061         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
10062         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
10063         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
10064         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
10065         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
10066         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
10067         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
10068         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
10069         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
10070         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
10071         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
10072         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
10073         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
10074         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
10075         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
10076         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
10077         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
10079 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
10081         * manual/Makefile (install): Only build manual when perl is available.
10083 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10085         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
10086         '#undef memcpy' by '#undef memchr'.
10088 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10090         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
10091         memchr not point to the internal __GI_memchr implementation.
10093 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10095         * timezone/Makefile (CFLAGS-zdump.c): Remove
10096         -Wno-strict-prototypes.
10097         (CFLAGS-zic.c): Likewise.
10098         (CFLAGS-ialloc.c): Likewise.
10099         (CFLAGS-scheck.c): Likewise.
10101         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
10102         -Wno-error=undef.
10104 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10106         * i386/i686/multiarch/strcasestr-c.c: Removed.
10107         * x86_64/multiarch/strcasestr.c: Likewise.
10108         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10109         Remove strcasestr.
10111 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10113         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
10115         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
10116         variables for high and low parts before possibly modifying them.
10118 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10120         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
10121         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
10122         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
10123         of "multiarch/init-arch.h".
10124         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
10125         * sysdeps/x86/init-arch.h: This.
10127 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10129         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
10130         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
10132 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
10134         [BZ #17787]
10135         * manual/macros.texi: Add twoexp macro.
10136         * manual/filesys.texi: Fix exponents.
10137         * manual/llio.texi: Likewise.
10138         * manual/stdio.texi: Likewise.
10140 2015-08-20  Florian Weimer  <fweimer@redhat.com>
10142         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
10143         incorrect use.
10145 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10147         [BZ #18370]
10148         * math/s_csqrt.c (__csqrt): Force underflow exception for results
10149         whose real or imaginary part has small absolute value.
10150         * math/s_csqrtf.c (__csqrtf): Likewise.
10151         * math/s_csqrtl.c (__csqrtl): Likewise.
10152         * math/auto-libm-test-in: Add more tests of csqrt.
10153         * math/auto-libm-test-out: Regenerated.
10154         * sysdeps/i386/fpu/libm-test-ulps: Update.
10156 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10158         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
10159         __ppc_set_ppr_very_low): New functions.
10160         * manual/platform.texi: Add documentation about
10161         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
10163 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
10165         * string/stpncpy.c (stpncpy): Improve performance using
10166         __strnlen/memcpy/memset.
10168 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10170         [BZ #18796]
10171         * scripts/test-installation.pl: Don't add -lmvec to build options if
10172         libmvec wasn't built.
10174 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10176         [BZ #14341]
10177         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
10178         case when there is a gap between DT_REL and DT_JMPREL sections.
10179         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
10180         (LDFLAGS-tst-split-dynreloc): New.
10181         (tst-split-dynreloc-ENV): Likewise.
10182         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
10183         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
10185 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10187         [BZ #18822]
10188         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
10189         attribute_hidden.
10190         (__xstat64_conv): Likewise.
10191         (__xstat32_conv): Likewise.
10193 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10195         [BZ #18822]
10196         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
10197         Don't load %ebx when calling __setcontext.  Call __setcontext
10198         with HIDDEN_JUMPTARGET.
10199         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
10200         libc_hidden_def.
10202 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10204         * sysdeps/i386/i686/Makefile
10205         [$(subdir) == string] (sysdep_routines): Moved to ...
10206         * sysdeps/i386/Makefile: Here.
10207         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
10208         * sysdeps/i386/cacheinfo.c: Here.
10209         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
10210         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
10211         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
10212         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
10214 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10216         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
10217         __i586__ is defined.
10218         (HAS_I686): Defined to 1 if __i686__ is defined.
10220 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10222         * elf/Makefile [$(have-z-execstack) = yes]
10223         (CPPFLAGS-tst-execstack.c): New variable.
10225         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
10226         conditional to [defined UTMPX || _HAVE_UT_TYPE].
10227         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
10228         UTMPX || _HAVE_UT_TV].
10229         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
10230         UTMPX || _HAVE_UT_TV - 0].
10232 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
10234         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
10235         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
10236         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
10238 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10240         * sysdeps/powerpc/dl-procinfo.c:
10241         (_dl_powerpc_cap_flags): Added missing strings for some
10242         hwcap features.
10243         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
10245 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
10247         Port the 0x7efe...feff pattern to GCC 6.
10248         See Steve Ellcey's bug report in:
10249         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
10250         * string/memrchr.c (MEMRCHR):
10251         * string/rawmemchr.c (RAWMEMCHR):
10252         * string/strchr.c (strchr):
10253         * string/strchrnul.c (STRCHRNUL):
10254         Rewrite code to avoid issues with signed shift overflow.
10256 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
10258         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
10259         whether cpuid is available only if HAS_CPUID is 0.
10260         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
10261         (HAS_I586): Likewise.
10262         (HAS_I686): Likewise.
10264 2015-08-18  Zack Weinberg  <zackw@panix.com>
10266         * misc/Versions (libc): Add GLIBC_2.23.
10268 2015-08-18  Alan Modra  <amodra@gmail.com>
10270         [BZ #18421]
10271         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
10272         .Lp__global.
10273         (_start): Load %dp via .Lp__global.
10274         [!SHARED]: Use .section .rodata.
10276 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10278         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
10279         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
10281 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10283         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
10284         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
10286 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10288         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
10289         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
10291 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10293         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
10294         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
10296 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10298         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
10299         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
10301 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10303         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
10304         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
10306 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10308         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
10310 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10312         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
10313         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
10314         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10315         (__ASSUME_LWS_CAS): Delete.
10317 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10319         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
10320         * sysdeps/hppa/configure: Regenerated.
10321         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10322         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10323         * sysdeps/hppa/nptl/tls.h: Likewise.
10325 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
10327         [BZ #18823]
10328         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10329         for scaling up small arguments.
10330         * math/s_csqrtf.c (__csqrtf): Likewise.
10331         * math/s_csqrtl.c (__csqrtl): Likewise.
10332         * math/auto-libm-test-in: Add more tests of csqrt.
10333         * math/auto-libm-test-out: Regenerated.
10335 2015-08-17  Andreas Schwab  <schwab@suse.de>
10337         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10338         version set GLIBC_2.19.
10340 2015-08-16  Zack Weinberg  <zackw@panix.com>
10342         [BZ #18681]
10343         * misc/regexp.h: This interface is no longer supported.
10344         Remove all contents, leaving only an #error directive.
10345         * misc/regexp.c (loc1, loc2, locs, step, advance):
10346         Demote to compatibility symbols.
10348 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
10350         [BZ #18084]
10351         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10352         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10353         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10354         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10355         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10356         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10357         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10358         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10359         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10361 2015-08-15  Zack Weinberg  <zackw@panix.com>
10363         [BZ #18795]
10364         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
10365         buffer length is known to be too large, not if it's known to be
10366         small enough.
10367         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
10368         overflow at runtime, involving a length parameter, twice: once
10369         with a compile-time constant length parameter, once without.
10371 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
10373         [BZ #18824]
10374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
10375         scaling x * y up instead of down.
10376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10378         * math/auto-libm-test-in: Add more tests of fma.
10379         * math/auto-libm-test-out: Regenerated.
10381 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10383         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10385 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10387         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
10388         unnecessary movq.
10389         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
10390         Likewise.
10392 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
10394         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10395         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
10396         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
10397         and tgamma.
10398         * math/auto-libm-test-out: Regenerated.
10399         * sysdeps/i386/fpu/libm-test-ulps: Update.
10400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10402         [BZ #16520]
10403         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
10404         (__tanh): Force underflow exception for arguments with small
10405         absolute value.
10406         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10407         (__tanhf): Force underflow exception for arguments with small
10408         absolute value.
10409         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10410         (__tanhl): Force underflow exception for arguments with small
10411         absolute value.
10412         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10413         (__tanhl): Force underflow exception for arguments with small
10414         absolute value.
10415         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10416         (__tanhl): Force underflow exception for arguments with small
10417         absolute value.
10418         * math/auto-libm-test-in: Add more tests of tanh.
10419         * math/auto-libm-test-out: Regenerated.
10420         * sysdeps/i386/fpu/libm-test-ulps: Update.
10422 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10424         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10425         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10427 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10429         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10430         <cpuid.h>.
10432 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10434         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10435         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10437 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10439         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10440         Remove $(objpfx)init-arch.o.
10441         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10442         init-arch.
10443         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10444         (INIT_ARCH_EXT): Defined as empty.
10445         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10446         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10447         __init_cpu_features call.  Replace HAS_XXX with
10448         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10449         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10450         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10451         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10452         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10453         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10454         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10455         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10456         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10457         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10458         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10459         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10460         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10461         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10462         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10463         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10464         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10465         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10466         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10467         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10468         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10469         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10470         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10471         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10472         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10473         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10474         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10475         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10476         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10477         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10479         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10481         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10482         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10483         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10485 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10487         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10488         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10489         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10490         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10491         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10492         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10493         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10494         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10495         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10496         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10497         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10498         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10499         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10500         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10502         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10503         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10504         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10505         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10506         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10507         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10508         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10509         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10510         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10511         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10512         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10513         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10514         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10515         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10516         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10517         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10518         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10519         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10520         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10521         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10522         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10523         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10524         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10525         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10526         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10527         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10528         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10529         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10531 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10533         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10534         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10535         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10536         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10537         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10538         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10539         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10540         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10541         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10542         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10543         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10544         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10545         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10546         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10547         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10548         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10549         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10550         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10551         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10552         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10553         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10554         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10555         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10556         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10557         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10558         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10559         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10560         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10561         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10562         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10563         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10564         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10565         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10566         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10567         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10568         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10569         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10570         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10571         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10572         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10573         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10574         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10575         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10577 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10579         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10580         (dl_platform_init): Call init_cpu_features.
10581         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10582         * sysdeps/i386/i686/cacheinfo.c
10583         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10584         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10585         * sysdeps/i386/i686/multiarch/Versions: Removed.
10586         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10587         Removed.
10588         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10589         * sysdeps/unix/sysv/linux/x86/Makefile
10590         (libpthread-sysdep_routines): Remove init-arch.
10591         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10592         <sysdeps/x86_64/dl-procinfo.c> instead of
10593         sysdeps/generic/dl-procinfo.c>.
10594         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10595         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10596         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10597         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10598         [$(subdir) == elf] (tests-static): Add
10599         tst-get-cpu-features-static.
10600         * sysdeps/x86/Versions: New file.
10601         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10602         * sysdeps/x86/cpu-features.c: Likewise.
10603         * sysdeps/x86/cpu-features.h: Likewise.
10604         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10605         * sysdeps/x86/libc-start.c: Likewise.
10606         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10607         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10608         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10609         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10610         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10611         Assume USE_MULTIARCH is defined and don't check it.
10612         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10613         (is_amd): Likewise.
10614         (max_cpuid): Likewise.
10615         (intel_check_word): Likewise.
10616         (__cache_sysconf): Don't call __init_cpu_features.
10617         (__x86_preferred_memory_instruction): Removed.
10618         (init_cacheinfo): Don't call __init_cpu_features. Replace
10619         __cpu_features with GLRO(dl_x86_cpu_features).
10620         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10621         (dl_platform_init): Call init_cpu_features.
10622         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10623         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10624         * sysdeps/x86_64/multiarch/Versions: Removed.
10625         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10626         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10627         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10628         Removed.
10629         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10631 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10633         [BZ #18820]
10634         * libio/Makefile (test-fmemopen-mem): New test.
10635         * libio/test-fmemopen.c (do_bz18820): New test.
10636         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10637         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10639 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10641         [BZ #16734]
10642         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10643         (FREE_BUF): Delete.
10644         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10645         * libio/genops.c (_IO_setb): Use malloc and free directly.
10646         (_IO_default_doallocate, _IO_default_finish): Likewise.
10647         ( _IO_unbuffer_all): Likewise.
10648         ( libc_freeres_fn): Likewise.
10649         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10650         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10651         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10652         (_IO_wdefault_doallocate): Likewise.
10654 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10656         [BZ #18086]
10657         * sysdeps/posix/nice.c (nice): Restore old errno.
10658         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10660 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10662         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10664 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10666         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10667         __bcopy and add a weak_alias to bcopy.
10668         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10669         for static build.
10671         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10672         cleanup macro usage.
10673         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10675         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10676         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10677         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10678         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10679         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10680         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10681         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10682         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10684         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10685         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10686         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10687         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10688         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10689         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10690         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10691         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10693         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10694         libc_hidden_def.
10695         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10697         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10698         (sysdep_routines): Add strstr-ppc64.
10699         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10701 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10703         [BZ #18778]
10704         * elf/Makefile (tests): Add Add tst-nodelete2.
10705         (modules-names): Add tst-nodelete2mod.
10706         (tst-nodelete2mod.so-no-z-defs): New.
10707         ($(objpfx)tst-nodelete2): Likewise.
10708         ($(objpfx)tst-nodelete2.out): Likewise.
10709         (LDFLAGS-tst-nodelete2): Likewise.
10710         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10711         out of loop through all loaded libraries.
10712         * elf/tst-nodelete2.c: New file.
10713         * elf/tst-nodelete2mod.c: Likewise.
10714         * elf/tst-znodelete-zlib.cc: Delete.
10716 2015-08-11  Andreas Schwab  <schwab@suse.de>
10718         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10719         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10720         (__openat64_nocancel): Likewise.
10722 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10724         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10725         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10726         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10727         * math/auto-libm-test-out: Regenerated.
10728         * sysdeps/i386/fpu/libm-test-ulps: Update.
10729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10731 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10733         [BZ #18790]
10734         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10735         threshold for returning +/- 1.
10736         * math/auto-libm-test-in: Add more tests of tanh.
10737         * math/auto-libm-test-out: Regenerated.
10738         * sysdeps/i386/fpu/libm-test-ulps: Update.
10740 2015-08-10  Andreas Schwab  <schwab@suse.de>
10742         [BZ #18781]
10743         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10744         MORE_OFLAGS to oflag.
10745         * io/test-lfs.c (do_test): Test openat64.
10747 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10749         [BZ #18789]
10750         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10751         smaller threshold for returning the argument.
10752         * math/auto-libm-test-in: Add more tests of sinh.
10753         * math/auto-libm-test-out: Regenerated.
10754         * sysdeps/i386/fpu/libm-test-ulps: Update.
10756 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10758         [BZ #18674]
10759         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10760         break.
10762 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10764         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10765         (generated): Don't add $(addprefix z.,$(tzfiles)).
10767 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10769         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10770         * scripts/sysd-rules.awk: Likewise.
10772 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10774         * iconvdata/tst-tables.sh: Change echo -n to printf.
10775         * nss/db-Makefile: Likewise.
10776         * posix/tst-getconf.sh: Likewise.
10777         * stdio-common/tst-unbputc.sh: Likewise.
10779 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10781         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10782         MADV_*_PAGES defines behind this feature check.
10784 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10786         [BZ #18480]
10787         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10788         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10789         Define.
10790         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10791         LOAD_REGS_5, LOAD_REGS_6): Update.
10792         (INTERNAL_SYSCALL): Update using new LOAD defines.
10793         (INTERNAL_SYSCALL_NCS): Likewise.
10794         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10796 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10798         [BZ #16734]
10799         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10801 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10803         [BZ #17905]
10804         * catgets/Makefile (tst-catgets-mem): New test.
10805         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10806         * catgets/open_catalog.c (__open_catalog): Likewise.
10807         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10809 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10811         [BZ #18787]
10812         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10813         clobber registers.
10814         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10815         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10816         Cast return to __typeof (oldval).
10818 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10820         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10821         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10822         and delete sys/syscall.h include.
10824 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10826         [BZ #16517]
10827         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10828         (tan): Force underflow exception for arguments with small absolute
10829         value.
10830         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10831         (__kernel_tanf): Force underflow exception for arguments with
10832         small absolute value.
10833         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10834         (__kernel_tanl): Force underflow exception for arguments with
10835         small absolute value.
10836         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10837         (__kernel_tanl): Force underflow exception for arguments with
10838         small absolute value.
10839         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10840         (__kernel_tanl): Force underflow exception for arguments with
10841         small absolute value.
10842         * math/auto-libm-test-in: Add more tests of tan.
10843         * math/auto-libm-test-out: Regenerated.
10845 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10847         Fix sysdeps/i386/fpu/s_scalbn.S build
10849         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10851 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10853         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10855 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10857         Fix gcrt0.o compilation
10859         When static-start-installed-name is different from
10860         start-installed-name, we must not use the shared objects.
10862         * csu/Makefile
10863         (extra-objs): Add gmon-start.o when building shared library and
10864         $(static-start-installed-name) is different from
10865         $(start-installed-name).
10866         $(objpfx)g$(static-start-installed-name): When building shared
10867         library and $(static-start-installed-name) is different from
10868         $(static-start-installed-name), revert to non-shared rule,
10869         i.e. using $(objpfx)% and gmon-start.o.
10871 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10873         [BZ #16519]
10874         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10875         (__ieee754_sinh): Force underflow exception for arguments with
10876         small absolute value.
10877         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10878         (__ieee754_sinhf): Force underflow exception for arguments with
10879         small absolute value.
10880         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10881         (__ieee754_sinhl): Force underflow exception for arguments with
10882         small absolute value.
10883         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10884         (__ieee754_sinhl): Force underflow exception for arguments with
10885         small absolute value.
10886         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10887         (__ieee754_sinhl): Force underflow exception for arguments with
10888         small absolute value.
10889         * math/auto-libm-test-in: Add more tests of sinh.
10890         * math/auto-libm-test-out: Regenerated.
10891         * sysdeps/i386/fpu/libm-test-ulps: Update.
10893 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10895         * libio/oldfileops.c: Include unistd.h.
10897 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10899         * stdlib/isomac.c: Include ctype.h.
10901 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10903         * dirent/tst-seekdir.c (main): Converted to ...
10904         (do_test): ... this.
10905         (TEST_FUNCTION): New macro.
10906         Include test-skeleton.c.
10907         * elf/tst-dlmodcount.c (main): Converted to ...
10908         (do_test): ... this.
10909         (TEST_FUNCTION): New macro.
10910         Include test-skeleton.c.
10911         * elf/tst-order-main.c (main): Converted to ...
10912         (do_test): ... this.
10913         (TEST_FUNCTION): New macro.
10914         Include test-skeleton.c.
10915         * elf/tst-pie2.c (main): Converted to ...
10916         (do_test): ... this.
10917         (TEST_FUNCTION): New macro.
10918         Include test-skeleton.c.
10919         * inet/tst-ether_aton.c (main): Converted to ...
10920         (do_test): ... this.
10921         (TEST_FUNCTION): New macro.
10922         Include test-skeleton.c.
10923         * misc/tst-mntent.c (main): Converted to ...
10924         (do_test): ... this.
10925         (TEST_FUNCTION): New macro.
10926         Include test-skeleton.c.
10927         * misc/tst-tsearch.c (main): Converted to ...
10928         (do_test): ... this.
10929         (TEST_FUNCTION): New macro.
10930         Include test-skeleton.c.
10931         * posix/tst-regexloc.c (main): Converted to ...
10932         (do_test): ... this.
10933         (TEST_FUNCTION): New macro.
10934         Include test-skeleton.c.
10935         * resolv/tst-aton.c (main): Converted to ...
10936         (do_test): ... this.
10937         (TEST_FUNCTION): New macro.
10938         Include test-skeleton.c.
10939         * stdio-common/test-fwrite.c (main): Converted to ...
10940         (do_test): ... this.
10941         (TEST_FUNCTION): New macro.
10942         Include test-skeleton.c.
10943         * stdio-common/tst-ferror.c (main): Converted to ...
10944         (do_test): ... this.
10945         (TEST_FUNCTION): New macro.
10946         Include test-skeleton.c.
10947         * stdio-common/tst-printf.c (main): Converted to ...
10948         (do_test): ... this.
10949         (TEST_FUNCTION): New macro.
10950         Include test-skeleton.c.
10951         * stdio-common/tst-printfsz.c (main): Converted to ...
10952         (do_test): ... this.
10953         (TEST_FUNCTION): New macro.
10954         Include test-skeleton.c.
10955         * stdlib/tst-strtod.c (main): Converted to ...
10956         (do_test): ... this.
10957         (TEST_FUNCTION): New macro.
10958         Include test-skeleton.c.
10959         * string/tst-strlen.c (main): Converted to ...
10960         (do_test): ... this.
10961         (TEST_FUNCTION): New macro.
10962         Include test-skeleton.c.
10963         * string/tst-svc.c (main): Converted to ...
10964         (do_test): ... this.
10965         (TEST_FUNCTION): New macro.
10966         Include test-skeleton.c.
10967         * time/tst-strptime.c (main): Converted to ...
10968         (do_test): ... this.
10969         (TEST_FUNCTION): New macro.
10970         Include test-skeleton.c.
10971         * timezone/tst-timezone.c (main): Converted to ...
10972         (do_test): ... this.
10973         (TEST_FUNCTION): New macro.
10974         Include test-skeleton.c.
10976 2015-08-05  Zack Weinberg  <zackw@panix.com>
10978         * misc/regexp.h: Update comments.
10980 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10982         [BZ #18635]
10983         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10984         before return label.
10986 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10988         [BZ #18661]
10989         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10990         when calling __errno_location.
10991         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10992         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10994 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10996         [BZ #18661]
10997         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10998         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10999         __gettimeofday.
11001 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11003         [BZ #18661]
11004         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11005         (__start_context): Don't use pop to restore %rdi so that stack
11006         is aligned to 16 bytes when calling __setcontext.
11008 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11010         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
11011         only for libc.
11012         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11014 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11016         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
11017         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
11018         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
11020 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11022         * string/memccpy.c (memccpy):
11023         Improve performance by using memchr/memcpy/__mempcpy.
11025 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11027         * string/strncpy.c (strncpy):
11028         Improve performance by using __strnlen/memcpy.
11030 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11032         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11033         Optimize to avoid an unnecessary FPCR read.
11035 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11037         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11038         Optimize to reduce FPCR/FPSR accesses.
11040 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11042         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
11043         dead->data[category] != NULL.
11045 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
11047         [BZ #18647]
11048         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
11049         and |x| close to 1, use absolute value of x when computing log.
11050         * math/auto-libm-test-in: Add more tests of pow.
11051         * math/auto-libm-test-out: Regenerated.
11053 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11055         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
11056         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
11057         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
11059 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
11061         [BZ #18525]
11062         * locales/km_KH: Remove timezone definition.
11063         * locales/lo_LA: Likewise.
11064         * locales/my_MM: Likewise.
11065         * locales/nan_TW@latin: Likewise.
11066         * locales/th_TH: Likewise.
11067         * locales/uk_UA: Likewise.
11069 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11071         [BZ #18265]
11072         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
11073         (wcsncat): Likewise.
11074         (wcscmp): Likewise.
11075         (wcsncmp): Likewise.
11077 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11079         * test-skeleton.c (usage): New function.
11080         (main): Call usage when opt is '?'.
11082 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11084         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
11085         before first use.
11087 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11089         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
11090         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
11091         in there too.
11093 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
11095         * version.h (RELEASE): Set to "development".
11096         (VERSION): Set to "2.22.90"
11098         * version.h (RELEASE): Set to "stable".
11099         (VERSION): Set to "2.22"
11100         * include/features.h (__GLIBC_MINOR__): Set to 22.
11102 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
11104         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
11105         Restructure macro to avoid "value computed is not used" warning.
11106         (atomic_compare_and_exchange_val_acq): Likewise.
11108 2015-08-04  Andreas Schwab  <schwab@suse.de>
11110         [BZ #18635]
11111         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
11112         ret.
11113         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
11115 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
11117         * po/pl.po: Updated translation.
11118         * po/uk.po: Likewise.
11119         * po/fi.po: Likewise.
11120         * po/ko.po: Likewise.
11121         * po/ru.po: Likewise.
11122         * po/vi.po: Likewise.
11124 2015-07-31  Zack Weinberg  <zackw@panix.com>
11126         [BZ #18681]
11127         * regexp.h: Add unconditional #warning stating that this header
11128         will be removed soon.  Revise banner comment to match.
11129         (compile): Consistently use ERROR instead of RETURN to report
11130         errors (partial fix for bz#18681).
11131         * regexp.c: Don't include regexp.h. Remove some unnecessary
11132         declarations.
11134 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
11136         * po/libc.pot: Regenerated.
11138 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11140         [BZ #18740]
11141         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
11142         float-vlen4-arch-ext-cflags): Removed.
11143         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
11144         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
11146 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11148         [BZ #14113]
11149         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
11150         aligned to __aligned__.
11151         (pthread_cond_t, pthread_rwlock_t): Likewise.
11153 2015-07-30  Torvald Riegel  <triegel@redhat.com>
11155         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
11157 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11159         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
11160         (struct sigaction): Change sa_flags from a long to an int, and add
11161         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
11163 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11165         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
11166         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
11167         sysdeps/generic/sysdep.h include.
11168         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
11169         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
11170         sysdeps/hppa/sysdep.h.
11171         (ENTRY, PSEUDO): Undefine before defining.
11173 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11175         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
11176         from scratch to use INTERNAL_SYSCALL.
11178 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
11180         [BZ #18078]
11181         * scripts/check-localplt.awk: Support alternate relocations.
11182         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
11183         sections.
11184         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
11185         malloc entries with + REL R_386_GLOB_DAT.
11186         * sysdeps/x86_64/localplt.data: New file.
11188 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
11190         [BZ #18731]
11191         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
11192         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11193         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11195 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11197         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
11199 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11201         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
11202         directly in terms of __sync_fetch_and_add and delete (int) cast.
11204 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11206         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
11207         the -D_ASM_IA64_CURRENT_H flag.
11209 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11211         [BZ #18641]
11212         * pwd/pwd.h (putpwent): Delete __nonnull markings.
11214 2015-07-27  Andreas Schwab  <schwab@suse.de>
11216         * conform/conformtest.pl (checknamespace): Filter out string
11217         literals while tokenizing.
11219 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11221         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11222         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
11223         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11225 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11227         * nptl/tst-join7mod.c: Add #include <string.h>.
11229 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11231         * sysdeps/nios2/libm-test-ulps: Update.
11233 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11235         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
11236         Fix order of arguments to the rt_sigprocmask syscall.
11237         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
11238         Likewise.
11240 2015-07-24  Roland McGrath  <roland@hack.frob.com>
11242         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
11244 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11246         [BZ #18457]
11247         * nptl/Makefile (tests): New test case tst-join7.
11248         (modules-names): New test case module tst-join7mod.
11249         * nptl/tst-join7.c: New file.
11250         * nptl/tst-join7mod.c: New file.
11251         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
11252         all translation units in libc.so, libpthread.so and rtld.
11254 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11258 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11260         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
11261         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11262         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11263         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11264         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11265         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11266         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11267         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11268         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11269         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11271         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11272         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
11273         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11274         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
11275         implementation.
11277 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11279         [BZ #17711]
11280         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11281         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
11282         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11283         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11284         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
11285         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11287 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11289         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
11290         instead of just saying load lock in the comments.
11292 2015-07-23  Roland McGrath  <roland@hack.frob.com>
11294         * sysdeps/unix/Subdirs: Moved ...
11295         * sysdeps/posix/Subdirs: ... here.
11296         * login/pty.h (struct termios, struct winsize): Add forward decls.
11297         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
11298         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
11299         * sysdeps/arm/nacl/libc.abilist: Updated.
11300         * sysdeps/nacl/libutil.abilist: New file.
11302         * bits/signum.h: Update comments to mention 1003.1-2013 too.
11303         (SIGWINCH): New macro.
11305         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
11306         * sysdeps/arm/nacl/libc.abilist: Add it.
11308 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11310         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
11312 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11314         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11315         Swap __glibc_reserved0 and sa_flags order.
11317 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11319         [BZ #18657]
11320         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11321         are pending TLS destructor calls.
11322         * include/link.h (struct link_map): Add concurrency note for
11323         L_TLS_DTOR_COUNT.
11324         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11325         Don't touch the link map flag.  Atomically increment
11326         l_tls_dtor_count.
11327         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11328         Avoid taking the load lock and don't touch the link map flag.
11329         * stdlib/tst-tls-atexit-nodelete.c: New test case.
11330         * stdlib/Makefile (tests): Use it.
11331         * stdlib/tst-tls-atexit.c (do_test): dlopen
11332         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
11333         to allow tst-tls-atexit-nodelete test case to use it.
11335 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11337         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11338         to bits/types.h.
11339         (msgqnum_t): New typedef.
11340         (msglen_t): Likewise.
11341         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
11342         and msg_qbytes type to msglen_t.
11344 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11346         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11347         pad0 to __glibc_reserved0.
11348         (struct stat64): Likewise.
11350 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11352         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11353         Change sa_flags from a long to an int and add __glibc_reserved0 before
11354         it for padding.
11356 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11358         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11359         anonymous by deleting "siginfo" name.
11361 2015-07-21  Roland McGrath  <roland@hack.frob.com>
11363         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
11364         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
11365         rather than __nacl_irt_filename.
11366         * sysdeps/nacl/xstat.c (__xstat): Likewise.
11368         * NEWS: New item for arm-nacl port.
11369         * sysdeps/arm/nacl/libc.abilist: New file.
11370         * sysdeps/nacl/ld.abilist: New file.
11371         * sysdeps/nacl/libBrokenLocale.abilist: New file.
11372         * sysdeps/nacl/libanl.abilist: New file.
11373         * sysdeps/nacl/libcrypt.abilist: New file.
11374         * sysdeps/nacl/libdl.abilist: New file.
11375         * sysdeps/nacl/libm.abilist: New file.
11376         * sysdeps/nacl/libpthread.abilist: New file.
11377         * sysdeps/nacl/libresolv.abilist: New file.
11378         * sysdeps/nacl/librt.abilist: New file.
11380 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
11382         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
11383         __startcontext to initialize the new context.
11384         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
11385         up CFI directive to forbid further backtracing.
11387 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
11389         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
11390         reference.
11391         * charmaps/ANSI_X3.4-1968: Likewise.
11392         * charmaps/BS_4730: Likewise.
11393         * charmaps/BS_VIEWDATA: Likewise.
11394         * charmaps/CP1250: Likewise.
11395         * charmaps/CP1251: Likewise.
11396         * charmaps/CP1252: Likewise.
11397         * charmaps/CP1253: Likewise.
11398         * charmaps/CP1254: Likewise.
11399         * charmaps/CP1255: Likewise.
11400         * charmaps/CP1256: Likewise.
11401         * charmaps/CSN_369103: Likewise.
11402         * charmaps/EBCDIC-DK-NO: Likewise.
11403         * charmaps/GB_1988-80: Likewise.
11404         * charmaps/GREEK-CCITT: Likewise.
11405         * charmaps/GREEK7: Likewise.
11406         * charmaps/INIS-8: Likewise.
11407         * charmaps/ISIRI-3342: Likewise.
11408         * charmaps/ISO_2033-1983: Likewise.
11409         * charmaps/ISO_5427-EXT: Likewise.
11410         * locales/POSIX: Likewise.
11411         * locales/ar_SA: Likewise.
11412         * locales/be_BY: Likewise.
11413         * locales/be_BY@latin: Likewise.
11414         * locales/ca_ES: Likewise.
11415         * locales/cs_CZ: Likewise.
11416         * locales/da_DK: Likewise.
11417         * locales/de_BE: Likewise.
11418         * locales/de_CH: Likewise.
11419         * locales/de_LU: Likewise.
11420         * locales/en_AU: Likewise.
11421         * locales/en_BW: Likewise.
11422         * locales/en_CA: Likewise.
11423         * locales/en_DK: Likewise.
11424         * locales/en_GB: Likewise.
11425         * locales/en_IE: Likewise.
11426         * locales/en_NZ: Likewise.
11427         * locales/en_ZA: Likewise.
11428         * locales/en_ZW: Likewise.
11429         * locales/es_AR: Likewise.
11430         * locales/es_BO: Likewise.
11431         * locales/es_CL: Likewise.
11432         * locales/es_CO: Likewise.
11433         * locales/es_DO: Likewise.
11434         * locales/es_EC: Likewise.
11435         * locales/es_ES: Likewise.
11436         * locales/es_HN: Likewise.
11437         * locales/es_MX: Likewise.
11438         * locales/es_PA: Likewise.
11439         * locales/es_PE: Likewise.
11440         * locales/es_PY: Likewise.
11441         * locales/es_SV: Likewise.
11442         * locales/es_US: Likewise.
11443         * locales/es_UY: Likewise.
11444         * locales/es_VE: Likewise.
11445         * locales/et_EE: Likewise.
11446         * locales/fa_IR: Likewise.
11447         * locales/fo_FO: Likewise.
11448         * locales/fr_CA: Likewise.
11449         * locales/fr_CH: Likewise.
11450         * locales/gv_GB: Likewise.
11451         * locales/he_IL: Likewise.
11452         * locales/hr_HR: Likewise.
11453         * locales/id_ID: Likewise.
11454         * locales/is_IS: Likewise.
11455         * locales/it_CH: Likewise.
11456         * locales/iw_IL: Likewise.
11457         * locales/kl_GL: Likewise.
11458         * locales/ko_KR: Likewise.
11459         * locales/kw_GB: Likewise.
11460         * locales/lg_UG: Likewise.
11461         * locales/lt_LT: Likewise.
11462         * locales/lv_LV: Likewise.
11463         * locales/mi_NZ: Likewise.
11464         * locales/nhn_MX: Likewise.
11465         * locales/nl_BE: Likewise.
11466         * locales/pl_PL: Likewise.
11467         * locales/sk_SK: Likewise.
11468         * locales/sl_SI: Likewise.
11469         * locales/sv_FI: Likewise.
11470         * locales/tl_PH: Likewise.
11471         * locales/tr_TR: Likewise.
11472         * locales/vi_VN: Likewise.
11474 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11476         [BZ #17475]
11477         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11478         of tu_IN and bh_IN.
11480 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11482         [BZ #18694]
11483         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11484         bits/wordsize.h.
11485         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11487 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11489         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11490         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11491         (spawn_thread): New function.
11492         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11493         (do_test): ... here.  Use IS_LOADED to test for its
11494         availability.
11496 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11498         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11500 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11502         [BZ #18696]
11503         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11504         si_addr_bnd.
11505         (si_lower): New.
11506         (si_upper): Likewise.
11508 2015-07-16  David S. Miller  <davem@davemloft.net>
11510         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11512 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11514         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11515         buffer.
11516         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11517         fail output information.
11519 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11522         and strstr-ppc64..
11523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11524         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11525         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11526         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11527         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11529 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11531         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11532         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11533         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11534         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11536 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11538         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11539         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11540         rtld_hidden_proto.
11541         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11543 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11545         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11546         the test can fail.
11548         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11550         [BZ #18676]
11551         * elf/tst-nodelete-opened.c: New test case.
11552         * elf/tst-nodelete-opened-lib.c: New test case module.
11553         * elf/Makefile (tests, modules-names): Use them.
11554         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11555         early.
11557 2015-07-15  David S. Miller  <davem@davemloft.net>
11559         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11560         futex-intenal.h
11561         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11562         * sysdeps/sparc/sparc64/Makefile: Likewise.
11563         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11564         Remove space from macro define.
11565         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11567 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11569         [BZ #17475]
11570         * locale/iso-639.def: Update Bhili and Tulu language codes as
11571         per iso639-3.
11573 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11575         * elf/tst-leaks1.c (main): Converted to ...
11576         (do_test): ... this.
11577         (TEST_FUNCTION): New macro.
11578         Include test-skeleton.c.
11579         * localedata/tst-langinfo.c (main): Converted to ...
11580         (do_test): ... this.
11581         (TEST_FUNCTION): New macro.
11582         Include test-skeleton.c.
11583         * math/test-fpucw.c (main): Converted to ...
11584         (do_test): ... this.
11585         (TEST_FUNCTION): New macro.
11586         Include test-skeleton.c.
11587         * math/test-tgmath.c (main): Converted to ...
11588         (do_test): ... this.
11589         (TEST_FUNCTION): New macro.
11590         Include test-skeleton.c.
11591         * math/test-tgmath2.c (main): Converted to ...
11592         (do_test): ... this.
11593         (TEST_FUNCTION): New macro.
11594         Include test-skeleton.c.
11595         * setjmp/tst-setjmp.c (main): Converted to ...
11596         (do_test): ... this.
11597         (TEST_FUNCTION): New macro.
11598         Include test-skeleton.c.
11599         * stdio-common/tst-sscanf.c (main): Converted to ...
11600         (do_test): ... this.
11601         (TEST_FUNCTION): New macro.
11602         Include test-skeleton.c.
11603         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11604         (do_test): ... this.
11605         (TEST_FUNCTION): New macro.
11606         Include test-skeleton.c.
11608         * elf/tst-audit9.c (main): Converted to ...
11609         (do_test): ... this.
11610         (TEST_FUNCTION): New macro.
11611         Include test-skeleton.c.
11613 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11615         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11617 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11619         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11620         New variable.
11622 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11624         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11626 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11628         * sysdeps/generic/dl-fileid.h: New file.
11629         * sysdeps/posix/dl-fileid.h: New file.
11630         * sysdeps/nacl/dl-fileid.h: New file.
11631         * include/link.h: Include <dl-fileid.h>.
11632         (struct link_map): Replace l_dev and l_ino with l_file_id.
11633         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11634         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11635         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11637 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11639         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11641 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11643         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11644         Add iff $CXX is set.
11645         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11646         Likewise.
11647         (tst-nodelete-zmodiff): Likewise.
11648         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11650 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11652         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11654 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11656         * sysdeps/aarch64/fpu/math_private.h
11657         (define math_opt_barrier): Add AArch64 version.
11658         (math_force_eval): Likewise.
11660 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11662         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11664 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11666         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11667         %ld with %jd and cast to intmax_t.
11668         (do_test_length_zero): Likewise.
11670 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11672         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11674 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11676         * sysdeps/tile/libm-test-ulps: Regenerated.
11678         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11679         Comment out the whole function, not just its body.
11681 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11683         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11684         locks.
11686         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11688 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11690         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11691         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11693 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11695         * sysdeps/nptl/futex-internal.h: New file.
11696         * sysdeps/nacl/futex-internal.h: New file.
11697         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11698         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11699         error checking.
11700         (setxid_unmark_thread): Likewise.
11701         (__nptl_setxid): Likewise.
11702         (__wait_lookup_done): Likewise.
11703         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11704         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11705         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11706         * nptl/pthread_once.c (clear_once_control): Likewise.
11707         (__pthread_once_slow): Likewise.
11708         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11709         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11710         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11711         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11712         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11713         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11714         Likewise.
11715         (__pthread_rwlock_rdlock): Likewise.
11716         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11717         Likewise.
11718         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11719         Likewise.
11720         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11721         Likewise.
11722         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11723         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11724         Likewise.
11725         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11726         __ASSUME_PRIVATE_FUTEX check.
11727         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11728         Check that shared futexes are supported.
11729         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11730         wrappers with error checking.
11731         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11732         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11733         * nptl/pthread_barrierattr_setpshared.c
11734         (pthread_barrierattr_setpshared): Check that shared futexes are
11735         supported.
11736         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11737         Likewise.
11738         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11739         Likewise.
11740         * nptl/sem_init.c (futex_private_if_supported): Remove.
11741         (__new_sem_init): Adapt and check that shared futexes are supported.
11742         * nptl/sem_open.c (sem_open): Likewise.
11743         * nptl/sem_post.c (futex_wake): Remove.
11744         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11745         (do_futex_wait): Use futex wrappers with error checking.
11746         * nptl/sem_wait.c: Include lowlevellock.h.
11747         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11748         Use futex_supports_pshared.
11749         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11750         Use futex wrappers with error checking.
11751         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11752         Likewise.
11753         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11754         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11755         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11756         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11757         (futex_wake): Likewise.
11758         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11759         (do_futex_wait): Use futex wrappers with error checking.
11760         (__new_sem_wait_slow): Update EINTR handling.
11761         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11763 2015-07-09  Martin Sebor  <msebor@redhat.com>
11765         [BZ #18435]
11766         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11767         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11768         * nptl/Makefile (test-xfail-tst-once5): Define.
11770 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11772         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11773         * elf/dl-minimal.c: For readability, reorder some definitions and
11774         introduce more page breaks.  Include <stdio.h>.
11775         (__libc_fatal): New function.
11777         * include/unistd.h: Add rtld_hidden_proto for _exit.
11778         * posix/_exit.c: Add rtld_hidden_def.
11779         * sysdeps/mach/hurd/_exit.c: Likewise.
11780         * sysdeps/nacl/_exit.c: Likewise.
11781         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11782         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11784 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11787         bndmov encoding with zero displacement.
11789 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11790             H.J. Lu  <hongjiu.lu@intel.com>
11792         [BZ #18134]
11793         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11794         * sysdeps/i386/configure: Regenerated.
11795         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11796         (_dl_runtime_profile): Save and restore Intel MPX return bound
11797         registers when calling _dl_call_pltexit.  Add
11798         PRESERVE_BND_REGS_PREFIX before return.
11799         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11800         (LRV_BND1_OFFSET): Likewise.
11801         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11802         lrv_bnd1.
11803         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11804         typo in bndmov encoding.
11805         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11806         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11807         branch instructions to preserve bounds.
11809 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11812         [GLIBC_2.22]: Add fmemopen.
11814 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11816         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11817         returns an error, also try to use host port from __mach_host_self for
11818         the __vm_wire call.
11819         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11821 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11823         [BZ #18400]
11824         [BZ #18648]
11825         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11826         Fix pr_uid and pr_gid members.
11827         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11828         definition to elf_greg_t.
11830 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11832         [BZ #18383]
11833         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11834         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11835         * sysdeps/arm/configure: Regenerated.
11836         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11837         (test-xfail-tst-tlsalign-static): Variable removed.
11839         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11840         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11841         rather than explicit 'ln -s'.
11843         * resolv/rpc/netdb.h: New file.
11844         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11846 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11848         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11849         length buffers.
11850         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11851         test-skeleton.c.
11853         [BZ #6544]
11854         [BZ #11216]
11855         [BZ #12836]
11856         [BZ #13151]
11857         [BZ #13152]
11858         [BZ #14292]
11859         * include/stdio.h (fmemopen): Remove hidden prototype.
11860         (__fmemopen): Add new hidden prototype.
11861         * libio/Makefile: Add oldfmemopen object.
11862         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11863         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11864         compliance.
11865         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11866         symbol compatibility.
11867         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11868         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11869         fmemopen.
11870         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11871         on append and read mode.
11872         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11873         fmemopen.
11874         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11875         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11876         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11877         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11878         Likewise.
11879         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11880         [GLIBC_2.22]: Likewise.
11881         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11882         Likewise.
11883         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11884         Likewise.
11885         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11886         [GLIBC_2.22]: Likewise.
11887         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11888         [GLIBC_2.22]: Likewise.
11889         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11890         [GLIBC_2.22]: Likewise.
11891         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11892         [GLIBC_2.22]: Likewise.
11893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11894         [GLIBC_2.22]: Likewise.
11895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11896         [GLIBC_2.22]: Likewise.
11897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11898         [GLIBC_2.22]: Likewise.
11899         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11900         Likewise.
11901         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11902         Likewise.
11903         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11904         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11905         [GLIBC_2.22]: Likewise.
11906         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11907         [GLIBC_2.22]: Likewise.
11908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11909         [GLIBC_2.22]: Likewise.
11910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11911         [GLIBC_2.22]: Likewise.
11912         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11913         Likewise.
11914         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11915         Likewise.
11916         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11917         Likewise.
11918         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11919         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11921 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11923         [BZ #18643]
11924         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11925         IPV6_PATHMTU, and IPV6_DONTFRAG.
11927 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11929         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11930         and _IO_UNBUFFERED.
11931         * libio/oldfileops.c: Likewise.
11932         * libio/wfileops.c: Likewise.
11934 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11936         * nscd/selinux.c: Delete selinux/flask.h include.
11938 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11940         [BZ #18641]
11941         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11942         (putpwent): Likewise.
11943         (getpwnam): Likewise.
11944         (getpwent_r): Likewise.
11945         (getpwuid_r): Likewise.
11946         (getpwnam_r): Likewise.
11947         (fgetpwent_r): Likewise.
11949 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11951         [BZ #18557]
11952         * inet/rcmd.c (__validuser2_sa): Check user first to
11953         short-circuit host check.
11955 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11956             Mikhail Ilin  <m.ilin@samsung.com>
11958         [BZ #17833]
11959         * elf/Makefile (tests): Add tst-nodelete.
11960         (modules-names): Add tst-nodelete-uniquemod.
11961         (tst-nodelete-uniquemod.so-no-z-defs): New.
11962         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11963         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11964         ($(objpfx)tst-nodelete): Likewise.
11965         ($(objpfx)tst-nodelete.out): Likewise.
11966         (LDFLAGS-tst-nodelete): Likewise.
11967         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11968         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11969         implement forced object deletion.
11970         (_dl_close): Pass false to _dl_close_worker.
11971         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11972         * elf/tst-nodelete.cc: New file.
11973         * elf/tst-nodeletelib.cc: Likewise.
11974         * elf/tst-znodeletelib.cc: Likewise.
11975         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11977 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11979         [BZ #18508]
11980         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11981         Depend on $(libdl).
11982         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11983         is not called infinitely times.
11984         (backtrace_helper): New function.
11985         (trace_arg): New struct.
11986         (st1): Enlarge stack size.
11987         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11988         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11989         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11990         Likewise.
11992 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11994         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11996 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11998         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11999         Include sys/types.h instead of bits/types.h.
12000         Remove inclusion of bits/wordsize.h.
12002 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12004         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
12005         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
12006         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
12007         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
12008         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
12009         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
12011 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12013         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
12014         link-defines.sym.
12015         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
12016         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
12017         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
12018         and LR_SIZE.
12019         * sysdeps/i386/link-defines.sym: New file.
12021 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12023         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
12024         (modules-names): Add tst-auditmod3a tst-auditmod3b.
12025         ($(objpfx)tst-audit3): New rule.
12026         ($(objpfx)tst-audit3.out): Likewise.
12027         * sysdeps/i386/tst-audit3.c: New file.
12028         * sysdeps/i386/tst-audit3.h: Likewise.
12029         * sysdeps/i386/tst-auditmod3a.c: Likewise.
12030         * sysdeps/i386/tst-auditmod3b.c: Likewise.
12032 2015-07-07  Torvald Riegel  <triegel@redhat.com>
12034         [BZ #18633]
12035         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
12036         pointer in C code.
12037         (__strcat_c): Likewise.
12038         (__strcat_g): Likewise.
12040 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
12042         [BZ #18592]
12043         * misc/sbrk.c: Set errno to ENOMEM on overflow.
12045 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12047         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
12048         New function.  (__ieee754_sqrtf): New function.
12049         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
12050         New function.
12051         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
12052         New function.
12054 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12056         * sysdeps/ieee754/support.c: Remove unused file.
12058 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12060         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
12061         registers instead of d ones so the layout is kernel abi compatible.
12062         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
12063         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
12064         Likewise.
12066 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12068         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12070 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12072         [BZ #18619]
12073         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
12074         and return argument in case of subnormal argument.
12076 2015-07-01  Martin Sebor  <msebor@redhat.com>
12078         [BZ #18435]
12079         * nptl/Makefile: Add tst-once5.cc.
12080         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12081         Remove macro redefinitions.
12082         * nptl/tst-once5.cc: New test.
12084 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12086         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12088         * sysdeps/arm/libm-test-ulps: Regenerated.
12090         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12091         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12093 2015-06-30  Torvald Riegel  <triegel@redhat.com>
12095         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
12096         lll_lock_wait_private and lll_futex_wake probes.
12098         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12099         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
12100         Likewise.
12101         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
12102         atomic_spin_nop.
12103         * sysdeps/x86_64/bits/atomic.h: Likewise.
12104         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
12105         to atomic_spin_nop and move ...
12106         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12107         ... here and ...
12108         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
12109         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
12110         atomic_spin_nop instead of BUSY_WAIT_NOP.
12111         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
12112         Likewise.
12113         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
12114         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12115         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
12116         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
12117         instead of atomic_delay.
12119 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
12121         [BZ #18613]
12122         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
12123         X_ADJ not X when adjusting exponent.
12124         (__ieee754_gamma_r): Do intermediate computations in
12125         round-to-nearest then adjust overflowing and underflowing results
12126         as needed.
12127         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
12128         of X_ADJ not X when adjusting exponent.
12129         (__ieee754_gammaf_r): Do intermediate computations in
12130         round-to-nearest then adjust overflowing and underflowing results
12131         as needed.
12132         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
12133         log of X_ADJ not X when adjusting exponent.
12134         (__ieee754_gammal_r): Do intermediate computations in
12135         round-to-nearest then adjust overflowing and underflowing results
12136         as needed.  Use 1.0L not 1.0f as numerator of division.
12137         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
12138         log of X_ADJ not X when adjusting exponent.
12139         (__ieee754_gammal_r): Do intermediate computations in
12140         round-to-nearest then adjust overflowing and underflowing results
12141         as needed.  Use 1.0L not 1.0f as numerator of division.
12142         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
12143         of X_ADJ not X when adjusting exponent.
12144         (__ieee754_gammal_r): Do intermediate computations in
12145         round-to-nearest then adjust overflowing and underflowing results
12146         as needed.  Use 1.0L not 1.0f as numerator of division.
12147         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
12148         to auto-libm-test-in.
12149         (tgamma_test): Use ALL_RM_TEST.
12150         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
12151         tests of tgamma with spurious-overflow.
12152         * math/auto-libm-test-out: Regenerated.
12153         * math/gen-libm-have-vector-test.sh: Do not check for START.
12154         * sysdeps/i386/fpu/libm-test-ulps: Update.
12155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12157         [BZ #18612]
12158         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
12159         arguments, just return 0.5 times the argument, with underflow
12160         forced as needed.
12161         * math/auto-libm-test-in: Add more tests of j1.
12162         * math/auto-libm-test-out: Regenerated.
12164         [BZ #16559]
12165         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
12166         (__ieee754_j1): Force underflow exception for small results.
12167         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12168         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
12169         (__ieee754_j1f): Force underflow exception for small results.
12170         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12171         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12173         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
12174         (__ieee754_j1l): Force underflow exception for small results.
12175         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12176         * math/auto-libm-test-in: Add more tests of j1 and jn.
12177         * math/auto-libm-test-out: Regenerated.
12179         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
12180         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
12181         (PF_MPLS): Likewise.
12182         (AF_IB): Likewise.
12183         (AF_MPLS): Likewise.
12184         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
12185         value and macro.
12186         (MS_RMT_MASK): Include MS_LAZYTIME.
12188 2015-06-26  Mel Gorman  <mgorman@suse.de>
12190         [BZ #18502]
12191         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
12192         already minimal.
12194 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
12196         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
12197         (DT_MIPS_NUM): Update.
12198         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
12199         DT_MIPS_RLD_MAP_REL.
12201 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
12203         [BZ #16559]
12204         [BZ #18602]
12205         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
12206         round-to-nearest internally then recompute results that
12207         underflowed to zero in the original rounding mode.
12208         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12209         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12210         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12211         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12212         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
12213         * sysdeps/i386/fpu/libm-test-ulps: Update.
12214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12216 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12218         * NEWS: Fixed description of link with vector math library.
12220 2015-06-25  Andreas Schwab  <schwab@suse.de>
12222         [BZ #18549]
12223         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
12224         * libio/test-fmemopen.c (do_test): Add test for it.
12226 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12228         [BZ #17841]
12229         * Makeconfig (no-pie-ldflag): New.
12230         (+link): Set to $(+link-pie) if default to PIE.
12231         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
12232         * config.make.in (build-pie-default): New.
12233         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
12234         is default.  AC_SUBST.
12235         * configure: Regenerated.
12236         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
12238 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12240         * nptl/descr.h (struct pthread): Change type of field setxid_futex
12241         to 'unsigned int'.
12243         * resolv/gai_misc.h (struct waitlist): Change type of field
12244         counterp to 'volatile unsigned int *'.
12245         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
12246         FUTEXADDR and OLDVAL.
12247         * resolv/getaddrinfo_a.c (getaddrinfo_a):
12248         Give local variable TOTAL type 'volatile unsigned int'.
12249         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12250         * resolv/gai_suspend.c (gai_suspend):
12251         Give local variable CNTR type 'unsigned int'.
12253         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
12254         counterp to 'volatile unsigned int *'.
12255         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
12256         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
12257         (aio_suspend): Give local variable CNTR type 'unsigned int'.
12258         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
12259         Give local variable TOTAL type 'volatile unsigned int'.
12260         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12262 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12264         [BZ #18383]
12265         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
12266         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
12267         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
12268         comment for i386/x86-64.
12269         (test-xfail-tst-tlsalign-extern-static): Removed.
12271 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12273         * math/test-double.h: New file.
12274         * math/test-float.h: Likewise.
12275         * math/test-ldouble.h: Likewise.
12276         * math/test-math-inline.h: Likewise.
12277         * math/test-math-no-inline.h: Likewise.
12278         * math/test-math-scalar.h: Likewise.
12279         * math/test-math-vector.h: Likewise.
12280         * math/test-vec-loop.h: Remove file.  Contents moved into
12281         test-math-vector.h.
12282         * math/libm-test.inc (MATHCONST): Do not document macro.
12283         * math/test-double.c: Include test-double.h, test-math-no-inline.h
12284         and test-math-scalar.h.
12285         (FUNC): Remove macro.
12286         (FUNC_TEST): Likewise.
12287         (FLOAT): Likewise.
12288         (MATHCONST): Likewise.
12289         (PRINTF_EXPR): Likewise.
12290         (PRINTF_XEXPR): Likewise.
12291         (PRINTF_NEXPR): Likewise.
12292         (TEST_DOUBLE): Likewise.
12293         (TEST_MATHVEC): Likewise.
12294         (__NO_MATH_INLINES): Likewise.
12295         * math/test-float.c: Include test-float.h, test-math-no-inline.h
12296         and test-math-scalar.h.
12297         (FUNC): Remove macro.
12298         (FUNC_TEST): Likewise.
12299         (FLOAT): Likewise.
12300         (MATHCONST): Likewise.
12301         (PRINTF_EXPR): Likewise.
12302         (PRINTF_XEXPR): Likewise.
12303         (PRINTF_NEXPR): Likewise.
12304         (TEST_FLOAT): Likewise.
12305         (TEST_MATHVEC): Likewise.
12306         (__NO_MATH_INLINES): Likewise.
12307         * math/test-idouble.c: Include test-double.h, test-math-inline.h
12308         and test-math-scalar.h.
12309         (FUNC): Remove macro.
12310         (FUNC_TEST): Likewise.
12311         (FLOAT): Likewise.
12312         (MATHCONST): Likewise.
12313         (PRINTF_EXPR): Likewise.
12314         (PRINTF_XEXPR): Likewise.
12315         (PRINTF_NEXPR): Likewise.
12316         (TEST_DOUBLE): Likewise.
12317         (TEST_MATHVEC): Likewise.
12318         (TEST_INLINE): Likewise.
12319         (__NO_MATH_INLINES): Likewise.
12320         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12321         test-math-scalar.h.
12322         (FUNC): Remove macro.
12323         (FUNC_TEST): Likewise.
12324         (FLOAT): Likewise.
12325         (MATHCONST): Likewise.
12326         (PRINTF_EXPR): Likewise.
12327         (PRINTF_XEXPR): Likewise.
12328         (PRINTF_NEXPR): Likewise.
12329         (TEST_FLOAT): Likewise.
12330         (TEST_MATHVEC): Likewise.
12331         (TEST_INLINE): Likewise.
12332         (__NO_MATH_INLINES): Likewise.
12333         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
12334         and test-math-scalar.h.
12335         (FUNC): Remove macro.
12336         (FUNC_TEST): Likewise.
12337         (FLOAT): Likewise.
12338         (MATHCONST): Likewise.
12339         (PRINTF_EXPR): Likewise.
12340         (PRINTF_XEXPR): Likewise.
12341         (PRINTF_NEXPR): Likewise.
12342         (TEST_LDOUBLE): Likewise.
12343         (TEST_MATHVEC): Likewise.
12344         (TEST_INLINE): Likewise.
12345         (__NO_MATH_INLINES): Likewise.
12346         * math/test-ldouble.c: Include test-ldouble.h,
12347         test-math-no-inline.h and test-math-scalar.h.
12348         (FUNC): Remove macro.
12349         (FUNC_TEST): Likewise.
12350         (FLOAT): Likewise.
12351         (MATHCONST): Likewise.
12352         (PRINTF_EXPR): Likewise.
12353         (PRINTF_XEXPR): Likewise.
12354         (PRINTF_NEXPR): Likewise.
12355         (TEST_LDOUBLE): Likewise.
12356         (TEST_MATHVEC): Likewise.
12357         (__NO_MATH_INLINES): Likewise.
12358         * math/test-double-vlen2.h: Include test-double.h,
12359         test-math-no-inline.h and test-math-vector.h.
12360         (FLOAT): Remove macro.
12361         (FUNC): Likewise.
12362         (MATHCONST): Likewise.
12363         (PRINTF_EXPR): Likewise.
12364         (PRINTF_XEXPR): Likewise.
12365         (PRINTF_NEXPR): Likewise.
12366         (TEST_DOUBLE): Likewise.
12367         (TEST_MATHVEC): Likewise.
12368         (__NO_MATH_INLINES): Likewise.
12369         (CNCT): Likewise.
12370         (CONCAT): Likewise.
12371         (WRAPPER_NAME): Likewise.
12372         (WRAPPER_DECL): Likewise.
12373         (WRAPPER_DECL_ff): Likewise.
12374         (WRAPPER_DECL_fFF): Likewise.
12375         (VECTOR_WRAPPER): Likewise.
12376         (VECTOR_WRAPPER_ff): Likewise.
12377         (VECTOR_WRAPPER_fFF): Likewise.
12378         (VEC_LEN): New macro.
12379         * math/test-double-vlen4.h: Include test-double.h,
12380         test-math-no-inline.h and test-math-vector.h.
12381         (FLOAT): Remove macro.
12382         (FUNC): Likewise.
12383         (MATHCONST): Likewise.
12384         (PRINTF_EXPR): Likewise.
12385         (PRINTF_XEXPR): Likewise.
12386         (PRINTF_NEXPR): Likewise.
12387         (TEST_DOUBLE): Likewise.
12388         (TEST_MATHVEC): Likewise.
12389         (__NO_MATH_INLINES): Likewise.
12390         (CNCT): Likewise.
12391         (CONCAT): Likewise.
12392         (WRAPPER_NAME): Likewise.
12393         (WRAPPER_DECL): Likewise.
12394         (WRAPPER_DECL_ff): Likewise.
12395         (WRAPPER_DECL_fFF): Likewise.
12396         (VECTOR_WRAPPER): Likewise.
12397         (VECTOR_WRAPPER_ff): Likewise.
12398         (VECTOR_WRAPPER_fFF): Likewise.
12399         (VEC_LEN): New macro.
12400         * math/test-double-vlen8.h: Include test-double.h,
12401         test-math-no-inline.h and test-math-vector.h.
12402         (FLOAT): Remove macro.
12403         (FUNC): Likewise.
12404         (MATHCONST): Likewise.
12405         (PRINTF_EXPR): Likewise.
12406         (PRINTF_XEXPR): Likewise.
12407         (PRINTF_NEXPR): Likewise.
12408         (TEST_DOUBLE): Likewise.
12409         (TEST_MATHVEC): Likewise.
12410         (__NO_MATH_INLINES): Likewise.
12411         (CNCT): Likewise.
12412         (CONCAT): Likewise.
12413         (WRAPPER_NAME): Likewise.
12414         (WRAPPER_DECL): Likewise.
12415         (WRAPPER_DECL_ff): Likewise.
12416         (WRAPPER_DECL_fFF): Likewise.
12417         (VECTOR_WRAPPER): Likewise.
12418         (VECTOR_WRAPPER_ff): Likewise.
12419         (VECTOR_WRAPPER_fFF): Likewise.
12420         (VEC_LEN): New macro.
12421         * math/test-float-vlen4.h: Include test-float.h,
12422         test-math-no-inline.h and test-math-vector.h.
12423         (FLOAT): Remove macro.
12424         (FUNC): Likewise.
12425         (MATHCONST): Likewise.
12426         (PRINTF_EXPR): Likewise.
12427         (PRINTF_XEXPR): Likewise.
12428         (PRINTF_NEXPR): Likewise.
12429         (TEST_FLOAT): Likewise.
12430         (TEST_MATHVEC): Likewise.
12431         (__NO_MATH_INLINES): Likewise.
12432         (CNCT): Likewise.
12433         (CONCAT): Likewise.
12434         (WRAPPER_NAME): Likewise.
12435         (WRAPPER_DECL): Likewise.
12436         (WRAPPER_DECL_ff): Likewise.
12437         (WRAPPER_DECL_fFF): Likewise.
12438         (VECTOR_WRAPPER): Likewise.
12439         (VECTOR_WRAPPER_ff): Likewise.
12440         (VECTOR_WRAPPER_fFF): Likewise.
12441         (VEC_LEN): New macro.
12442         * math/test-float-vlen8.h: Include test-float.h,
12443         test-math-no-inline.h and test-math-vector.h.
12444         (FLOAT): Remove macro.
12445         (FUNC): Likewise.
12446         (MATHCONST): Likewise.
12447         (PRINTF_EXPR): Likewise.
12448         (PRINTF_XEXPR): Likewise.
12449         (PRINTF_NEXPR): Likewise.
12450         (TEST_FLOAT): Likewise.
12451         (TEST_MATHVEC): Likewise.
12452         (__NO_MATH_INLINES): Likewise.
12453         (CNCT): Likewise.
12454         (CONCAT): Likewise.
12455         (WRAPPER_NAME): Likewise.
12456         (WRAPPER_DECL): Likewise.
12457         (WRAPPER_DECL_ff): Likewise.
12458         (WRAPPER_DECL_fFF): Likewise.
12459         (VECTOR_WRAPPER): Likewise.
12460         (VECTOR_WRAPPER_ff): Likewise.
12461         (VECTOR_WRAPPER_fFF): Likewise.
12462         (VEC_LEN): New macro.
12463         * math/test-float-vlen16.h: Include test-float.h,
12464         test-math-no-inline.h and test-math-vector.h.
12465         (FLOAT): Remove macro.
12466         (FUNC): Likewise.
12467         (MATHCONST): Likewise.
12468         (PRINTF_EXPR): Likewise.
12469         (PRINTF_XEXPR): Likewise.
12470         (PRINTF_NEXPR): Likewise.
12471         (TEST_FLOAT): Likewise.
12472         (TEST_MATHVEC): Likewise.
12473         (__NO_MATH_INLINES): Likewise.
12474         (CNCT): Likewise.
12475         (CONCAT): Likewise.
12476         (WRAPPER_NAME): Likewise.
12477         (WRAPPER_DECL): Likewise.
12478         (WRAPPER_DECL_ff): Likewise.
12479         (WRAPPER_DECL_fFF): Likewise.
12480         (VECTOR_WRAPPER): Likewise.
12481         (VECTOR_WRAPPER_ff): Likewise.
12482         (VECTOR_WRAPPER_fFF): Likewise.
12483         (VEC_LEN): New macro.
12484         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12485         test-vec-loop.h.
12486         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12487         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12488         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12489         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12490         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12491         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12492         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12494 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12496         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12497         (__getlogin_r): ... this.
12499 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12501         [BZ #18594]
12502         * math/s_ccosh.c (__ccosh): Compare with least normal value
12503         instead of comparing class with FP_SUBNORMAL.
12504         * math/s_ccoshf.c (__ccoshf): Likewise.
12505         * math/s_ccoshl.c (__ccoshl): Likewise.
12506         * math/s_cexp.c (__cexp): Likewise.
12507         * math/s_cexpf.c (__cexpf): Likewise.
12508         * math/s_cexpl.c (__cexpl): Likewise.
12509         * math/s_csin.c (__csin): Likewise.
12510         * math/s_csinf.c (__csinf): Likewise.
12511         * math/s_csinh.c (__csinh): Likewise.
12512         * math/s_csinhf.c (__csinhf): Likewise.
12513         * math/s_csinhl.c (__csinhl): Likewise.
12514         * math/s_csinl.c (__csinl): Likewise.
12515         * math/s_ctan.c (__ctan): Likewise.
12516         * math/s_ctanf.c (__ctanf): Likewise.
12517         * math/s_ctanh.c (__ctanh): Likewise.
12518         * math/s_ctanhf.c (__ctanhf): Likewise.
12519         * math/s_ctanhl.c (__ctanhl): Likewise.
12520         * math/s_ctanl.c (__ctanl): Likewise.
12521         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12522         csin, csinh, ctan and ctanh.
12523         * math/auto-libm-test-out: Regenerated.
12524         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12525         * sysdeps/i386/fpu/libm-test-ulps: Update.
12526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12528 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12530         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12531         return value is wrong, print the expected value too.
12533 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12535         [BZ #18585]
12536         * elf/readlib.c (is_gdb_python_file): New.
12537         (process_file): Don't issue errors on filenames with -gdb.py
12538         suffix.
12540 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12542         * math/auto-libm-test-in: Add more tests of csin and csinh.
12543         * math/auto-libm-test-out: Regenerated.
12544         * math/libm-test.inc (csin_test_data): Remove tests moved to
12545         auto-libm-test-in.
12546         (csinh_test_data): Likewise.
12548         [BZ #18593]
12549         * math/s_csin.c (__csin): Negate before rather than after possibly
12550         overflowing multiplication.
12551         * math/s_csinf.c (__csinf): Likewise.
12552         * math/s_csinh.c (__csinh): Likewise.
12553         * math/s_csinhf.c (__csinhf): Likewise.
12554         * math/s_csinhl.c (__csinhl): Likewise.
12555         * math/s_csinl.c (__csinl): Likewise.
12556         * math/auto-libm-test-in: Add some tests of csin and csinh.
12557         * math/auto-libm-test-out: Regenerated.
12558         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12559         (csinh_test_data): Likewise.
12560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12562         [BZ #18586]
12563         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12564         underflow exception for small results.
12566 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12568         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12569         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12570         variable and included header.
12571         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12572         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12573         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12574         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12575         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12576         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12577         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12578         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12579         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12580         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12581         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12582         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12583         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12584         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12585         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12586         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12588 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12590         [BZ #16526]
12591         [BZ #16538]
12592         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12593         (__sin): Force underflow exception for arguments with small
12594         absolute value.
12595         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12596         (__kernel_sinf): Force underflow exception for arguments with
12597         small absolute value.
12598         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12599         (__kernel_sincosl): Force underflow exception for arguments with
12600         small absolute value.
12601         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12602         (__kernel_sinl): Force underflow exception for arguments with
12603         small absolute value.
12604         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12605         (__kernel_sincosl): Force underflow exception for arguments with
12606         small absolute value.
12607         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12608         (__kernel_sinl): Force underflow exception for arguments with
12609         small absolute value.
12610         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12611         (__kernel_sinl): Force underflow exception for arguments with
12612         small absolute value.
12613         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12614         (__kernel_sinf): Force underflow exception for arguments with
12615         small absolute value.
12616         * math/auto-libm-test-in: Add more tests of sin and sincos.
12617         * math/auto-libm-test-out: Regenerated.
12619         [BZ #18245]
12620         [BZ #18583]
12621         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12622         (__kernel_standard_l): Use feholdexcept and fesetenv around
12623         conversion to double instead of special-casing overflow and
12624         underflow.
12625         * math/libm-test.inc (fmod_test_data): Add more tests.
12626         (remainder_test_data): Likewise.
12627         (sqrt_test_data): Likewise.
12629 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12631         [BZ #17403]
12632         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12633         atomic_read_barrier, atomic_write_barrier): Define.
12634         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12635         atomic_read_barrier, atomic_write_barrier): Define.
12637 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12639         * math/Makefile [$(PERL) != no]
12640         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12641         dependency on libm-test.stmp below the inclusion of Rules.
12643 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12645         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12646         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12647         and included header.
12648         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12649         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12650         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12651         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12652         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12656         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12657         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12658         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12659         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12660         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12661         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12662         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12663         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12664         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12665         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12666         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12668 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12670         [BZ #18371]
12671         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12672         intermediate but not final result might underflow.
12673         * math/s_csqrtf.c (__csqrtf): Likewise.
12674         * math/s_csqrtl.c (__csqrtl): Likewise.
12675         * math/auto-libm-test-in: Add more tests of csqrt.
12676         * math/auto-libm-test-out: Regenerated.
12677         * sysdeps/i386/fpu/libm-test-ulps: Update.
12679         [BZ #18219]
12680         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12681         threshold on absolute value of exponent for which scaling is used.
12682         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12683         * math/auto-libm-test-in: Add more tests of exp2.
12684         * math/auto-libm-test-out: Regenerated.
12686 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12688         [BZ #17977]
12689         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12690         when initializing interface list, based on the bug analysis
12691         and the patch proposed by Eric Newton.
12692         * resolv/tst-res_hconf_reorder.c: New test.
12693         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12694         tst-res_hconf_reorder.
12695         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12696         and $(shared-thread-library).
12697         (tst-res_hconf_reorder-ENV): New variable.
12699         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12700         in comment.
12702 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12704         [BZ #16353]
12705         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12706         (__expm1): Force underflow exception for arguments with small
12707         absolute value.
12708         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12709         (__expm1f): Force underflow exception for arguments with small
12710         absolute value.
12711         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12712         (__expm1): Force underflow exception for arguments with small
12713         absolute value.
12714         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12715         (__expm1f): Force underflow exception for arguments with small
12716         absolute value.
12717         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12718         Check for small arguments before calling __expm1.
12719         * math/auto-libm-test-in: Do not mark underflow exceptions as
12720         possibly missing for bug 16353.
12721         * math/auto-libm-test-out: Regenerated.
12723 2015-06-22  Andreas Schwab  <schwab@suse.de>
12725         [BZ #18513]
12726         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12727         PTR queries.
12729 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12731         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12733         * string/strcoll_l.c: Remove unused struct element idxnow.
12735 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12737         [BZ #18569]
12738         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12739         underflow and return argument in case of subnormal argument.
12740         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12741         Likewise.
12742         * math/auto-libm-test-in: Add more tests of expm1.
12743         * math/auto-libm-test-out: Regenerated.
12745         [BZ #16361]
12746         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12747         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12748         tiny results.
12749         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12750         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12751         tiny results.
12752         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12753         mark underflow exceptions as possibly missing for bug 16361.
12754         * math/auto-libm-test-out: Regenerated.
12756 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12758         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12759         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12760         Remove variable.
12761         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12762         (test-xfail-XOPEN2K8/utmpx.h/conform).
12764         * conform/conformtest.pl ($xerrors): New variable.
12765         (note_error): New function.
12766         (compiletest): New argument $xfail.  Use not_error.
12767         (runtest): Likewise.
12768         (top level): Handle xfail- lines.  Update calls to compiletest and
12769         runtest.  Handle xfail- and optional- in headers listed with
12770         allow-header.
12771         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12772         (O_EXEC): Likewise.
12773         (O_SEARCH): Likewise.
12774         * conform/data/stropts.h-data (ioctl): Likewise.
12775         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12776         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12777         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12778         (msghdr.msg_controllen): Likewise.
12779         (cmsghdr.cmsg_len): Likewise.
12780         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12781         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12782         variable.
12783         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12784         (test-xfail-XPG4/stropts.h/conform): Likewise.
12785         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12786         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12787         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12788         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12789         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12790         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12791         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12792         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12793         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12794         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12795         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12796         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12797         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12798         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12799         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12800         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12801         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12802         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12803         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12805 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12807         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12808         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12809         definitions for proper unfolding of __MATHDECL_VEC.
12811 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12813         * benchtests/bench-strcoll.c:
12814         Include string.h.
12815         (main): Remove unused variable res.
12817 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12819         * timezone/Makefile (%/UTC %/Universal):
12820         Generate test-result files for UTC and Universal.
12822 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12824         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12826 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12828         [BZ #16350]
12829         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12830         for arguments with small absolute value.
12831         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12832         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12833         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12834         (__asinh): Force underflow exception for arguments with small
12835         absolute value.
12836         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12837         (__asinhf): Force underflow exception for arguments with small
12838         absolute value.
12839         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12840         (__asinhl): Force underflow exception for arguments with small
12841         absolute value.
12842         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12843         (__asinhl): Force underflow exception for arguments with small
12844         absolute value.
12845         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12846         (__asinhl): Force underflow exception for arguments with small
12847         absolute value.
12848         * math/auto-libm-test-in: Do not mark underflow exceptions as
12849         possibly missing for bug 16350.
12850         * math/auto-libm-test-out: Regenerated.
12852         * include/bits/ipc.h: Remove file.
12853         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12854         variable.
12855         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12856         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12857         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12858         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12859         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12860         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12861         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12862         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12863         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12865         * math/auto-libm-test-in: Remove spurious underflow allowance for
12866         tests of cexp.
12867         * math/auto-libm-test-out: Regenerated.
12869         [BZ #18558]
12870         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12871         unconditional definition.
12872         (MCAST_BLOCK_SOURCE): Likewise.
12873         (MCAST_UNBLOCK_SOURCE): Likewise.
12874         (MCAST_LEAVE_GROUP): Likewise.
12875         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12876         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12877         (MCAST_MSFILTER): Likewise.
12878         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12879         Remove variable.
12880         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12881         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12882         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12883         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12884         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12886 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12888         * NEWS: Mention addition of x86_64 vector sincosf.
12889         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12890         * math/test-float-vlen4.h: Likewise.
12891         * math/test-float-vlen8.h: Likewise.
12892         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12893         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12894         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12895         * sysdeps/x86_64/fpu/Versions: New versions added.
12896         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12897         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12898         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12900         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12901         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12904         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12905         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12906         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12907         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12908         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12909         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12910         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12911         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12912         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12913         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12914         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12915         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12916         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12918         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12919         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12921         * NEWS: Mention addition of x86_64 vector sincos.
12922         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12923         * math/math.h (__MATHDECL_VEC): New macro.
12924         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12925         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12926         declaration under condition.
12927         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12928         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12929         TEST_VEC_LOOP change.
12930         * math/test-double-vlen4.h: Likewise.
12931         * math/test-double-vlen8.h: Likewise.
12932         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12933         * math/test-float-vlen4.h: Likewise.
12934         * math/test-float-vlen8.h: Likewise.
12935         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12936         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12937         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12938         * sysdeps/x86_64/fpu/Versions: New versions added.
12939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12940         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12941         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12942         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12943         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12944         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12945         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12946         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12947         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12948         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12949         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12950         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12951         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12952         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12953         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12954         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12955         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12956         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12957         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12958         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12959         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12960         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12961         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12962         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12964         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12965         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12966         redirections for powf.
12967         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12968         * sysdeps/x86_64/fpu/Versions: New versions added.
12969         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12970         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12971         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12972         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12973         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12974         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12975         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12976         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12977         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12978         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12979         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12980         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12981         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12982         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12983         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12984         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12985         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12986         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12987         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12988         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12989         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12990         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12991         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12992         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12993         * math/test-float-vlen16.h: Fixed 2 argument macro.
12994         * math/test-float-vlen4.h: Likewise.
12995         * math/test-float-vlen8.h: Likewise.
12996         * NEWS: Mention addition of x86_64 vector powf.
12998 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
13000         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13001         and redefine.
13002         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13003         and redefine.
13004         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
13005         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13006         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13008         [BZ #18553]
13009         * resource/getpriority.c (getpriority): Rename to __getpriority
13010         and define as weak alias of __getpriority.
13011         * resource/setpriority.c (setpriority): Rename to __setpriority
13012         and define as weak alias of __setpriority.
13013         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
13014         __getpriority and define as weak alias of __getpriority.
13015         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
13016         __setpriority and define as weak alias of __setpriority.
13017         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
13018         strong name.
13019         (setpriority): Use __setpriority as strong name.
13020         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
13021         __getpriority and define as weak alias of __getpriority.
13022         * include/sys/resource.h (__getpriority): Declare.  Use
13023         libc_hidden_proto.
13024         (__setpriority): Likewise.
13025         (getpriority): Don't use libc_hidden_proto.
13026         (setpriority): Likewise.
13027         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
13028         getpriority.  Call __setpriority instead of setpriority.
13029         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
13030         Remove variable.
13032         [BZ #18547]
13033         * misc/getttyent.c (getttynam): Rename to __getttynam and define
13034         as weak alias of __getttynam.  Use prototype function definition.
13035         Call __setttyent, __getttyent and __endttyent instead of
13036         setttyent, getttyent and endttyent.
13037         (getttyent): Rename to __getttyent and define as weak alias of
13038         __getttyent.  Call __setttyent instead of setttyent.  Call
13039         __fgets_unlocked instead of fgets_unlocked.
13040         (setttyent): Rename to __setttyent and define as weak alias of
13041         __setttyent.
13042         (endttyent): Rename to __endttyent and define as weak alias of
13043         __endttyent.
13044         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
13045         (__setttyent): Likewise.
13046         (__endttyent): Likewise.
13047         (getttyent): Don't use libc_hidden_proto.
13048         (setttyent): Likewise.
13049         (endttyent): Likewise.
13050         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
13051         __endttyent instead of setttyent, getttyent and endttyent.
13052         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
13053         Remove variable.
13055         [BZ #18546]
13056         * socket/recv.c (__recv): Use libc_hidden_def.
13057         * socket/socket.c (__socket): Likewise.
13058         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13059         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13060         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
13061         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
13062         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
13063         libc_hidden_def.
13064         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
13065         libc_hidden_weak.
13066         * include/sys/socket.h (__socket): Do not use attribute_hidden.
13067         Use libc_hidden_proto.
13068         (__recv): Likewise.
13069         * socket/Versions (libc): Export __recv and __socket at version
13070         GLIBC_PRIVATE.
13071         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
13072         instead of recv.
13073         (init_mq_netlink): Call __socket instead of socket.
13074         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
13075         Remove variable.
13077         [BZ #18545]
13078         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
13079         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
13080         hidden_weak.
13081         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
13082         define as alias of __mq_timedsend.  Use hidden_weak.
13083         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
13084         __mq_timedsend as strong name.
13085         (mq_timedreceive): Use __mq_timedreceive as strong name.
13086         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
13087         (__mq_timedreceive): Likewise.
13088         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
13089         __mq_timedreceive instead of mq_timedreceive.
13090         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
13091         instead of mq_timedsend.
13092         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
13093         Remove variable.
13095         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
13096         hidden_def and hidden_weak instead of libc_hidden_def and
13097         libc_hidden_weak.
13098         (top level): Refer to hidden_def in comment.
13099         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
13100         macro.  Use it instead of libc_hidden_def.
13101         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
13102         specify __GI_* name explicitly.
13103         (mq_timedreceive): Likewise.
13104         (mq_setattr): Likewise.
13106         [BZ #18544]
13107         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
13108         __pthread_barrier_init and define as weak alias of
13109         __pthread_barrier_init.
13110         * sysdeps/sparc/nptl/pthread_barrier_init.c
13111         (pthread_barrier_init): Likewise.
13112         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
13113         __pthread_barrier_wait and define as weak alias of
13114         __pthread_barrier_wait.
13115         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13116         (pthread_barrier_wait): Likewise.
13117         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13118         (pthread_barrier_wait): Likewise.
13119         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
13120         (pthread_barrier_wait): Likewise.
13121         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
13122         (pthread_barrier_wait): Likewise.
13123         * nptl/Versions (libpthread): Export __pthread_barrier_init and
13124         __pthread_barrier_wait at version GLIBC_PRIVATE.
13125         * include/pthread.h (__pthread_barrier_init): Declare.
13126         (__pthread_barrier_wait): Likewise.
13127         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
13128         Call __pthread_barrier_wait instead of pthread_barrier_wait.
13129         (helper_thread): Likewise.
13130         (init_mq_netlink): Call __pthread_barrier_init instead of
13131         pthread_barrier_init.
13133         [BZ #18542]
13134         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
13135         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
13136         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
13137         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
13138         vswscanf.
13139         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
13140         Remove variable.
13142         [BZ #18540]
13143         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
13144         strong alias of _IO_fflush.  Use libc_hidden_def.
13145         * libio/iofflush_u.c (fflush_unlocked): Rename to
13146         __fflush_unlocked and define as weak alias of __fflush_unlocked.
13147         Use libc_hidden_weak.
13148         * include/stdio.h (__fflush_unlocked): Declare.  Use
13149         libc_hidden_proto.
13150         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
13151         fflush_unlocked.
13152         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
13153         Remove variable.
13155         [BZ #18539]
13156         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
13157         define as weak alias of __addseverity.
13158         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
13159         Remove variable.
13160         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13161         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13162         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13164         [BZ #18536]
13165         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
13166         (__tfind): Likewise.
13167         (__tdelete): Likewise.
13168         (__twalk): Likewise.
13169         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
13170         __twalk to GLIBC_PRIVATE.
13171         * include/search.h (__tsearch): Use libc_hidden_proto.
13172         (__tfind): Likewise.
13173         (__tdelete): Likewise.
13174         (__twalk): Likewise.
13175         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
13176         Call __tdelete instead of tdelete.
13177         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
13178         tfind.  Call __tsearch instead of tsearch.
13179         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
13180         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
13181         Remove variable.
13182         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13184         [BZ #18534]
13185         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
13186         (dprintf): Define as a weak alias of __dprintf, not a strong
13187         alias.
13188         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
13189         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
13190         dprintf.
13191         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
13192         Remove variable.
13193         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13194         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13196         [BZ #18533]
13197         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
13198         not a strong alias.
13199         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
13200         Remove variable.
13202         [BZ #18532]
13203         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
13204         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
13205         (in6addr_loopback): Rename to __in6addr_loopback and define as
13206         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
13207         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
13208         libc_hidden_proto.
13209         (__in6addr_any): Likewise.
13210         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
13211         in6addr_any.
13212         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
13213         variable.
13214         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13216 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13218         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
13219         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
13220         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13221         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13222         redirections for pow.
13223         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13224         * sysdeps/x86_64/fpu/Versions: New versions added.
13225         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13226         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13227         build of SSE, AVX2 and AVX512 IFUNC versions.
13228         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
13229         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
13230         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
13231         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
13232         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
13233         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
13234         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
13235         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
13236         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
13237         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
13238         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
13239         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
13240         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
13241         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
13242         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13243         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13244         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13245         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13246         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13247         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13248         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13249         * NEWS: Mention addition of x86_64 vector pow.
13251         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13252         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13253         redirections for expf.
13254         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13255         * sysdeps/x86_64/fpu/Versions: New versions added.
13256         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13257         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13258         build of SSE, AVX2 and AVX512 IFUNC versions.
13259         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
13260         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
13261         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
13262         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
13263         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
13264         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
13265         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
13266         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
13267         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
13268         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
13269         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
13270         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
13271         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
13272         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13273         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13274         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13275         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13277         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13278         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13279         * NEWS: Mention addition of x86_64 vector expf.
13281         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
13282         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
13283         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13284         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13285         redirections for exp.
13286         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13287         * sysdeps/x86_64/fpu/Versions: New versions added.
13288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13289         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13290         build of SSE, AVX2 and AVX512 IFUNC versions.
13291         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
13292         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
13293         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
13294         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
13295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
13296         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
13297         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
13298         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
13299         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
13300         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
13301         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
13302         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
13303         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
13304         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13305         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13306         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13307         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13308         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13309         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13310         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13311         * NEWS: Mention addition of x86_64 vector exp.
13313         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13314         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13315         redirections for logf.
13316         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13317         * sysdeps/x86_64/fpu/Versions: New versions added.
13318         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13319         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13320         build of SSE, AVX2 and AVX512 IFUNC versions.
13321         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13322         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13323         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13324         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13325         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13326         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13327         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13328         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13329         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13330         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13331         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13332         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13333         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13334         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13335         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13336         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13337         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13338         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13339         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13340         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13341         * NEWS: Mention addition of x86_64 vector logf.
13343         * bits/libm-simd-decl-stubs.h: Added stubs for log.
13344         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13345         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13346         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13347         redirections for log.
13348         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13349         * sysdeps/x86_64/fpu/Versions: New versions added.
13350         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13351         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13352         build of SSE, AVX2 and AVX512 IFUNC versions.
13353         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
13354         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13355         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13356         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13357         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13358         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13359         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13360         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13361         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13362         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13363         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
13364         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
13365         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
13366         test.
13367         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13368         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13369         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13370         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13371         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13372         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13373         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13374         * NEWS: Mention addition of x86_64 vector log.
13376 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13378         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
13379         cfi_adjust_cfa_offset argument.
13380         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
13381         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
13383         [BZ #18034]
13384         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
13385         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
13386         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
13387         ordering using ldar.
13388         (_dl_tlsdesc_dynamic): Likewise.
13389         (_dl_tlsdesc_return_lazy): Likewise.
13390         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
13391         relaxed atomics instead of volatile and synchronize with release store.
13392         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
13393         volatile.
13394         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13396 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
13398         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13399         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
13400         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13401         * sysdeps/x86_64/fpu/Versions: New versions added.
13402         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13403         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13404         build of SSE, AVX2 and AVX512 IFUNC versions.
13405         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13406         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13407         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13408         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13409         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13411         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13412         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13413         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13414         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13415         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13416         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13417         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13418         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13419         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13420         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13421         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13422         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13423         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13424         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13425         * NEWS: Mention addition of x86_64 vector sinf.
13427 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
13429         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13430         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13431         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13432         Remove variable.
13433         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13434         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13436 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13438         [BZ #18530]
13439         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13440         strong alias of _IO_fputs.  Use libc_hidden_def.
13441         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13442         and define as weak alias of __fputs_unlocked.  Use
13443         libc_hidden_weak.
13444         * include/stdio.h (__fputs_unlocked): Declare.  Use
13445         libc_hidden_proto.
13446         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13447         fputs_unlocked.
13449         [BZ #18529]
13450         * resolv/netdb.h [__USE_POSIX]: Change condition to
13451         [__USE_XOPEN2K].
13452         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13453         not expect.
13454         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13455         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13456         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13457         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13458         [XPG4 || UNIX98] (AI_ALL): Likewise.
13459         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13460         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13461         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13462         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13463         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13464         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13465         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13466         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13467         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13468         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13469         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13470         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13471         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13472         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13473         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13474         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13475         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13476         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13477         [XPG4 || UNIX98] (gai_strerror): Likewise.
13478         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13479         [XPG4 || UNIX98] (getnameinfo): Likewise.
13481         [BZ #18528]
13482         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13483         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13484         __USE_XOPEN2K8].
13485         (getgrent): Likewise.
13486         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13487         expect.
13488         [XPG3 || POSIX2008] (endgrent): Likewise.
13489         [XPG3] (setgrent): Likewise.
13490         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13491         variable.
13492         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13494         [BZ #18527]
13495         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13496         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13497         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13498         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13499         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13500         * include/unistd.h (__getlogin_r): Declare.  Use
13501         libc_hidden_proto.
13502         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13503         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13504         variable.
13505         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13506         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13507         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13509 2015-06-12  Martin Sebor  <msebor@redhat.com>
13511         [BZ #18512]
13512         * Makerules (check-install-supported): New target.
13513         (install): Add check-install-supported as a dependency.
13514         * manual/install.texi (Installing the C Library): Document
13515         that overriding prefix and exec_prefix is not supported.
13516         Mention DESTDIR.
13517         * INSTALL: Regenerate from the above.
13519 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13521         [BZ #18519]
13522         * posix/Versions (libc): Export __libc_pread at version
13523         GLIBC_PRIVATE.
13524         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13525         instead of pread.
13526         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13527         variable.
13529         [BZ #18522]
13530         * misc/efgcvt_r.c
13531         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13532         (cvt_symbol): Use weak_alias instead of strong_alias.
13533         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13534         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13535         Remove variable.
13536         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13537         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13539         [BZ #18520]
13540         * inet/herrno.c (h_errno): Rename to __h_errno.
13541         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13542         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13543         to __h_errno instead of h_errno.
13544         * nptl/herrno.c (h_errno): Rename to __h_errno.
13545         (__h_errno_location): Refer to __h_errno not h_errno.
13546         * resolv/Versions (h_errno): Rename to __h_errno.
13547         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13548         Remove variable.
13549         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13551 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13553         * configure.ac: More strict check for AVX512 assembler support.
13554         * configure: Regenerated.
13556         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13557         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13559         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13560         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13561         * sysdeps/x86_64/fpu/Versions: New versions added.
13562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13563         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13564         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13565         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13566         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13567         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13568         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13569         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13570         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13571         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13572         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13573         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13574         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13575         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13576         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13577         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13578         test.
13579         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13580         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13581         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13582         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13583         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13584         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13585         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13586         * NEWS: Mention addition of x86_64 vector sin.
13588 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13590         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13591         comment.
13593 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13595         [BZ #18479]
13596         * nptl/pt-interp.c: New file.
13597         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13598         Add pt-interp.
13599         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13600         $(common-objpfx)runtime-linker.h.
13602 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13604         * Makeconfig (+interp): Remove unused variable.
13605         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13606         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13607         $(elf-objpfx)runtime-linker.h.
13608         ($(elf-objpfx)runtime-linker.h): Rename to
13609         $(common-objpfx)runtime-linker.h and move ...
13610         * Makerules [$(build-shared) = yes]: ... here.
13611         * elf/interp.c: Include <runtime-linker.h> instead of
13612         <elf/runtime-linker.h>.
13614 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13616         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13617         (__gettimeofday_syscall): Remove vsyscall fallback.
13618         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13619         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13620         Add syscall fallback function.
13621         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13622         if vDSO is not present.
13623         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13624         fallback function.
13625         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13626         present.
13627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13628         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13630 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13632         [BZ #18497]
13633         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13634         of wcscmp.
13635         (wcscmp): Define as weak alias of WCSCMP.
13636         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13637         wcscoll.
13638         (USE_HIDDEN_DEF): Define.
13639         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13640         __wcscoll.  Don't use libc_hidden_weak.
13641         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13642         wcscmp.
13643         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13644         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13645         __GI_wcscmp.
13646         (weak_alias): Undefine and redefine.
13647         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13648         __wcscmp and define as weak alias of __wcscmp.
13649         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13650         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13651         (__wcscoll): Likewise.
13652         (wcscmp): Don't use libc_hidden_proto.
13653         (wcscoll): Likewise.
13654         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13655         wcscoll.
13656         * posix/regexec.c (check_node_accept_bytes): Likewise.
13657         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13658         variable.
13659         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13660         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13662         [BZ #18507]
13663         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13664         __fstatvfs and define as weak alias of __fstatvfs.  Use
13665         libc_hidden_weak.
13666         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13667         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13668         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13669         Define as alias of __fstatvfs, not fstatvfs.
13670         (fstatvfs64): Likewise.
13671         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13672         Define as alias of __statvfs, not statvfs.
13673         (statvfs64): Likewise.
13674         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13675         Remove variable.
13677 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13680         (HAVE_GETCPU_VSYSCALL): Define.
13681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13682         (HAVE_GETCPU_VSYSCALL): Likewise.
13683         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13684         * sysdeps/unix/sysv/linux/sched_getcpu.c
13685         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13686         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13687         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13688         prototype.
13689         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13690         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13691         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13693         Define.
13694         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13695         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13696         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13697         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13699 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13701         * sysdeps/x86_64/fpu/Makefile: New file.
13702         * sysdeps/x86_64/fpu/Versions: New file.
13703         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13704         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13705         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13706         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13707         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13708         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13709         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13711         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13712         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13713         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13715         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13716         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13717         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13718         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13719         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13720         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13721         * sysdeps/x86_64/configure: Regenerated.
13722         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13723         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13724         * manual/install.texi (Configuring and compiling): Document
13725         --disable-mathvec.
13726         * INSTALL: Regenerated.
13727         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13729         * math/Makefile: Added rules for vector tests.
13730         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13731         declaration under condition.
13732         * math/test-double-vlen2.h: New file.
13733         * math/test-double-vlen4.h: New file.
13734         * math/test-double-vlen8.h: New file.
13735         * math/test-vec-loop.h: Added initialization macro.
13736         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13737         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13738         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13739         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13740         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13741         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13742         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13743         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13744         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13745         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13746         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13748         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13749         * sysdeps/x86_64/fpu/Versions: New versions added.
13750         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13751         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13752         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13753         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13754         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13755         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13756         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13757         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13758         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13759         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13760         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13761         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13762         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13763         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13764         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13765         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13766         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13767         * NEWS: Mention addition of x86_64 vector cosf.
13769         * math/Makefile: Added CFLAGS for new tests.
13770         * math/test-float-vlen16.h: New file.
13771         * math/test-float-vlen4.h: New file.
13772         * math/test-float-vlen8.h: New file.
13773         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13774         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13775         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13776         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13777         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13778         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13779         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13780         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13781         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13782         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13783         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13785 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13787         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13788         * locale/programs/ld-ctype.c: Likewise.
13790 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13792         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13793         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13794         bit_ZMM16_31_state): New macro.
13795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13796         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13798 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13800         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13802 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13804         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13806 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13808         [BZ #18498]
13809         * libio/memstream.c (open_memstream): Rename to __open_memstream
13810         and define as weak alias of __open_memstream.
13811         * include/stdio.h (__open_memstream): Declare.  Use
13812         libc_hidden_proto.
13813         (open_memstream): Don't use libc_hidden_proto.
13814         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13815         open_memstream.
13816         * posix/getopt.c (_getopt_internal_r): Likewise.
13817         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13818         variable.
13819         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13820         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13821         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13823         [BZ #18496]
13824         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13825         instead of wcrtomb.
13827         [BZ #18483]
13828         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13829         [__USE_XOPEN2K8].  Remove redundant #endif.
13830         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13831         Remove redundant #if.
13832         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13833         Remove variable.
13834         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13835         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13837         [BZ #18495]
13838         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13839         (__iswlower): Likewise.
13840         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13841         (__iswlower): Likewise.
13842         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13843         instead of towlower.
13844         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13845         instead of iswlower.  Call __towupper instead of towupper.
13846         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13847         instead of iswalnum.
13849 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13851         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13852         errors to stderr.
13854 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13856         [BZ #15661]
13857         [BZ #17322]
13858         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13859         Check for overflow properly.  Check for O_APPEND.  Ignore large
13860         file system block sizes.  Add comments about problems.
13861         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13862         * manual/filesys.texi (Storage Allocation): New node.
13864 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13866         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13867         cancellable syscalls.
13868         (SYS_ify): Add guard to no redefine it.
13869         (INLINE_SYSCALL): Likewise.
13870         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13871         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13872         SYSCALL_CANCEL instead.
13873         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13874         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13875         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13876         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13877         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13878         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13879         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13880         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13881         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13882         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13883         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13884         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13885         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13886         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13887         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13889         Likewise.
13890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13891         (__libc_pread64): Likewise.
13892         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13893         (__libc_preadv): Likewise.
13894         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13895         (__libc_readv64): Likewise.
13896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13897         (__libc_pwrite): Likewise.
13898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13899         (__libc_pwrite64): Likewise.
13900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13901         (__libc_pwritev): Likewise.
13902         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13903         (__libc_pwritev64): Likewise.
13904         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13905         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13906         (sync_file_range): Likewise.
13907         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13908         Likewise.
13909         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13910         Likewise.
13911         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13912         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13913         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13914         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13915         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13916         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13917         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13918         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13920         Likewise.
13921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13922         (__libc_read64): Likewise.
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13924         Likewise.
13925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13926         Likewise.
13927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13928         Likewise.
13929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13930         Likewise.
13931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13932         (__libc_pread64): Likewise.
13933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13934         Likewise.
13935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13936         (__libc_pwrite64): Likewise.
13937         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13938         (sync_file_range): Likewise.
13939         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13940         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13941         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13942         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13943         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13944         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13945         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13946         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13947         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13948         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13949         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13950         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13951         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13952         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13953         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13954         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13955         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13956         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13957         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13958         Likewise.
13959         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13960         Likewise.
13961         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13962         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13963         Likewise.
13964         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13965         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13966         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13967         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13968         Likewise.
13969         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13970         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13971         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13972         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13973         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13975 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13977         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13978         Include dl-vdso.
13979         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13980         Use VDSO routines for gettimeofday, clock_gettime if
13981         available.
13982         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13983         Declare VDSO symbols.
13984         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13985         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13986         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13987         * sysdeps/unix/sysv/linux/arm/Versions: Add
13988         __vdso_clock_gettime.
13990 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13992         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13993         be an inline implementation regardless of library is built within.
13994         (open_not_cancel_2): Likewise.
13995         (__read_nocancel): Likewise.
13996         (__write_nocancel): Likewise.
13997         (openat_not_cancel): Likewise.
13998         (openat_not_cancel_3): Likewise.
13999         (openat64_not_cancel): Likewise.
14000         (openat64_not_cancel_3): Likewise.
14001         (__close_nocancel): Likewise.
14002         (pause_not_cancel): Likewise.
14003         (nanosleep_not_cancel): Likewise.
14004         (sigsuspend_not_cancel): Likewise.
14006 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14008         [BZ #14958]
14009         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
14010         wake-up.
14011         (__pthread_rwlock_rdlock_slow): Likewise.
14012         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14013         Likewise.
14014         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14015         Likewise.
14016         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
14017         * nptl/tst-rwlock16.c: New file.
14018         * nptl/Makefile (tests): Add new test.
14020 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14022         [BZ #18324]
14023         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
14024         missing wake-up of readers.
14025         * nptl/tst-rwlock15.c: New file.
14026         * nptl/Makefile (tests): Add new test.
14028 2015-06-03  Roland McGrath  <roland@hack.frob.com>
14030         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
14031         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
14032         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
14033         and __nacl_supply_interface_rtld.
14034         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
14035         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
14036         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
14037         Add __nacl_supply_interface_rtld.
14038         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
14040 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14042         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
14043         isfinite.
14044         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14045         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
14047 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14049         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
14050         __signbit* with standard C99 macros.
14051         * math/e_exp10l.c: Likewise.
14052         * math/e_exp2l.c: Likewise.
14053         * math/e_scalb.c: Likewise.
14054         * math/e_scalbf.c: Likewise.
14055         * math/e_scalbl.c: Likewise.
14056         * math/s_ldexp.c: Likewise.
14057         * math/s_ldexpf.c: Likewise.
14058         * math/s_ldexpl.c: Likewise.
14059         * math/w_atan2.c: Likewise.
14060         * math/w_atan2f.c: Likewise.
14061         * math/w_atan2l.c: Likewise.
14062         * math/w_cosh.c: Likewise.
14063         * math/w_coshf.c: Likewise.
14064         * math/w_coshl.c: Likewise.
14065         * math/w_exp10.c: Likewise.
14066         * math/w_exp10f.c: Likewise.
14067         * math/w_exp10l.c: Likewise.
14068         * math/w_exp2.c: Likewise.
14069         * math/w_exp2f.c: Likewise.
14070         * math/w_exp2l.c: Likewise.
14071         * math/w_fmod.c: Likewise.
14072         * math/w_fmodf.c: Likewise.
14073         * math/w_fmodl.c: Likewise.
14074         * math/w_hypot.c: Likewise.
14075         * math/w_hypotf.c: Likewise.
14076         * math/w_hypotl.c: Likewise.
14077         * math/w_jnl.c: Likewise.
14078         * math/w_lgamma.c: Likewise.
14079         * math/w_lgamma_r.c: Likewise.
14080         * math/w_lgammaf.c: Likewise.
14081         * math/w_lgammaf_r.c: Likewise.
14082         * math/w_lgammal.c: Likewise.
14083         * math/w_lgammal_r.c: Likewise.
14084         * math/w_pow.c: Likewise.
14085         * math/w_powf.c: Likewise.
14086         * math/w_powl.c: Likewise.
14087         * math/w_remainder.c: Likewise.
14088         * math/w_remainderf.c: Likewise.
14089         * math/w_remainderl.c: Likewise.
14090         * math/w_scalb.c: Likewise.
14091         * math/w_scalbf.c: Likewise.
14092         * math/w_scalbl.c: Likewise.
14093         * math/w_scalbln.c: Likewise.
14094         * math/w_scalblnf.c: Likewise.
14095         * math/w_scalblnl.c: Likewise.
14096         * math/w_sinh.c: Likewise.
14097         * math/w_sinhf.c: Likewise.
14098         * math/w_sinhl.c: Likewise.
14099         * math/w_tgamma.c: Likewise.
14100         * math/w_tgammaf.c: Likewise.
14101         * math/w_tgammal.c: Likewise.
14102         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14103         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
14104         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14105         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14106         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14107         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14108         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14109         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14110         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14111         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14112         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14113         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14114         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14115         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14116         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14117         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14118         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14119         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14120         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14121         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14122         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14123         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14124         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14125         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14126         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14127         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14128         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
14129         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14130         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14131         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14132         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
14133         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
14134         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
14135         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
14136         * stdio-common/printf_fp.c: Likewise.
14137         * stdio-common/printf_fphex.c: Likewise.
14138         * stdio-common/printf_size.c: Likewise.
14140 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
14142         [BZ #18470]
14143         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
14144         strnlen.
14145         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
14146         Remove variable.
14147         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14148         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14149         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14150         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14151         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14152         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14153         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14154         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14155         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14156         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14158         [BZ #18468]
14159         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
14160         weak alias of __wmemchr.  Use libc_hidden_weak.
14161         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
14162         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
14163         instead of wmemchr.
14165 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14167         [BZ #18383]
14168         * elf/tst-tlsalign-extern.c: New file.
14169         * elf/tst-tlsalign-extern-static.c: New file.
14170         * elf/tst-tlsalign-vars.c: New file.
14171         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
14172         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
14173         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
14174         ($(objpfx)tst-tlsalign-extern-static): Likewise.
14175         (test-xfail-tst-tlsalign-extern-static): New variable.
14177 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
14179         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
14180         Use variable name _sc_err instead of err.
14181         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
14182         instead of ret.
14183         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
14184         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
14185         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
14186         (INLINE_SYSCALL): Likewise.
14188         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
14189         * include/string.h (__strnlen): Use libc_hidden_proto.
14190         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
14191         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
14192         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
14193         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
14194         (libc_hidden_def): Undefine and redefine.
14195         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
14196         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
14197         __GI_strnlen.
14198         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
14199         libc_hidden_def.
14200         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
14202         [BZ #18469]
14203         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
14204         weak alias of __towlower.  Use libc_hidden_weak.
14205         (towupper): Rename to __towupper and define as weak alias of
14206         __towupper.  Use libc_hidden_weak.
14207         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
14208         (__towupper): Likewise.
14209         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
14210         __towlower instead of towlower.
14212 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14214         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
14215         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
14217 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14219         * sysdeps/aarch64/libm-test-ulps: Update.
14221 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14223         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
14224         Define.
14225         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14226         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14227         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14228         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14229         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
14230         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
14231         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
14233 2015-06-01  Martin Sebor  <msebor@redhat.com>
14235         [BZ #18116]
14236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14237         (__setcontext): Use extended four-operand version of mtsf whenever
14238         possible.
14239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14240         (__novec_swapcontext): Likewise.
14242 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14244         * benchtests/scripts/compare_bench.py: New file.
14245         * benchtests/scripts/import_bench.py (mean): New function.
14246         (split_list): Likewise.
14247         (do_for_all_timings): Likewise.
14248         (compress_timings): Likewise.
14250         * benchtests/scripts/import_bench.py: New file.
14251         * benchtests/scripts/validate_benchout.py: Import import_bench
14252         instead of jsonschema.
14253         (validate_bench): Remove function.
14254         (main): Use import_bench.
14256 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
14258         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
14259         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
14261 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14265 2015-05-28  Roland McGrath  <roland@hack.frob.com>
14267         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
14268         set THREAD_SELF->tid to a magic value and futex-wake it.
14269         Pass its address to the thread_exit system call.
14270         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
14271         bit is clear.
14272         * sysdeps/nacl/lowlevellock.h: New file.
14273         * sysdeps/nacl/lll_timedwait_tid.c: New file.
14275         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
14276         Add TIMEOUT to current time, don't subtract it.
14278 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
14280         [BZ #2981]
14281         [BZ #18422]
14282         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
14283         ($(objpfx)tst-audit2.out): Also depend on
14284         $(objpfx)tst-auditmod9b.so.
14285         * elf/tst-audit2.c: Include <dlfcn.h>.
14286         (calloc_called): New.
14287         (calloc): Allow to be called more than once.
14288         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
14290 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
14292         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
14293         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
14295 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
14297         * stdlib/monetary.h: Fix comment.
14299 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
14301         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
14302         Avoid using variables in #defines that might cause shadowing.
14303         (INTERNAL_VSYSCALL_CALL): Likewise.
14305 2015-05-26  Roland McGrath  <roland@hack.frob.com>
14307         * sysdeps/nacl/lll_timedlock_wait.c: New file.
14309         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
14310         * nptl/lll_timedlock_wait.c: ... to this new file.
14311         * nptl/Makefile (libpthread-routines): Add it.
14312         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
14313         * nptl/lll_timedwait_tid.c: ... to this new file.
14314         * nptl/Makefile (libpthread-routines): Add it.
14315         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
14316         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
14317         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
14318         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
14319         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
14320         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14321         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14322         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14323         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14324         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14326 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14328         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14329         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14330         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14332         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14333         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14334         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14336         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14337         * sysdeps/unix/sysv/linux/tile/sysdep.h
14338         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14339         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14340         using vDSO syscall macro.
14342 2015-05-26  Andriy Rysin  <arysin@gmail.com>
14344         [BZ #17293]
14345         * uk_UA: Fix sorting order for Ukrainian locale
14347 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
14349         * stdlib/monetary.h: Fix comment.
14351 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14353         [BZ #18234]
14354         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14355         st_mtim and st_ctim members.
14356         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14357         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14358         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14359         (struct stat64): Likewise.
14360         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14361         (struct stat64): Likewise.
14362         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14363         (struct stat64): Likewise.
14365 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14367         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
14368         Define and include sysdep-vdso.h.
14369         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
14370         Likewise.
14371         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
14372         Likewise.
14373         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
14374         Define with VDSO_SYMBOL and use PTR_MANGLE.
14375         (__vdso_clock_gettime): Likewise.
14376         (__vdso_clock_getres): Likewise.
14377         (_libc_vdso_platform_setup): Likewise.
14378         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14379         Likewise.
14380         (_libc_vdso_platform_setup): Likewise.
14381         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
14382         Likewise.
14383         (__vdso_clock_gettime): Likewise.
14384         (__vdso_clock_getres): Likewise.
14385         (__vdso_get_tbfreq): Likewise.
14386         (__vdso_getcpu): Likewise.
14387         (__vdso_time): Likewise.
14388         (__vdso_sigtramp_rt64): Likewise.
14389         (__vdso_signtramp32): Likewise.
14390         (__vdso_sigtramp_rt32): Likewise.
14391         (_libc_vdso_platform_setup): Likewise.
14392         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
14393         Likewise.
14394         (__vdso_clock_gettime): Likewise.
14395         (__vdso_clock_getres): Likewise.
14396         (_libc_vdso_platform_setup): Likewise.
14397         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
14398         Likewise.
14399         (__vdso_clock_gettime): Likewise.
14400         (_libc_vdso_platform_setup): Likewise.
14401         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14402         Likewise.
14403         (__vdso_getcpu): Likewise.
14404         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
14405         Use VDSO_SYMBOL macro to define.
14406         (__vdso_clock_gettime): Likewise.
14407         (__vdso_clock_getres): Likewise.
14408         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14409         Likewise.
14410         (__vdso_clock_gettime): Likewise.
14411         (__vdso_clock_getres): Likewise.
14412         (__vdso_get_tbfreq): Likewise.
14413         (__vdso_getcpu): Likewise.
14414         (__vdso_time): Likewise.
14415         (__vdso_sigtramp_rt64): Likewise.
14416         (__vdso_signtramp32): Likewise.
14417         (__vdso_sigtramp_rt32): Likewise.
14418         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14419         Likewise.
14420         (__vdso_clock_gettime): Likewise.
14421         (__vdso_clock_getres): Likewise.
14422         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14423         Likewise.
14424         (__vdso_clock_gettime): Likewise.
14425         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14426         Likewise.
14427         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
14428         macro.
14429         (INTERNAL_VSYSCALL): Likewise.
14430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14431         Remove macro.
14432         (INTERNAL_VSYSCALL): Likewise.
14433         (INTERNAL_VSYSCALL_NCS): Likewise.
14434         (INTERNAL_VSYSCALL_CALL): New macro.
14435         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14437         Likewise.
14438         (INTERNAL_VSYSCALL): Likewise.
14439         (INTERNAL_VSYSCALL_NCS): Likewise.
14440         (INTERNAL_VSYSCALL_CALL): New macro.
14441         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14443         (INLINE_VSYSCALL): Remove macro.
14444         (INTERNAL_VSYSCALL): Remove macro.
14445         (INTERNAL_VSYSCALL_NCS): Remove macro.
14446         (INTERNAL_VSYSCALL_CALL): New macro.
14447         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14448         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14449         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14450         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14451         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14453         (INLINE_VSYSCALL): Remove macro.
14454         (INTERNAL_VSYSCALL): Likewise.
14455         (INTERNAL_VSYSCALL_NCS): Likewise.
14456         (INTERNAL_VSYSCALL_CALL): New macro.
14457         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14458         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14459         PTR_DEMANGLE on vDSO pointer.
14460         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14461         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14462         macro.
14463         (INTERNAL_SYSCALL): Likewise.
14464         (INTERNAL_VSYSCALL_NCS): Remove macro.
14465         (INTERNAL_VSYSCALL_CALL): New macro.
14466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14467         Remove macro.
14468         (INTERNAL_VSYSCALL): Likewise.
14469         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14470         sysdep-vdso.h instead of libc-vdso.h.
14471         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14472         definition.
14473         (INLINE_VSYSCALL): Likewise.
14474         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14475         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14476         definition.
14477         (INLINE_VSYSCALL): Likewise.
14478         (INTERNAL_VSYSCALL): Likewise.
14479         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14480         * sysdeps/unix/sysv/linux/timespec_get.c
14481         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14482         (timespec_get): Use ANSI prototype.
14483         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14484         and definition for Linux.
14486 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14488         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14489         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14491 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14493         [BZ #2981]
14494         [BZ #18410]
14495         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14496         for missing DT_PLTRELSZ.
14498 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14500         Remove obsolete aliases that broke 'locale -a'
14501         [BZ #18412]
14502         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14503         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14504         breaking some applications that use 'locale -a' output.
14505         Change the encoding of this file from Latin-1 to ASCII to avoid
14506         other potential problems with people grepping this file.
14508 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14510         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14511         -fasynchronous-unwind-tables.
14512         (CFLAGS-sendto.c): Likewise.
14513         (CFLAGS-sendmsg.c): Likewise.
14514         (CFLAGS-connect.c): Likewise.
14515         (CFLAGS-recvmsg.c): Likewise.
14516         (CFLAGS-recvfrom.c): Likewise.
14517         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14518         (SOCKETCALL): New macro: non-cancellable socketcall.
14519         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14520         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14521         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14522         * sysdeps/unix/sysv/linux/accept.c: New file.
14523         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14524         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14525         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14526         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14527         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14528         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14529         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14530         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14531         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14532         * sysdeps/unix/sysv/linux/send.c: Likewise.
14533         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14534         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14535         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14536         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14537         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14538         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14539         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14540         prototype.
14541         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14542         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14543         instead of __internal_xxx function.
14544         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14545         prototype.
14546         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14547         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14548         instead of __internal_xxx function.
14549         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14550         prototype.
14551         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14552         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14553         instead of __internal_xxx function.
14554         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14555         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14556         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14557         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14558         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14559         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14560         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14561         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14562         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14563         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14564         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14565         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14566         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14567         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14568         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14569         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14570         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14571         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14572         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14573         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14576         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14577         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14578         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14579         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14580         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14581         * sysdeps/unix/sysv/linux/send.S: Likewise.
14582         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14583         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14584         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14585         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14586         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14587         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14588         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14589         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14590         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14591         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14592         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14593         socketcall is implemented in GLIBC.
14595 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14597         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14598         (__fma): Ignore uninitialized warnings around packing.
14599         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14600         (__fmaf): Ignore uninitialized warnings around packing.
14601         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14602         (__fmal): Ignore uninitialized warnings around packing.
14604         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14605         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14606         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14607         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14609         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14610         switch statement into default case.
14611         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14613         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14614         a conditional in forcing "inexact".
14615         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14616         Likewise.
14618 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14620         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14621         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14622         for each INTERNAL_SYSCALL use.
14624 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14626         [BZ #438]
14627         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14628         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14629         variable.
14631         [BZ #18444]
14632         * string/basename.c (basename): Rename to __basename and define as
14633         weak alias of __basename.  Use libc_hidden_weak.
14634         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14635         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14636         __basename instead of basename.
14637         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14638         Remove variable.
14639         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14641 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14643         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14644         (_IO_JUMPS_FILE_plus): New.
14645         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14646         _IO_CAST_FIELD_ACCESS.
14647         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14648         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14649         * libio/freopen.c (freopen): Likewise.
14650         * libio/freopen64.c (freopen64): Likewise.
14651         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14652         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14653         * libio/iofwide.c (_IO_fwide): Likewise.
14654         * libio/memstream.c (open_memstream): Likewise.
14655         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14656         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14657         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14659 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14661         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14662         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14663         NADJ.
14664         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14665         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14666         NADJ.
14667         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14668         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14669         NADJ.
14671         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14672         (p == 4) case.
14674         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14675         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14676         Remove variable.
14677         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14678         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14679         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14681 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14683         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14684         Adjust jump table label generation macros.
14686 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14688         * stdio-common/vfprintf.c (vfprintf): Move local variables
14689         args_malloced, specs, specs_malloced, and the code after
14690         do_positional to the printf_positional function.
14691         (printf_positional): New function.
14693 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14695         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14696         function.
14697         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14698         STEP4_TABLE, process_arg): Move macro definitions
14699         out of the vfprintf function.  (Cosmetic change only.)
14701 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14703         * benchtests/Makefile (stdio-common-bench): Define.
14704         (benchset): Add stdio-common-bench.
14705         * sprintf-inputs: New file.
14706         * sprintf-source.c: New file.
14708 2015-05-21  Andreas Schwab  <schwab@suse.de>
14710         [BZ #13028]
14711         [BZ #17053]
14712         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14713         of struct __res_state.
14714         * resolv/res_send.c (__libc_res_nsend): Likewise.
14715         (get_nsaddr): New function.
14716         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14717         statp directly.
14719 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14721         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14722         -D_POSIX_C_SOURCE=199506L.
14724         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14726         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14727         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14728         Do not mention otherwise.
14729         [POSIX] (_XOPEN_VERSION): Do not expect.
14730         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14731         [POSIX] (_POSIX2_C_BIND): Likewise.
14732         [POSIX] (_POSIX2_VERSION): Likewise.
14733         [POSIX] (_XOPEN_XPG2): Likewise.
14734         [POSIX] (_XOPEN_XPG3): Likewise.
14735         [POSIX] (_XOPEN_XPG4): Likewise.
14736         [POSIX] (_XOPEN_UNIX): Likewise.
14737         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14738         [POSIX] (_POSIX_BARRIERS): Likewise.
14739         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14740         [POSIX] (_POSIX_CPUTIME): Likewise.
14741         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14742         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14743         [POSIX] (_POSIX_SHELL): Likewise.
14744         [POSIX] (_POSIX_SPAWN): Likewise.
14745         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14746         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14747         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14748         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14749         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14750         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14751         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14752         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14753         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14754         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14755         [POSIX] (_POSIX2_PBS): Likewise.
14756         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14757         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14758         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14759         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14760         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14761         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14762         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14763         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14764         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14765         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14766         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14767         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14768         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14769         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14770         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14771         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14772         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14773         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14774         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14775         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14776         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14777         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14778         [POSIX] (_SC_2_C_BIND): Likewise.
14779         [POSIX] (_SC_2_C_VERSION): Likewise.
14780         [POSIX] (_SC_2_PBS): Likewise.
14781         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14782         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14783         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14784         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14785         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14786         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14787         [POSIX] (_SC_BARRIERS): Likewise.
14788         [POSIX] (_SC_BASE): Likewise.
14789         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14790         [POSIX] (_SC_DEVICE_IO): Likewise.
14791         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14792         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14793         [POSIX] (_SC_FD_MGMT): Likewise.
14794         [POSIX] (_SC_FIFO): Likewise.
14795         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14796         [POSIX] (_SC_FILE_LOCKING): Likewise.
14797         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14798         [POSIX] (_SC_IOV_MAX): Likewise.
14799         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14800         [POSIX] (_SC_NETWORKING): Likewise.
14801         [POSIX] (_SC_PAGE_SIZE): Likewise.
14802         [POSIX] (_SC_PASS_MAX): Likewise.
14803         [POSIX] (_SC_PIPE): Likewise.
14804         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14805         [POSIX] (_SC_REGEXP): Likewise.
14806         [POSIX] (_SC_SHELL): Likewise.
14807         [POSIX] (_SC_SIGNALS): Likewise.
14808         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14809         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14810         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14811         [POSIX] (_SC_USER_GROUPS): Likewise.
14812         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14813         [POSIX] (_SC_STREAMS): Likewise.
14814         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14815         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14816         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14817         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14818         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14819         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14820         [POSIX] (_PC_FILESIZEBITS): Likewise.
14821         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14822         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14823         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14824         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14825         [POSIX] (uid_t): Likewise.
14826         [POSIX] (gid_t): Likewise.
14827         [POSIX] (off_t): Likewise.
14828         [POSIX] (pid_t): Likewise.
14829         [POSIX] (cuserid): Allow.
14830         (_SC_2_CHAR_TERM): Require constant.
14831         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14832         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14833         variable.
14835 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14837         * sysdeps/nacl/pthread-pids.h: New file.
14838         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14839         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14841         * nptl/pthread-pids.h: New file.
14842         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14843         * nptl/nptl-init.c: Include <pthread-pids.h>.
14844         (__pthread_initialize_minimal_internal):
14845         Call __pthread_initialize_pids instead of set_tid_address syscall.
14847         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14848         * sysdeps/posix/usleep.c: ... here.
14850 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14852         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14853         call_pselect6 object.
14854         [$(subdir) = io]: Remove call_sync_file_range object.
14855         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14856         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14857         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14858         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14860 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14862         * math/s_cproj.c: Add include "math_private.h".
14863         * math/s_cprojf.c: Likewise.
14864         * math/s_cprojl.c: Likewise.
14866 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14868         [BZ #18244]
14869         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14870         high mantissa bit when testing whether P is a NaN.
14871         * math/libm-test.inc (remainder_test_data): Add more tests.
14872         (remquo_test_data): Likewise.
14874         [BZ #18049]
14875         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14876         below -32, return the argument, with underflow if subnormal.
14877         * math/auto-libm-test-in: Add more tests of atanh.
14878         * math/auto-libm-test-out: Regenerated.
14880 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14882         [BZ #18434]
14883         * nptl/tst-sem15.c: New file.
14884         * nptl/Makefile (tests): Add it.
14885         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14886         s/<</>>/ to fix typo in EOVERFLOW check.
14887         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14889 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14891         * manual/strings.texi (envz_remove): Fix typo in safety
14892         annotations.
14894 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14895             Steve Ellcey  <sellcey@imgtec.com>
14897         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14898         in order to avoid strict alias warnings.
14899         (iruserok_af): Ditto for ra.
14901 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14903         [BZ #17581]
14904         * malloc/hooks.c
14905         (magicbyte): Convert to a function and avoid returning 0x01.
14906         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14907         (mem2chunk_check): Fix unsigned comparisons to zero.
14908         Hoist defs of sz and magic.
14910 2015-05-19  Richard Henderson  <rth@redhat.com>
14912         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14914         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14916 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14918         [BZ #16159]
14919         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14920         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14921         (reused_arena): Find a non-corrupt arena.
14922         (heap_trim): Pass arena to unlink.
14923         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14924         malloc_printerr.
14925         (top_check): Likewise.
14926         (free_check): Likewise.
14927         (realloc_check): Likewise.
14928         * malloc/malloc.c (malloc_printerr): Add arena argument.
14929         (unlink): Likewise.
14930         (munmap_chunk): Adjust.
14931         (ARENA_CORRUPTION_BIT): New macro.
14932         (arena_is_corrupt): Likewise.
14933         (set_arena_corrupt): Likewise.
14934         (sysmalloc): Use mmap if there are no usable arenas.
14935         (_int_malloc): Likewise.
14936         (__libc_malloc): Don't fail if arena_get returns NULL.
14937         (_mid_memalign): Likewise.
14938         (__libc_calloc): Likewise.
14939         (__libc_realloc): Adjust for additional argument to
14940         malloc_printerr.
14941         (_int_free): Likewise.
14942         (malloc_consolidate): Likewise.
14943         (_int_realloc): Likewise.
14944         (_int_memalign): Don't touch corrupt arenas.
14945         * malloc/tst-malloc-backtrace.c: New test case.
14947         * Makefile (summarize-tests): Fix return value on success.
14949         * manual/string.texi (Envz Functions): Add envz_remove.
14951 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14953         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14954         (invalid_name): New function, broken out of ...
14955         (__opendirat): ... here.  Call it.
14956         (need_isdir_precheck): New function, broken out of ...
14957         (__opendirat): ... here.  Call it.
14958         Use __fxstatat64, not __xstatat64.
14959         (opendir_oflags): New function, broken out of ...
14960         (__opendirat): ... here.  Call it.
14961         (opendir_tail): New function, broken out of ...
14962         (__opendirat): ... here.  Call it.
14963         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14964         opendir_tail, rather than punting to __opendirat.
14965         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14967 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14969         * .gitignore: Ignore generated *.pyc.
14971 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14973         * include/stdio.h: Define __need_wint_t.
14974         * test-skeleton.c: Avoid `for' loop initial declaration.
14975         * nptl/tst-initializers1.c: Use test-skeleton.c.
14977 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14979         [BZ #18418]
14980         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14982 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14984         [BZ #16352]
14985         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14986         (__ieee754_atanh): Force underflow exception for results with
14987         small absolute value.
14988         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14989         (__ieee754_atanhf): Force underflow exception for results with
14990         small absolute value.
14991         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14992         (__ieee754_atanh): Force underflow exception for results with
14993         small absolute value.
14994         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14995         (__ieee754_atanhf): Force underflow exception for results with
14996         small absolute value.
14997         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14998         (__ieee754_atanhl): Force underflow exception for results with
14999         small absolute value.
15000         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
15001         (__ieee754_atanhl): Force underflow exception for results with
15002         small absolute value.
15003         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
15004         (__ieee754_atanhl): Force underflow exception for results with
15005         small absolute value.
15006         * math/auto-libm-test-in: Do not allow missing underflow
15007         exceptions from atanh.
15008         * math/auto-libm-test-out: Regenerated.
15010         [BZ #18221]
15011         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
15012         2**-28 as threshold for returning x or +/- 1/x.
15013         * math/auto-libm-test-in: Add more tests of tan.
15014         * math/auto-libm-test-out: Regenerated.
15016         [BZ #18220]
15017         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15018         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
15019         * math/auto-libm-test-in: Add another test of lgamma.
15020         * math/auto-libm-test-out: Regenerated.
15022 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
15024         * stdio-common/printf_fp.c (___printf_fp): Use abs.
15025         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
15026         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
15027         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
15028         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
15029         (ADD2A): Use fabs.  (SUB2A): Use fabs.
15030         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
15031         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
15032         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
15033         (log1): Use fabs.  (my_log2): Use fabs.
15034         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
15035         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
15036         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
15037         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
15038         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
15039         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
15040         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
15041         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
15042         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
15043         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
15044         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
15046 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15048         [BZ #18217]
15049         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
15050         as threshold for returning 1 - x.
15051         * math/auto-libm-test-in: Add more tests of erfc.
15052         * math/auto-libm-test-out: Regenerated.
15054 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
15056         [BZ #18196]
15057         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
15058         threshold for large arguments.
15059         * math/auto-libm-test-in: Add another test of atan.
15060         * math/auto-libm-test-out: Regenerated.
15062         [BZ #16339]
15063         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
15064         (__log1p): Force underflow exception for results with small
15065         absolute value.
15066         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
15067         (__log1pf): Force underflow exception for results with small
15068         absolute value.
15069         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
15070         (__log1p): Force underflow exception for results with small
15071         absolute value.
15072         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
15073         (__log1pf): Force underflow exception for results with small
15074         absolute value.
15075         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
15076         (__log1pl): Force underflow exception for results with small
15077         absolute value.
15078         * math/auto-libm-test-in: Do not allow missing underflow
15079         exceptions from log1p.
15080         * math/auto-libm-test-out: Regenerated.
15082 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
15083             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15085         [BZ #16704]
15086         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
15088 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
15090         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
15091         (libmvec): New variable.
15092         * configure.ac: Added option for mathvec build.
15093         * configure: Regenerated.
15094         * mathvec/Depend: New file.
15095         * mathvec/Makefile: New file.
15096         * shlib-versions: Added libmvec.
15097         * math/Makefile: Added rule for libm.so installation.
15099         * bits/math-vector.h: New file.
15100         * bits/libm-simd-decl-stubs.h: New header.
15101         * math/Makefile (headers): Added new header
15102         libm-simd-decl-stubs.h.
15103         * math/math.h (__MATHCALL_VEC): New macro.
15105         * math/gen-libm-have-vector-test.sh: Script generates series of macros
15106         for conditions in testing functions.
15107         * math/Makefile: Added call of libm-have-vector-test.sh.
15108         * math/libm-test.inc (HAVE_VECTOR): New macros.
15110         * math/libm-test.inc: START refactored.
15111         * math/test-double.c (TEST_MATHVEC): Add define.
15112         * math/test-float.c: Likewise.
15113         * math/test-idouble.c: Likewise.
15114         * math/test-ifloat.c: Likewise.
15115         * math/test-ildoubl.c: Likewise.
15116         * math/test-ldouble.c: Likewise.
15117         * sysdeps/generic/math-tests-arch.h
15118         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
15119         architecture check.
15121         * math/test-double.c (FUNC_TEST): New macro.
15122         * math/test-float.c: Likewise.
15123         * math/test-idouble.c: Likewise.
15124         * math/test-ifloat.c: Likewise.
15125         * math/test-ildoubl.c: Likewise.
15126         * math/test-ldouble.c: Likewise.
15127         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
15129 2015-05-13  Roland McGrath  <roland@hack.frob.com>
15131         * sysdeps/nacl/fdopendir.c: New file.
15133         * dirent/scandir-tail.c: New file.
15134         * dirent/scandir64-tail.c: New file.
15135         * dirent/Makefile (routines): Add them.
15136         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
15137         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
15138         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
15139         [!SCANDIR] (SCANDIR_TAIL): New macro.
15140         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
15141         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
15142         (SCANDIRAT): Macro removed.
15143         (SCANDIR_TAIL): New macro.
15144         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
15145         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
15146         (SCANDIRAT): Just call __opendirat and __scandir_tail.
15147         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
15148         (READDIR): Macro removed.
15149         (SCANDIR_TAIL): New macro.
15150         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
15151         (SCANDIR_TAIL): New macro.
15153         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
15154         * dirent/scandir-cancel.c: ... to this new file.
15155         * dirent/Makefile (routines): Add it.
15156         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
15157         * sysdeps/unix/sysv/linux/i386/scandir64.c
15158         (SKIP_SCANDIR_CANCEL): Macro removed.
15159         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
15161         * dirent/tst-scandir.c: New file.
15162         * dirent/tst-scandir64.c: New file.
15163         * dirent/Makefile (tests): Add them.
15165 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15167         [BZ #18409]
15168         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
15170 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15172         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
15173         list.
15175 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
15177         * benchtests/bench-strcoll.c: New benchmark.
15178         * benchtests/Makefile: Generate locales and run benchmark.
15179         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
15180         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15181         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
15182         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
15183         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
15184         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
15185         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
15186         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
15187         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
15188         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
15189         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
15190         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
15191         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
15192         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
15193         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
15194         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
15195         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
15196         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
15197         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
15198         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
15199         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
15200         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
15201         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
15202         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
15204 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
15206         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
15207         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15209 2015-05-12  Roland McGrath  <roland@hack.frob.com>
15211         * posix/uname-values.h: New file.
15212         * posix/uname.c: Include that instead of <config-name.h>.
15213         * sysdeps/nacl/uname-values.h: New file.
15214         * sysdeps/arm/nacl/uname-values.h: New file.
15216 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
15218         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
15219         splitting into fields.
15221 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
15223         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
15224         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
15225         * locale/localeinfo.h: Add enum collation_encoding_type.
15226         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
15227         * programs/ld-collate.c (collate_output): Add encoding type info.
15228         * string/strcoll_l.c (STRDIFF): New function.
15229         * (STRCOLL): Use STRDIFF to skip over equal prefix.
15230         * wcsmbs/wcscoll_l.c: Define STRDIFF.
15232 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
15234         [BZ #18397]
15235         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
15236         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
15237         <fpu_control.h> instead of <math/fpu_control.c>.
15238         * sysdeps/mips/mips32/fpu/Makefile: New file.
15240 2015-05-11  Andreas Schwab  <schwab@suse.de>
15242         [BZ #18007]
15243         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
15244         nss_endgrent.
15245         (_nss_compat_endgrent): Call nss_endgrent.
15246         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
15247         nss_endpwent.
15248         (_nss_compat_endpwent): Call nss_endpwent.
15249         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
15250         needent, call nss_setspent only if non-zero.
15251         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
15252         (internal_endspent): Don't call nss_endspent.
15253         (_nss_compat_endspent): Call nss_endspent.
15254         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
15255         Remove.  All uses removed.
15256         (internal_setent): Remove parameter stayopen, add parameter
15257         stream.  Use it instead of global variable.
15258         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
15259         (internal_endent, internal_getent): Add parameter stream.  Use it
15260         instead of global variable.
15261         (CONCAT(_nss_files_end,ENTNAME))
15262         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
15263         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
15264         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
15265         uses removed.
15266         (internal_setent, internal_endent): Add parameter stream.  Use it
15267         instead of global variable.
15268         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
15269         stream.
15270         (get_next_alias): Add parameter stream.
15271         (_nss_files_getaliasent_r): Pass global stream.
15272         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
15273         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
15274         (_nss_files_gethostbyname4_r): Pass local stream to
15275         internal_setent, internal_getent and internal_endent.  Remove
15276         locking.
15278 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15280         * tst-strfmon1.c (tests): Update expected currency symbol.
15282 2015-05-08  Roland McGrath  <roland@hack.frob.com>
15284         * sysdeps/nacl/gethostname.c: New file.
15286 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
15288         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
15289         and sinh.
15290         * math/auto-libm-test-out: Regenerated.
15291         * sysdeps/i386/fpu/libm-test-ulps: Update.
15292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15294 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
15296         [BZ #18125]
15297         * stdlib/tst-setcontext3.c: New file.
15298         * stdlib/tst-setcontext3.sh: New file.
15299         * stdlib/Makefile (tests): Add tst-setcontext3.
15300         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
15301         to verify test program created output file.
15302         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
15303         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
15304         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
15305         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
15307 2015-05-06  Roland McGrath  <roland@hack.frob.com>
15309         [BZ #18383]
15310         * elf/tst-tlsalign.c: New file.
15311         * elf/tst-tlsalign-static.c: New file.
15312         * elf/tst-tlsalign-lib.c: New file.
15313         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
15314         (tests-static): Add tst-tlsalign-static.
15315         (modules-names): Add tst-tlsalign-lib.
15316         (test-xfail-tst-tlsalign): New variable.
15317         (test-xfail-tst-tlsalign-static): New variable.
15319         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
15320         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15322 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
15324         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15325         csqrt, erfc, sin and sincos.
15326         * math/auto-libm-test-out: Regenerated.
15327         * sysdeps/i386/fpu/libm-test-ulps: Update.
15328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15330 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15332         * sysdeps/aarch64/libm-test-ulps: Update.
15334 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
15336         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15337         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15338         * math/auto-libm-test-out: Regenerated.
15339         * sysdeps/i386/fpu/libm-test-ulps: Update.
15340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15342 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15344         [BZ #18265]
15345         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15346         (wcsncpy): Likewise.
15348 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15350         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15351         Assume __ASSUME_FALLOCATE is always true.
15352         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15353         (__posix_fallocate64_l64): Likweise.
15354         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15355         (posix_fallocate): Likewise.
15356         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15357         (__posix_fallocate64_l64): Likewise.
15358         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15359         [!__ASSUME_FALLOCATE]: Add comment.
15361 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15363         * sysdeps/unix/sysv/linux/i386/Makefile
15364         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
15365         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
15366         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
15367         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15368         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15369         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
15370         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
15372 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
15374         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
15375         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
15376         tgamma.
15377         * math/auto-libm-test-out: Regenerated.
15378         * sysdeps/i386/fpu/libm-test-ulps: Update.
15379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15381 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15383         * math/auto-libm-test-in: Add more tests of tgamma.
15384         * math/auto-libm-test-out: Regenerated.
15385         * sysdeps/i386/fpu/libm-test-ulps: Update.
15386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15388         * math/auto-libm-test-in: Add more tests of tanh.
15389         * math/auto-libm-test-out: Regenerated.
15390         * sysdeps/i386/fpu/libm-test-ulps: Update.
15391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15393         * math/auto-libm-test-in: Add more tests of tan.
15394         * math/auto-libm-test-out: Regenerated.
15395         * sysdeps/i386/fpu/libm-test-ulps: Update.
15396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15398         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
15399         * math/auto-libm-test-out: Regenerated.
15400         * sysdeps/i386/fpu/libm-test-ulps: Update.
15401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15403         * math/auto-libm-test-in: Add another test of pow.
15404         * math/auto-libm-test-out: Regenerated.
15405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15407         * math/auto-libm-test-in: Add more tests of lgamma.
15408         * math/auto-libm-test-out: Regenerated.
15409         * sysdeps/i386/fpu/libm-test-ulps: Update.
15410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15412         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15413         log1p.
15414         * math/auto-libm-test-out: Regenerated.
15415         * sysdeps/i386/fpu/libm-test-ulps: Update.
15416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15418 2015-05-01  Mark Wielaard  <mjw@redhat.com>
15420         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15421         Elf64_Chdr structs and ELFCOMPRESS constants.
15423 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15425         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15426         expm1.
15427         * math/auto-libm-test-out: Regenerated.
15428         * sysdeps/i386/fpu/libm-test-ulps: Update.
15429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15431         * math/auto-libm-test-in: Add more tests of erf and erfc.
15432         * math/auto-libm-test-out: Regenerated.
15433         * sysdeps/i386/fpu/libm-test-ulps: Update.
15434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15436 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15438         * config.h.in (HAVE_AARCH64_BE): Add.
15440 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
15442         * math/auto-libm-test-in: Add more tests of csqrt.
15443         * math/auto-libm-test-out: Regenerated.
15444         * sysdeps/i386/fpu/libm-test-ulps: Update.
15445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15447         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15448         * math/auto-libm-test-out: Regenerated.
15449         * sysdeps/i386/fpu/libm-test-ulps: Update.
15450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15452         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15454 2015-04-29  Roland McGrath  <roland@hack.frob.com>
15456         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15457         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15459         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15460         (euidaccess, eaccess): Define as weak aliases.
15462         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15463         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15464         but __suseconds_t is often 'long int' so some sources assume that
15465         type is being used (e.g. they use %ld to print tv_usec).
15467 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15469         [BZ #18007]
15470         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15471         (CVE-2014-8121)
15472         * nss/tst-nss-getpwent.c: New file.
15473         * nss/Makefile (tests): Add new test.
15475 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15477         [BZ #18346]
15478         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15479         exponents less than 48 as cases where high part of mantissa needs
15480         examining to determine whether argument is integral.
15481         * math/libm-test.inc (round_test_data): Add more tests.
15483 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15485         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15487 2015-04-27  David S. Miller  <davem@davemloft.net>
15489         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15490         __tls_get_addr.
15491         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15493 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15495         [BZ#18333]
15496         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15498 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15500         [BZ#18333]
15501         * time/tzset.c (parse_tzname): Return error on memory allocation
15502         failure.
15503         * test-skeleton.c (struct temp_name_list): Change type of name
15504         member to non-const.
15505         (add_temp_file): Create a copy of the file name.
15506         (delete_temp_files): Deallocate memory.
15507         (create_temp_file): Add comment.
15509 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15511         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15512         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15514 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15516         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15517         * sysdeps/arm/configure: Regenerated.
15519 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15521         [BZ #17715]
15522         * time/tzfile.c (__tzfile_read): Check for large values of
15523         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15524         * time/tzset.c (__tzstring_len): New function, based on the old
15525         __tzstring function.
15526         (__tzstring): Call __tzstring_len.
15527         (parse_tzname): New helper function extracted from
15528         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15529         the input string.
15530         (parse_offset): New helper function extracted from
15531         __tzset_parse_tz.  Replace switch with fallthrough with
15532         initialization before sscanf.
15533         (parse_rule): Likewise.
15534         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15535         new-style function definition.
15536         * timezone/Makefile (tests): Add tst-tzset.
15537         (tst-tzset.out): Dependencies on time zone files.
15538         (tst-tzset-ENV): Set TZDIR.
15539         (testdata/XT%): Copy crafted time zone files.
15540         * timezone/README: Mention crafted time zone files.
15541         * timezone/testdata/XT1, timezone/testdata/XT2,
15542         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15543         files.
15544         * timezone/tst-tzset.c: New test.
15546 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15548         * Makeconfig (+gccwarn): Remove -Winline.
15550 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15552         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15554 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15556         * NEWS: Mention sysconf() cache information support for s390.
15557         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15559 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15561         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15562         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15563         (__nearbyint): Likewise.
15564         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15565         (copysignl): Likewise.
15567 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15569         [BZ #18287]
15570         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15571         based on padding.  (CVE-2015-1781)
15573 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15575         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15576         libc-vdso.h.
15577         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15578         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15579         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15580         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15581         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15582         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15583         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15584         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15585         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15586         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15587         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15588         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15589         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15590         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15591         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15592         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15593         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15594         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15595         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15596         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15597         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15598         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15599         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15601 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15603         * stdlib/setenv.c (__add_to_environ):
15604         Dump core quickly if setenv (..., NULL, ...) is called.
15605         This time, do it the right way, and pacify GCC with a pragma.
15607 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15609         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15610         IMAP->l_prev cannot be null, and #if out the code for the contrary
15611         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15612         believe that NS (&_dl_ns[NSID]) could point outside the array.
15614         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15615         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15616         before using NSID as an index.
15618 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15620         [BZ #17825]
15621         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15622         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15623         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15625 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15627         Add preliminary port to Google Native Client on ARM.
15628         * abi-tags (.*-.*-nacl.*): New entry.
15629         * sysdeps/arm/nacl: New directory.
15630         * sysdeps/nacl: New directory.
15632 2015-04-16  David S. Miller  <davem@davemloft.net>
15634         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15635         lowlevellock-futex.h
15637 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15639         * sysdeps/tile/configure.ac: New file.
15640         * sysdeps/tile/configure: Regenerated.
15642 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15644         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15645         conditionals for weak_alias and libc_hidden_weak.
15646         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15647         libc_hidden_weak and weak_alias.
15648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15649         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15650         and weak_alias for static one.
15652 2015-04-15  David S. Miller  <davem@davemloft.net>
15654         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15656 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15658         [BZ #18206]
15659         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15660           Use signed comparision instead of substraction to avoid
15661           overflow bug.
15662         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15663           Take the sign of ret.
15664         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15665           Do not expect precise return values. Only the sign matters.
15666         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15667         * wcsmbs/test-wcsncmp.c: New File.
15668         * string/test-strncmp.c: Add wcsncmp support.
15670 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15672         [BZ #6792]
15673         * math/w_log1p.c: New file.
15674         * math/w_log1pf.c: Likewise.
15675         * math/w_log1pl.c: Likewise.
15676         * math/Makefile (libm-calls): Add w_log1p.
15677         * math/s_log1pl.c (log1pl): Remove weak_alias.
15678         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15679         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15680         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15681         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15682         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15683         [NO_LONG_DOUBLE] (log1pl): Likewise.
15684         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15685         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15686         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15687         (log1p): Remove long_double_symbol.
15688         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15689         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15690         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15691         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15692         remove weak_alias for corresponding log1p function.
15693         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15694         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15695         * sysdeps/ia64/fpu/w_log1p.c: New file.
15696         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15697         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15698         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15700 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15702         [BZ #18247]
15703         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15704         decimal exponent by 1.
15705         * stdlib/tst-strtod-round-data: Add more tests.
15706         * stdlib/tst-strtod-round.c (tests): Regenerated.
15708 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15710         * math/auto-libm-test-in: Add more tests of clog and clog10.
15711         * math/auto-libm-test-out: Regenerated.
15712         * sysdeps/i386/fpu/libm-test-ulps: Update.
15713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15715 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15717         * Makeconfig (module-cppflags): Exclude all .v.i files.
15718         (skip-module-cppflags): Variable removed.
15720         * configure.ac (libc_config_ok): Initialize before reading
15721         preconfigure scripts, not after.
15722         * configure: Regenerated.
15724         * test-skeleton.c (TIMEOUT): Move #define to top level.
15725         (main): Grok environment variable TEST_DIRECT.  If set, print
15726         test expectation details into that file and then behave as if
15727         given --direct.
15729 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15731         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15732         warning on 32-bit.
15734 2015-04-08  David S. Miller  <davem@davemloft.net>
15736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15738 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15740         * math/auto-libm-test-in: Add more tests of atanh.
15741         * math/auto-libm-test-out: Regenerated.
15742         * sysdeps/i386/fpu/libm-test-ulps: Update.
15743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15745         * math/auto-libm-test-in: Add more tests of atan.
15746         * math/auto-libm-test-out: Regenerated.
15747         * sysdeps/i386/fpu/libm-test-ulps: Update.
15748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15750 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15752         * elf/pldd.c (main): Rewrite to use struct
15753         scratch_buffer instead of extend_alloca.
15754         * elf/pldd-xx.c (find_maps): Likewise.
15755         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15756         <alloca.h>.
15757         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15758         scratch_buffer instead of extend_alloca.
15759         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15760         grp/compat-initgroups.c.
15761         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15762         Rewrite to use struct scratch_buffer instead of extend_alloca.
15763         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15764         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15766 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15768         * math/auto-libm-test-in: Add more tests of cbrt.
15769         * math/auto-libm-test-out: Regenerated.
15770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15772         * math/auto-libm-test-in: Add more tests of cabs.
15773         * math/auto-libm-test-out: Regenerated.
15774         * sysdeps/i386/fpu/libm-test-ulps: Update.
15775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15777         [BZ #18210]
15778         [BZ #18211]
15779         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15780         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15781         computations.
15782         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15783         clog10.
15784         * math/auto-libm-test-out: Regenerated.
15785         * sysdeps/i386/fpu/libm-test-ulps: Update.
15786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15788         [BZ #18197]
15789         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15790         (atan): Set FE_TONEAREST mode for internal computations.
15791         * math/auto-libm-test-in: Add more tests of atan.
15792         * math/auto-libm-test-out: Regenerated.
15794 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15796         [BZ #17930]
15797         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15799 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15801         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15803 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15805         * include/scratch_buffer.h: New file.
15806         * malloc/scratch_buffer_grow.c: Likewise.
15807         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15808         * malloc/scratch_buffer_set_array_size.c: Likewise.
15809         * malloc/tst-scratch_buffer.c: Likewise.
15810         * malloc/Makefile (routines): Add scratch_buffer_grow.
15811         (tests): Add test case.
15812         * malloc/Versions (GLIBC_PRIVATE): Export
15813         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15814         __libc_scratch_buffer_set_array_size.
15816 2015-04-06  Richard Henderson  <rth@redhat.com>
15818         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15819         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15821         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15822         unsigned int before printing.
15824 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15826         [BZ #17596]
15827         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15828         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15830 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15832         * include/libc-internal.h (libc_max_align_t): Define.
15834 2015-04-02  Andreas Schwab  <schwab@suse.de>
15836         [BZ #16850]
15837         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15839 2015-04-02  Mel Gorman  <mgorman@suse.de>
15841         [BZ #17195]
15842         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15843         as well as the main arena.
15845 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15847         [BZ #18185]
15848         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15849         sharing L2 cache to 2 for Silvermont/Knights Landing.
15851 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15853         [BZ #17711]
15854         * config.make.in (have-protected-data): New.
15855         * configure.ac: Check linker support for protected data symbol.
15856         * configure: Regenerated.
15857         * elf/Makefile (modules-names): Add tst-protected1moda and
15858         tst-protected1modb if $(have-protected-data) is yes.
15859         (tests): Add tst-protected1a and tst-protected1b if
15860         $(have-protected-data) is yes.
15861         ($(objpfx)tst-protected1a): New.
15862         ($(objpfx)tst-protected1b): Likewise.
15863         (tst-protected1modb.so-no-z-defs): Likewise.
15864         * elf/tst-protected1a.c: New file.
15865         * elf/tst-protected1b.c: Likewise.
15866         * elf/tst-protected1mod.h: Likewise.
15867         * elf/tst-protected1moda.c: Likewise.
15868         * elf/tst-protected1modb.c: Likewise.
15870 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15872         [BZ #17711]
15873         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15874         indicates it is called from do_lookup_x on relocation against
15875         protected data, skip the data definion in the executable from
15876         copy reloc.
15877         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15878         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15879         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15880         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15881         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15882         otherwise to 0.
15883         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15884         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15885         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15886         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15887         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15888         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15890 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15892         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15893         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15895 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15897         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15898         THREAD_SETMEM_NC.
15899         * sysdeps/x86_64/nptl/tls.h: Ditto.
15901 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15903         * dlfcn/tststatic.c (main): Converted to ...
15904         (do_test): ... this.
15905         (TEST_FUNCTION): New macro.
15906         Include test-skeleton.c.
15908 2015-03-26  Alan Modra  <amodra@gmail.com>
15910         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15911         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15912         zero for undefined weak.
15913         (elf_machine_plt_conflict): Similarly.
15915 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15917         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15918         atanh.
15919         * math/auto-libm-test-out: Regenerated.
15920         * sysdeps/i386/fpu/libm-test-ulps: Update.
15921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15923         * math/auto-libm-test-in: Add another test of asin.
15924         * math/auto-libm-test-out: Regenerated.
15925         * sysdeps/i386/fpu/libm-test-ulps: Update.
15926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15928         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15929         Remove macro.
15930         (LLL_EBX_REG): Likewise.
15931         (LLL_ENTER_KERNEL): Likewise.
15933         * math/auto-libm-test-in: Add more tests of asin.
15934         * math/auto-libm-test-out: Regenerated.
15935         * sysdeps/i386/fpu/libm-test-ulps: Update.
15936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15938         [BZ #18138]
15939         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15940         libc_do_syscall_args): New structure.
15941         (INTERNAL_SYSCALL_MAIN_0): New macro.
15942         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15943         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15944         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15945         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15946         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15947         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15948         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15949         Replace conditional definitions by conditional definitions of ....
15950         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15951         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15952         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15953         (libpthread-sysdep_routines): Add libc-do-syscall.
15954         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15955         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15956         to __NR_futex not 240.
15958 2015-03-25  Alan Modra  <amodra@gmail.com>
15960         * NEWS: Advertise TLS optimization.
15961         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15962         (DT_PPC_NUM): Increment.
15963         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15964         (CHECK_STATIC_TLS): Use here.
15965         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15966         TLS descriptors.
15967         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15968         * sysdeps/powerpc/dl-tls.c: New file.
15969         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15970         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15971         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15972         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15977 2015-03-25  Alan Modra  <amodra@gmail.com>
15979         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15980         for overlapping .opd entries" to "support...".
15981         * sysdeps/powerpc/powerpc64/configure: Regenerate
15983 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15985         * math/auto-libm-test-in: Add more tests of acos.
15986         * math/auto-libm-test-out: Regenerated.
15987         * sysdeps/i386/fpu/libm-test-ulps: Update.
15988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15990         * math/auto-libm-test-in: Add more tests of expm1.
15991         * math/auto-libm-test-out: Regenerated.
15992         * sysdeps/i386/fpu/libm-test-ulps: Update.
15993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15995 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15997         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15998         * math/auto-libm-test-out: Regenerated.
15999         * sysdeps/i386/fpu/libm-test-ulps: Update.
16000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16002         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16005         * math/auto-libm-test-in: Add more tests of log2.
16006         * math/auto-libm-test-out: Regenerated.
16007         * sysdeps/i386/fpu/libm-test-ulps: Update.
16008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16010 2015-03-23  Roland McGrath  <roland@hack.frob.com>
16012         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
16013         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
16014         _IO_IS_APPENDING bit in READ_WRITE instead.
16016 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16018         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16019         (__determine_cpumask_size): Replace extend_alloca with a
16020         variable-length array.  Do not treat res == 0 as an error.
16022 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16024         [BZ #18100]
16025         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
16026         and integer overflow.
16027         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
16028         (main): Add integer overflow tests.
16029         * manual/pattern.texi (Calling Wordexp): Document additional use
16030         for WRDE_SYNTAX.
16032 2015-03-23  Alan Modra  <amodra@gmail.com>
16034         * config.h.in: Remove HAVE_ASM_PPC_REL16.
16035         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
16036         and false branch of conditional.
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16038         Likewise.
16040 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
16042         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
16043         libc-modules.h
16044         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
16045         unused declaration of _hurd_intr_rpc_msg_in_trap.
16046         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
16047         defined instead of whether it is non-zero.
16048         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
16049         input constraint instead of both input and output constraint.  Use ecx
16050         clobber instead of %ecx.
16051         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
16052         mutex_unlock): Use a statement expression instead of an expression list.
16053         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
16054         type to vm_size_t instead of vm_address_t.
16055         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
16056         defined instead of whether it is non-zero.
16057         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
16058         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
16059         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
16060         comparisons with mapaddr.
16061         * nscd/nscd-client.h: Include <time.h>.
16062         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
16063         9th parameter to __vm_region instead of int.
16064         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
16065         * scripts/check-local-headers.sh (exclude): Add device/,
16066         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
16067         cthreads.h.
16069 2015-03-19  Roland McGrath  <roland@hack.frob.com>
16071         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
16072         to account for alignment padding.
16073         * sysdeps/arm/memmove.S: Likewise.
16075 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
16077         * sysdeps/unix/sysv/linux/generic/README: New file.
16079 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
16081         [BZ #18138]
16082         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
16083         (futex_abstimed_wait)
16084         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
16085         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
16086         of lll_futex_timed_wait.
16088 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
16090         [BZ #17542]
16091         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
16093 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
16095         [BZ #17090]
16096         [BZ #17620]
16097         [BZ #17621]
16098         [BZ #17628]
16099         * NEWS: Update.
16100         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
16101         entries with Static TLS too.  Skip entries past the end of the
16102         allocated DTV, from Alan Modra.
16103         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
16104         Static TLS DTV entry set up from...
16105         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
16106         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
16107         * nptl/allocatestack.c (init_one_static_tls): ... and here...
16108         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
16109         for Static TLS.
16110         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
16111         that the slot we find is associated with the given map before
16112         using its generation count.
16113         * nptl_db/db_info.c: Include ldsodefs.h.
16114         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
16115         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
16116         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
16117         (link_map::l_tls_offset): New struct field.
16118         (dtv_t::counter): Likewise.
16119         (rtld_global): New struct.
16120         (_rtld_global): New rtld variable.
16121         (dl_tls_dtv_slotinfo_list): New rtld global field.
16122         (dtv_slotinfo_list): New struct.
16123         (dtv_slotinfo): Likewise.
16124         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
16125         (td_lookup): Rename to...
16126         (td_mod_lookup): ... this.  Use new mod parameter instead of
16127         LIBPTHREAD_SO.
16128         * nptl_db/td_thr_tlsbase.c: Include link.h.
16129         (dtv_slotinfo_list, dtv_slotinfo): New functions.
16130         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
16131         addresses even if the DTV is out of date or missing them.
16132         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
16133         index zero-length arrays.
16134         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
16135         (td_lookup): Make it a macro implemented in terms of...
16136         (td_mod_lookup): ... this declaration.
16137         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
16138         (DB_MAIN_VARIABLE): Likewise.
16140 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16142         [BZ #18134]
16143         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16145 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
16147         * stdlib/setenv.c (__add_to_environ): Revert previous change.
16149 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16151         [BZ #18128]
16152         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
16153         (atomic_add, atomic_increment_and_test)
16154         (atomic_decrement_and_test): Fix 64-bit arithmetic.
16156 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
16158         * stdlib/setenv.c (__add_to_environ):
16159         Dump core quickly if setenv (..., NULL, ...) is called.
16161 2015-03-13  Roland McGrath  <roland@hack.frob.com>
16163         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
16164         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
16165         all the necessary asm magic in one place.
16166         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
16167         using those.
16169 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
16171         [BZ #14906]
16172         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
16173         traced file mtime. Use consistent log message.
16174         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
16175         (register_traced_file): Call install_watches. Always set mtime.
16176         (invalidate_cache): Iterate over all trace files. Call install_watches.
16177         (inotify_check_files): Don't inline. Handle watching parent
16178         directories and configuration file movement in and out.
16179         (handle_inotify_events): New function.
16180         (main_loop_poll): Call handle_inotify_events.
16181         (main_loop_epoll): Likewise.
16182         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
16183         (struct traced_file): Use array of inotify fds. Add parent directory,
16184         and basename.
16185         (struct database_dyn): Remove unused file_mtime.
16186         (init_traced_file): New inline function.
16187         (define_traced_file): New macro.
16188         * nss/nss_db/db-init.c: Use define_traced_file.
16189         (_nss_db_init): Use init_traced_file.
16190         * nss/nss_files/files-init.c: Use define_traced_file.
16191         (_nss_files_init): Use init_traced_file.
16193 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
16195         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
16196         [_LIBC]: Do not include <stdlib.h>.
16197         [!_LIBC] (abort): Remove declaration.
16198         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
16199         _FP_STATIC_ASSERT instead of conditionally calling abort.
16200         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
16201         (_FP_EXTEND_CNAN): Likewise.
16202         (FP_TRUNC): Likewise.
16203         (__FP_CLZ): Likewise.
16204         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
16206 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
16208         * manual/string.texi (XPG basename): Fix prototype.
16210 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16212         [BZ #18080]
16213         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
16214         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16215         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
16216         (__setcontext): Likewise.
16217         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
16218         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16219         Call rt_sigprocmask syscall one time to set new signal mask
16220         and retrieve the current signal mask instead of two calls.
16221         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
16222         (__swapcontext): Likewise.
16223         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
16224         * stdlib/tst-setcontext2.c: New file.
16226 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16228         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16230 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
16232         [BZ #18093]
16233         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
16234         the wrong size.
16236 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16238         [BZ #18043]
16239         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
16241 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16243         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
16244         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
16245         Remove define.
16246         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
16247         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
16248         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
16249         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
16250         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
16251         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
16252         define.
16253         * nptl_db/td_symbol_list.c (td_lookup): Remove
16254         HAVE_ASM_GLOBAL_DOT_NAME code.
16255         * sysdeps/powerpc/powerpc64/configure.ac: Remove
16256         HAVE_ASM_GLOBAL_DOT_NAME check.
16257         * sysdeps/powerpc/powerpc64/configure: Regenerate.
16258         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
16259         (DOT_LABEL): Remove define.
16260         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
16261         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
16262         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
16263         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
16264         (__TLS_GET_ADDR): Likewise.
16265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
16266         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
16268 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
16270         [BZ #18111]
16271         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
16272         (_FPU_SETCW): Initialize cw from fpsr before storing.
16273         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
16274         (fesetexceptflag): Rewrite using fpu_control.h.
16275         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
16277 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
16279         [BZ #18110]
16280         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
16281         asms.
16282         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16284 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
16286         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
16287         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
16288         abort.
16289         (_FP_FMA): Likewise.
16290         (_FP_DIV): Likewise.
16292 2015-03-10  Roland McGrath  <roland@hack.frob.com>
16294         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
16295         with 0 in that case.
16296         * Makefile (summarize-tests): New canned sequence, factored out of
16297         commands for targets tests and xtests.  Display summary lines that
16298         don't start with PASS: or XFAIL: rather than ones that do start with
16299         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
16300         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
16301         do start with ERROR: or FAIL:.
16302         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
16303         (except for [$(build-shared) = yes]).
16304         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
16305         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
16306         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
16307         * nptl/Makefile: Revert 2015-03-04 changes.
16308         [$(CXX) empty] (tests-unsupported): New variable.
16309         * debug/Makefile: Likewise.
16311         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
16312         gnulib file.  Replace __attribute with __attribute__ throughout.
16314 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
16316         * sysdeps/hppa/fpu/libm-test-ulps: Update.
16318 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16320         [BZ #18104]
16321         * math/auto-libm-test-in: Add another test of pow.
16322         * math/auto-libm-test-out: Regenerated.
16324 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16326         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16327         $(config-cflags-nofma).
16329 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16331         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16332         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16333         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16334         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16335         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16336         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16337         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16338         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16339         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16340         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16341         Add comment on closing #endif.
16343 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16345         * posix/wordexp.c (CHAR_IN_SET): New macro.
16346         (parse_param): Use it.
16348 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16350         * sysdeps/powerpc/fpu/libm-test-ulps: update.
16352 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16354         [BZ #18043]
16355         * posix/wordexp.c (parse_param): Fix buffer overflow.
16356         * posix/wordexp-test.c (test_case): Add test case.
16358 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16360         [BZ #18042]
16361         * posix/wordexp.c (parse_backtick): Fix off-by-one.
16362         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16364 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16366         [BZ #18043]
16367         * posix/wordexp-test.c (test_case): Add test for BZ #18043
16368         (do_bz18043): Delete.
16369         (at_page_end): New.
16370         (testit): Refactor to have words at the edge of unreadable page.
16372 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16374         [BZ #16734]
16375         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
16376         Cleanup read-only streams as well.
16377         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
16379 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16381         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
16382         <bits/libc-lockP.h>
16384 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
16386         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
16387         on [__KERNEL__].
16388         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
16389         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
16390         * soft-fp/op-common.h (_FP_DECL): Likewise.
16392 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16394         * elf/ifuncdep2.c (global): Replace
16395         __attribute__((visibility("protected"))) with
16396         asm (".protected global").
16397         * elf/ifuncmod1.c (global): Likewise.
16398         * elf/ifuncmod5.c (global): Likewise.
16400 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
16402         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
16403         <asm/sfp-machine.h> instead of <sfp-machine.h>.
16405 2015-03-06  Roland McGrath  <roland@hack.frob.com>
16407         * manual/install.texi (Configuring and compiling):
16408         Document test-wrapper-env-only.
16409         * INSTALL: Regenerated.
16411 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16413         [BZ #18043]
16414         * posix/wordexp.c (parse_param): Fix buffer overflow.
16415         * posix/wordexp-test.c (do_bz18043): Add test case.
16417 2015-03-06  Vincent Bernat  <vincent@bernat.im>
16419         * time/tst-strptime2.c (do_test): Ensure failing tests are
16420         reported correctly.
16421         * time/tst-strptime3.c (do_test): Likewise.
16423 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
16425         Fix aio_error thread-safety.
16426         * sysdeps/pthread/aio_error.c: New file
16427         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16428         synchronization.
16430 2015-03-06  Florian Weimer  <fweimer@redhat.com>
16432         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16433         (group_number, vfprintf): Use it.
16434         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16435         (JUMP, REF): Use it.
16436         (WORK_BUFFER_SIZE): New enum constant.
16437         (process_arg, vfprintf): Use it.
16439 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
16441         * manual/errno.texi (Error Messages): Complete example function
16442         by adding missing #define.
16443         (program_invocation_name): Add statement indicating GNU
16444         extension and reference which header file declares the variable.
16445         (program_invocation_short_name): Likewise.
16447 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
16449         * manual/errno.texi (Error Messages): Delete strerror ISO C89
16450         compatibility note.
16452 2015-03-05  Roland McGrath  <roland@hack.frob.com>
16454         * Makeconfig (test-wrapper-env-only): New variable.
16455         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16456         then use that with $(test-wrapper-env-only) rather than using
16457         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16459 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16461         [BZ #18082]
16462         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16463         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16464         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16465         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16466         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16467         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16468         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16469         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16470         Likewise.
16471         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16472         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16473         Likewise.
16474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16475         Likewise.
16476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16477         Likewise.
16478         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16479         Likewise.
16480         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16481         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16482         Likewise.
16483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16484         Likewise.
16485         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16486         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16488 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16490         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16491         (ETH_ALEN): New macro.
16492         (struct ether_addr): Use it for length of ether_addr_octet.
16494         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16495         (setdb): Don't call __nss_configure_lookup for "rpc".
16496         (do_test): Don't call test_rpc.
16497         (output_rpcent, test_rpc): Functions moved ...
16498         * sunrpc/test-rpcent.c: ... to this new file.
16499         * sunrpc/Makefile (tests): Add it.
16501         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16502         __xpg_sigpause.
16503         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16504         * nptl/tst-signal6.c: Likewise.
16505         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16506         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16508         * configure.ac (libc_cv_cxx_link_ok): New check.
16509         Reset CXX to empty if it fails to link.
16510         * configure: Regenerated.
16511         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16512         bug-atexit3-lib only if $(CXX) is nonempty.
16513         * nptl/Makefile (tests): Likewise for tst-cancel24.
16514         (tests, tests-static): Likewise for tst-cancel24-static.
16515         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16516         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16517         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16518         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16520 2015-03-04  Andreas Schwab  <schwab@suse.de>
16522         [BZ #17631]
16523         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16524         for non-GCC compilers.
16525         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16526         Likewise.
16528 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16530         [BZ #17776]
16531         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16532         integer before bitwise and assembly operations.
16533         (feclearexcept): Likewise.
16534         * math/test-fenvinline.c: New file.
16535         * math/Makefile: Add test-fenvinline test.
16537 2015-03-03  Alan Modra  <amodra@gmail.com>
16539         [BZ #16512]
16540         * scripts/localplt.awk: Strip off symbol version.
16541         * NEWS: Mention bug fix.
16543 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16545         * sysdeps/pthread/timer_routines.c
16546         (timer_free_list, thread_free_list, thread_active_list): Make static.
16548 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16550         [BZ #17779]
16551         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16552         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16553         Undefine.
16554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16555         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16556         Likewise.
16557         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16558         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16559         Likewise.
16561 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16563         [BZ #18036]
16564         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16565         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16567 2015-03-02  Andreas Schwab  <schwab@suse.de>
16569         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16570         variable name.
16572 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16574         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16575         Return error status.
16577 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16579         [BZ #15969]
16580         * locale/findlocale.c (_nl_find_locale): Introduce const
16581         version of loc_name and drop unsafe type casts.
16583 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16585         * dlfcn/tststatic2.c (main): Converted to ...
16586         (do_test): ... this.
16587         (TEST_FUNCTION): New macro.
16588         Include test-skeleton.c.
16590 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16592         [BZ #17711]
16593         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16594         (tests-pie): Add vismain.
16595         (CFLAGS-vismain.c): New.
16596         * elf/vismain.c: Add comments for PIE requirement.
16598 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16600         [BZ #18046]
16601         [BZ #18047]
16602         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16603         0x1p-56L as threshold for just returning the argument.
16604         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16605         0x1p-32L as threshold for just returning the argument.
16606         * math/auto-libm-test-in: Add more tests of atanh.
16607         * math/auto-libm-test-out: Regenerated.
16608         * sysdeps/i386/fpu/libm-test-ulps: Update.
16609         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16611 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16613         * string/bcopy.c (bcopy): Call memmove for performance.
16615 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16617         * string/bzero.c (__bzero): Call memset for performance.
16619 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16621         [BZ #18068]
16622         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16623         to 00100000.
16625 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16627         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16629 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16631         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16632         (__kernel_standard): Use CSTR macro when setting exc.name.
16633         * sysdeps/ieee754/Makefile [$(subdir) = math]
16634         (CFLAGS-k_standard.c): Remove variable.
16636         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16637         setting p and q from "else if" to "else".
16638         (qzero): Likewise.
16639         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16640         (qone): Likewise.
16641         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16642         (qzerof): Likewise.
16643         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16644         (qonef): Likewise.
16645         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16646         (qzero): Likewise.
16647         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16648         (qone): Likewise.
16650         [BZ #18038]
16651         [BZ #18039]
16652         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16653         return pi/2 for arguments below 0x1p-113L.
16654         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16655         return pi/2 for arguments below 0x1p-106L.
16656         * math/auto-libm-test-in: Add more tests of acos.
16657         * math/auto-libm-test-out: Regenerated.
16659         [BZ #16351]
16660         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16661         (MO): New macro.
16662         (__ieee754_asin): Force underflow exception for results with small
16663         absolute value.
16664         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16665         (MO): New macro.
16666         (__ieee754_asinf): Force underflow exception for results with
16667         small absolute value.
16668         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16669         (__ieee754_asin): Force underflow exception for results with small
16670         absolute value.
16671         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16672         (__ieee754_asinf): Force underflow exception for results with
16673         small absolute value.
16674         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16675         (__ieee754_asinl): Force underflow exception for results with
16676         small absolute value.
16677         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16678         (__ieee754_asinl): Force underflow exception for results with
16679         small absolute value.
16680         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16681         (__ieee754_asinl): Force underflow exception for results with
16682         small absolute value.
16683         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16684         Include <math.h>.
16685         * math/auto-libm-test-in: Do not mark underflow exceptions as
16686         possibly missing for bug 16351.
16687         * math/auto-libm-test-out: Regenerated.
16689         [BZ #18030]
16690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16691         of power of 2 down when low part has opposite sign.
16692         * math/libm-test.inc (logb_test_data): Add more tests.
16694 2015-02-26  Andreas Schwab  <schwab@suse.de>
16696         [BZ #18032]
16697         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16698         over collating symbol inside a bracket expression.  Minor cleanup.
16699         * posix/tst-fnmatch3.c (do_test): Add test case.
16701 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16703         [BZ #18029]
16704         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16705         Adjust exponent of power of 2 down when low part has opposite
16706         sign.
16707         * math/libm-test.inc (ilogb_test_data): Add more tests.
16709 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16711         [BZ #15969]
16712         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16713         the previous change.
16715         [BZ #15969]
16716         * locale/findlocale.c (_nl_find_locale): Retry archive search
16717         after alias expansion.
16719 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16721         * iconv/tst-iconv3.c (main): Converted to ...
16722         (do_test): ... this.
16723         (TEST_FUNCTION): New macro.
16724         Include test-skeleton.c.
16726         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16727         (convert): Make function static.
16728         (test_unalign): Likewise.  Add const to argument pointee types.
16729         (main): Replace with static function do_test.
16730         Print "Succeeded." only if RET is zero.
16731         (TEST_FUNCTION): New macro.
16732         Include test-skeleton.c.
16734         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16735         returns a null pointer.
16737 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16739         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16740         to __memcpy_ppc only for static builds.
16742 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16744         [BZ #18020]
16745         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16746         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16747         * math/auto-libm-test-in: Add more tests of asinh.
16748         * math/auto-libm-test-out: Regenerated.
16749         * sysdeps/i386/fpu/libm-test-ulps: Update.
16750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16752 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16754         [BZ #15850]
16755         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16756         and ip6_mtuinfo definitions here.
16757         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16758         in this define too.  Update comment.
16760 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16762         * elf/sprof.c (load_shobj): Tweak error message to match others.
16764 2015-02-24  Kevin Easton  <kevin@guarana.org>
16766         [BZ #16145] (partial fix)
16767         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16768         to reduce lock contention.
16770 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16772         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16773         (struct timex): Update time comment.
16774         (ADJ_SETOFFSET): Define.
16776 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16778         [BZ #18019]
16779         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16780         2**56 not 2**28 as threshold for log (2x) formula.
16781         * math/auto-libm-test-in: Add more tests of acosh.
16782         * math/auto-libm-test-out: Regenerated.
16783         * sysdeps/i386/fpu/libm-test-ulps: Update.
16784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16786 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16788         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16789         parenthesis around the buf assignment.
16790         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16792 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16794         [BZ #16783]
16795         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16796         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16797         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16798         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16799         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16800         * math/libm-test.inc (scalb_test_data): Add more tests.
16802 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16804         [BZ #17916]
16805         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16806         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16808 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16810         [BZ #17523]
16811         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16812         * io/bits/fcntl2.h (open): Use it.
16813         (openat): Likewise.
16814         * io/open.c (__libc_open): Likewise.
16815         * io/open64.c (__libc_open64): Likewise.
16816         * io/open64_2.c (__open64_2): Likewise.
16817         * io/open_2.c (__open_2): Likewise.
16818         * io/openat.c (__openat): Likewise.
16819         * io/openat64.c (__openat64): Likewise.
16820         * io/openat64_2.c (__openat64_2): Likewise.
16821         * io/openat_2.c (__openat_2): Likewise.
16822         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16823         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16824         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16825         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16826         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16827         (__open_nocancel): Likewise.
16828         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16829         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16830         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16832 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16834         [BZ #14841]
16835         * resolv/gethnamaddr.c (getanswer): Skip logging if
16836         RES_USE_DNSSEC is set.
16837         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16839 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16841         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16843 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16845         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16846         201304L, for Unicode 7.
16848 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16850         [BZ #17836]
16851         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16852         shared library.  Add gmon-start.os otherwise.
16853         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16854         $(objpfx)gmon-start.os if builing shared library.
16855         ($(objpfx)g$(static-start-installed-name)): Likewise.
16857 2015-02-23  Andreas Schwab  <schwab@suse.de>
16859         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16861 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16863         [BZ #17269]
16864         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16865         (enlarge_userbuf): Likewise.
16867 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16869         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16870         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16871         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16872         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16874 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16876         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16877         expression inside statement expression.
16879 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16881         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16882         <sysdeps/nptl/lowlevellock.h> and remove macros and
16883         functions that are now defined there.
16884         (SYS_futex): Remove.
16885         (lll_compare_and_swap): Remove.
16886         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16888 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16890         [BZ #17999]
16891         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16892         instead of scandirat.
16893         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16894         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16895         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16896         __scandirat.
16897         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16898         (__scandirat): Declare.  Use libc_hidden_proto.
16899         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16900         Remove variable.
16901         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16903 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16905         [BZ #15319]
16906         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16907         (MO): New macro.
16908         (__ieee754_atan2): For results with small absolute value, force
16909         underflow exception and remove excess range and precision from
16910         return value.
16911         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16912         (MO): New macro.
16913         (__ieee754_atan2f): For results with small absolute value, force
16914         underflow exception and remove excess range and precision from
16915         return value.
16916         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16917         (MO): New macro.
16918         (__atan): For results with small absolute value, force underflow
16919         exception and remove excess range and precision from return value.
16920         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16921         (MO): New macro.
16922         (__atanf): For results with small absolute value, force underflow
16923         exception and remove excess range and precision from return value.
16924         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16925         <math.h>.
16926         (__ieee754_atan2): Force underflow exception for results with
16927         small absolute value.
16928         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16929         <math_private.h>.
16930         (atan): Force underflow exception for results with small absolute
16931         value.
16932         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16933         (__atanf): Force underflow exception for results with small
16934         absolute value.
16935         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16936         <math.h>.
16937         (__atanl): Force underflow exception for results with small
16938         absolute value.
16939         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16940         (__atanl): Force underflow exception for results with small
16941         absolute value.
16942         * sysdeps/x86/fpu/bits/mathinline.h
16943         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16944         (__ieee754_atan2): Only define inline for long double.
16945         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16946         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16947         * math/auto-libm-test-in: Do not mark underflow exceptions as
16948         possibly missing for bug 15319.  Add more tests of atan2.
16949         * math/auto-libm-test-out: Regenerated.
16950         * math/libm-test.inc (casin_test_data): Do not mark underflow
16951         exceptions as possibly missing for bug 15319.
16952         (casinh_test_data): Likewise.
16953         * sysdeps/i386/fpu/libm-test-ulps: Update.
16955 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16957         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16958         * sysdeps/mips/bits/endian.h: Fix comments.
16960 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16962         [BZ #17996]
16963         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16964         (hdestroy_r): Likewise.
16965         (hsearch_r): Likewise.
16966         (__hcreate_r): Declare and use libc_hidden_proto.
16967         (__hdestroy_r): Likewise.
16968         (__hsearch_r): Likewise.
16969         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16970         (hcreate): Call __hcreate_r instead of hcreate_r.
16971         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16972         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16973         as weak alias of __hcreate_r.
16974         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16975         __hdestroy_r.
16976         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16977         __hsearch_r.
16978         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16979         Remove variable.
16980         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16981         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16982         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16983         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16985 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16987         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16988         arena_lock into a single arena_get.
16990 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16992         * dl-reloc.c: Inlucde libc-internal.h.
16993         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16994         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16995         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16996         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16997         (grow_heap): Likewise.
16998         * malloc/malloc.c: Include libc-internal.h.
16999         (do_check_malloc): Call powerof2.
17000         (sysmalloc): Use pagesize. Call ALIGN_UP.
17001         (systrim): Use pagesize.
17002         (mremap_chunk): Use pagesize. Call ALIGN_UP.
17003         (__libc_valloc): Use pagesize.
17004         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
17006 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17008         [BZ #17991]
17009         * include/sys/resource.h (__getrlimit64): Declare.  Use
17010         libc_hidden_proto.
17011         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
17012         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
17013         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
17014         getrlimit64.
17015         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
17016         __getrlimit64.
17017         [!getrlimit64] (getrlimit64): Define as weak alias of
17018         __getrlimit64.  Use libc_hidden_weak.
17019         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
17020         using __getrlimit64 not __new_getrlimit64.
17021         (__GI_getrlimit64): Likewise.
17022         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
17023         Likewise.
17024         (__GI_getrlimit64): Likewise.
17025         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
17026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
17027         (getrlimit): Add __getrlimit64 alias.
17028         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
17029         Likewise.
17030         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
17031         Remove variable.
17032         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17033         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17035 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
17037         * libio/fileops.c: Add missing sys/mman.h
17038         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
17040 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17042         * manual/math.texi (Errors in Math Functions): Clarify goals
17043         regarding inexact and underflow exceptions.
17045 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17047         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
17048         * sysdeps/mips/memset.S: Ditto.
17050 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17052         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
17054 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17056         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
17057         (__v1longjmp): Remove versioned symbol.
17058         (__v1siglongjmp): Remove alias and versioned symbol.
17059         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
17060         (__v2siglongjmp): Likewise.
17062 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17064         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
17066 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
17068         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
17070 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17072         [BZ #17987]
17073         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
17074         zero result does not depend on the sign resulting from
17075         subtraction.
17076         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17077         Likewise.
17078         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17079         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17080         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17081         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17082         * math/libm-test.inc (remquo_test_data): Add more tests.
17084 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
17086         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
17087         Problem reported by J William Piggott.
17089 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17091         [BZ #17978]
17092         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
17093         products 4 * y and 2 * y where those would overflow.
17094         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17095         Likewise.
17096         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17097         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17098         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17099         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17100         * math/libm-test.inc (remquo_test_data): Add more tests.
17102         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
17104         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
17105         [defined _COMPILING_NEWLIB].
17106         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
17107         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
17109         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
17110         [!defined __mips_isa_rev || __mips_isa_rev < 6].
17112 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17114         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
17115         acquired.
17117 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
17119         [BZ #17792]
17120         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
17121         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
17122         HOST_STACK_END_ADDR): Likewise.
17124 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
17126         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
17127         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
17128         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
17130 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17132         * sysdeps/generic/c++-types.data: New file.
17133         * sysdeps/generic/ld.abilist: New file.
17134         * sysdeps/generic/libBrokenLocale.abilist: New file.
17135         * sysdeps/generic/libanl.abilist: New file.
17136         * sysdeps/generic/libc.abilist: New file.
17137         * sysdeps/generic/libcrypt.abilist: New file.
17138         * sysdeps/generic/libdl.abilist: New file.
17139         * sysdeps/generic/libm.abilist: New file.
17140         * sysdeps/generic/libpthread.abilist: New file.
17141         * sysdeps/generic/libresolv.abilist: New file.
17142         * sysdeps/generic/librt.abilist: New file.
17144 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17146         [BZ #17569]
17147         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17148         Compute absolute value of x as modified by fmod, not original
17149         value of x.
17150         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
17151         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
17152         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
17153         RUN_TEST_ffI_f1_mod8.
17154         (remquo_test_data): Add more tests.
17156 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17158         * sysdeps/init_array/pt-crti.S: New file.
17160 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17162         [BZ #17967]
17163         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
17164         __builtin_fmaf instead of relying on contraction of a * b + c.
17166 2015-02-12  J William Piggott  <elseifthen@gmx.com>
17168         [BZ #17969]
17169         * manual/time.texi: correct the zoneinfo path in the TZ Variable
17170         node.
17172 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17174         [BZ #17964]
17175         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17176         __builtin_fma instead of relying on contraction of a * b + c.
17178 2015-02-12  Roland McGrath  <roland@hack.frob.com>
17180         * Makeconfig (ASFLAGS): Add -Werror=undef.
17181         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
17182         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
17183         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
17185         * Makeconfig (after-link): New variable.
17186         (+link-pie, +link-pie-tests): Use it.
17187         (+link-static, +link-static-tests): Likewise.
17188         (+link, +link-tests): Likewise.
17189         * Makerules (build-module, build-module-asneeded): Likewise.
17190         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
17191         Likewise.
17192         * elf/Makefile ($(objpfx)ld.so): Likewise.
17194 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
17196         [BZ #17965]
17197         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
17198         both struct timeval and struct timespec.
17200 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17202         [BZ #16560]
17203         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17204         and redefine.
17205         (__ieee754_exp2l): Do not multiply small fractional parts by
17206         M_LN2l.
17207         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
17208         small argument.
17209         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17210         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17211         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
17212         * math/auto-libm-test-in: Add more tests of exp2.
17213         * math/auto-libm-test-out: Regenerated.
17215 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17217         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
17218         unaligned path.
17220 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17222         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
17223         little endian.
17225 2015-02-12  Andreas Schwab  <schwab@suse.de>
17227         [BZ #15790]
17228         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17229         Filter out elision flags from value returned in kind.
17230         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
17231         * nptl/tst-pthread-mutexattr.c: New file.
17233 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17235         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
17236         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
17237         into gnu-gnu, and update comment to refer to abi-tags.
17239 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
17241         [BZ #15467]
17242         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
17243         (__sincos): Set errno to EDOM for infinite argument.
17244         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
17245         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
17246         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
17247         (__sincosl): Set errno to EDOM for infinite argument.
17248         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
17249         (__sincosl): Set errno to EDOM for infinite argument.
17250         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
17251         (__sincosl): Set errno to EDOM for infinite argument.
17252         * math/libm-test.inc (sincos_test_data): Test errno setting.
17254 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
17256         * string/strxfrm_l.c: Remove #define STRCMP.
17257         * string/strcoll_l.c: Remove #define STRLEN.
17258         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
17259         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
17261 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
17263         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
17264         * sysdeps/mips/mips32/sfp-machine.h: ... here.
17265         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
17266         * sysdeps/mips/mips64/Makefile: ... here.
17267         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
17268         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
17269         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
17270         * sysdeps/mips/mips64/sfp-machine.h: ... here.
17271         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
17272         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
17273         * sysdeps/mips/mips64/n64/Implies: Likewise.
17275 2015-02-10  Roland McGrath  <roland@hack.frob.com>
17277         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
17278         <sys/time.h>, <string.h>, and <errno.h>.
17279         (dest_offset, dest_address, value, zero): Remove unused variables.
17280         (ldouble): Remove typedef.
17281         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
17282         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
17283         1).  Fix code style.
17284         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
17285         (check): Function removed.
17286         (CHECK): New macro.
17287         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
17288         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
17289         Don't call set_sigaction_FP and remove_sigaction_FP here.
17290         (ldouble_test): Just use 'long double' as macro argument, no need for
17291         the 'ldouble' typedef.
17292         (do_test): Set up SIGFPE handler at start, using plain signal rather
17293         than sigaction.  Fix code style.
17295 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
17297         [BZ #17949]
17298         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
17299         jump label.
17301 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17303         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
17304         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17306         * sysdeps/powerpc/configure.ac: Remove file.
17307         * sysdeps/powerpc/configure: Likewise.
17309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17310         [sysdep_routines]: Remove wordcopy-power6 object.
17311         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17312         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
17313         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
17314         (__memmove_ppc32): Likewise.
17315         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
17316         file.
17317         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
17318         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
17319         Remove preprocessor.
17321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17322         [sysdep_routines]: Remove wide chars objects.
17323         [wcsmbs]: New rule for wide char objects.
17325         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17326         Remove wordcopy-power6 obejct.
17327         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17328         Use local call for wordcopy and memcpy symbols.
17329         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17330         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17331         implementation for loader.
17332         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17334         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17335         Remove wordcopy-power7 object.
17336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17337         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17338         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17339         (_wordcopy_fwd_dest_aligned): Likewise.
17340         (_wordcopy_bwd_aligned): Likewise.
17341         (_wordcopy_bwd_dest_aligned): Likewise.
17343         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17344         Rewrite to call __memmove_ppc instead of include default
17345         implementation.
17347         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17348         Remove wide chars objects.
17349         [wcsmbs]: New rule for wide char objects.
17351 2015-02-09  Andreas Schwab  <schwab@suse.de>
17353         [BZ #17912]
17354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17355         in terms of __O_DIRECTORY.
17357 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17359         * time/getdate.c: Include <stdbool.h>.
17360         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17361         call PTR_MANGLE.
17362         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17363         PTR_DEMANGLE.
17365 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
17367         Add ersatz _Static_assert on older C hosts
17368         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
17369         pre-C11 C platform that is not known to support _Static_assert.
17371 2015-02-07  Richard Braun  <rbraun@sceen.net>
17373         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
17374         sigstate.
17375         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
17377 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17379         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
17380         priority against unexistent AIO_PRIO_DELTA_MAX.
17381         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
17382         instead of int.
17383         * misc/fchflags.c (fchflags): Likewise.
17384         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
17385         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
17386         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
17387         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17388         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
17389         Declare macros.
17390         [__USE_MISC] (chflags, fchflags): Declare functions.
17391         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
17392         EINVAL when nfds is greater than FD_SETSIZE.
17393         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
17394         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
17395         45.
17396         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
17397         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
17398         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
17399         MACH_RCV_TIMED_OUT.
17400         * hurd/hurd/signal.h (_hurd_self_sigstate,
17401         _hurd_critical_section_lock, _hurd_critical_section_unlock):
17402         Explicit casts from void *.
17403         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
17404         * abi-tags: Rename gnu-gnu os into gnu.
17406         [BZ #4719]
17407         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17408         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17409         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17410         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17411         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17412         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17414         [BZ #17944]
17415         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17416         duplicates ADDR->sun_path with sockaddr LEN limitation.
17417         * sysdeps/mach/hurd/connect.c: Include <string.h>
17418         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17419         * sysdeps/mach/hurd/sendmsg.c: Likewise.
17420         * sysdeps/mach/hurd/sendto.c: Likewise.
17421         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17422         implementing it by hand.
17424 2015-02-06  Roland McGrath  <roland@hack.frob.com>
17426         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17427         Use sfi_breg on ldr.
17428         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17429         Likewise.
17431         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17432         it's defined.
17433         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17434         Test SIGSETXID only if it's defined.
17436         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17438         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17439         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
17441         * nptl/tst-align2.c: Moved ...
17442         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17443         * nptl/Makefile (tests): Remove tst-align2.
17444         * sysdeps/unix/sysv/linux/Makefile
17445         [$(subdir) = nptl] (tests): Add tst-align-clone.
17446         * nptl/tst-getpid1.c: Moved ...
17447         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17448         * nptl/tst-getpid2.c: Moved ...
17449         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17450         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17451         * sysdeps/unix/sysv/linux/Makefile
17452         [$(subdir) = nptl] (tests): ... here.
17453         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17454         * sysdeps/unix/sysv/linux/Makefile
17455         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17457         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17458         Drop trailing \n from perror argument.  Use return rather than exit.
17460         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17461         on [SA_SIGINFO].
17462         * nptl/tst-cancel21.c (do_test): Likewise.
17463         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17464         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17465         [!SA_SIGINFO]: Make it a stub test.
17467         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17468         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17470         * posix/tst-getlogin.c: Move to ...
17471         * login/tst-getlogin.c: ... here.
17472         * posix/Makefile (tests): Move tst-getlogin to ...
17473         * login/Makefile (tests): ... here.
17475         * libio/tst-atime.c (do_test): Move local variables SV and E
17476         inside [ST_NOATIME] conditional.
17478         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17480         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17482         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17483         (wait_code): New function replaces macro.
17484         Call nanosleep rather than syscall.
17486         * nptl/pt-system.c: Rewritten.  Put everything under
17487         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17488         Use IFUNC to redirect when possible.
17490         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17491         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17492         Use IFUNC to redirect when possible.
17494         * nptl/pt-fork.c: Rewritten.  Put everything under
17495         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17496         Use IFUNC to redirect when possible.
17497         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17499         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17500         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17501         unconditionally nowadays.  This included the only reference to
17502         __vdso_clock_gettime that appears outside libc proper.
17503         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17504         Remove version set (containing only __vdso_clock_gettime).
17505         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17506         Add attribute_hidden.
17507         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17508         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17509         libc_hidden_data_def.
17510         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17511         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17513         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17514         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17515         setrpcent, and getrpcport to ...
17516         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17517         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17518         getrpcbynumber_r, and getrpcent_r to ...
17519         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17520         * inet/getrpcbyname.c: Moved ...
17521         * sunrpc/getrpcbyname.c: ... here.
17522         * inet/getrpcbyname_r.c: Moved ...
17523         * sunrpc/getrpcbyname_r.c: ... here.
17524         * inet/getrpcbynumber.c: Moved ...
17525         * sunrpc/getrpcbynumber.c: ... here.
17526         * inet/getrpcbynumber_r.c: Moved ...
17527         * sunrpc/getrpcbynumber_r.c: ... here.
17528         * inet/getrpcent.c: Moved ...
17529         * sunrpc/getrpcent.c: ... here.
17530         * inet/getrpcent_r.c: Moved ...
17531         * sunrpc/getrpcent_r.c: ... here.
17532         * inet/Makefile (routines): Move those to ...
17533         * sunrpc/Makefile (routines): ... here.
17534         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17535         the $(subdirs) list.
17536         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17537         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17538         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17539         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17541         * elf/Makefile (routines): Include $(all-dl-routines), not just
17542         $(dl-routines).
17543         (rtld-routines): Likewise.  Use = rather than :=.
17544         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17545         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17546         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17547         * sysdeps/arm/Makefile: Likewise.
17548         * sysdeps/i386/Makefile: Likewise.
17549         * sysdeps/x86_64/Makefile: Likewise.
17550         * sysdeps/hppa/Makefile [$(subdir) = elf]
17551         (sysdep_routines, sysdep-rtld-routines): Don't add
17552         $(sysdep-dl-routines) to these.
17553         * sysdeps/ia64/Makefile: Likewise.
17554         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17555         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17556         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17557         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17558         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17559         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17560         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17561         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17562         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17563         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17564         these; sysdep-dl-routines alone is enough.
17566 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17568         [BZ #17932]
17569         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17570         where multiplication results in zero and third argument is finite
17571         and nonzero.
17572         * math/auto-libm-test-in: Add more tests of fma.
17573         * math/auto-libm-test-out: Regenerated.
17575         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17576         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17577         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17578         (_FP_CMP_EQ): Likewise.
17579         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17581         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17582         extra argument CHECK_NAN.  Redefine as wrapper around
17583         _FP_EXTEND_CNAN.
17585 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17587         * version.h (RELEASE): Set to "stable".
17588         (VERSION): Set to "2.21"
17589         * include/features.h (__GLIBC_MINOR__): Set to 21.
17591         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17593 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17594             Paul Eggert  <eggert@cs.ucla.edu>
17596         [BZ #16618]
17597         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17598         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17599         size in bytes. Store needed elements in wpmax. Use needed size
17600         in bytes for extend_alloca.
17602 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17604         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17605         binutls 2.25, and texinfo 5.2.
17606         * INSTALL: Regenerate.
17607         * sysdeps/nios2/configure: Regenerate.
17608         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17609         * manual/contrib.texi: Update.
17610         * po/be.po: Update.
17611         * po/bg.po: Update.
17612         * po/ca.po: Update.
17613         * po/cs.po: Update.
17614         * po/da.po: Update.
17615         * po/de.po: Update.
17616         * po/el.po: Update.
17617         * po/eo.po: Update.
17618         * po/es.po: Update.
17619         * po/fi.po: Update.
17620         * po/fr.po: Update.
17621         * po/gl.po: Update.
17622         * po/hr.po: Update.
17623         * po/hu.po: Update.
17624         * po/ia.po: Update.
17625         * po/id.po: Update.
17626         * po/it.po: Update.
17627         * po/ja.po: Update.
17628         * po/ko.po: Update.
17629         * po/lt.po: Update.
17630         * po/nb.po: Update.
17631         * po/nl.po: Update.
17632         * po/pl.po: Update.
17633         * po/pt_BR.po: Update.
17634         * po/ru.po: Update.
17635         * po/rw.po: Update.
17636         * po/sk.po: Update.
17637         * po/sl.po: Update.
17638         * po/sv.po: Update.
17639         * po/tr.po: Update.
17640         * po/uk.po: Update.
17641         * po/vi.po: Update.
17642         * po/zh_CN.po: Update.
17643         * po/zh_TW.po: Update.
17645         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17646         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17647         * sysdeps/hppa/dl-irel.h: Remove #warning.
17648         * sysdeps/hppa/entry.h: Provide prototype for
17649         __canonicalize_funcptr_for_compare and cast argument.
17650         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17651         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17652         * sysdeps/hppa/sotruss-lib.c: New file.
17653         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17654         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17655         (atomic_compare_and_exchange_bool_acq): Likewise.
17656         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17657         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17659         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17660         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17661         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17663 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17665         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17666         called function in non-PIC case.
17668 2015-01-31  David S. Miller  <davem@davemloft.net>
17670         * sysdeps/sparc/sparc32/bits/atomic.h
17671         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17672         unlock not after it.
17673         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17674         volatile register usage warnings from the compiler.
17676         * sysdeps/sparc/nptl/sem_init.c: Delete.
17677         * sysdeps/sparc/nptl/sem_post.c: Delete.
17678         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17679         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17680         * sysdeps/sparc/sparc32/sem_init.c: New file.
17681         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17682         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17683         padding explicitly initialized.
17684         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17685         padding for in-semaphore spinlock.
17686         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17687         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17688         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17689         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17690         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17691         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17692         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17693         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17694         version.
17695         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17696         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17698 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17700         [BZ #17801]
17701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17702         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17703         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17704         New.
17705         (index_AVX_Fast_Unaligned_Load): Likewise.
17706         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17707         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17708         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17709         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17710         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17711         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17712         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17713         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17714         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17716 2015-01-29  Andreas Schwab  <schwab@suse.de>
17718         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17720 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17722         [BZ #17892]
17723         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17725 2015-01-28  Martin Sebor  <msebor@redhat.com>
17727         * math/README.libm-test: Clarify. Add "How to read the test output."
17729 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17731         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17732         Define to 0.
17734 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17736         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17737         (__HAVE_64B_ATOMICS): Define to 0.
17739 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17741         [BZ #17885]
17742         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17743         value to set as new flag.
17745         [BZ #16576]
17746         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17747         and use _ARCH_PPCSQ instead.
17748         (__ieee754_sqrt): Likewise.
17749         (__ieee754_sqrtf): Likewise.
17750         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17751         _ARCH_PPCSQ is defined.
17752         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17753         fsqrt instruction.
17754         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17755         _ARCH_PPCSQ is defined.
17756         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17757         fsqrts instruction.
17758         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17760 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17762         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17763         bug (GCC BZ #64739).
17765 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17767         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17768         Mark _retval as used.
17769         (lll_futex_wake_unlock): Likewise.
17770         (lll_futex_timed_wait_requeue_pi): Likewise.
17772         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17773         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17774         register variables.
17776         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17777         libm_hidden_def.
17779         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17780         (__bswap_64): Mark as __always_inline.
17782 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17784         [BZ #15378]
17785         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17786         when none of the search directories exist.
17788 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17790         [BZ #17869]
17791         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17792         power8 in .machine directive.
17794         [BZ #17868]
17795         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17796         set dependency from opd value.
17798 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17801         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17802         architecture.
17804 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17806         [BZ #17870]
17807         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17808         with uint64_t.
17809         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17810         (uint64_t) 1.
17811         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17812         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17813         Replace 1UL with (uint64_t) 1.
17814         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17815         int with uint64_t.
17817 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17819         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17820         (if_freenameindex): Likewise.
17822         * resource/getrlimit64.c: Add missing libc_hidden_def.
17824 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17826         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17827         __label__.
17828         (_FP_FMA): Likewise.
17829         (_FP_TO_INT_ROUND): Likewise.
17830         (_FP_FROM_INT): Likewise.
17832 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17834         [BZ #16418]
17835         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17836         Make code racy and cancel safe.
17838 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17840         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17841         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17842         attribution.
17844         * pwd/tst-getpw.c: Rewrite.
17846         [BZ #17702]
17847         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17848         (modules-names): Add moddummy1 and moddummy2.
17849         ($(objpfx)tst-rec-dlopen): Define.
17850         * dlfcn/moddummy1.c: New file.
17851         * dlfcn/moddummy2.c: New file.
17852         * dlfcn/tst-rec-dlopen.c: New file.
17853         * elf/dl-cache.c (_dl_load_cache_lookup):
17854         Return char*. Copy result with alloca/strcpy/strdup.
17855         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17856         returns char*. Free cached. If not saving realname
17857         free cached.
17858         * elf/dl-open.c (dl_open_worker): Do not assert that
17859         _r_debug->r_state is RT_CONSISTENT.
17860         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17861         returns char*.
17863 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17864             Carlos O'Donell  <carlos@redhat.com>
17866         [BZ #12674]
17867         * nptl/sem_waitcommon.c: New file.
17868         * nptl/sem_wait.c: Include sem_waitcommon.c.
17869         (__sem_wait_cleanup, do_futex_wait): Remove.
17870         (__new_sem_wait): Adapt.
17871         (__new_sem_trywait): New function.
17872         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17873         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17874         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17875         (sem_timedwait): Adapt.
17876         * nptl/sem_post.c (__new_sem_post): Adapt.
17877         (futex_wake): New function.
17878         (__old_sem_post): Add release MO fence.
17879         * nptl/sem_open.c (sem_open): Adapt.
17880         * nptl/sem_init.c (__new_sem_init): Adapt.
17881         (futex_private_if_supported): New function.
17882         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17883         (__old_sem_getvalue): Add using previous code.
17884         * sysdeps/nptl/internaltypes.h: Adapt.
17885         * nptl/tst-sem13.c (do_test): Adapt.
17886         * nptl/tst-sem11.c (main): Adapt.
17887         * nptl/sem_trywait.c: Remove.
17888         * nptl/DESIGN-sem.txt: Remove.
17889         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17890         (gen-as-const-headers): Remove structsem.sym.
17891         * nptl/structsem.sym: Remove.
17892         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17893         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17894         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17895         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17896         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17897         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17898         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17899         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17900         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17901         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17902         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17903         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17904         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17905         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17906         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17907         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17908         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17909         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17910         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17911         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17912         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17913         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17915 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17917         * INSTALL: Regenerated.
17919         * po/libc.pot: Regenerated.
17921 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17922             Sandra Loosemore  <sandra@codesourcery.com>
17923             Andrew Jenner  <andrew@codesourcery.com>
17924             Joseph Myers  <joseph@codesourcery.com>
17925             Nathan Sidwell  <nathan@codesourcery.com>
17927         * NEWS: Mention new Nios II port.
17928         * sysdeps/nios2/Implies: New file.
17929         * sysdeps/nios2/Makefile: New file.
17930         * sysdeps/nios2/Subdirs: New file.
17931         * sysdeps/nios2/Versions: New file.
17932         * sysdeps/nios2/__longjmp.S: New file.
17933         * sysdeps/nios2/abort-instr.h: New file.
17934         * sysdeps/nios2/backtrace.c: New file.
17935         * sysdeps/nios2/bits/endian.h: New file.
17936         * sysdeps/nios2/bits/fenv.h: New file.
17937         * sysdeps/nios2/bits/link.h: New file.
17938         * sysdeps/nios2/bits/setjmp.h: New file.
17939         * sysdeps/nios2/bsd-_setjmp.S: New file.
17940         * sysdeps/nios2/bsd-setjmp.S: New file.
17941         * sysdeps/nios2/configure: New generated file.
17942         * sysdeps/nios2/configure.ac: New file.
17943         * sysdeps/nios2/crti.S: New file.
17944         * sysdeps/nios2/crtn.S: New file.
17945         * sysdeps/nios2/dl-init.c: New file.
17946         * sysdeps/nios2/dl-machine.h: New file.
17947         * sysdeps/nios2/dl-sysdep.h: New file.
17948         * sysdeps/nios2/dl-tls.h: New file.
17949         * sysdeps/nios2/dl-trampoline.S: New file.
17950         * sysdeps/nios2/gccframe.h: New file.
17951         * sysdeps/nios2/gmp-mparam.h: New file.
17952         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17953         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17954         * sysdeps/nios2/ldsodefs.h: New file.
17955         * sysdeps/nios2/libc-tls.c: New file.
17956         * sysdeps/nios2/libm-test-ulps: New file.
17957         * sysdeps/nios2/machine-gmon.h: New file.
17958         * sysdeps/nios2/math-tests.h: New file.
17959         * sysdeps/nios2/math_private.h: New file.
17960         * sysdeps/nios2/memusage.h: New file.
17961         * sysdeps/nios2/nptl/Makefile: New file.
17962         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17963         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17964         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17965         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17966         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17967         * sysdeps/nios2/nptl/tls.h: New file.
17968         * sysdeps/nios2/preconfigure: New file.
17969         * sysdeps/nios2/s_fma.c: New file.
17970         * sysdeps/nios2/s_fmaf.c: New file.
17971         * sysdeps/nios2/setjmp.S: New file.
17972         * sysdeps/nios2/sfp-machine.h: New file.
17973         * sysdeps/nios2/sotruss-lib.c: New file.
17974         * sysdeps/nios2/stackguard-macros.h: New file.
17975         * sysdeps/nios2/stackinfo.h: New file.
17976         * sysdeps/nios2/start.S: New file.
17977         * sysdeps/nios2/sysdep.h: New file.
17978         * sysdeps/nios2/tls-macros.h: New file.
17979         * sysdeps/nios2/tst-audit.h: New file.
17980         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17981         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17982         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17983         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17984         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17985         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17986         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17987         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17988         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17989         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17990         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17991         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17992         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17993         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17994         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17995         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17996         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17997         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17998         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17999         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
18000         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
18001         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
18002         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
18003         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
18004         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
18005         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
18006         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
18007         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
18008         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
18009         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
18010         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
18011         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
18012         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
18013         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
18014         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
18015         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
18016         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
18017         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
18018         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
18019         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
18020         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
18021         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
18022         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
18023         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
18025 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18027         [BZ #17844]
18028         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
18029         (getutent): Use weak_alias in non SHARED case
18030         and default_symbol_version in SHARED case.
18031         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
18032         (getutent_r, pututline): Likewise.
18033         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
18034         (getutid): Likewise.
18035         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
18036         (getutid_r): Likewise.
18037         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
18038         (getutline): Likewise.
18039         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
18040         (getutline_r): Likewise.
18041         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
18042         (updwtmp): Likewise.
18044 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18046         [BZ #17848]
18047         * sysdeps/s390/s390-32/memcmp.S
18048         (memcmp_g5): Rename to __memcmp_g5.
18049         * sysdeps/s390/s390-32/memcpy.S
18050         (memcpy_g5): Rename to __memcpy_g5.
18051         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18052         (memcpy_mvcle) Rename to __memcpy_mvcle.
18053         * sysdeps/s390/s390-32/memset.S
18054         (memset_g5): Rename to __memset_g5.
18055         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18056         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18057         and use prefixed functions.
18058         * sysdeps/s390/s390-32/multiarch/memcmp.S
18059         (memcmp_z196): Rename to __memcmp_z196.
18060         (memcmp_z10): Rename to __memcmp_z10.
18061         (memcmp): Set alias to __memcmp_g5.
18062         (bcmp): Set alias to __memcmp_g5.
18063         * sysdeps/s390/s390-32/multiarch/memcpy.S
18064         (memcpy_z196): Rename to __memcpy_z196.
18065         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18066         (memcpy_z10): Rename to __memcpy_z10.
18067         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18068         (memcpy): Set alias to __memcpy_g5.
18069         * sysdeps/s390/s390-32/multiarch/memset.S
18070         (memset_z196): Rename to __memset_z196.
18071         Jump to __memset_mvcle instead of memset_mvcle.
18072         (memset_z10): Rename to __memset_z10.
18073         Jump to __memset_mvcle instead of memset_mvcle.
18074         (memset_mvcle) Rename to __memset_mvcle.
18075         (memset): Set alias to __memset_g5.
18076         * sysdeps/s390/s390-64/memcmp.S
18077         (memcmp_z900): Rename to __memcmp_z900.
18078         * sysdeps/s390/s390-64/memcpy.S
18079         (memcpy_z900): Rename to __memcpy_z900.
18080         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18081         (memcpy_mvcle) Rename to __memcpy_mvcle.
18082         * sysdeps/s390/s390-64/memset.S
18083         (memset_z900): Rename to __memset_z900.
18084         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
18085         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18086         and use prefixed functions.
18087         * sysdeps/s390/s390-64/multiarch/memcmp.S
18088         (memcmp_z196): Rename to __memcmp_z196.
18089         (memcmp_z10): Rename to __memcmp_z10.
18090         (memcmp): Set alias to __memcmp_z900.
18091         (bcmp): Set alias to __memcmp_z900.
18092         * sysdeps/s390/s390-64/multiarch/memcpy.S
18093         (memcpy_z196): Rename to __memcpy_z196.
18094         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18095         (memcpy_z10): Rename to __memcpy_z10.
18096         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18097         (memcpy): Set alias to __memcpy_z900.
18098         * sysdeps/s390/s390-64/multiarch/memset.S
18099         (memset_z196): Rename to __memset_z196.
18100         Jump to __memset_mvcle instead of memset_mvcle.
18101         (memset_z10): Rename to __memset_z10.
18102         Jump to __memset_mvcle instead of memset_mvcle.
18103         (memset_mvcle) Rename to __memset_mvcle.
18104         (memset): Set alias to __memset_z900.
18106 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
18108         [BZ #17748]
18109         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
18110         __fesetenv instead of fesetenv.
18112 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18114         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
18115         macro.
18117 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18119         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
18120         regression on LE.
18122         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
18123         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
18124         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18125         strncmp-power8 object.
18126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18127         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
18128         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
18129         * NEWS: Update.
18131 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18132             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18134         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
18135         trailing byte check.
18137 2015-01-13  David S. Miller  <davem@davemloft.net>
18139         * include/signal.h (__sigreturn): Guard with __USE_MISC.
18141 2015-01-13  Roland McGrath  <roland@hack.frob.com>
18143         * login/logout.c (logout): Use memset rather than bzero.
18144         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
18145         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
18146         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
18147         (_gethtbyaddr): Likewise.
18148         * locale/programs/simple-hash.c (bcopy): Macro removed.
18150 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18152         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18153         Add strcmp-power8 object.
18154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18155         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
18156         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
18157         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
18158         __strcmp_power8 implementation.
18159         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
18160         * NEWS: Update.
18162         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18163         Add strncpy-power8 and stpncpy-power8 objects.
18164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18165         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
18166         implementations.
18167         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
18168         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
18169         __stpncpy_power8 implementation.
18170         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
18171         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
18172         __strncpy_power8 implementation.
18173         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
18174         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
18175         * NEWS: Update.
18177         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
18178         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
18179         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
18181         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18182         strncat-power8 object.
18183         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
18184         __strcat_power8 implementation.
18185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18186         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
18187         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
18188         optimized strcat for power8.
18190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18191         strcpy-power8 and stpcpy-power8 objects.
18192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18193         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
18194         implementations.
18195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
18196         multiarch stpcpy implementation for POWER8.
18197         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
18198         multiarch strcpy implementation for POWER8.
18199         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
18200         __strcpy_power8 function.
18201         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
18202         stpcpy for POWER8.
18203         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
18204         strcpy for POWER8.
18205         * NEWS: Update.
18207 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
18209         [BZ #16009]
18210         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
18211         weights and rules. Use do_xfrm_cached if data fits in cache,
18212         do_xfrm otherwise.  Moved former main loop to...
18213         * (do_xfrm_cached): New function.
18214         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
18215         find_idx, find_position and stack_push.
18216         * (find_idx): New function.
18217         * (find_position): Likewise.
18218         * localedata/sort-test.sh: Added test run for do_xfrm.
18219         * localedata/xfrm-test.c (main): Added command line option
18220         -nocache to run the test with strings that are too large for
18221         the STRXFRM cache.
18223 2015-01-13  Torvald Riegel  <triegel@redhat.com>
18225         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
18226         variable to lll_futex_wake call, not the value itself.
18228 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
18230         [BZ #17803]
18231         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
18232         twom64.  Adjust value to 0x1p-64L.
18233         (__scalblnl): Only return standard underflowing result for K <=
18234         -64 not K <= -63; adjust exponent for underflowing result by 64
18235         not 63.
18236         * math/libm-test.inc (scalbn_test_data): Add more tests.
18237         (scalbln_test_data): Likewise.
18239         [BZ #17834]
18240         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
18241         0x1p63L.
18242         (__scalblnl): Get new exponent of adjusted subnormal value from ES
18243         not HX.
18244         * math/libm-test.inc (scalbn_test_data): Add more tests.
18245         (scalbln_test_data): Likewise.
18247 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18248             Stefani Seibold  <stefani@seibold.net>
18250         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
18251         (sysdep_routines): Add dl-vdso here, ...
18252         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
18253         (sysdep_routines): ... not here.
18254         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
18255         fallback when vDSO is not presented.
18256         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18257         Define with libc_hidden_proto/libc_hidden_data_def definitions.
18258         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
18259         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
18260         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
18261         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
18262         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
18263         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
18264         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
18265         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
18266         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
18267         fallback configurable symbol when vDSO is not available.
18268         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
18269         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
18270         be able to redefine fallback symbol when vDSO is not available.
18271         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
18272         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
18274 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18276         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
18277         (TLS_INIT_TP): Add tm_capable initialization.
18278         (TLS_DEFINE_INIT_TP): Likewise.
18279         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
18280         TCB.
18281         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
18282         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
18283         calculation.
18284         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
18285         transactoion is lock elision is built and TCB tm_capable is set.
18286         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
18287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18288         (INTERNAL_SYSCALL_NCS): Likewise.
18289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18290         (INTERNAL_SYSCALL_NCS): Likewise.
18291         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
18293         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
18294         for powerpc.
18295         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18296         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
18297         and remove it for 32 bits case.
18298         [pthread_rwlock_t] (__rwelision): New field for lock elision.
18299         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
18300         initialization.
18301         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
18302         Disable lock elision with rdlocks if elision is not available.
18304         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
18305         (sysdep_routines): Add lock elision objects.
18306         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18307         [pthread_mutex_t] (__spins): Rework to add lock elision field.
18308         [pthread_mutex_t] (__elision): Add field.
18309         [__PTHREAD_SPINS]: Adjust to init lock elision field.
18310         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
18311         elision definitions for powerpc.
18312         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
18313         implementation of lock elision for powerpc.
18314         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
18315         implementation of timed lock elision for powerpc.
18316         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
18317         implementation of trylock with lock elision for powerpc.
18318         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
18319         implementaion of unlock for lock elision for powerpc.
18320         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18321         automatic enable lock elision for mutexes.
18322         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18323         transaction execution definitions for powerpc.
18324         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18325         definitions.
18326         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18327         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18328         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18329         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18330         * NEWS: Update.
18332 2015-01-09  Roland McGrath  <roland@hack.frob.com>
18334         * sysdeps/posix/shm-directory.c: Use <> rather than ""
18335         for #include of <shm-directory.h>.
18337 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
18339         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18340         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18342 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
18344         [BZ #17791]
18345         * NEWS: Mention bug fix.
18346         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18347         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18348         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18350 2015-01-09  Torvald Riegel <triegel@redhat.com>
18352         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18354 2015-01-09  Torvald Riegel <triegel@redhat.com>
18356         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18358 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18360         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18361         pointer and cast to uintptr_t.
18363 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18365         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
18366         removed.
18367         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
18369 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18371         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
18372         of 0.
18374 2015-01-08  Roland McGrath  <roland@hack.frob.com>
18376         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
18377         <nptl/pthreadP.h> instead.
18378         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
18380         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
18381         already defined.
18382         [__SIGRTMIN] (init): Function removed.
18383         [__SIGRTMIN] (initialized): Variable removed.
18384         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
18385         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
18386         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
18387         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
18388         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
18389         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
18390         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
18391         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
18392         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
18393         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
18394         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18395         * sysdeps/nptl/allocrtsig.c: New file.
18396         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
18397         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
18398         * sysdeps/generic/testrtsig.h: File removed.
18400         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
18401         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
18403         * nptl/nptl-init.c (pthread_functions): Conditionalize
18404         .ptr__nptl_setxid initialization on [SIGSETXID].
18406         * sysdeps/nptl/sys/procfs.h: New file.
18407         * nptl_db/Makefile (headers): Add it.
18408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18410         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18411         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18412         * nptl/pthread_attr_setaffinity.c: Include it.
18413         * nptl/pthread_setattr_default_np.c: Likewise.
18414         * nptl/check-cpuset.h: New file.
18416 2015-01-08  Richard Henderson  <rth@redhat.com>
18418         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18419         (CFLAGS-tst-execstack-prog.c): Likewise.
18420         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18422 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
18423             Sandra Loosemore  <sandra@codesourcery.com>
18424             Andrew Jenner  <andrew@codesourcery.com>
18425             Joseph Myers  <joseph@codesourcery.com>
18426             Nathan Sidwell  <nathan@codesourcery.com>
18428         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18429         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18430         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18431         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18432         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18433         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18434         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18435         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18436         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18437         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18438         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18439         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18440         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18441         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18442         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18443         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18444         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18446 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18448         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18449         timespec struct member in syscall macro.
18450         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18451         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18452         first timeval struct member in syscall macro.
18453         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18455 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
18457         [BZ #17748]
18458         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18459         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18460         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18461         __feupdateenv and define as weak alias of __feupdateenv.  Use
18462         libm_hidden_weak.
18463         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18464         libm_hidden_def.
18465         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18466         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18467         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18468         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18469         libm_hidden_def.
18470         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18471         __feupdateenv and define as weak alias of __feupdateenv.  Use
18472         libm_hidden_weak.
18473         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18474         libm_hidden_def.
18475         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18476         __feupdateenv and define as weak alias of __feupdateenv.  Use
18477         libm_hidden_weak.
18478         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18479         libm_hidden_def.
18480         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18481         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18482         (__feupdateenv): Likewise.
18483         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18484         __feupdateenv and define as weak alias of __feupdateenv.  Use
18485         libm_hidden_weak.
18486         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18487         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18488         libm_hidden_def.
18489         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18490         function.
18491         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18492         libm_hidden_def.
18493         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18494         __feupdateenv instead of feupdateenv.
18495         (default_libc_feupdateenv_test): Likewise.
18496         (libc_feresetround_ctx): Likewise.
18498 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18500         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18501         prototype.
18503 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18505         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18506         COLL_SYM in a couple of places to avoid uninitialized variable
18507         wanings on tilegx gcc 4.8.2.
18509 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18511         * sysdeps/aarch64/strcpy.S: New file.
18512         * sysdeps/aarch64/stpcpy.S: New file.
18513         * NEWS: Updated.
18515 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18517         * sysdeps/aarch64/strrchr.S: New file.
18518         * NEWS: Updated.
18520 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18522         [BZ #17658]
18523         * stdlib/setenv.c: Fix memory leak when setting large,
18524         duplicate string.
18526 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18528         [BZ #17273]
18529         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18530         and tabs from buffer before parsing fstab entry.
18531         * misc/tst-mntent.c (main): Add test for mount entry with
18532         trailing spaces and tabs.
18534 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18536         [BZ #17748]
18537         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18538         * math/fesetround.c (fesetround): Rename to __fesetround and
18539         define as weak alias of __fesetround.  Use libm_hidden_weak.
18540         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18541         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18542         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18543         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18544         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18545         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18546         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18547         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18548         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18549         __fesetround_inline.
18550         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18551         __fesetround_inline instead of __fesetround.
18552         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18553         __fesetround and define as weak alias of __fesetround.  Use
18554         libm_hidden_weak.  Call __fesetround_inline instead of
18555         __fesetround.
18556         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18557         __fesetround and define as weak alias of __fesetround.  Use
18558         libm_hidden_weak.
18559         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18560         Likewise.
18561         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18562         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18563         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18564         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18565         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18566         __fesetround and define as weak alias of __fesetround.  Use
18567         libm_hidden_weak.
18568         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18569         __fesetround instead of fesetround.
18570         (default_libc_feholdexcept_setround): Likewise.
18571         (libc_feholdsetround_ctx): Likewise.
18572         (libc_feholdsetround_noex_ctx): Likewise.
18574         [BZ #17748]
18575         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18576         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18577         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18578         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18579         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18580         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18581         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18582         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18583         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18584         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18585         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18586         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18587         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18588         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18589         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18590         libm_hidden_def.
18591         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18592         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18593         Likewise.
18594         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18595         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18596         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18597         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18598         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18599         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18600         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18601         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18602         __fesetenv instead of fesetenv.
18603         (libc_feresetround_noex_ctx): Likewise.
18604         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18605         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18606         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18607         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18608         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18609         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18610         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18611         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18612         (__feupdateenv): Likewise.
18613         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18614         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18615         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18616         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18618 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18620         [BZ #17806]
18621         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18622         addresses have been freed.
18624 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18626         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18627         and nservall.
18629 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18631         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18632         Clean up check_pf allocation pattern. addresses
18634 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18636         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18637         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18638         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18639         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18640         * nptl/pthread_join.c (pthread_join): Likewise.
18641         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18642         * sysdeps/posix/waitid.c (__waitid): Likewise.
18643         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18644         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18645         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18646         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18648         Likewise.
18649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18650         (__libc_pread64): Likewise.
18651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18652         (__libc_pwrite): Likewise.
18653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18654         (__libc_pwrite64): Likewsie.
18655         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18656         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18657         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18658         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18659         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18660         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18661         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18663         Likewise.
18664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18665         (__libc_pread64): Likewise.
18666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18667         Likewise.
18668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18669         (__libc_pwrite64): Likewise.
18670         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18671         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18672         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18673         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18674         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18675         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18676         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18677         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18678         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18679         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18680         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18681         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18682         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18683         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18684         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18685         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18686         Likewise.
18688 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18690         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18691         (CFLAGS-test-double.c): Likewise.
18692         (CFLAGS-test-ldouble.c): Likewise.
18693         (CPPFLAGS-test-ifloat.c): Likewise.
18694         (CPPFLAGS-test-idouble.c): Likewise.
18695         (CPPFLAGS-test-ildoubl.c): Likewise.
18696         (CFLAGS-test-test-fenv.c): Remove variable.
18697         (CFLAGS-test-misc.c): Likewise.
18699 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18701         [BZ #17797]
18702         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18703         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18704         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18705         CLOCKS_PER_SEC == 1000000.
18706         * time/clocktest.c (main): Replace %ld with %jd and cast to
18707         intmax_t.
18709 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18711         * sysdeps/generic/unwind-resume.h: New file.
18712         * sysdeps/gnu/unwind-resume.c: Include it.
18713         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18714         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18715         argument list.
18716         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18717         global rather than static.
18718         (_Unwind_Resume): Update user.
18719         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18720         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18721         rather than static.  Add __attribute__ ((cold)).
18722         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18723         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18724         * sysdeps/arm/arm-unwind-resume.S: New file.
18725         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18726         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18727         * sysdeps/arm/Makefile [$(subdir) = csu]
18728         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18729         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18730         Add rt-arm-unwind-resume.
18731         [$(subdir) = nptl]
18732         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18733         Add pt-arm-unwind-resume.
18734         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18735         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18737 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18739         [BZ #17748]
18740         * include/fenv.h (__feholdexcept): Declare.  Use
18741         libm_hidden_proto.
18742         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18743         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18744         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18745         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18746         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18747         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18748         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18749         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18750         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18751         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18752         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18753         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18754         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18755         (feholdexcept): Likewise.
18756         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18757         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18758         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18759         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18760         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18761         __feholdexcept instead of feholdexcept.
18762         (default_libc_feholdexcept_setround): Likewise.
18764 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18766         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18767         to avoid using stl/str to align destination.
18769 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18771         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18773 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18775         [BZ #17796]
18776         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18777         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18778         Define as weak alias not strong alias.
18780 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18782         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18783         bltzal with addiupc.
18784         (RTLD_START): Ditto.
18786 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18788         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18789         for __vdso_* functions in declarations.
18790         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18791         definitions.
18792         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18793         INTERNAL_VSYSCALL): Use struct return types to check for error.
18795         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18796         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18797         function with cast from llround().
18798         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18799         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18800         Define.
18802 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18804         [BZ #17793]
18805         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18806         Define as weak alias not strong alias.
18808         [BZ #17635]
18809         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18810         ...
18811         * ctype/ctype-extn.c: ... here.
18812         (__isblank_l): Move to ...
18813         * ctype/ctype-c99_l.c: ... here.  New file.
18814         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18815         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18816         Remove variable.
18817         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18818         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18819         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18820         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18821         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18823         [BZ #17777]
18824         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18825         (posix_fadvise64): Define as weak alias not strong alias.
18826         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18827         (posix_fallocate64): Likewise.
18828         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18829         Remove variable.
18830         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18831         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18832         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18833         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18834         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18836 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18838         [BZ #16191]
18839         * NEWS: Mention bug fix.
18840         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18841         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18842         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18843         (HOST_STACK_END_ADDR): Likewise.
18845 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18847         [BZ #17748]
18848         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18849         * math/fegetround.c (fegetround): Rename to __fegetround and
18850         define as weak alias of __fegetround.  Use libm_hidden_weak.
18851         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18852         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18853         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18854         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18855         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18856         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18857         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18858         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18859         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18860         Undefine after rather than before function definition; use
18861         parentheses around function name in definition.
18862         (__fegetround): Also undefine macro after function definition.
18863         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18864         __fegetround and define as weak alias of __fegetround.  Use
18865         libm_hidden_weak.  Do not undefine as macro.
18866         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18867         Likewise.
18868         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18869         __fegetround and define as weak alias of __fegetround.  Use
18870         libm_hidden_weak.
18871         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18872         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18873         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18874         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18875         __fegetround and define as weak alias of __fegetround.  Use
18876         libm_hidden_weak.
18877         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18878         __fegetround instead of fegetround.
18880         [BZ #17782]
18881         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18882         Condition macro definition on [__USE_MISC].
18884         [BZ #17781]
18885         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18886         (struct sigaction): Change type of sa_flags field to int.
18888         [BZ #17780]
18889         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18890         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18891         __glibc_reserved0.
18893         * nptl/version.c (banner): Use single year in copyright notice.
18895         * NEWS: Update copyright dates.
18896         * catgets/gencat.c (print_version): Likewise.
18897         * csu/version.c (banner): Likewise.
18898         * debug/catchsegv.sh: Likewise.
18899         * debug/pcprofiledump.c (print_version): Likewise.
18900         * debug/xtrace.sh (do_version): Likewise.
18901         * elf/ldconfig.c (print_version): Likewise.
18902         * elf/ldd.bash.in: Likewise.
18903         * elf/pldd.c (print_version): Likewise.
18904         * elf/sotruss.sh: Likewise.
18905         * elf/sprof.c (print_version): Likewise.
18906         * iconv/iconv_prog.c (print_version): Likewise.
18907         * iconv/iconvconfig.c (print_version): Likewise.
18908         * locale/programs/locale.c (print_version): Likewise.
18909         * locale/programs/localedef.c (print_version): Likewise.
18910         * login/programs/pt_chown.c (print_version): Likewise.
18911         * malloc/memusage.sh (do_version): Likewise.
18912         * malloc/memusagestat.c (print_version): Likewise.
18913         * malloc/mtrace.pl: Likewise.
18914         * manual/libc.texinfo: Likewise.
18915         * nptl/version.c (banner): Likewise.
18916         * nscd/nscd.c (print_version): Likewise.
18917         * nss/getent.c (print_version): Likewise.
18918         * nss/makedb.c (print_version): Likewise.
18919         * posix/getconf.c (main): Likewise.
18920         * scripts/test-installation.pl: Likewise.
18921         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18923 2015-01-02  Will Newton  <will.newton@linaro.org>
18925         * sysdeps/arm/armv7/configure: Removed.
18926         * sysdeps/arm/armv7/configure.ac: Likewise.
18928 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18930         * All files with FSF copyright notices: Update copyright dates
18931         using scripts/update-copyrights.
18932         * intl/plural.c: Regenerated.
18933         * locale/programs/charmap-kw.h: Likewise.
18934         * locale/programs/locfile-kw.h: Likewise.
18936 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18938         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18940 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #17748]
18943         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18944         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18945         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18946         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18947         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18948         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18949         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18950         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18951         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18952         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18953         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18954         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18955         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18956         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18957         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18958         libm_hidden_def.
18959         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18960         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18961         Likewise.
18962         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18963         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18964         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18965         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18966         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18967         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18968         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18969         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18970         __fegetenv instead of fegetenv.
18971         (libc_feholdsetround_noex_ctx): Likewise.
18973 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18975         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18976         (Elf_MIPS_ABIFlags_v0): New structure.
18977         (EF_MIPS_FP64): Define.
18978         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18979         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18980         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18981         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18982         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18983         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18984         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18985         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18986         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18987         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18988         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18989         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18990         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18991         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18992         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18993         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18994         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18995         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18996         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18997         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18998         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18999         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
19000         field.
19001         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
19002         EF_MIPS_FP64.
19003         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
19004         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
19005         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
19006         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
19007         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
19008         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
19009         * sysdeps/mips/tst-abi-interlink.c: Likewise.
19010         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
19011         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
19012         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
19013         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
19014         record the current FP ABI extension.
19015         (mips-mode-switch): Define to show if kernel headers support mode
19016         switching.
19017         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19018         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
19019         supported SYSV ABI version to 3.
19020         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
19021         feature.
19023 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19024             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19026         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
19027         path.
19028         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
19030 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19032         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
19033         __fegetround and redefine to call __fegetround.  Remove condition
19034         on [!__NO_MATH_INLINES].
19035         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
19036         function.
19037         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
19038         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19039         Remove macro.
19040         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
19041         instead of <fenv_libc.h>.
19042         (__llrintl): Call fegetround instead of __fegetround.
19043         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
19044         instead of <fenv_libc.h>.
19045         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19046         (__lrintl): Call fegetround instead of __fegetround.
19047         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
19048         instead of <fenv_libc.h>.
19049         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19050         (__rintl): Call fegetround instead of __fegetround.
19052 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19054         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
19055         arrays.
19057 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19059         [BZ #17775]
19060         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
19061         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
19062         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
19064 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19066         * sysdeps/i386/tls-macros.h: Include <features.h>.
19067         (TLS_LE): Use non-PIC version for GCC >= 5.0.
19068         (TLS_IE): Likewise.
19069         (TLS_LD): Likewise.
19070         (TLS_GD): Likewise.
19071         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
19072         define for GCC >= 5.0.
19074 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
19076         * math/test-fenv.c (test_single_exception, set_single_exc,
19077         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
19078         feexcp_mask_test, feenable_test, fe_single_test): Add
19079         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
19080         case where they are not used.
19081         * math/libm-test.inc: Likewise.
19082         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
19083         unused in the absence of FP rounding/exception support.
19084         * stdio-common/tst-printf-round.c: Likewise.
19085         * stdlib/tst-strtod-round.c: Likewise.
19086         * stdlib/tst-strtod-underflow.c: Likewise.
19088 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
19090         [BZ #17723]
19091         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
19092         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
19093         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19094         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19095         libm_hidden_weak.
19096         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
19097         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19098         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
19099         libm_hidden_def.
19100         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19101         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19102         libm_hidden_weak.
19103         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
19104         Likewise.
19105         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19106         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19107         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19108         libm_hidden_weak.
19109         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19110         libm_hidden_def.
19111         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19112         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
19113         (__feraiseexcept): Likewise.
19114         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19115         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19116         libm_hidden_weak.
19117         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19118         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19119         libm_hidden_def.
19120         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
19121         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
19122         Use libm_hidden_def.
19123         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
19124         libm_hidden_def.
19125         (feraiseexcept): Define as weak not strong alias.  Use
19126         libm_hidden_weak.
19127         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
19128         New inline function.  Factored out of ...
19129         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
19130         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
19131         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
19132         feraiseexcept.
19133         * math/w_acos.c (__acos): Likewise.
19134         * math/w_asin.c (__asin): Likewise.
19135         * math/w_ilogb.c (__ilogb): Likewise.
19136         * math/w_j0.c (y0): Likewise.
19137         * math/w_j1.c (y1): Likewise.
19138         * math/w_jn.c (yn): Likewise.
19139         * math/w_log.c (__log): Likewise.
19140         * math/w_log10.c (__log10): Likewise.
19141         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
19142         * sysdeps/aarch64/fpu/math_private.h
19143         (libc_feupdateenv_test_aarch64): Likewise.
19144         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19145         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
19146         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
19147         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19148         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19149         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19150         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
19151         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19152         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19153         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19155 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19157         [BZ #17732]
19158         * io/test-utime.c (main): Replace %ld with %jd and cast to
19159         intmax_t.
19160         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
19161         * nptl/tst-mutex5.c: Include <stdint.h>.
19162         (do_test): Replace %ld with %jd and cast to intmax_t.
19163         * posix/tst-regex.c (run_test): Likewise.
19164         (run_test_backwards): Likewise.
19165         * rt/tst-clock.c: Include <stdint.h>.
19166         (clock_test): Replace %ld with %jd and cast to intmax_t.
19167         * rt/tst-cpuclock1.c: Include <stdint.h>.
19168         (do_test): Replace %lu with %ju and cast to uintmax_t.
19169         * rt/tst-cpuclock2.c: Include <stdint.h>.
19170         (do_test): Replace %lu with %ju and cast to uintmax_t.
19171         * rt/tst-mqueue1.c: Include <stdint.h>.
19172         (check_attrs): Replace %ld with %jd and cast to intmax_t.
19173         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
19174         intmax_t.
19175         * rt/tst-mqueue4.c (do_test): Likewise.
19176         * rt/tst-timer4.c: Include <stdint.h>.
19177         (check_ts): Replace %ld with %jd and cast to intmax_t.
19178         (do_test): Likewise.
19179         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
19180         and cast to intmax_t.
19181         * sysdeps/pthread/tst-timer.c (main): Likewise.
19182         * time/clocktest.c (main): Likewise.
19183         * time/tst-posixtz.c (do_test): Likewise.
19184         * timezone/tst-timezone.c (main): Likewise.
19186 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19187             H.J. Lu  <hongjiu.lu@intel.com>
19189         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
19190         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19191         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
19192         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
19193         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
19194         version if bit_Fast_Unaligned_Load is set.
19195         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19196         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19197         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19198         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19199         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19200         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19201         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19202         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
19203         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
19204         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
19205         to 4.
19206         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
19207         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
19208         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
19209         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
19211 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
19213         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
19214         instead of #if to avoid a Wundef warning.
19215         * stdlib/tst-limits.c (do_test): Likewise.
19217         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
19218         parallel other exception macros.
19219         (fegetenv): Convert from macro to extern inline so that it applies
19220         retroactively to inline functions already seen by the compiler.
19221         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
19223         * posix/Makefile (before-compile): Use $(objpfx) for
19224         posix-conf-vars-def.h.
19226 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19228         * posix/getconf.c (main): Use size_t for type of I.
19229         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
19230         NSPEC.
19232         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
19233         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
19234         * posix/posix-envs.def: Likewise.
19235         * sysdeps/posix/sysconf.c: Likewise.
19236         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
19237         (specs): Remove array.
19238         * scripts/gen-posix-conf-vars.awk: Support generation of specs
19239         array.
19241         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
19242         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
19243         (__sysconf): Use CONF_IS_* macros.
19245         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
19246         ($(objpfx)posix-conf-vars-def.h): New target.
19247         * posix/posix-conf-vars.list: New file.
19248         * posix/posix-conf-vars.h: New file.
19249         * posix/confstr.c: Include posix-conf-vars.h.
19250         (confstr): Use CONF_IS_* macros.
19251         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
19252         CONF_IS_* macros.
19253         * scripts/gen-posix-conf-vars.awk: New file.
19255 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
19257         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
19258         fegetround): Add no-op macros to avoid linknamespace issues.
19260         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
19261         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
19263         * sysdeps/unix/sysv/linux/tile/sysdep.h
19264         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
19265         assembly-specific section to avoid a redefinition warning.
19267         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
19268         long before casting to pointer to avoid a cast warning.
19270 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
19272         * sysdeps/tile/tilegx/Implies: New file.
19274 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
19276         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
19278 2014-12-23  Florian Weimer  <fweimer@redhat.com>
19280         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
19282 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19284         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
19285         not define.
19286         * sysdeps/unix/sysv/linux/utimes.c: Do not include
19287         <kernel-features.h>.
19288         (__utimes) [__NR_utimes]: Make code unconditional.
19289         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
19290         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19291         (__ASSUME_UTIMES): Do not undefine.
19292         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19293         (__ASSUME_UTIMES): Likewise.
19294         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19295         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
19296         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
19297         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
19299 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19301         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
19303 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
19305         [BZ #17747]
19306         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
19307         alias to weak alias for j0l, y0l.
19308         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
19309         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
19311         [BZ #17746]
19312         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
19313         conversion.
19315 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19317         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
19318         to zero if not already defined.
19320 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19322         [BZ #17724]
19323         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19324         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
19325         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
19326         (char *) casts added.
19327         * sysdeps/ieee754/k_standardf.c: New file.
19328         * sysdeps/ieee754/k_standardl.c: Likewise.
19329         * math/Makefile (libm-support): Remove k_standard.
19330         (libm-calls): Add k_standard.
19332 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19334         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19335         Optimize to avoid an unnecessary FPCR read.
19337 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19339         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19340         Optimize to reduce FPCR/FPSR accesses.
19342 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19344         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19345         Call libc_fetestexcept_aarch64.
19347 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19349         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19350         Call libc_fesetround_aarch64.
19352 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19354         [BZ #17733]
19355         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19356         (__bind): Do not define as weak alias.
19357         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19358         define.
19359         (__getsockname): Do not define as weak alias.
19361 2014-12-22  Will Newton  <will.newton@linaro.org>
19363         * manual/install.texi: Document that we require bison 2.7
19364         or above.
19365         * INSTALL: Regenerate.
19366         * configure.ac: Use AC_CHECK_PROG_VER instead of
19367         AC_PATH_PROG when checking for bison and check for
19368         version 2.7 or above.
19369         * configure: Regenerate.
19371 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
19373         [BZ #17745]
19374         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
19375         * sysdeps/tile/ffsll.c (ffsll): To here.
19377         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
19379 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19381         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
19382         if not defined.
19383         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
19384         definition.
19385         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19386         hidden ___tls_get_addr.
19387         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19388         hidden __tls_get_addr.
19389         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19390         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19391         Likewise.
19393 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19395         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
19396         _dl_init call.
19398 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19400         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
19401         from "call _dl_init@PLT".
19402         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
19404 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
19406         * manual/search.texi: (Array Sort Function): Clarify stable sorting
19407         guarantees.
19409 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
19411         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19413 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19415         [BZ #17744]
19416         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19417         strnlen.
19419 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19421         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19422         of multu on MIPSr6.
19423         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19424         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19425         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19426         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19427         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19429 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19431         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19432         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19433         (PTR_SUBU): Use subu for mips32r6/mips64r6.
19434         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19435         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19436         mips32r6/mips64r6.
19437         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19439 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
19441         * string/strncat.c (STRNCAT): Simplify implementation.
19443 2014-12-19  David S. Miller  <davem@davemloft.net>
19445         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19446         access the quad as both a long double and as a series of 4 words.
19448         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19449         link_map->l_info array access.
19451 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19453         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19455         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19456         * math/atest-exp2.c (TIMEOUT): Likewise.
19457         * math/atest-sincos.c (TIMEOUT): Likewise.
19459 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19461         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19462         -Wno-error with -fno-builtin-lround.
19464 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19466         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19467         Contains futex constants and functions moved over from ...
19468         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19469         <lowlevellock-futex.h>.
19470         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19471         (lll_timedwait_tid): Add comments and parentheses around macro
19472         arguments.
19474 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19476         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19477         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19478         (__lll_private_flag): Remove.
19479         (lll_futex_wait): Likewise.
19480         (lll_futex_timed_wait): Likewise.
19481         (lll_futex_wake): Likewise.
19482         (lll_futex_requeue): Likewise.
19483         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19484         (__lll_timedwait_tid): Spell out argument names.
19485         (lll_timedwait_tid): Add comments and parentheses around macro
19486         arguments.
19487         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19488         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19490 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19492         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19493         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19494         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19495         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19496         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19497         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19498         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19499         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19500         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19501         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19502         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19503         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19504         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19505         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19506         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19507         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19508         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19509         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19510         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19512 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19514         * sysdeps/x86_64/x32/Makefile: New file.
19516 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19518         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19519         1L with (mp_limb_t) 1.
19521 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19523         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19524         * nptl/libc_pthread_init.c: ... here.
19525         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19526         * nptl/register-atfork.c: ... here.
19528         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19529         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19530         Use assert_perror to check its return value.
19531         (__gai_create_helper_thread): Likewise.
19533         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19535         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19537 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19539         [BZ #17725]
19540         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19541         __profil_counter.
19542         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19543         Likewise.
19544         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19545         Likewise.
19546         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19547         Likewise.
19548         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19549         (profil_counter): Likewise.
19550         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19551         (profil_counter): Likewise.
19552         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19553         Likewise.
19554         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19555         Likewise.
19556         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19557         (profil_counter): Likewise.
19558         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19559         Likewise.
19560         [!__profil_counter] (profil_counter): Define as weak alias of
19561         __profil_counter.
19562         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19563         (profil_counter): Rename to __profil_counter.
19564         [!__profil_counter] (profil_counter): Define as weak alias of
19565         __profil_counter.
19566         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19567         (profil_counter): Rename to __profil_counter.
19568         [!__profil_counter] (profil_counter): Define as weak alias of
19569         __profil_counter.
19570         * sysdeps/posix/profil.c: Update comment referring to
19571         profil_counter.
19572         (__profil): Use __profil_counter instead of profil_counter.
19573         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19574         __profil_counter.  Use __profil_counter_ushort and
19575         __profil_counter_uint in definitions.
19576         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19577         instead of profil_counter_uint and profil_counter_ushort.
19579         [BZ #17722]
19580         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19581         define as weak alias of __inet_makeaddr.
19582         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19583         as weak alias of __inet_addr.
19584         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19585         as weak alias of __inet_pton.  Use libc_hidden_weak.
19586         * include/arpa/inet.h (__inet_pton): Declare.  Use
19587         libc_hidden_proto.
19588         (inet_makeaddr): Don't use libc_hidden_proto.
19589         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19590         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19591         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19592         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19593         Remove variable.
19594         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19595         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19597 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19599         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19601 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19603         * stdio-common/bug-vfprintf-nargs.c (do_test):
19604         Cast value to intptr_t to avoid format warning
19605         for usage with PRIdPTR printing macro.
19607 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19609         * libio/tst-widetext.c (do_test):
19610         Use format type %td instead of %Zd for ptrdiff_t
19611         in order to avoid format warning.
19613 2014-12-17  Andreas Schwab  <schwab@suse.de>
19615         * nscd/mem.c (gc): Add size_t cast to match printf format.
19617 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19619         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19620         (init): Apply PTR_MANGLE to pointers before storing them.
19621         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19622         before using them.
19624 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19626         [BZ #17719]
19627         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19628         define as weak alias of __memrchr.
19629         (__memrchr): Do not define as strong alias of memrchr.
19630         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19631         Remove variable.
19632         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19633         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19634         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19636         [BZ #17717]
19637         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19638         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19639         (if_indextoname): Rename to __if_indextoname and define as weak
19640         alias of __if_indextoname.  Use libc_hidden_weak.
19641         (if_freenameindex): Rename to __if_freenameindex and define as
19642         weak alias of __if_freenameindex.
19643         (if_nameindex): Rename to __if_nameindex and define as weak alias
19644         of __if_nameindex.
19645         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19646         __if_nametoindex and define as weak alias of __if_nametoindex.
19647         Use libc_hidden_weak.
19648         (if_freenameindex): Rename to __if_freenameindex and define as
19649         weak alias of __if_freenameindex.
19650         (if_nameindex): Rename to __if_nameindex and define as weak alias
19651         of __if_nameindex.
19652         (if_indextoname): Rename to __if_indextoname and define as weak
19653         alias of __if_indextoname.  Use libc_hidden_weak.
19654         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19655         __if_nametoindex and define as weak alias of __if_nametoindex.
19656         Use libc_hidden_weak.
19657         (if_freenameindex): Rename to __if_freenameindex and define as
19658         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19659         (if_nameindex_netlink): Use __if_freenameindex instead of
19660         if_freenameindex.
19661         (if_nameindex): Rename to __if_nameindex and define as weak alias
19662         of __if_nameindex.  Use libc_hidden_weak.
19663         (if_indextoname): Rename to __if_indextoname and define as weak
19664         alias of __if_indextoname.  Use libc_hidden_weak.
19665         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19666         libc_hidden_proto.
19667         [!_ISOMAC] (__if_freenameindex): Likewise.
19668         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19669         if_nametoindex.
19670         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19671         variable.
19672         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19673         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19674         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19675         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19676         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19677         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19678         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19680         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19681         Remove variable.
19682         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19683         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19685 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19687         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19688         subscript above bounds'
19690         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19691         bounds.
19693 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19695         * libio/tst-fopenloc.c: Use test-skeleton.c.
19697         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19698         (entry): Rename to ITEM.
19699         (do_test, comp): Adjust.
19701         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19703 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19705         * string/tester.c: Include <libc-internal.h>.
19706         (test_memset): Ignore -Wmemset-transposed-args.
19708 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19710         * misc/tst-mntent2.c (do_test): Fix warning.
19712 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19714         * elf/tst-unique4lib.cc(a): Mark as used.
19716 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19718         [BZ #17630]
19719         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19720         names.
19722 2014-12-16  Allan McRae  <allan@archlinux.org>
19724         * stdio-common/Makefile (tests): Re-add bug26.
19726 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19728         [BZ #17657]
19729         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19730         static array.
19732 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19734         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19735         (__lll_lock_wait): Likewise.
19736         (__lll_timedlock_wait): Likewise.
19737         (__lll_timedwait_tid): Likewise.
19738         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19739         (__lll_robust_timedlock_wait): Likewise.
19740         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19741         (lll_cond_trylock): Likewise.
19742         (__lll_lock): Likewise.
19743         (__lll_robust_lock): Likewise.
19744         (__lll_cond_lock): Likewise.
19745         (lll_robust_cond_lock): Likewise.
19746         (__lll_timedlock): Likewise.
19747         (__lll_robust_timedlock): Likewise.
19748         (__lll_unlock): Likewise.
19749         (__lll_robust_unlock): Likewise.
19750         (lll_wait_tid): Likewise.
19751         (lll_timedwait_tid): Likewise.
19753 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19755         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19757 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19759         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19761 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19763         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19764         * stdio-common/tst-sprintf.c: Likewise.
19766 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19768         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19770 2014-12-15  Jeff Law  <law@redhat.com>
19772         [BZ #16617]
19773         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19774         on the heap.  (CVE-2012-3406)
19775         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19776         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19777         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19779 2014-12-15  Will Newton  <will.newton@linaro.org>
19781         * manual/install.texi: Bump required version of texinfo
19782         to 4.7 from 4.5.
19783         * INSTALL: Regenerated.
19784         * configure.ac: Check for makeinfo version 4.7 and above.
19785         * configure: Regenerated.
19787 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19789         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19790         PREFIX, string constant to insert between directory and name.
19791         * sysdeps/posix/shm_open.c: Update caller.
19792         * sysdeps/posix/shm_unlink.c: Likewise.
19793         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19794         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19795         (SEM_SHM_PREFIX): New macro.
19796         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19797         [$(have-thread-library) = no].
19798         * nptl/Makefile (libpthread-routines): Add shm-directory.
19799         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19800         * sysdeps/nptl/shm-directory.h: New file.
19801         * sysdeps/posix/shm-directory.c
19802         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19803         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19804         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19805         INTERNAL_SYSCALL.
19806         (__where_is_shmfs): Function removed.
19807         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19808         Variables removed.
19809         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19810         Use SHM_GET_NAME.
19811         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19813         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19814         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19815         unconditional for use inside libpthread.
19816         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19818 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19820         * nptl/pthread_getaffinity.c: New file.
19821         * nptl/pthread_setaffinity.c: New file.
19822         * nptl/pthread_getname.c: New file.
19823         * nptl/pthread_setname.c: New file.
19825         * nptl/pthread_create.c (START_THREAD_DEFN)
19826         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19828 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19829             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19831         * resolv/res_send.c (send_vc): Disable warning resplen may
19832         be used uninitialized.
19834 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19836         * nptl/tst-mutex6.c
19837         (ATTR_NULL): New define checks ATTR against NULL.
19838         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19839         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19841 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19843         [BZ #17581]
19844         * malloc/hooks.c
19845         (mem2mem_check): Revert my previous change.
19846         (malloc_check_get_size): Revert my previous change.
19847         (mem2chunk_check): Revert my previous change.
19849 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19851         * sysdeps/posix/shm-directory.c: New file.
19852         * sysdeps/posix/shm-directory.h: New file.
19853         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19854         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19855         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19856         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19857         Transmute EPERM to EACCES.
19858         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19859         from ...
19860         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19861         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19863 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19865         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19866         pointer and cast to uintptr_t.
19867         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19868         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19869         Add cast to avoid warning.
19870         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19872 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19874         * nptl/semaphore.h: Move to ...
19875         * sysdeps/pthread/semaphore.h: ... here.
19876         * Makefile (installed-headers): Change nptl/semaphore.h to
19877         sysdeps/pthread/semaphore.h.
19879 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19881         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19882         generated error format strings.
19884         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19885         -Wformat-extra-args warnings for scanf formats.
19886         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19887         test of zero-length format (duh).
19888         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19889         corner-case scanf format test.
19890         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19891         generated fprintf format string.
19892         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19893         corner-case sprintf format tests.
19894         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19895         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19896         -Wformat-extra-args warnings throughout.
19897         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19898         (CFLAGS-scanf4.c): Likewise.
19899         (CFLAGS-scanf7.c): Likewise.
19900         (CFLAGS-tst-sprintf.c): Likewise.
19901         (CFLAGS-tst-printf.c): Likewise.
19902         (CFLAGS-tst-printfsz.c): Likewise.
19904 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19906         * include/cpio.h: New file.
19907         * include/fmtmsg.h: Likewise.
19909         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19910         corresponding format argument to size_t.
19911         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19912         arguments.
19913         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19914         corresponding format argument to size_t.
19915         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19916         arguments.
19917         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19918         corresponding format argument to size_t.
19919         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19920         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19921         (CFLAGS-tst-mbswcs2.c): Likewise.
19922         (CFLAGS-tst-mbswcs3.c): Likewise.
19923         (CFLAGS-tst-mbswcs4.c): Likewise.
19924         (CFLAGS-tst-mbswcs5.c): Likewise.
19925         (CFLAGS-tst-trans.c): Likewise.
19927 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19929         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19930         rather than assuming they won't contain any '%'s.
19932 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19934         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19935         inhibit_loop_to_libcall to avoid recursive calls.
19936         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19937         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19939 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19941         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19942         prototype.
19944 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19946         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19947         integer value instead of boolean.
19949 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19951         * malloc/malloc.c: Fix powerof2 check.
19953 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19955         * locale/programs/locfile.h (maybe_swap_uint32):
19956         Remove inline and add unused attribute.
19958 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19961         Truncating assembler expression to a .long expression.
19963 2014-12-11  Andreas Schwab  <schwab@suse.de>
19965         * elf/rtld.c (struct map_args): Constify str member.
19966         (do_preload): Constify fname argument.
19968 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19970         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19971         constants definition.
19973 2014-12-11  Andreas Schwab  <schwab@suse.de>
19975         [BZ #16657]
19976         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19977         FORCE_ELISION instead of DO_ELISION.
19978         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19979         Remove.
19980         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19981         Likewise.
19983         * iconvdata/gconv-modules: Remove duplicate entry.
19985 2014-12-11  Will Newton  <will.newton@linaro.org>
19987         Merge gettext 0.19.3 into intl/.
19989         This involves a number of cosmetic changes to comments
19990         and ANSI function definitions and prototypes throughout
19991         all the files. The gettext copyright header is used but
19992         with the date ranges taken from the glibc copy.
19994         * NEWS: Add gettext merge to 2.21.
19995         * intl/bindtextdom.c: Switch to gettext copyright.
19996         Use ANSI definitions and prototypes.
19997         Use gl_* locking primitives rather than __libc_* ones.
19998         Use __builtin_expect rather than __glibc_likely/unlikely.
19999         * intl/dcgettext.c: Switch to gettext copyright.
20000         Use ANSI definitions and prototypes.
20001         * intl/dcigettext.c: Switch to gettext copyright.
20002         Use ANSI definitions and prototypes.
20003         (INTDIV0_RAISES_SIGFPE): New define.
20004         Use gl_* locking primitives rather than __libc_* ones.
20005         Include eval-plural.h instead of plural-eval.c.
20006         Use __builtin_expect rather than __glibc_likely/unlikely.
20007         * intl/dcngettext.c: Switch to gettext copyright.
20008         Use ANSI definitions and prototypes.
20009         * intl/dgettext.c: Likewise.
20010         * intl/dngettext.c: Likewise.
20011         * intl/plural-eval.c: Renamed to...
20012         * intl/eval-plural.h: ...this.
20013         * intl/explodename.c: Switch to gettext copyright.
20014         Use ANSI definitions and prototypes.
20015         (_nl_explode_name): Use strchr instead of __rawmemchr.
20016         * intl/finddomain.c: Switch to gettext copyright.
20017         Use ANSI definitions and prototypes.
20018         Use gl_* locking primitives rather than __libc_* ones.
20019         (_nl_find_domain): Use malloc rather than alloca for
20020         allocation of temporary locale name.
20021         * intl/gettext.c: Switch to gettext copyright.
20022         Use ANSI definitions and prototypes.
20023         * intl/gettextP.h: Switch to gettext copyright.
20024         Use ANSI definitions and prototypes.
20025         Use gl_* locking primitives rather than __libc_* ones.
20026         * intl/gmo.h: Switch to gettext copyright.
20027         (struct sysdep_string): Move struct segment_pair outside of
20028         struct definition.
20029         * intl/hash-string.c: Use ANSI definitions and prototypes.
20030         * intl/hash-string.h: Switch to gettext copyright.
20031         Use ANSI definitions and prototypes.
20032         * intl/l10nflist.c: Switch to gettext copyright.
20033         Use ANSI definitions and prototypes.
20034         (_nl_normalize_codeset): Avoid integer overflow.
20035         * intl/loadinfo.h: Switch to gettext copyright.
20036         Use ANSI definitions and prototypes.
20037         (LIBINTL_DLL_EXPORTED): New define.
20038         (PATH_SEPARATOR): New define.
20039         * intl/loadmsgcat.c: Switch to gettext copyright.
20040         * intl/localealias.c: Switch to gettext copyright.
20041         Use ANSI definitions and prototypes.
20042         (_nl_expand_alias): Use PATH_SEPARATOR.
20043         * intl/ngettext.c: Switch to gettext copyright.
20044         Use ANSI definitions and prototypes.
20045         * intl/plural-exp.c: Likewise.
20046         * intl/plural-exp.h: Switch to gettext copyright.
20047         Use ANSI definitions and prototypes.
20048         (struct expression): Move definition of enum operator outside
20049         of struct definition.
20050         * intl/plural.c: Regenerate.
20051         * intl/plural.y: Switch to gettext copyright.
20052         Use ANSI definitions and prototypes.
20053         Port to bison 3.0.
20054         * intl/textdomain.c: Switch to gettext copyright.
20055         Use ANSI definitions and prototypes.
20056         Use gl_* locking primitives rather than __libc_* ones.
20058 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
20060         * debug/warning-nop.c: Add used atrribute.
20062 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20064         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
20066         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
20067         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
20068         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
20070 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20071             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20073         [BZ #17634]
20074         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
20075         Undefine after defining function.  Define as weak alias of
20076         __wcschr.  Use libc_hidden_weak.
20077         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
20078         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
20079         (libc_hidden_def): Also define __GI___wcschr alias.
20080         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
20081         __wcschr and define as weak alias of __wcschr.
20082         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
20083         __wcschr.
20084         [!WCSCHR] (DEFAULT_WCSCHR): Define.
20085         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
20086         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
20087         libc_hidden_weak.  Do not use libc_hidden_def.
20088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
20089         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
20090         __GI___wcschr alias.
20091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
20092         [IS_IN (libc)] (wcschr): Define as macro expanding to
20093         __redirect_wcschr.
20094         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
20095         [IS_IN (libc)] (__wcschr_power6): Likewise.
20096         [IS_IN (libc)] (__wcschr_power7): Likewise.
20097         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
20098         instead of wcschr.
20099         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
20100         __libc_wcschr.
20101         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
20102         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
20103         __wcschr and define as weak alias of __wcschr.  Use
20104         libc_hidden_builtin_def.
20105         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
20106         as weak alias of __wcschr.  Use libc_hidden_weak.
20107         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
20108         wcschr.
20109         * time/era.c (_nl_init_era_entries): Likewise.
20110         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
20111         variable.
20112         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20113         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20115 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20117         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
20118         format for long int variable.
20120 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
20122         [BZ #10672]
20123         * manual/search.texi: (Array Sort Function): Remove claim how to make
20124         qsort stable.
20126 2014-12-10  Andreas Schwab  <schwab@suse.de>
20128         [BZ #12847]
20129         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
20130         user-controlled locks.
20132 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
20134         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
20135         register.
20137 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20139         * configure.ac (--disable-werror): New configure option.
20140         (enable_werror): New AC_SUBST.
20141         * configure: Regenerated.
20142         * config.make.in (enable-werror): New variable.
20143         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
20144         -Wno-error=undef.
20145         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
20146         * manual/install.texi (Configuring and compiling): Document
20147         --disable-werror.
20148         * INSTALL: Regenerated.
20149         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
20150         (CFLAGS-tst-chk2.c): Likewise.
20151         (CFLAGS-tst-chk3.c): Likewise.
20152         (CFLAGS-tst-chk4.cc): Likewise.
20153         (CFLAGS-tst-chk5.cc): Likewise.
20154         (CFLAGS-tst-chk6.cc): Likewise.
20155         (CFLAGS-tst-lfschk1.c): Likewise.
20156         (CFLAGS-tst-lfschk2.c): Likewise.
20157         (CFLAGS-tst-lfschk3.c): Likewise.
20158         (CFLAGS-tst-lfschk4.cc): Likewise.
20159         (CFLAGS-tst-lfschk5.cc): Likewise.
20160         (CFLAGS-tst-lfschk6.cc): Likewise.
20162         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
20163         (main): Disable -Wdeprecated-declarations around calls to
20164         register_printf_function.
20166         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
20167         (do_test): Disable -Wdiv-by-zero around some calls to
20168         fwrite_unlocked and fread_unlocked.
20170         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
20171         (DIAG_POP_NEEDS_COMMENT): Likewise.
20172         (_DIAG_STR1): Likewise.
20173         (_DIAG_STR): Likewise.
20174         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
20175         * stdio-common/bug21.c: Include <libc-internal.h>.
20176         (do_test): Disable -Wformat around call to sscanf.
20177         * stdio-common/scanf14.c: Include <libc-internal.h>.
20178         (main): Disable -Wformat around some calls to scanf functions.
20180 2014-12-09  Torvald Riegel  <triegel@redhat.com>
20182         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
20184 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20186         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
20187         stack variable alignment.
20189 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
20191         [BZ #17682]
20192         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
20193         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
20194         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
20195         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
20196         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
20197         __getrlimit instead of getrlimit.
20198         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
20199         __gettimeofday instead of gettimeofday.
20200         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20201         Likewise.
20202         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20203         Likewise.
20204         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20205         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
20206         Remove variable.
20207         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20208         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20210 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20212         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
20213         for wide-character tests.
20215 2014-12-04  Roland McGrath  <roland@hack.frob.com>
20217         * io/openat64.c: #include <libc-internal.h>
20218         (__openat64): Prototypify.  Use ignore_value on MODE.
20219         * io/openat.c: Likewise.
20220         * misc/reboot.c: #include <libc-internal.h>
20221         (reboot): Prototypify.  Use ignore_value on HOWTO.
20222         * misc/ptrace.c: #include <libc-internal.h>
20223         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
20225 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
20227         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
20228         XPG4, UNIX98 and XOPEN2K.
20229         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
20230         Remove variable.
20231         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20233 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20235         * libio/fileops.c: Use ISO C style for function definitions.
20236         * libio/iofopen.c: Likewise.
20237         * libio/wfileops.c: Likewise.
20239         [BZ #17653]
20240         * libio/fileops.c (_IO_new_file_underflow): Unset cached
20241         offset on EOF.
20242         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20243         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
20244         (fgets_func): Function pointer to fgets and fgetws.
20245         (do_ftell_test): Add test to verify ftell value after read
20246         EOF.
20247         (do_test): Set fgets_func.
20249         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
20250         O_TRUNC flag for w and w+ modes.
20251         (do_rewind_test): Likewise.
20252         (do_ftell_test): Likewise.
20253         (do_write_test): Likewise.
20255         [BZ #17647]
20256         * libio/fileops.c (do_ftell): Seek only when there are
20257         unflushed writes.
20258         * libio/wfileops.c (do_ftell_wide): Likewise.
20259         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
20260         test case.
20261         (do_one_test): Call it.
20263 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
20265         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
20266         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
20267         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
20268         Remove variable.
20269         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20270         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20271         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20273 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20275         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
20276         Remove variable.
20277         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20279         [BZ #17668]
20280         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
20281         as weak alias of __getifaddrs.  Use libc_hidden_weak.
20282         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20283         __freeifaddrs.  Use libc_hidden_weak.
20284         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
20285         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
20286         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20287         __freeifaddrs.  Use libc_hidden_weak.
20288         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
20289         __getifaddrs and define as weak alias of __getifaddrs.  Use
20290         libc_hidden_weak.
20291         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20292         __freeifaddrs.  Use libc_hidden_weak.
20293         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
20294         Remove variable.
20295         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20296         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20298 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20300         [BZ #17601]
20301         * sysdeps/mips/start.S (__start): Use indirect jump to call
20302         __libc_start_main.
20304 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20306         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
20308         * nptl/tst-mutex1.c: Include <stdbool.h>.
20309         [!ATTR] (ATTR_NULL): New macro.
20310         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
20311         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
20312         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
20314         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
20315         to char *.
20317         [BZ #17665]
20318         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
20319         Change conditional to [__USE_MISC].
20321         [BZ #17664]
20322         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20323         fgets_unlocked.
20324         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20325         __fgets_unlocked.
20326         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20327         fgets_unlocked.
20328         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20329         Remove variable.
20330         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20331         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20332         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20333         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20334         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20335         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20336         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20337         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20338         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20340         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20342 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20344         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20345         Remove strpbrk objects.
20346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20347         (__libc_ifunc_impl_list): Remove strpbrk implementation.
20348         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20349         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20350         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20351         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20353         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20354         Remove strcspn objects.
20355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20356         (__libc_ifunc_impl_list): Remove strcspn implementation.
20357         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20358         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20359         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20360         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20362         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20363         Remove strspn objetcs.
20364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20365         (__libc_ifunc_impl_list): Remove strspn implementation.
20366         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
20367         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20368         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
20369         * sysdeps/powerpc/powerpc64/strspn.S: New file.
20371 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
20373         [BZ #17581]
20374         * malloc/hooks.c
20375         (mem2mem_check): Add a terminator to the chain of checking blocks.
20376         (malloc_check_get_size): Use it here.
20377         (mem2chunk_check): Ditto.
20379 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20381         * sysdeps/powerpc/powerpc64/strtok.S: New file.
20382         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
20384 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
20386         * bits/ioctl-types.h: Indent preprocessor directives correctly.
20388         * nptl/nptl-init.c: Include libc-internal.h.
20389         (__pthread_initialize_minimal_internal): Use ROUND_UP.
20391         * elf/ldconfig.c (search_dir): Expand comment.
20393 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
20395         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
20396         variable.
20397         (linknamespace-symlist-stdlibs-tests): Likewise.
20398         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
20399         instead of $(objpfx)symlist-stdlibs.
20400         (linknamespace-libs-isoc): New variable.
20401         (linknamespace-libs): Use $(linknamespace-libs-isoc).
20402         (linknamespace-libs-ISO): New variable.
20403         (linknamespace-libs-ISO99): Likewise.
20404         (linknamespace-libs-ISO11): Likewise.
20405         (linknamespace-libs-XPG3): Likewise.
20406         (linknamespace-libs-XPG4): Likewise.
20407         (linknamespace-libs-POSIX): Likewise.
20408         (linknamespace-libs-UNIX98): Likewise.
20409         (linknamespace-libs-XOPEN2K): Likewise.
20410         (linknamespace-libs-POSIX2008): Likewise.
20411         (linknamespace-libs-XOPEN2K8): Likewise.
20412         ($(objpfx)symlist-stdlibs): Replace by
20413         $(linknamespace-symlist-stdlibs-tests).  Use
20414         $(linknamespace-libs-$*) as set of libraries.
20415         ($(linknamespace-header-tests)): Update dependencies.  Use
20416         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20417         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20418         * conform/linknamespace.pl: Remove comment about considering
20419         definitions of symbols from irrelevant libraries.
20421 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
20423         [BZ #13862]
20424         * elf/dl-tls.c: Include <atomic.h>.
20425         (oom): Remove #ifdef SHARED/#endif.
20426         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20427         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
20428         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20429         big enough.
20430         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20431         * nptl/Makefile (tests): Add tst-stack4.
20432         (modules-names): Add tst-stack4mod.
20433         ($(objpfx)tst-stack4): New.
20434         (tst-stack4mod.sos): Likewise.
20435         ($(objpfx)tst-stack4.out): Likewise.
20436         ($(tst-stack4mod.sos)): Likewise.
20437         (clean): Likewise.
20438         * nptl/tst-stack4.c: New file.
20439         * nptl/tst-stack4mod.c: Likewise.
20441 2014-11-27  J. Brown  <jb999@gmx.de>
20443         * sysdeps/x86/bits/string.h: Add recent CPUs.
20445 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20447         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20448         sigblock.
20450         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20451         feof.
20453         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20454         variable.
20456 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20458         * nscd/connections.c: Include libc-internal.h because of macro
20459         usage ignore_value.
20461 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20463         * string/bits/string3.h (__warn_memset_zero_len): Don't
20464         declare for gcc newer than 5.0.
20465         (memset): Don't test for zero-length __LEN for gcc newer than
20466         5.0.
20468 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20470         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20471         size_t for %zu format.
20473         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20474         difference, not %ju.
20476 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20478         * include/libc-internal.h (ignore_value): New macro.
20479         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20480         with ignore_value.
20482         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20483         definition.
20485         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20486         pthread_cleanup_push to void *.
20488         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20489         Undefine.
20491         [BZ #16619]
20492         [BZ #16740]
20493         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20494         instead of 1L << 52.
20496         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20497         * libio/bug-rewind2.c (do_test): Likewise.
20499         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20500         * debug/test-strcpy_chk-ifunc.c: Likewise.
20501         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20502         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20503         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20504         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20505         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20506         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20507         * Rules [$(multi-arch) = no] (tests): Do not filter out
20508         $(tests-ifunc).
20509         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20510         * debug/Makefile (tests-ifunc): Remove variable.
20511         (tests): Do not add $(tests-ifunc).
20512         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20513         (tests): Do not add $(tests-ifunc).
20514         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20515         [TEST_IFUNC]: Remove conditionals.
20516         * string/test-string.h (TEST_IFUNC): Remove macro.
20517         [TEST_IFUNC]: Remove conditionals.
20519         * string/test-strchr.c [!WIDE] (L): New macro.
20520         [WIDE] (L): Likewise.
20521         (check1): Use CHAR instead of char.  Use L on string and character
20522         constants.
20524 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20526         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20527         tests.
20528         * sysdeps/powerpc/bits/atomic.h
20529         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20530         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20531         (atomic_exchange_and_add_acq): Likewise.
20532         (atomic_exchange_and_add_rel): Likewise.
20533         * sysdeps/powerpc/powerpc32/bits/atomic.h
20534         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20535         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20536         * sysdeps/powerpc/powerpc64/bits/atomic.h
20537         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20538         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20540 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20542         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20543         Change synchronization of __sched_fifo_min_prio and
20544         __sched_fifo_max_prio.
20545         * nptl/pthread_mutexattr_getprioceiling.c
20546         (pthread_mutexattr_getprioceiling): Likewise.
20547         * nptl/pthread_mutexattr_setprioceiling.c
20548         (pthread_mutexattr_setprioceiling): Likewise.
20549         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20550         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20551         Likewise.
20553 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20555         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20556         void.
20558 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20560         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20561         third argument const.
20563 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20565         fnmatch: work around GCC compiler warning bug with uninit var
20566         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20567         This works around a bug with x86-64 GCC 4.9.2 and earlier
20568         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20569         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20570         used uninitialized in this function [-Wmaybe-uninitialized]".
20572 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20574         * posix/bug-regex31.c (main): Return RES not 0.
20576 2014-11-25  Anton Blanchard <anton@samba.org>
20578         * sysdeps/powerpc/bits/atomic.h
20579         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20581 2014-11-24  Sterling Augustine  <saugustine@google.com>
20583         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20585 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20587         [BZ #17608]
20588         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20590 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20592         [BZ #17633]
20593         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20594         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20595         variable.
20596         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20597         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20599 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20601         * string/strncpy.c (strncpy): Improve performance by using memset.
20603 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20605         * string/strcpy.c (strcpy):
20606         Improve performance by using strlen and memcpy.
20608 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20610         * string/strcoll_l.c (get_next_seq): __always_inline.
20611         * string/strcoll_l.c (do_compare): __always_inline.
20613 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20615         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20616         defined.
20617         * include/mqueue.h: Likewise.
20618         * include/stdlib.h: Likewise.
20620         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20621         (get_null_defines): Adjust.
20622         * sunrpc/Makefile: Adjust comment.
20623         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20624         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20625         (CFLAGS-interp.c): Likewise.
20626         (CFLAGS-ldconfig.c): Likewise.
20627         (CPPFLAGS-.os): Likewise.
20628         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20629         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20630         * extra-modules.mk (extra-modules.mk): Likewise.
20631         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20632         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20633         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20634         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20635         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20636         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20637         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20638         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20639         * iconvdata/Makefile (CPPFLAGS): Likewise.
20640         (cpp-srcs-left): Add libof for all iconvdata routines.
20641         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20642         * include/assert.h: Likewise.
20643         * include/ctype.h: Likewise.
20644         * include/errno.h: Likewise.
20645         * include/libc-symbols.h: Likewise.
20646         * include/math.h: Likewise.
20647         * include/netdb.h: Likewise.
20648         * include/resolv.h: Likewise.
20649         * include/stdio.h: Likewise.
20650         * include/stdlib.h: Likewise.
20651         * include/string.h: Likewise.
20652         * include/sys/stat.h: Likewise.
20653         * include/wctype.h: Likewise.
20654         * intl/l10nflist.c: Likewise.
20655         * libidn/idn-stub.c: Likewise.
20656         * libio/libioP.h: Likewise.
20657         * nptl/libc_multiple_threads.c: Likewise.
20658         * nptl/pthreadP.h: Likewise.
20659         * posix/regex_internal.h: Likewise.
20660         * resolv/res_hconf.c: Likewise.
20661         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20662         * sysdeps/arm/memmove.S: Likewise.
20663         * sysdeps/arm/sysdep.h: Likewise.
20664         * sysdeps/generic/_itoa.h: Likewise.
20665         * sysdeps/generic/symbol-hacks.h: Likewise.
20666         * sysdeps/gnu/errlist.awk: Likewise.
20667         * sysdeps/gnu/errlist.c: Likewise.
20668         * sysdeps/i386/i586/memcpy.S: Likewise.
20669         * sysdeps/i386/i586/memset.S: Likewise.
20670         * sysdeps/i386/i686/memcpy.S: Likewise.
20671         * sysdeps/i386/i686/memmove.S: Likewise.
20672         * sysdeps/i386/i686/mempcpy.S: Likewise.
20673         * sysdeps/i386/i686/memset.S: Likewise.
20674         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20675         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20676         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20677         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20678         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20679         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20680         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20681         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20682         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20683         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20684         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20685         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20686         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20687         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20688         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20689         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20690         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20691         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20692         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20693         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20694         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20695         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20696         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20697         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20698         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20699         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20700         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20701         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20702         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20703         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20704         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20705         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20706         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20707         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20708         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20709         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20710         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20711         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20712         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20713         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20714         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20715         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20716         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20717         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20718         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20719         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20720         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20721         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20722         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20723         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20724         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20725         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20726         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20727         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20728         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20729         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20730         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20731         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20732         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20733         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20734         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20735         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20736         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20737         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20738         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20739         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20740         * sysdeps/posix/closedir.c: Likewise.
20741         * sysdeps/posix/opendir.c: Likewise.
20742         * sysdeps/posix/readdir.c: Likewise.
20743         * sysdeps/posix/rewinddir.c: Likewise.
20744         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20745         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20746         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20747         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20748         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20750         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20753         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20755         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20756         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20757         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20758         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20759         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20760         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20761         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20763         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20764         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20765         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20766         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20767         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20768         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20769         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20770         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20771         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20772         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20779         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20780         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20781         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20782         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20783         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20784         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20785         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20786         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20787         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20788         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20789         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20790         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20791         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20792         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20793         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20794         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20795         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20796         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20797         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20798         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20799         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20800         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20801         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20802         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20803         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20804         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20805         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20806         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20807         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20808         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20809         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20810         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20811         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20812         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20813         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20814         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20815         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20816         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20817         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20818         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20819         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20820         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20821         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20822         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20823         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20824         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20825         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20826         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20828         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20829         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20830         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20831         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20832         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20833         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20834         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20835         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20836         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20837         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20838         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20839         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20840         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20842         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20843         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20844         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20845         * sysdeps/unix/alpha/sysdep.S: Likewise.
20846         * sysdeps/unix/alpha/sysdep.h: Likewise.
20847         * sysdeps/unix/make-syscalls.sh: Likewise.
20848         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20849         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20850         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20851         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20852         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20853         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20854         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20855         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20856         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20857         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20858         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20859         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20860         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20861         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20862         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20863         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20864         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20865         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20866         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20867         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20868         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20869         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20870         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20871         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20872         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20873         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20874         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20877         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20878         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20881         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20882         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20883         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20884         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20886         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20887         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20888         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20889         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20890         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20891         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20892         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20894         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20895         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20896         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20897         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20898         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20899         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20900         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20901         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20902         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20903         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20904         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20906         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20907         * sysdeps/x86_64/memcpy.S: Likewise.
20908         * sysdeps/x86_64/memmove.c: Likewise.
20909         * sysdeps/x86_64/memset.S: Likewise.
20910         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20911         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20912         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20913         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20914         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20915         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20916         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20917         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20918         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20919         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20920         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20921         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20922         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20923         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20924         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20925         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20926         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20927         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20928         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20929         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20930         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20931         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20932         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20933         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20934         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20935         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20936         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20937         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20938         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20939         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20940         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20941         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20942         * sysdeps/x86_64/strcmp.S: Likewise.
20944         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20946         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20947         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20948         * elf/rtld-Rules: Likewise.
20949         * elf/setup-vdso.h: Likewise.
20950         * include/assert.h: Likewise.
20951         * include/bits/stdlib-float.h: Likewise.
20952         * include/errno.h: Likewise.
20953         * include/sys/stat.h: Likewise.
20954         * include/unistd.h: Likewise.
20955         * sysdeps/aarch64/setjmp.S: Likewise.
20956         * sysdeps/alpha/setjmp.S: Likewise.
20957         * sysdeps/arm/__longjmp.S: Likewise.
20958         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20959         * sysdeps/arm/setjmp.S: Likewise.
20960         * sysdeps/arm/sysdep.h: Likewise.
20961         * sysdeps/generic/_itoa.h: Likewise.
20962         * sysdeps/generic/dl-sysdep.h: Likewise.
20963         * sysdeps/generic/ldsodefs.h: Likewise.
20964         * sysdeps/i386/dl-tls.h: Likewise.
20965         * sysdeps/i386/setjmp.S: Likewise.
20966         * sysdeps/m68k/setjmp.c: Likewise.
20967         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20968         * sysdeps/mach/hurd/opendir.c: Likewise.
20969         * sysdeps/posix/getcwd.c: Likewise.
20970         * sysdeps/posix/opendir.c: Likewise.
20971         * sysdeps/posix/profil.c: Likewise.
20972         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20973         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20974         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20975         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20976         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20977         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20978         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20979         * sysdeps/s390/dl-tls.h: Likewise.
20980         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20981         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20982         * sysdeps/sh/sh3/setjmp.S: Likewise.
20983         * sysdeps/sh/sh4/setjmp.S: Likewise.
20984         * sysdeps/unix/alpha/sysdep.h: Likewise.
20985         * sysdeps/unix/arm/sysdep.S: Likewise.
20986         * sysdeps/unix/i386/sysdep.S: Likewise.
20987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20988         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20989         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20990         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20991         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20992         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20993         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20994         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20995         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20996         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20997         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20998         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20999         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21002         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21004         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21005         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21006         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21007         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21008         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21009         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21010         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21011         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21012         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21014         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21015         * sysdeps/x86_64/setjmp.S: Likewise.
21017         * include/math.h: Use IS_IN instead of IS_IN_libm.
21018         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
21019         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21020         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21021         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
21022         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21023         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21024         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21025         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21026         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21027         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21028         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
21029         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
21030         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
21031         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
21032         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
21033         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
21034         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21035         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
21036         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21037         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
21038         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
21039         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
21040         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
21041         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
21042         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
21043         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
21044         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
21045         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
21046         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
21047         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
21048         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
21049         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21050         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21052         Likewise.
21053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
21054         Likewise.
21055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
21056         Likewise.
21057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
21058         Likewise.
21059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
21060         Likewise.
21061         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21062         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
21063         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21064         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21065         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21066         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
21068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
21069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
21070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
21071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
21072         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
21073         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
21074         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21075         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21076         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21077         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21078         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21079         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21080         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21081         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
21082         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
21083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
21084         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
21085         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
21086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21087         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
21089         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
21090         * nptl/pthreadP.h: Likewise.
21091         * nptl_db/structs.def: Likewise.
21092         * sysdeps/arm/sysdep.h: Likewise.
21093         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21094         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21095         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
21096         * sysdeps/unix/alpha/sysdep.h: Likewise.
21097         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21099         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21100         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21101         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21102         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21103         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21104         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21105         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21106         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21107         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21108         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21109         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21110         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21113         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21115         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21118         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21119         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21120         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21121         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
21122         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21124         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
21125         * nptl/pthreadP.h: Likewise.
21126         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21127         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21128         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21129         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21130         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21131         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21132         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21133         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21134         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21135         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21136         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21137         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21139         Likewise.
21140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21141         Likewise.
21142         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21143         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21144         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21147         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21148         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21149         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21151         * dlfcn/dladdr.c: Use IS_IN.
21152         * dlfcn/dladdr1.c: Likewise.
21153         * dlfcn/dlclose.c: Likewise.
21154         * dlfcn/dlerror.c: Likewise.
21155         * dlfcn/dlinfo.c: Likewise.
21156         * dlfcn/dlmopen.c: Likewise.
21157         * dlfcn/dlopen.c: Likewise.
21158         * dlfcn/dlsym.c: Likewise.
21159         * dlfcn/dlvsym.c: Likewise.
21161         * include/ifaddrs.h: Use IS_IN.
21162         * inet/check_pf.c: Likewise.
21163         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21164         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
21166         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
21167         IS_IN_ldconfig.
21168         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
21169         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
21171         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
21172         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
21173         IS_IN (libc).
21175         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
21177         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
21178         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21179         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21180         * include/libc-symbols.h (IS_IN_LIB): New macro.
21181         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
21182         * include/netdb.h: Likewise.
21183         * include/stap-probe.h: Remove all uses of IN_LIB.
21185         * Makeconfig (module-cppflags-real): Define MODULE_NAME
21186         instead of IN_MODULE.
21187         * include/libc-symbols.h (IN_MODULE): Define using
21188         MODULE_NAME.
21189         (PASTE_NAME, PASTE_NAME1): New macros.
21190         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
21191         of IN_LIB.
21192         (STAP_PROBE_ASM): Likewise.
21194 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21196         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
21197         __mach_init in dlopened libc.
21199 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
21201         * sysdeps/arm/preconfigure.ac: Delete EABI check.
21202         * sysdeps/arm/preconfigure: Regenerate.
21204 2014-11-21  Roland McGrath  <roland@hack.frob.com>
21206         * nptl/pthread_create.c (__pthread_create_2_1): Set
21207         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
21208         when copying values from IATTR into PD.
21210 2014-11-21  Will Newton  <will.newton@linaro.org>
21211             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
21213         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
21214         Refactor inline-asm.  Also add comment.
21216         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
21217         ElfW macro instead of hardcoded Elf64 types.
21218         (la_aarch64_gnu_pltenter): Likewise.
21219         * sysdeps/aarch64/dl-machine.h
21220         (elf_machine_runtime_setup): Use ElfW(Addr).
21222         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
21223         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
21224         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
21225         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
21226         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
21227         (R_AARCH64_TLS_DTPMOD64): Rename to ..
21228         (R_AARCH64_TLS_DTPMOD): This.
21229         (R_AARCH64_TLS_DTPREL64): Rename to ...
21230         (R_AARCH64_TLS_DTPREL): This.
21231         (R_AARCH64_TLS_TPREL64): Rename to ...
21232         (R_AARCH64_TLS_TPREL): This.
21233         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
21234         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
21235         R_AARCH64_TLS_TPREL64.
21236         (elf_machine_rela): Likewise.
21238 2014-11-21  Torvald Riegel  <triegel@redhat.com>
21240         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
21241         by setting it to 0.  64b atomics are not supported currently.
21243 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21245         [BZ #16469]
21246         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
21247         search domain names.
21249 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21251         [BZ #16469]
21252         * NEWS: Update.
21253         * resolv/res_query.c (__libc_res_nquerydomain): Retain
21254         trailing dot.
21255         * posix/tst-getaddrinfo5.c: New.
21256         * posix/Makefile (tests): Add it.
21258 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21260         [BZ #14498]
21261         * NEWS: Fixed.
21262         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
21263         after parsing line but before break_if_match.
21264         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
21265         if there is a protocol mismatch.
21267 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
21269         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
21270         because the potential race is on the user-supplied stream.
21272 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21274         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
21275         string literal if not passed a buffer.
21276         * manual/job.texi (ctermid): Update reasoning, note deviation
21277         from posix, suggest mtasurace when not passed a buffer, for
21278         future non-preliminary safety notes.
21280 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21282         * manual/users.texi (cuserid): Fix MT-Safety note for the case
21283         of not passing it a buffer.
21284         Reported by Peng Haitao.
21286 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21288         * manual/Makefile ($(objpfx)stamp-summary): Require
21289         check-safety.sh to pass.
21290         * manual/check-safety.sh: Wish for verification that every
21291         @deftypefn and @deftypefun is followed by a @safety remark.
21293 2014-11-20  Roland McGrath  <roland@hack.frob.com>
21295         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
21297         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
21298         PTHREAD_CANCEL_ASYNCHRONOUS.
21299         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21300         send SIGCANCEL.
21302         * nptl/default-sched.h: New file.
21303         * sysdeps/unix/sysv/linux/default-sched.h: New file.
21304         * nptl/pthread_create.c: Include it.
21305         (__pthread_create_2_1): Use collect_default_sched instead of making
21306         Linux syscalls here directly.
21308 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21310         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
21311         __pthread_once): Use C11 atomics.
21313 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21315         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
21317 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21319         * include/atomic.h (__atomic_link_error, __atomic_check_size,
21320         atomic_thread_fence_acquire, atomic_thread_fence_release,
21321         atomic_thread_fence_seq_cst, atomic_load_relaxed,
21322         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21323         atomic_compare_exchange_weak_relaxed,
21324         atomic_compare_exchange_weak_acquire,
21325         atomic_compare_exchange_weak_release,
21326         atomic_exchange_acquire, atomic_exchange_release,
21327         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21328         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21329         atomic_fetch_and_acquire,
21330         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21332 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21334         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21335         USE_ATOMIC_COMPILER_BUILTINS): Define.
21336         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21338         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21340         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21342         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21344         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21346         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21348         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21350         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21352         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21354         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21355         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21356         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21358         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21359         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21360         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21361         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21362         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21363         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21364         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
21365         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21366         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
21367         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21368         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
21369         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21370         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21371         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21372         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
21373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21374         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
21375         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21377 2014-11-19  Roland McGrath  <roland@hack.frob.com>
21379         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
21380         the sched_priority value here.  It was already checked when the user
21381         called pthread_attr_setschedparam.
21383         * nptl/tst-bad-schedattr.c: New file.
21384         * nptl/Makefile (tests): Add it.
21386 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
21387             Florian Weimer  <fweimer@redhat.com>
21388             Joseph Myers  <joseph@codesourcery.com>
21389             Adam Conrad  <adconrad@0c3.net>
21390             Andreas Schwab  <schwab@suse.de>
21391             Brooks  <bmoses@google.com>
21393         [BZ #17625]
21394         * wordexp-test.c (__dso_handle): Add prototype.
21395         (__register_atfork): Likewise.
21396         (__app_register_atfork): New function.
21397         (registered_forks): New global.
21398         (register_fork): New function.
21399         (test_case): Add 3 new tests for WRDE_CMDSUB.
21400         (main): Call __app_register_atfork.
21401         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
21402         fork count is non-zero fail the test.
21403         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
21404         is set.
21405         (parse_dollars): Remove check for WRDE_NOCMD.
21406         (parse_dquote): Likewise.
21408 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21410         * Makeconfig (built-modules): List non-library modules to be
21411         built.
21412         (module-cppflags): Include libc-modules.h for
21413         everything except shlib-versions.v.i.
21414         (CPPFLAGS): Use it.
21415         (before-compile): Add libc-modules.h.
21416         ($(common-objpfx)libc-modules.h,
21417         $(common-objpfx)libc-modules.stmp): New targets.
21418         (common-generated): Add libc-modules.h and libc-modules.stmp.
21419         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21420         * include/libc-symbols.h: Don't include libc-modules.h.
21421         * include/libc-modules.h: Remove file.
21422         * scripts/gen-libc-modules.awk: New script to generate
21423         libc-modules.h.
21424         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21425         Depend on libc-modules.stmp.
21427         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21429         * Makeconfig (in-module): Get value of libof set for the
21430         translation unit.
21431         (CPPFLAGS): Use $(in-module).
21432         * Makerules: Don't suffix routine names for nonlib.
21433         * include/libc-modules.h: New file.
21434         * include/libc-symbols.h: Include libc-modules.h
21435         (IS_IN): New macro to replace IS_IN_* macros.
21436         * elf/Makefile: Set libof-* for each routine.
21437         * elf/rtld-Rules: Likewise.
21438         * extra-modules.mk: Likewise.
21439         * iconv/Makefile: Likewise.
21440         * iconvdata/Makefile: Likewise.
21441         * locale/Makefile: Likewise.
21442         * malloc/Makefile: Likewise.
21443         * nss/Makefile: Likewise.
21444         * sysdeps/gnu/Makefile: Likewise.
21445         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21446         * sysdeps/unix/sysv/linux/Makefile: Likewise.
21447         * sysdeps/s390/s390-64/Makefile: Likewise.
21448         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
21449         CPPFLAGS for nscd instead of nonlib.
21451 2014-11-18  Roland McGrath  <roland@hack.frob.com>
21453         * nptl/createthread.c: New file.
21455         * nptl/createthread.c: Moved ...
21456         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21458         * nptl/createthread.c: Add proper top-line comment.
21459         (do_clone): Folded into ...
21460         (create_thread): ... here.  Take new arguments STOPPED_START and
21461         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21462         increment __nptl_threads, do event-reporting logic, do
21463         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21464         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21465         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21466         just send SIGCANCEL.
21467         * nptl/pthread_create.c: Forward-declare create_thread before
21468         including createthread.c.
21469         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21470         declaration, and new macro START_THREAD_SELF to replace argument.
21471         Remove return statement.
21472         (report_thread_creation): New function.
21473         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21474         synchronization logic, and __nptl_nthreads increment here, around
21475         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21476         PD->parent_cancelhandling here, before create_thread.  When
21477         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21478         __deallocate_stack, and ENOMEM translation here.
21480 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21482         [BZ #17616]
21483         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21484         (mptwo): Rename to __mptwo.
21485         (__inv): Use __mptwo instead of mptwo.
21486         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21487         (mptwo): Rename to __mptwo.
21488         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21489         of mpone and __mptwo instead of mptwo.
21490         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21491         instead of mpone.
21492         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21493         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21494         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21495         of mpone and __mptwo instead of mptwo.
21496         (__mpranred): Use __mpone instead of mpone.
21497         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21498         variable.
21499         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21500         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21501         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21502         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21503         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21504         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21505         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21506         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21507         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21508         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21509         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21510         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21511         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21512         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21513         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21514         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21515         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21516         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21517         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21519 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21521         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21522         replace BSD Handler xref with BSD Signal Handling.
21524 2014-11-17  Richard Henderson  <rth@redhat.com>
21526         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21527         (_FP_PACK_RAW_2): Remove.
21528         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21529         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21530         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21531         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21532         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21533         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21534         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21535         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21536         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21537         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21538         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21539         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21540         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21541         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21542         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21543         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21545 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21547         * signal/signal.h [__USE_MISC]
21548         (struct sigvec): Remove type.
21549         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21550         (sigvec): Remove declaration.
21551         * sysdeps/posix/sigvec.c: Moved ...
21552         * signal/sigvec.c: ... here, replacing old file.
21553         (struct sigvec): New type, copied from old signal.h definition.
21554         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21555         (__sigvec): Convert definition to prototype.
21556         (sigvec): Replace weak_alias with compat_symbol.
21557         * signal/Versions (libc: GLIBC_2.21): New version set.
21558         * include/signal.h: Remove __sigvec declaration.
21559         * sysdeps/unix/bsd/sigvec.c: Remove file.
21560         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21561         * manual/signal.texi (BSD Handler): Remove subsection.
21562         Move siginterrupt up to ...
21563         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21564         (Blocking in BSD): Fold subsection into its parent.
21565         * NEWS: Mention sigvec removal.
21567 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21569         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21570         (DLA_FMS): Make definition conditional only on [__FMA4__].
21571         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21572         definition.
21574         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21575         Make definition conditional only on [PROF].
21576         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21577         definition.
21578         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21579         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21581         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21582         !__GNUC__].
21583         * include/signal.h (__sigpause): Move declaration above call to
21584         libc_hidden_proto.
21585         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21586         variable.
21587         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21588         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21590 2014-11-14  David S. Miller  <davem@davemloft.net>
21592         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21593         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21595 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21597         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21598         * configure: Regenerated.
21599         * manual/install.texi (Tools for Compilation): Document a
21600         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21601         compiler verified to work.
21602         * INSTALL: Regenerated.
21604         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21605         redeclare with asm name.
21606         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21607         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21608         including <string.h>.
21609         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21610         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21611         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21612         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21613         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21614         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21615         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21617 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21619         * stdlib/strtol.c (__strtol): Use prototype definition.
21621         [BZ #17594]
21622         * stdlib/strtol.c (SYM__): New macro.
21623         (SYM__1): Likewise.
21624         (__strtol): Likewise.
21625         (strtol): Rename to __strtol and define as weak alias of
21626         __strtol.  Use libc_hidden_weak.
21628 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21630         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21631         Use numbered labels in inline assembly.
21633 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21635         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21636         Add setjmp LIBC_PROBE.
21637         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21638         Likewise.
21639         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21640         Add longjmp, longjmp_target LIBC_PROBE.
21641         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21642         Likewise.
21644 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21646         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21647         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21648         to get rid of unused variable warning.
21650 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21652         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21653         Check for unwind_backtrace ==  NULL only in SHARED case.
21654         (__backchain_backtrace): Compile only in SHARED case.
21655         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21656         Likewise.
21657         (__backchain_backtrace): Declare as static.
21659 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21661         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21662         (__libc_multiple_threads_ptr): Variable moved ...
21663         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21665 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21667         * conform/GlibcConform.pm: New file.
21668         * conform/conformtest.pl: Use GlibcConform module.
21669         * conform/linknamespace.pl: New file.
21670         * conform/list-header-symbols.pl: Likewise.
21671         * conform/Makefile (linknamespace-symlists-base): New variable.
21672         (linknamespace-symlists-tests): Likewise.
21673         (linknamespace-header-base): Likewise.
21674         (linknamespace-header-tests): Likewise.
21675         (tests-special): Add new tests.
21676         ($(linknamespace-symlists-tests)): New rule.
21677         (linknamespace-libs): New variable.
21678         ($(objpfx)symlist-stdlibs): New rule.
21679         ($(linknamespace-header-tests)): Likewise.
21680         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21681         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21682         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21683         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21684         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21685         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21686         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21687         (test-xfail-ISO/math.h/linknamespace): Likewise.
21688         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21689         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21690         (test-xfail-ISO/time.h/linknamespace): Likewise.
21691         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21692         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21693         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21694         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21695         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21696         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21697         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21698         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21699         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21700         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21701         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21702         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21703         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21704         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21705         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21706         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21707         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21708         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21709         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21710         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21711         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21712         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21713         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21714         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21715         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21716         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21717         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21718         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21719         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21720         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21721         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21722         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21723         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21724         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21725         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21726         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21727         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21728         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21729         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21730         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21731         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21732         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21733         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21734         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21735         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21736         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21737         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21738         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21739         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21740         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21741         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21742         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21743         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21744         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21745         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21746         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21747         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21748         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21749         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21750         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21751         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21752         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21753         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21754         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21755         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21756         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21757         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21758         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21759         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21760         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21761         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21762         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21763         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21764         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21765         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21766         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21767         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21768         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21769         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21770         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21771         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21772         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21773         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21774         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21775         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21776         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21777         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21778         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21779         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21780         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21781         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21782         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21783         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21784         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21785         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21786         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21787         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21788         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21789         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21790         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21791         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21792         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21793         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21794         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21795         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21796         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21797         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21798         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21799         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21800         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21801         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21802         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21803         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21804         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21805         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21806         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21807         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21808         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21809         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21810         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21811         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21812         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21813         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21814         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21815         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21816         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21817         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21818         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21819         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21820         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21821         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21822         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21823         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21824         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21825         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21826         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21827         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21828         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21829         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21830         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21831         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21832         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21833         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21834         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21835         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21836         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21837         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21838         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21839         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21840         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21842         [BZ #17589]
21843         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21844         of fgets_unlocked.
21846         [BZ #17585]
21847         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21848         (memmem): Rename to __memmem and define as weak alias of
21849         __memmem.  Use libc_hidden_weak.
21850         (__memmem): Use libc_hidden_def.
21851         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21852         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21853         memmem.
21855         [BZ #17582]
21856         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21857         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21858         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21859         and define as weak alias of __fgets_unlocked.  Use
21860         libc_hidden_weak.
21861         (__fgets_unlocked): Use libc_hidden_def.
21862         * include/stdio.h (__fgets_unlocked): Declare.  Use
21863         libc_hidden_proto.
21864         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21865         __fgets_unlocked instead of fgets_unlocked.
21866         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21867         (GET_NPROCS_CONF_PARSER): Likewise.
21868         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21869         (GET_NPROCS_CONF_PARSER): Likewise.
21871         [BZ #17574]
21872         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21873         weak alias of __wmemset.  Use libc_hidden_weak.
21874         (__wmemset): Use libc_hidden_def.
21875         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21876         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21877         of wmemset.
21879         [BZ #17573]
21880         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21881         with asm name __mempcpy.
21882         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21884         [BZ #17572]
21885         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21886         and define as weak alias of __rawmemchr.
21887         (__rawmemchr): Do not define as strong alias of rawmemchr.
21889         [BZ #17571]
21890         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21891         alias of __qsort_r.
21892         (qsort): Call __qsort_r instead of qsort_r.
21893         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21894         (__qsort_r): Declare.  Call libc_hidden_proto.
21895         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21896         instead of qsort_r.
21897         * nscd/gai.c (__qsort_r): Define to qsort_r.
21898         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21899         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21900         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21902         [BZ #17570]
21903         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21904         define as weak alias of __malloc_info.
21906         [BZ #17584]
21907         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21908         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21909         (__rewinddir): Use libc_hidden_def.
21910         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21911         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21912         (__rewinddir): Use libc_hidden_def.
21913         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21914         weak alias of __rewinddir.  Don't use libc_hidden_def.
21915         (__rewinddir): Use libc_hidden_def.
21916         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21917         (__rewinddir): Use libc_hidden_proto.
21918         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21919         rewinddir.
21920         (__getcwd): Use __rewinddir instead of rewinddir.
21922         [BZ #17583]
21923         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21924         alias of __fileno.  Use libc_hidden_weak.
21925         (__fileno): Use libc_hidden_def.
21926         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21927         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21928         alias of __ftello.
21929         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21930         __ftello.
21931         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21932         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21933         libc_hidden_def.
21934         (fread_unlocked): Don't use libc_hidden_ver.
21935         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21936         and define as weak alias of __fread_unlocked.  Don't use
21937         libc_hidden_def.
21938         (__fread_unlocked): Use libc_hidden_def.
21939         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21940         (ftello): Don't use libc_hidden_proto.
21941         (__ftello): Declare.  Use libc_hidden_proto.
21942         (fread_unlocked): Don't use libc_hidden_proto.
21943         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21944         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21945         and __ftello instead of fileno, fread_unlocked and ftello.
21947 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21949         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21950         GOT12.
21951         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21952         Likewise.
21953         (_dl_start_user): Likewise.
21954         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21956 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21957             Siddhesh Poyarekar  <siddhesh@redhat.com>
21959         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21960         Move argv and envp down instead of moving argc up.
21961         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21963 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21965         [BZ #17506]
21966         * test-skeleton.c (main): Return successful if one of
21967         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21968         * string/tst-strcoll-overflow.c: Define expected status.
21970 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21972         [BZ #17475]
21973         * locale/iso-639.def: Define Bhili and Tulu language codes.
21975 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21977         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21979 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21981         [BZ #17555]
21982         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21984 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21986         * configure.ac: Updated check of minimal required version to
21987         2.22.
21988         * manual/install.texi (Tools for Compilation): Updated version
21989         number.
21990         * configure: Regenerated.
21991         * INSTALL: Likewise.
21993 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21995         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21996         __tls_get_addr.
21998 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
22000         * include/sys/wait.h (__libc_waitpid): Remove declaration.
22001         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
22002         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22003         libc_hidden_weak.
22004         (waitpid): Define as alias of __waitpid.
22005         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
22006         __waitpid.
22007         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22008         libc_hidden_weak.
22009         (waitpid): Define as alias of __waitpid.
22010         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
22011         __libc_waitpid alias.
22012         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
22013         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
22014         Likewise.
22015         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
22016         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
22017         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
22018         alias.
22019         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
22020         __waitpid.
22021         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22022         libc_hidden_weak.
22023         (waitpid): Define as alias of __waitpid.
22025 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
22027         * manual/llio.texi: Add comment that write safety has been
22028         fixed in Linux.
22030         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
22031         (localplt-build-dso): Add elf/ld.so.
22032         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
22033         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
22034         and free for ld.so.
22035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
22036         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
22037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
22038         Likewise.
22039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22040         Likewise.
22041         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
22042         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
22043         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
22044         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
22045         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22046         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
22047         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
22048         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
22049         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22050         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
22051         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22053 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
22055         [BZ #14132]
22056         * include/libc-symbols.h (INTUSE): Remove macro.
22057         (INTDEF): Likewise.
22058         (INTVARDEF): Likewise.
22059         (_INTVARDEF): Likewise.
22060         (INTDEF2): Likewise.
22061         (INTVARDEF2): Likewise.
22062         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
22063         rtld_hidden_def instead of INTVARDEF.
22064         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
22065         (_dl_starting_up_internal): Remove declaration.
22066         (_dl_starting_up): Use rtld_hidden_proto.
22067         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
22068         declaration.
22069         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
22070         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
22071         _dl_starting_up.
22072         * elf/dl-writev.h (_dl_writev): Likewise.
22073         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
22074         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
22075         _dl_starting_up_internal.
22077 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22079         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22080         test-skeleton.c.
22082 2014-11-05  Will Newton  <will.newton@linaro.org>
22084         * benchtests/Makefile: (bench-malloc): Add malloc thread
22085         scalability benchmark.
22086         * benchtests/bench-malloc-threads.c: New file.
22088 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
22090         * sysdeps/aarch64/strchrnul.S: New file.
22092 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22094         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
22095         definition.
22096         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22097         Likwise.
22098         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22099         Likewise.
22100         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22101         Likewise.
22102         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22103         Likewise.
22104         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22105         Likewise.
22107 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
22109         * catgets/test-gencat.c: Use test-skeleton.c.
22110         * catgets/tst-catgets.c: Likewise.
22111         * csu/tst-empty.c: Likewise.
22112         * elf/tst-audit2.c: Likewise.
22113         * elf/tst-global1.c: Likewise.
22114         * elf/tst-pathopt.c: Likewise.
22115         * elf/tst-piemod1.c: Likewise.
22116         * elf/tst-tls10.c: Likewise.
22117         * elf/tst-tls11.c: Likewise.
22118         * elf/tst-tls12.c: Likewise.
22119         * gnulib/tst-gcc.c: Likewise.
22120         * iconvdata/tst-e2big.c: Likewise.
22121         * iconvdata/tst-loading.c: Likewise.
22122         * iconv/tst-iconv1.c: Likewise.
22123         * iconv/tst-iconv2.c: Likewise.
22124         * inet/test-inet6_opt.c: Likewise.
22125         * inet/tst-gethnm.c: Likewise.
22126         * inet/tst-network.c: Likewise.
22127         * inet/tst-ntoa.c: Likewise.
22128         * intl/tst-codeset.c: Likewise.
22129         * intl/tst-gettext2.c: Likewise.
22130         * intl/tst-gettext3.c: Likewise.
22131         * intl/tst-ngettext.c: Likewise.
22132         * intl/tst-translit.c: Likewise.
22133         * io/test-stat.c: Likewise.
22134         * libio/test-fmemopen.c: Likewise.
22135         * libio/tst-freopen.c: Likewise.
22136         * libio/tst-sscanf.c: Likewise.
22137         * libio/tst-ungetwc1.c: Likewise.
22138         * libio/tst-ungetwc2.c: Likewise.
22139         * libio/tst-widetext.c: Likewise.
22140         * localedata/tst-ctype.c: Likewise.
22141         * localedata/tst-digits.c: Likewise.
22142         * localedata/tst-leaks.c: Likewise.
22143         * localedata/tst-mbswcs1.c: Likewise.
22144         * localedata/tst-mbswcs2.c: Likewise.
22145         * localedata/tst-mbswcs3.c: Likewise.
22146         * localedata/tst-mbswcs4.c: Likewise.
22147         * localedata/tst-mbswcs5.c: Likewise.
22148         * localedata/tst-setlocale.c: Likewise.
22149         * localedata/tst-trans.c: Likewise.
22150         * localedata/tst-wctype.c: Likewise.
22151         * localedata/tst-xlocale1.c: Likewise.
22152         * login/tst-grantpt.c: Likewise.
22153         * malloc/tst-calloc.c: Likewise.
22154         * malloc/tst-malloc.c: Likewise.
22155         * malloc/tst-mallocstate.c: Likewise.
22156         * malloc/tst-mcheck.c: Likewise.
22157         * malloc/tst-mtrace.c: Likewise.
22158         * malloc/tst-obstack.c: Likewise.
22159         * math/atest-exp2.c: Likewise.
22160         * math/atest-exp.c: Likewise.
22161         * math/atest-sincos.c: Likewise.
22162         * math/test-matherr.c: Likewise.
22163         * math/test-misc.c: Likewise.
22164         * math/test-powl.c: Likewise.
22165         * math/tst-definitions.c: Likewise.
22166         * misc/tst-dirname.c: Likewise.
22167         * misc/tst-efgcvt.c: Likewise.
22168         * misc/tst-fdset.c: Likewise.
22169         * misc/tst-hsearch.c: Likewise.
22170         * misc/tst-mntent2.c: Likewise.
22171         * nptl/tst-sem7.c: Likewise.
22172         * nptl/tst-sem8.c: Likewise.
22173         * nptl/tst-sem9.c: Likewise.
22174         * nss/test-netdb.c: Likewise.
22175         * posix/tst-fnmatch.c: Likewise.
22176         * posix/tst-getlogin.c: Likewise.
22177         * posix/tst-gnuglob.c: Likewise.
22178         * posix/tst-mmap.c: Likewise.
22179         * pwd/tst-getpw.c: Likewise.
22180         * resolv/tst-inet_ntop.c: Likewise.
22181         * rt/tst-timer.c: Likewise.
22182         * stdio-common/test-fseek.c: Likewise.
22183         * stdio-common/test-popen.c: Likewise.
22184         * stdio-common/test-vfprintf.c: Likewise.
22185         * stdio-common/tst-cookie.c: Likewise.
22186         * stdio-common/tst-fileno.c: Likewise.
22187         * stdio-common/tst-gets.c: Likewise.
22188         * stdio-common/tst-obprintf.c: Likewise.
22189         * stdio-common/tst-perror.c: Likewise.
22190         * stdio-common/tst-sprintf2.c: Likewise.
22191         * stdio-common/tst-sprintf3.c: Likewise.
22192         * stdio-common/tst-sprintf.c: Likewise.
22193         * stdio-common/tst-swprintf.c: Likewise.
22194         * stdio-common/tst-tmpnam.c: Likewise.
22195         * stdio-common/tst-unbputc.c: Likewise.
22196         * stdio-common/tst-wc-printf.c: Likewise.
22197         * stdlib/tst-environ.c: Likewise.
22198         * stdlib/tst-fmtmsg.c: Likewise.
22199         * stdlib/tst-limits.c: Likewise.
22200         * stdlib/tst-rand48-2.c: Likewise.
22201         * stdlib/tst-rand48.c: Likewise.
22202         * stdlib/tst-random2.c: Likewise.
22203         * stdlib/tst-random.c: Likewise.
22204         * stdlib/tst-strtol.c: Likewise.
22205         * stdlib/tst-strtoll.c: Likewise.
22206         * stdlib/tst-tls-atexit.c: Likewise.
22207         * stdlib/tst-xpg-basename.c: Likewise.
22208         * string/test-ffs.c: Likewise.
22209         * string/tst-bswap.c: Likewise.
22210         * string/tst-inlcall.c: Likewise.
22211         * string/tst-strtok.c: Likewise.
22212         * string/tst-strxfrm.c: Likewise.
22213         * sysdeps/x86_64/tst-audit10.c: Likewise.
22214         * sysdeps/x86_64/tst-audit3.c: Likewise.
22215         * sysdeps/x86_64/tst-audit4.c: Likewise.
22216         * sysdeps/x86_64/tst-audit5.c: Likewise.
22217         * time/tst-ftime_l.c: Likewise.
22218         * time/tst-getdate.c: Likewise.
22219         * time/tst-mktime3.c: Likewise.
22220         * time/tst-mktime.c: Likewise.
22221         * time/tst-posixtz.c: Likewise.
22222         * time/tst-strptime2.c: Likewise.
22223         * time/tst-strptime3.c: Likewise.
22224         * wcsmbs/tst-btowc.c: Likewise.
22225         * wcsmbs/tst-mbrtowc.c: Likewise.
22226         * wcsmbs/tst-mbsrtowcs.c: Likewise.
22227         * wcsmbs/tst-wchar-h.c: Likewise.
22228         * wcsmbs/tst-wcpncpy.c: Likewise.
22229         * wcsmbs/tst-wcrtomb.c: Likewise.
22230         * wcsmbs/tst-wcsnlen.c: Likewise.
22231         * wcsmbs/tst-wcstof.c: Likewise.
22233 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
22235         [BZ #14132]
22236         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
22237         INTDEF.
22238         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
22239         declaration.
22240         (_dl_mcount): Use rtld_hidden_proto.
22241         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
22242         _dl_mcount.
22243         * elf/rtld.c (_rtld_global_ro): Likewise.
22245         [BZ #14132]
22246         * elf/dl-init.c (_dl_init): Don't use INTDEF.
22247         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
22248         of _dl_init_internal.
22249         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
22250         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
22251         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
22252         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
22253         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22254         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
22255         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
22256         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
22257         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
22258         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
22259         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
22260         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
22261         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22262         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22263         * sysdeps/tile/dl-start.S (_start): Likewise.
22264         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
22265         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
22267         [BZ #14132]
22268         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
22269         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
22270         (rtld_progname): Make macro definition unconditional.
22271         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
22272         INTDEF.
22273         (dlmopen_doit): Do not use INTUSE with _dl_argv.
22274         (dl_main): Likewise.
22275         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22276         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
22277         instead of _dl_argv_internal.
22278         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22279         __GI__dl_argv instead of INTUSE(_dl_argv).
22280         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
22281         __GI__dl_argv instead of _dl_argv_internal.
22283         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
22284         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
22285         macro.
22286         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
22287         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
22288         New macro.
22289         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
22290         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
22291         macro.
22292         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
22293         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
22295 2014-11-04  Andreas Schwab  <schwab@suse.de>
22297         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
22299 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22301         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22302         mtvsrd instruction in binary form.
22304 2014-11-03  Andreas Schwab  <schwab@suse.de>
22306         [BZ #17522]
22307         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
22308         for less than MB_LEN_MAX use a local buffer of that size.
22309         * libio/tst-fputws.c: New file.
22310         * libio/Makefile (tests): Add tst-fputws.
22312 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
22314         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
22315         the size of the fpu_fr.fpu_dregs[] array.
22317 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
22319         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22320         (__nanosleep): Do not define as alias.
22321         (nanosleep): Define as alias of __nanosleep.
22322         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22323         __libc_nanosleep name.
22325 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22327         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22328         install.texi in comment.
22330 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22332         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22333         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22334         ... add here and use lwsync or sync ...
22335         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22336         ... and add here using lwsync.
22338 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22340         * elf/dl-machine-reject-phdr.h: New file.
22341         * elf/dl-load.c: #include that.
22342         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22343         if that returned true.
22345 2014-10-31  Roland McGrath  <roland@hack.frob.com>
22347         [BZ #17496]
22348         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22349         gen-as-const-headers chunk.  Add a big scare comment after the last
22350         safe place to touch before-compile.
22352 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22354         * manual/install.texi (Tools for Compilation): Update autoconf
22355         version requirements.
22356         * INSTALL: Regenerated.
22358         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22359         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22360         (__libc_pselect): Likewise.
22362         [BZ #14138]
22363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
22364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22368 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22370         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
22371         correct barrier instruction.
22372         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
22373         Likewise.
22374         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
22375         Likewise.
22377 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22379         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
22380         after defining inlines.  Instead, just use parens to defeat macro
22381         expansion of __isctype in its declaration.
22383 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22385         * include/sys/uio.h (__libc_readv): Remove declaration.
22386         (__libc_writev): Likewise.
22387         * misc/readv.c (__libc_readv): Rename to __readv.
22388         (__readv): Do not define as alias.
22389         (readv): Define as alias of __readv.
22390         * misc/writev.c (__libc_writev): Rename to __writev.
22391         (__writev): Do not define as alias.
22392         (writev): Define as alias of __writev.
22393         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
22394         (__readv): Do not define as alias.
22395         (readv): Define unconditionally as alias of __readv.
22396         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
22397         (__writev): Do not define as alias.
22398         (writev): Define unconditionally as alias of __writev.
22399         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
22400         name.
22401         (writev): Do not define __libc_writev name.
22403 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22405         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22406         (convert_charseq): New function, broken out of ...
22407         (use_from_charmap): ... here.  Call it.
22408         (use_to_charmap): Use convert_charseq and free instead of duplicating
22409         its code with a variable-length stack struct.
22411 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22413         * include/fcntl.h (__libc_creat): Remove declaration.
22414         * io/creat.c (__libc_creat): Rename to creat.
22415         (creat): Do not define as alias.
22416         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22417         of creat instead of __libc_creat.
22418         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22419         to creat.
22420         (creat): Do not define as alias.
22421         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22422         __libc_creat.
22423         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22424         __libc_creat name.
22425         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22426         Likewise.
22428 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
22430         * manual/llio.texi: Add comments discussing why write() may be
22431         considered MT-unsafe on Linux.
22433 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
22435         * dl-load.c (local_strdup): Remove.
22436         (expand_dynamic_string_token): Use __strdup.
22437         (decompose_rpath): Likewise.
22438         (_dl_map_object): Likewise.
22440 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
22442         [BZ #14132]
22443         * sysdeps/generic/unwind-dw2-fde.c
22444         (__register_frame_info_bases_internal): Do not declare.
22445         (__register_frame_info_table_bases_internal): Likewise.
22446         (__deregister_frame_info_bases_internal): Likewise.
22447         (__register_frame_info_bases): Declare and use hidden_proto before
22448         definition.  Use hidden_def instead of INTDEF.
22449         (__register_frame_info_table_bases): Likewise.
22450         (__deregister_frame_info_bases): Likewise.
22451         (__register_frame_info): Do not use INTUSE.
22452         (__register_frame): Likewise.
22453         (__register_frame_info_table): Likewise.
22454         (__register_frame_table): Likewise.
22455         (__deregister_frame_info): Likewise.
22456         (__deregister_frame): Likewise.
22458 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22460         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22461         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22462         not undefine.
22463         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22464         Likewise.
22465         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22466         Likewise.
22468 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22470         [BZ #14138]
22471         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22472         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22473         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22474         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22475         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22476         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22477         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22478         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22479         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22480         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22481         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22482         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22483         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22484         syscall.
22485         (setfsuid): Likewise.
22486         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22487         (setfsuid): Likewise.
22488         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22489         (setfsuid): Likewise.
22490         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22491         Likewise.
22492         (setfsuid): Likewise.
22493         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22494         (setfsuid): Likewise.
22495         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22496         Likewise.
22497         (setfsuid): Likewise.
22499 2014-10-27  Andreas Schwab  <schwab@suse.de>
22501         [BZ #17501]
22502         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22503         check for Slow_SSE4_2 feature bit.
22504         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22505         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22506         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22507         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22509 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22511         * configure.ac: Validate compiler version with a empirical test of
22512         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22513         $CC -v output.
22514         * configure: Regenerated.
22516         * inet/htons.c (htons): Prototypify.
22517         * inet/htonl.c (htonl): Likewise.
22519 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22521         * string/strncat.c (strncat): Improve performance by using strlen.
22523 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22525         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22527 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22529         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22530         Call libc_fetestexcept_aarch64.
22532 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22534         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22535         Call libc_feholdexcept_aarch64.
22537 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22539         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22540         Call get_rounding_mode.
22542 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22544         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22545         Simplify logic.
22547 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22549         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22550         Simplify logic.
22552 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22554         [BZ #14138]
22555         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22556         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22557         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22558         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22559         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22560         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22561         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22562         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22563         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22564         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22565         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22566         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22567         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22568         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22569         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22570         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22571         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22572         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22573         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22574         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22575         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22576         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22577         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22578         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22579         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22580         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22581         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22582         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22583         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22584         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22585         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22586         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22587         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22588         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22589         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22590         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22591         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22592         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22593         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22594         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22595         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22596         syscall.
22597         (geteuid): Likewise.
22598         (getgid): Likewise.
22599         (getuid): Likewise.
22600         (getresgid): Likewise.
22601         (getresuid): Likewise.
22602         (getgroups): Likewise.
22603         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22604         (geteuid): Likewise.
22605         (getgid): Likewise.
22606         (getuid): Likewise.
22607         (getresgid): Likewise.
22608         (getresuid): Likewise.
22609         (getgroups): Likewise.
22610         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22611         (geteuid): Likewise.
22612         (getgid): Likewise.
22613         (getuid): Likewise.
22614         (getresgid): Likewise.
22615         (getresuid): Likewise.
22616         (getgroups): Likewise.
22617         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22618         Likewise.
22619         (geteuid): Likewise.
22620         (getgid): Likewise.
22621         (getuid): Likewise.
22622         (getresgid): Likewise.
22623         (getresuid): Likewise.
22624         (getgroups): Likewise.
22625         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22626         (geteuid): Likewise.
22627         (getgid): Likewise.
22628         (getuid): Likewise.
22629         (getresgid): Likewise.
22630         (getresuid): Likewise.
22631         (getgroups): Likewise.
22632         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22633         Likewise.
22634         (geteuid): Likewise.
22635         (getgid): Likewise.
22636         (getuid): Likewise.
22637         (getgroups): Likewise.
22639         [BZ #14138]
22640         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22641         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22642         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22643         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22644         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22645         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22646         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22647         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22648         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22649         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22650         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22651         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22652         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22653         __chown.
22654         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22655         (lchown): Likewise.
22656         (fchown): Likewise.
22657         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22658         Likewise.
22659         (lchown): Likewise.
22660         (fchown): Likewise.
22661         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22662         (lchown): Likewise.
22663         (fchown): Likewise.
22664         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22665         Likewise.
22666         (lchown): Likewise.
22667         (fchown): Likewise.
22669 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22671         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22672         Simplify logic.
22674 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22676         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22677         Cleanup logic.
22679 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22681         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22682         Remove unused include.
22684 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22686         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22687         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22688         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22689         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22691 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22692             Helge Deller <deller@gmx.de>
22694         [BZ #17508]
22695         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22696         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22697         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22699 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22701         [BZ #14132]
22702         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22703         Remove macro definition.
22704         (__ashrdi3_v_glibc20): Likewise.
22705         (__lshrdi3_v_glibc20): Likewise.
22706         (__cmpdi2_v_glibc20): Likewise.
22707         (__ucmpdi2_v_glibc20): Likewise.
22708         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22709         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22710         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22711         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22712         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22713         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22715 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22717         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22718         old GNU extension [0] syntax.
22719         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22720         alloca rather than an array member with variable length.
22721         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22722         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22723         (parse_opt): ... here.  Likewise use alloca there.
22724         Validate the -i argument before checking for rootness.
22725         (send_shutdown): New function, broken out of ...
22726         (parse_opt): ... here.
22728 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22730         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22731         macro to get at the _rt_local_ro field.
22732         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22733         ([PIC] case) or _dl_hwcap ([!PIC] case).
22734         * sysdeps/arm/setjmp.S: Likewise.
22736         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22737         * sysdeps/arm/configure.ac: New check to define it.
22738         * sysdeps/arm/configure: Regenerated.
22739         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22740         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22741         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22742         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22743         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22744         Use move/movt pair instead of a load.
22745         (LDST_GLOBAL): Macro removed.
22746         (LDR_GLOBAL): New macro replaces it.
22747         (LDR_HIDDEN): New macro.
22748         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22749         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22751         * setjmp/tst-setjmp-static.c: New file.
22752         * setjmp/Makefile (tests): Add it.
22753         (tests-static): New variable.
22755 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22757         [BZ #17485]
22758         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22760 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22762         [BZ #14132]
22763         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22765 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22767         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22769 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22771         * io/fts.c (dirent_not_directory): New function.
22772         (fts_build): Call it.
22774 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22776         * nptl/version.c (__nptl_main): Use normal __write rather than
22777         INTERNAL_SYSCALL.
22778         (banner): Update copyright years.
22780         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22781         gettimeofday.
22782         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22783         * nptl/pthread_cond_timedwait.c: Likewise.
22784         * nptl/pthread_mutex_timedlock.c: Likewise.
22785         * nptl/sem_timedwait.c: Likewise.
22787         * sysdeps/nptl/bits/libc-lock.h
22788         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22789         (__libc_lock_init_recursive): Return void, not 0.
22790         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22791         (__libc_rwlock_init): Likewise.
22792         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22794 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22796         [BZ #15215]
22797         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22798         (__pthread_once_slow): ... here.
22799         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22800         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22802 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22804         [BZ #15215]
22805         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22806         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22807         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22808         * nptl/pthread_once.c (__pthread_once): Likewise.
22809         Update comments.
22811 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22813         [BZ #14138]
22814         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22815         name.
22816         (writev): Use __libc_writev as strong name.
22817         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22818         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22820 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22822         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22824         * sysdeps/i386/nptl/tls.h
22825         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22826         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22827         New macros.
22828         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22829         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22830         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22831         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22832         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22833         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22835         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22836         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22837         on [__NR_futex].
22838         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22839         broken out of ...
22840         (__pthread_mutex_init): ... here.  Call it.
22841         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22842         Conditionalize PI cases on [__NR_futex].
22843         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22844         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22845         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22847         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22848         conditional on [SIGSETXID].
22849         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22850         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22851         is defined.  Likewise for SIGSETXID.
22852         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22853         Conditionalize definitions on [SIGSETXID].
22854         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22855         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22856         unblocking on [SIGCANCEL].
22858         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22859         [__NR_set_robust_list].
22861 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22863         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22864         (do_compare): Likewise.
22866 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22868         [BZ #15884]
22869         * string/strcoll_l.c: Don't include stdio.h.
22870         (coll_seq): Remove members idxarr and rulearr.
22871         (get_next_seq_cached): Remove function.
22872         (get_next_seq): Likewise.
22873         (get_next_seq_nocache): Rename to get_next_seq.
22874         (do_compare): Remove function.
22875         (do_compare_nocache): Rename to do_compare.
22876         (STRCOLL): Remove weight and rules cache.
22878 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22880         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22881         * sysdeps/arm/sfp-machine.h: ... to here.
22882         * sysdeps/arm/Implies: Remove arm/soft-fp.
22884 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22886         * conform/data/sys/utsname.h-data (*_t): Allow.
22887         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22888         [POSIX] (WEXITED): Do not expect constant.
22889         [POSIX] (WSTOPPED): Likewise.
22890         [POSIX] (WNOHANG): Likewise.
22891         [POSIX] (WNOWAIT): Likewise.
22892         [POSIX] (siginfo_t): Do not expect type or elements.
22893         [POSIX] (pid_t): Do not expect type.
22894         [POSIX] (signal.h): Do not allow header.
22895         [POSIX] (sys/resource.h): Likewise.
22896         [POSIX] (si_*): Do not allow pattern.
22897         [POSIX] (W*): Likewise.
22898         [POSIX] (P_*): Likewise.
22899         [POSIX] (BUS_*): Likewise.
22900         [POSIX] (CLD_*): Likewise.
22901         [POSIX] (FPE_*): Likewise.
22902         [POSIX] (ILL_*): Likewise.
22903         [POSIX] (POLL_*): Likewise.
22904         [POSIX] (SEGV_*): Likewise.
22905         [POSIX] (SI_*): Likewise.
22906         [POSIX] (TRAP_*): Likewise.
22907         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22908         variable.
22910 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22912         [BZ #12926]
22913         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22914         infinite loop when __recvmsg returns 0.
22916 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22918         * CANCEL-FCT-WAIVE: Remove file.
22919         * CANCEL-FILE-WAIVE: Likewise.
22921         [BZ #14132]
22922         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22923         instead of INTVARDEF.
22924         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22925         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22926         rtld_hidden_data_def instead of INTVARDEF.
22927         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22928         * elf/dl-deps.c (expand_dst): Likewise.
22929         * elf/dl-load.c (_dl_dst_count): Likewise.
22930         (_dl_dst_substitute): Likewise.
22931         (decompose_rpath): Likewise.
22932         (_dl_init_paths): Likewise.
22933         (open_path): Likewise.
22934         (_dl_map_object): Likewise.
22935         * elf/rtld.c (dl_main): Likewise.
22936         (process_dl_audit): Likewise.
22937         (process_envvars): Likewise.
22938         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22939         Remove declaration.
22940         (__libc_enable_secure): Use rtld_hidden_proto.
22942 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22944         * elf/dl-load.c
22945         (add_path): New function broken out of _dl_rtld_di_serinfo.
22946         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22948 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22950         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22951         parentheses around macro arguments.
22952         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22953         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22954         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22957         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22963         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22964         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22965         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22966         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22967         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22968         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22971         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22972         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22975         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22981         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22982         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22983         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22984         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22985         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22986         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22987         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22988         Likewise.
22989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22991         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22994         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22995         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22996         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22997         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22998         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22999         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
23000         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
23001         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
23002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
23003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
23004         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23005         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23006         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
23007         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
23008         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
23009         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
23010         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
23011         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
23012         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
23013         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
23014         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
23015         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
23016         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
23017         (_FP_FRAC_SRS_1): Likewise.
23018         (_FP_FRAC_CLZ_1): Likewise.
23019         (_FP_MUL_MEAT_1_imm): Likewise.
23020         (_FP_MUL_MEAT_1_wide): Likewise.
23021         (_FP_MUL_MEAT_1_hard): Likewise.
23022         (_FP_SQRT_MEAT_1): Likewise.
23023         (_FP_FRAC_ASSEMBLE_1): Likewise.
23024         (_FP_FRAC_DISASSEMBLE_1): Likewise.
23025         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
23026         (__FP_CLZ_2): Likewise.
23027         (_FP_MUL_MEAT_2_wide): Likewise.
23028         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23029         (_FP_MUL_MEAT_2_gmp): Likewise.
23030         (_FP_MUL_MEAT_2_120_240_double): Likewise.
23031         (_FP_SQRT_MEAT_2): Likewise.
23032         (_FP_FRAC_ASSEMBLE_2): Likewise.
23033         (_FP_FRAC_DISASSEMBLE_2): Likewise.
23034         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
23035         (_FP_FRAC_CLZ_4): Likewise.
23036         (_FP_MUL_MEAT_4_wide): Likewise.
23037         (_FP_MUL_MEAT_4_gmp): Likewise.
23038         (_FP_SQRT_MEAT_4): Likewise.
23039         (_FP_FRAC_ASSEMBLE_4): Likewise.
23040         (_FP_FRAC_DISASSEMBLE_4): Likewise.
23041         * soft-fp/op-common.h (_FP_CMP): Likewise.
23042         (_FP_CMP_EQ): Likewise.
23043         (_FP_CMP_UNORD): Likewise.
23044         (_FP_TO_INT): Likewise.
23045         (_FP_FROM_INT): Likewise.
23046         [!__FP_CLZ] (__FP_CLZ): Likewise.
23047         (_FP_DIV_HELP_imm): Likewise.
23048         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
23049         Likewise.
23050         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
23051         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
23052         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
23053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
23054         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
23055         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23056         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23057         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
23058         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
23059         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
23060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
23061         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
23062         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
23063         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
23064         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
23065         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
23066         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
23067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
23068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
23069         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
23070         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
23071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
23072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
23073         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23074         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
23076         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
23077         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
23078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
23079         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
23080         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
23081         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
23082         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
23083         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
23084         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
23085         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
23086         (FP_UNPACK_RAW_SP): Likewise.
23087         (FP_PACK_RAW_S): Likewise.
23088         (FP_PACK_RAW_SP): Likewise.
23089         (FP_UNPACK_S): Likewise.
23090         (FP_UNPACK_SP): Likewise.
23091         (FP_UNPACK_SEMIRAW_S): Likewise.
23092         (FP_UNPACK_SEMIRAW_SP): Likewise.
23093         (FP_PACK_S): Likewise.
23094         (FP_PACK_SP): Likewise.
23095         (FP_PACK_SEMIRAW_S): Likewise.
23096         (FP_PACK_SEMIRAW_SP): Likewise.
23097         (_FP_SQRT_MEAT_S): Likewise.
23098         (FP_CMP_S): Likewise.
23099         (FP_CMP_EQ_S): Likewise.
23100         (FP_CMP_UNORD_S): Likewise.
23101         (FP_TO_INT_S): Likewise.
23102         (FP_FROM_INT_S): Likewise.
23104         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
23106         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
23107         (FP_EX_INVALID_IMZ): Likewise.
23108         (FP_EX_INVALID_IMZ_FMA): Likewise.
23109         (FP_EX_INVALID_ISI): Likewise.
23110         (FP_EX_INVALID_ZDZ): Likewise.
23111         (FP_EX_INVALID_IDI): Likewise.
23112         (FP_EX_INVALID_SQRT): Likewise.
23113         (FP_EX_INVALID_CVI): Likewise.
23114         (FP_EX_INVALID_VC): Likewise.
23115         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
23116         "invalid" exceptions.
23117         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
23118         (_FP_ADD_INTERNAL): Likewise.
23119         (_FP_MUL): Likewise.
23120         (_FP_FMA): Likewise.
23121         (_FP_DIV): Likewise.
23122         (_FP_CMP_CHECK_NAN): Likewise.
23123         (_FP_SQRT): Likewise.
23124         (_FP_TO_INT): Likewise.
23125         (FP_EXTEND): Likewise.
23127 2014-10-09  Allan McRae  <allan@archlinux.org>
23129         * po/fr.po: Update French translation from translation project.
23131 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23133         [BZ #14132]
23134         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
23135         of INTDEF.
23136         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
23137         (__cxa_atexit): Use libc_hidden_proto.
23138         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
23140         [BZ #14132]
23141         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
23142         declaration.
23143         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
23144         [!_ISOMAC] (__iswspace_l_internal): Likewise.
23145         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
23146         [!_ISOMAC] (__iswctype_internal): Likewise.
23147         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
23148         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
23149         alias.
23150         (fcntl): Remove __fcntl_internal alias.
23151         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
23152         __connect_internal alias.
23153         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
23154         Likewise.
23156         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
23157         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
23158         FP_DENORM_ZERO.
23159         (_FP_CHECK_FLUSH_ZERO): New macro.
23160         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
23161         (_FP_CMP): Likewise.
23162         (_FP_CMP_EQ): Likewise.
23163         (_FP_TO_INT): Do not set inexact for subnormal arguments if
23164         FP_DENORM_ZERO.
23165         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
23166         (FP_TRUNC): Likewise.
23168         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
23169         treated as invalid conversion, not as normal exponent.
23171         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
23172         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
23173         (_FP_CMP_EQ): Likewise.
23174         (_FP_CMP_UNORD): Likewise.
23175         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
23176         (FP_CMP_EQ_D): Likewise.
23177         (FP_CMP_UNORD_D): Likewise.
23178         * soft-fp/extended.h (FP_CMP_E): Likewise.
23179         (FP_CMP_EQ_E): Likewise.
23180         (FP_CMP_UNORD_E): Likewise.
23181         * soft-fp/quad.h (FP_CMP_Q): Likewise.
23182         (FP_CMP_EQ_Q): Likewise.
23183         (FP_CMP_UNORD_Q): Likewise.
23184         * soft-fp/single.h (FP_CMP_S): Likewise.
23185         (FP_CMP_EQ_S): Likewise.
23186         (FP_CMP_UNORD_S): Likewise.
23187         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
23188         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
23189         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
23190         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
23191         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
23192         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
23193         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
23194         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
23195         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
23196         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
23197         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
23198         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
23199         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
23200         to FP_CMP_Q.
23201         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
23202         FP_CMP_Q.
23203         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
23204         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
23205         FP_CMP_EQ_Q.
23206         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
23207         FP_CMP_Q.
23208         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
23209         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
23210         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
23211         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
23212         FP_CMP_EQ_Q.
23213         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
23214         FP_CMP_Q.
23215         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
23216         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
23217         FP_CMP_EQ_Q.
23218         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
23219         FP_CMP_Q.
23220         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
23221         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
23222         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
23223         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
23224         FP_CMP_EQ_Q.
23226         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
23227         a subnormal result, set the underflow exception if trapping on
23228         underflow is enabled.
23229         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
23230         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
23231         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
23232         redefine to 0.
23233         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
23234         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23235         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23236         * soft-fp/extendxftf2.c (__extendxftf2): Use
23237         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
23239         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
23240         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
23241         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23242         FP_HANDLE_EXCEPTIONS.
23243         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
23244         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23245         FP_HANDLE_EXCEPTIONS.
23246         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
23247         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23248         FP_HANDLE_EXCEPTIONS.
23249         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
23250         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23251         FP_HANDLE_EXCEPTIONS.
23253 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
23255         [BZ #14132]
23256         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
23257         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
23258         use INTUSE.
23259         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
23260         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
23261         Remove alias.
23262         (__adjtimex): Define using libc_hidden_ver.
23263         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
23264         Remove declaration.
23265         (ntp_gettime): Call __adjtimex directly.
23266         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
23267         Remove declaration.
23268         (ntp_gettimex): Call __adjtimex directly.
23269         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
23270         __adjtimex_internal alias.
23272 2014-10-08  Roland McGrath  <roland@hack.frob.com>
23274         [BZ #17460]
23275         * nscd/nscd.c (more_help): Rewrite list of tables collection
23276         using xstrdup and asprintf.
23278         * nscd/nscd_conf.c: Remove local xstrdup declaration.
23280 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23281             Roland McGrath  <roland@hack.frob.com>
23283         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
23284         (do_lookup_unique): ... local function 'enter' here; update callers.
23286 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
23288         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
23289         compat_symbol calls on [SHARED].
23290         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
23291         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
23292         Remove.
23293         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23294         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
23295         (oldsetrlimit): Remove.
23296         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23298         (lchown): New syscall entry.
23299         (oldsetrlimit): Remove.
23300         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23301         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23302         (oldsetrlimit): Remove.
23303         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23305         [BZ #14138]
23306         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
23307         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23308         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
23309         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
23310         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23311         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
23312         (fchown): Likewise.
23313         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
23314         (fchown): Likewise.
23315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
23316         Likewise.
23318 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23320         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23321         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23322         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23323         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23324         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23325         Likewise.
23326         (__old_sem_post): Likewise.
23328 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
23330         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23331         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23332         HAVE_CLOCK_GETTIME_VSYSCALL macros.
23333         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23334         Use INLINE_VSYSCALL macro.
23335         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23336         __vdso_clock_gettime.
23337         * sysdeps/unix/sysv/linux/tile/init-first.c
23338         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23339         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23340         __vdso_clock_gettime.
23342         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23343         to set up frame more cleanly.
23345         * sysdeps/tile/memcmp.c: New file.
23347         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23349         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23350         * sysdeps/tile/tilegx/strcasestr.c: New file.
23351         * sysdeps/tile/tilegx/strnlen.c: New file.
23352         * sysdeps/tile/tilegx/strstr.c: New file.
23354         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23356 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
23358         * nptl/tst-setuid3.c: Write errors to stdout.
23360 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23362         * elf/dl-deps.c
23363         (preload): New functions broken out of _dl_map_object_deps.
23364         (_dl_map_object_deps):  Remove a nested function. Update call sites.
23366 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
23368         [BZ #14138]
23369         * sysdeps/unix/sysv/linux/execve.c: Remove file.
23370         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
23372 2014-10-01  Steve Ellcey  <sellcey@mips.com>
23374         * sysdeps/mips/strcmp.S: New.
23376 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
23378         [BZ #14138]
23379         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23380         (linkat): Likewise.
23381         (mkdirat): Likewise.
23382         (readlinkat): Likewise.
23383         (renameat): Likewise.
23384         (symlinkat): Likewise.
23385         (unlinkat): Likewise.
23386         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
23387         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
23388         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
23389         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
23390         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
23391         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
23392         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23394 2014-09-30  Will Newton  <will.newton@linaro.org>
23396         * math/math.h: Define long double math functions if
23397         _LIBC_TEST is defined.
23398         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
23400         * localedata/Makefile: Move assignment to tests-special
23401         into an ifdef testing run-built-tests.
23402         * timezone/Makefile: Likewise.
23404 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
23406         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23407         with $(BASH) not $(SHELL).
23409 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
23410             Matthew LeGendre  <legendre1@llnl.gov>
23412         [BZ #17411]
23413         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23414         l_reloc_result.
23416 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23418         * stdio-common/printf_fp.c
23419         (hack_digit): New function, broken out of ...
23420         (__printf_fp): ... local function here.  Update call sites.
23421         hack_digit now takes an additional parameter that is a pointer
23422         to a struct of the referenced locals.  Those locals moved inside
23423         the struct and references updated.
23425 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
23427         * aclocal.m4: Require autoconf 2.69.
23428         * configure: Regenerated.
23429         * sysdeps/aarch64/configure: Likewise.
23430         * sysdeps/alpha/configure: Likewise.
23431         * sysdeps/arm/armv7/configure: Likewise.
23432         * sysdeps/arm/configure: Likewise.
23433         * sysdeps/ia64/configure: Likewise.
23434         * sysdeps/mach/configure: Likewise.
23435         * sysdeps/mips/configure: Likewise.
23436         * sysdeps/s390/configure: Likewise.
23437         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23440         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23441         file.
23442         * sysdeps/ia64/configure.ac: Likewise.
23444 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
23446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23447         specify symbol version for ld.so.  Do not include entry for
23448         libpthread.
23449         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23450         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23451         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23453         [BZ #14171]
23454         * Makeconfig [$(build-shared) = yes]
23455         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23456         makefiles.
23457         [$(build-shared) = yes && $(soversions.mk-done) = t]
23458         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23459         [$(build-shared) = yes && $(soversions.mk-done) = t]
23460         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23461         to Makerules.
23462         [$(build-shared) = yes && $(soversions.mk-done) = t]
23463         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23464         here.
23465         [$(build-shared) = yes && $(soversions.mk-done) = t]
23466         (common-generated): Don't append gnu/lib-names.h and
23467         gnu/lib-names.stmp here.
23468         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23469         (lib-names-h-abi): New variable.
23470         [$(build-shared) = yes && $(soversions.mk-done) = t]
23471         (lib-names-stmp-abi): Likewise.
23472         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23473         abi-variants] (before-compile): Append
23474         $(common-objpfx)$(lib-names-h-abi).
23475         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23476         abi-variants] (common-generated): Append gnu/lib-names.h.
23477         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23478         abi-variants] (install-others-nosubdir): Depend on
23479         $(inst_includedir)/$(lib-names-h-abi).
23480         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23481         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23482         [$(build-shared) = yes && $(soversions.mk-done) = t]
23483         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23484         [$(build-shared) = yes && $(soversions.mk-done) = t]
23485         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23486         [$(build-shared) = yes && $(soversions.mk-done) = t]
23487         (common-generated): Append $(lib-names-h-abi) and
23488         $(lib-names-stmp-abi).
23489         * scripts/lib-names.awk: Do not handle multi being set.
23490         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23491         Remove variable.
23492         (abi-lp64_be-ld-soname): Likewise.
23493         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23494         Likewise.
23495         (abi-hard-ld-soname): Likewise.
23496         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23497         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23498         Remove variable.
23499         (abi-o32_hard-ld-soname): Likewise.
23500         (abi-o32_soft_2008-ld-soname): Likewise.
23501         (abi-o32_hard_2008-ld-soname): Likewise.
23502         (abi-n32_soft-ld-soname): Likewise.
23503         (abi-n32_hard-ld-soname): Likewise.
23504         (abi-n32_soft_2008-ld-soname): Likewise.
23505         (abi-n32_hard_2008-ld-soname): Likewise.
23506         (abi-n64_soft-ld-soname): Likewise.
23507         (abi-n64_hard-ld-soname): Likewise.
23508         (abi-n64_soft_2008-ld-soname): Likewise.
23509         (abi-n64_hard_2008-ld-soname): Likewise.
23510         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23511         Likewise.
23512         (abi-64-v2-ld-soname): Likewise.
23513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23514         ld.so entries.
23515         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23516         variable.
23517         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23518         entry.
23519         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23520         variable.
23521         (abi-64-ld-soname): Likewise.
23522         (abi-x32-ld-soname): Likewise.
23523         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23524         entry.
23525         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23527 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23529         [BZ #14138]
23530         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23531         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23532         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23533         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23534         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23535         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23536         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23537         syscall entry for GLIBC_2.2 symbol version.
23538         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23539         Likewise.
23540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23541         (setrlimit): Likewise.
23542         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23543         Likewise.
23545 2014-09-23  Will Newton  <will.newton@linaro.org>
23547         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23548         _LINUX_ARM_SYSDEP_H include guard too.
23549         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23550         define.
23552 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23554         * sysdeps/unix/sysv/linux/eventfd.c:
23555         Make first argument unsigned.
23556         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23557         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23559 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23561         [BZ #16852]
23562         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23563         * socket/sys/socket.h: Likewise.
23564         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23566 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23568         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23570 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23572         * time/tst-ftime.c: New test.
23573         * time/Makefile (tests): Add tst-ftime.
23575 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23577         * soft-fp/extended.h: Fix comment formatting.
23578         * soft-fp/op-1.h: Likewise.
23579         * soft-fp/op-2.h: Likewise.
23580         * soft-fp/op-4.h: Likewise.
23581         * soft-fp/op-8.h: Likewise.
23582         * soft-fp/op-common.h: Likewise.
23583         * soft-fp/soft-fp.h: Likewise.
23585         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23587 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23589         [BZ #6652]
23590         * Makeconfig (soversions-default-setname): Remove variable.
23591         ($(common-objpfx)soversions.i): Don't pass default_setname to
23592         soversions.awk.
23593         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23594         oldest_abi to abi-versions.awk.
23595         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23596         * config.make.in (oldest-abi): Remove variable.
23597         * configure.ac (--enable-oldest-abi): Remove configure option.
23598         * configure: Regenerated.
23599         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23600         text.
23601         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23602         * scripts/soversions.awk: Do not handle default_setname variable.
23603         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23604         variable.
23605         * sysdeps/mach/hurd/configure: Regenerated.
23606         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23607         variable.
23608         * sysdeps/unix/sysv/linux/configure: Regenerated.
23610 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23612         * elf/Makefile (CFLAGS-interp.c): Remove.
23613         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23614         path string.
23615         * elf/interp.c: Include generated runtime-linker.h
23617         * Makerules (lib%.so): Don't include $(+interp) in
23618         prerequisites.
23619         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23620         * dlfcn/eval.c: Remove file.
23622         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23623         macros.
23625         [BZ #17266]
23626         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23627         4.2 and newer.
23629         [BZ #17370]
23630         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23632 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23633             Jakub Jelinek  <jakub@redhat.com>
23635         [BZ #17266]
23636         * libio/stdio.h: Check definition of __fortify_function
23637         instead of __extern_always_inline to include bits/stdio2.h.
23638         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23639         check if __extern_always_inline is defined.
23640         [__USE_MISC || __USE_XOPEN]: Likewise.
23641         [__USE_ISOC99] Likewise.
23642         * misc/sys/cdefs.h (__fortify_function): Define only if
23643         __extern_always_inline is defined.
23644         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23645         __extern_always_inline and __extern_inline only for g++-4.3
23646         and newer or a compatible gcc.
23648 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23650         [BZ #17371]
23651         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23652         last change to handle zero prefix length.
23654 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23656         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23657         _SC_REGEX_VERSION.
23659         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23660         _POSIX_RAW_SOCKETS.
23662 2014-09-13  Allan McRae  <allan@archlinux.org>
23664         * po/ru.po: Update Russian translation from translation project.
23666 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23668         * locale/programs/locale.c (show_locale_vars): Inline local function
23669         into its sole call site.  Clean up some style nits.
23670         (print_item): New function, broken out of ...
23671         (show_info): ... local function here.  Clean up style nits.
23673         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23674         out of ...
23675         (set_class_defaults): ... local function set_default here.
23676         Define set_default as a macro locally to pass constant parameters.
23677         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23678         rather than a shared local.
23680         * stdlib/rpmatch.c (try): New function, broken out of ...
23681         (rpmatch): ... local function here.  Also, prototypify definition.
23683 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23685         * scripts/soversions.awk: Do not handle configuration names.
23686         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23687         vendor and os variables to soversions.awk.
23688         * configure.ac: Do not modify gnu-* host_os.
23689         * configure: Regenerated
23690         * shlib-versions: Remove first column with configuration names.
23691         * nptl/shlib-versions: Likewise.
23692         * nptl_db/shlib-versions: Likewise.
23693         * sysdeps/hppa/shlib-versions: Likewise.
23694         * sysdeps/m68k/shlib-versions: Likewise.
23695         * sysdeps/mach/hurd/shlib-versions: Likewise.
23696         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23697         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23698         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23699         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23700         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23701         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23702         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23703         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23705         Likewise.
23706         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23707         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23708         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23709         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23710         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23711         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23712         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23713         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23716         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23718         Regenerated.
23719         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23721         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23723         * shlib-versions: Remove OS-specific entries.  Moved to files in
23724         sysdeps.
23725         * sysdeps/mach/hurd/shlib-versions: New file.
23726         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23728         * nptl/shlib-versions: Remove architecture-specific entries.
23729         Moved to files in sysdeps.
23730         * shlib-versions: Likewise.
23731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23732         file.
23733         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23734         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23735         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23736         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23738         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23739         (UDP_NO_CHECK6_RX): Likewise.
23741 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23743         * sysdeps/posix/sysconf.c (__sysconf): Spell
23744         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23746 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23748         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23749         loading.
23750         * iconv/Versions (__gconv_transliterate): Export for use from
23751         gconv modules.
23752         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23753         (struct __gconv_trans_data, __gconv_trans_fct,
23754         __gconv_trans_context_fct, __gconv_trans_query_fct,
23755         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23756         definitions.
23757         (struct __gconv_step_data): Remove __trans member.
23758         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23759         longer hidden.  Remove unused trans_data argument.
23760         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23761         (__gconv_translit_find): Remove declaration.
23762         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23763         prototype.
23764         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23765         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23766         trans_data argument.  Add hidden definition.
23767         (__gconv_translit_find): Remove.
23768         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23769         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23770         * iconv/skeleton.c: Remove transliteration initialization.
23771         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23772         __gconv_step_data initialization.
23773         * libio/iofwide.c (__libio_translit_): Remove.
23774         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23775         * wcsmbs/btowc.c (__btowc): Likewise.
23776         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23777         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23778         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23779         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23780         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23781         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23782         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23783         * wcsmbs/wctob.c (wctob): Likewise.
23785 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23787         [BZ #16194]
23788         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23789         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23790         register usage.
23791         * sysdeps/x86/Makefile: Adjust.
23793 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23794             Roland McGrath  <roland@hack.frob.com>
23796         * locale/weight.h: Add include guard.
23797         (findidx): Make static rather than auto; take new parameters
23798         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23799         * locale/weightwc.h: Likewise.
23800         * posix/fnmatch_loop.c
23801         (FCT): Change type of EXTRA from int32_t to wint_t.
23802         Don't include either header inside the function.
23803         Call FINDIDX rather than findidx, and pass new arguments.
23804         #undef FINDIDX at the end of the file.
23805         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23806         FINDIDX before including fnmatch_loop.c for the non-wide version.
23807         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23808         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23809         for the wide version.
23810         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23811         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23812         Pass new arguments to findidx.
23813         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23814         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23815         Don't #include it inside the function.  Pass new arguments to findidx.
23816         * posix/regex_internal.h
23817         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23818         (re_string_elem_size_at): Don't #include it inside the function.
23819         Pass new arguments to findidx.
23820         * string/strcoll_l.c: #include WEIGHT_H at top level.
23821         (get_next_seq): Don't #include it inside the function.
23822         Pass new arguments to findidx.
23823         (get_next_seq_nocache): Likewise.
23824         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23825         (STRXFRM): Don't #include it inside the function.
23826         Pass new arguments to findidx.
23828 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23830         [BZ #17344]
23831         * malloc/malloc.c (unlink): Turn asserts into a call to
23832         malloc_printerr.
23834 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23836         [BZ #17370]
23837         * libio/wfileops (do_ftell_wide): Free OUT.
23839 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23841         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23843 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23845         [BZ #17363]
23846         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23847         group if the current group is empty.
23849 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23851         * benchtests/bench-memset.c (test_main): Add more test from size
23852         from 32 to 512 bytes.
23853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23854         Add POWER8 memset object.
23855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23856         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23857         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23858         implementation.
23859         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23860         Likewise.
23861         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23862         multiarch POWER8 memset optimization.
23863         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23864         POWER8 memset optimization.
23866         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23867         Remove bzero multiarch objects.
23868         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23869         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23870         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23871         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23872         Remove define.
23873         [__bzero]: Redefine to specific name.
23874         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23875         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23876         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23877         define.
23878         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23879         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23881 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23883         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23884         warnings into errors.
23886         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23887         __cxa_thread_atexit_impl prototype.
23889 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23891         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23892         Fix capitalization of error message.
23894 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23896         * sysdeps/mips/preconfigure: Modify ABI tests.
23898 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23900         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23902 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23903             Carlos O'Donell  <carlos@systemhalted.org>
23905         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23906         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23907         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23908         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23909         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23910         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23911         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23912         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23913         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23914         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23915         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23916         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23917         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23918         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23919         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23920         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23921         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23922         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23923         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23924         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23925         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23926         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23927         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23928         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23929         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23930         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23931         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23932         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23933         Deconditionalize the code that was previously under [RESET_PID].
23934         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23935         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23936         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23937         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23938         include sysdep.h.
23940 2014-09-08  Allan McRae  <allan@archlinux.org>
23942         * version.h (RELEASE): Set to "development".
23943         (VERSION): Set to "2.20.90"
23945 2014-09-07  Allan McRae  <allan@archlinux.org
23947         * version.h (RELEASE): Set to "stable".
23948         (VERSION): Set to "2.20"
23949         * include/features.h (__GLIBC_MINOR__): Set to 20.
23951         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23952         Liebler.
23954         * po/ko.po: Update Korean translation from translation project.
23956 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23958         [BZ #17354]
23959         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23960         macro for handling signed relocations.
23962 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23964         [BZ #17325]
23965         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23966         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23967         assert.
23968         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23969         * iconvdata/ibm935.c (BODY): Likewise.
23970         * iconvdata/ibm937.c (BODY): Likewise.
23971         * iconvdata/ibm939.c (BODY): Likewise.
23972         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23973         assert.
23974         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23975         script.
23976         * iconvdata/run-iconv-test.sh: New test loop for checking for
23977         decoder crashers.
23979 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23981         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23982         libm_hidden_ver.
23984 2014-09-01  Allan McRae  <allan@archlinux.org>
23986         * po/eo.po: Update Esperanto translation from translation project.
23988         * po/ca.po: Update Catalan translation from translation project.
23990 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23992         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23993         __proc_dostop call.
23995 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23997         [BZ #17319]
23998         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23999         to call set_thread_area instead of hand written asm.
24000         (__NR_set_thread_area): Removed define.
24001         (TLS_FLAG_WRITABLE): Likewise.
24002         (__ASSUME_SET_THREAD_AREA): Remove check.
24003         (TLS_EBX_ARG): Remove define.
24004         (TLS_LOAD_EBX): Likewise.
24006 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24008         Simplify atomicity of socket creation in bind.
24010         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
24011         looking up the name after linking the file.
24013 2014-08-27  Allan McRae  <allan@archlinux.org>
24015         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24017 2014-08-26  Florian Weimer  <fweimer@redhat.com>
24019         [BZ #17187]
24020         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
24021         trans_compare, open_translit, __gconv_translit_find):
24022         Remove module loading code.
24024 2014-08-26  Allan McRae  <allan@archlinux.org>
24026         * po/vi.po: Update Vietnamese translation from translation project.
24028         * po/uk.po: Update Ukrainian translation from translation project.
24030         * po/fr.po: Update French translation from translation project.
24032         * po/ru.po: Update Russian translation from translation project.
24034         * po/pl.po: Update Polish translation from translation project.
24036         * po/cs.po: Update Czech translation from translation project.
24038         * po/de.po: Update German translation from translation project.
24040         * po/bg.po: Update Bulgarian translation from translation project.
24042         * po/sv.po: Update Sweedish translation from translation project.
24044         * po/nl.po: Update Dutch translation from translation project.
24046         * po/es.po: Update Spanish translation from translation project.
24048 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24050         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
24052         * catgets/Makefile (CPPFLAGS-gencat): Remove.
24053         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
24054         (CPPFLAGS-iconvconfig): Likewise.
24055         * timezone/Makefile (CPPFLAGS-zic): Likewise.
24057         * include/libc-symbols.h: Remove unnecessary check for
24058         NOT_IN_libc.
24059         * nptl/pthreadP.h: Likewise.
24060         * sysdeps/aarch64/setjmp.S: Likewise.
24061         * sysdeps/alpha/setjmp.S: Likewise.
24062         * sysdeps/arm/sysdep.h: Likewise.
24063         * sysdeps/i386/setjmp.S: Likewise.
24064         * sysdeps/m68k/setjmp.c: Likewise.
24065         * sysdeps/posix/getcwd.c: Likewise.
24066         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24067         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24068         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24069         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24070         * sysdeps/sh/sh3/setjmp.S: Likewise.
24071         * sysdeps/sh/sh4/setjmp.S: Likewise.
24072         * sysdeps/unix/alpha/sysdep.h: Likewise.
24073         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24074         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24075         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24076         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24080         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24081         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24082         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24083         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24084         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24086         * sysdeps/x86_64/setjmp.S: Likewise.
24088 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
24090         [BZ #17263]
24091         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
24092         <stdint.h>.
24093         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
24094         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
24096 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24098         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
24100         [BZ #17262]
24101         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
24102         and __x86_64__ when disabling x87 inline functions.
24104 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
24106         [BZ #17259]
24107         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
24108         asm statement with __cpuid_count.
24110 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
24112         * configure.ac: Change __ehdr_start code to dereference the struct.
24113         Run readelf on the output to look for relocations.
24114         * configure: Regenerated.
24116 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
24118         [BZ #17261]
24119         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
24120         value to 0.
24121         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
24123 2014-08-12  Roland McGrath  <roland@hack.frob.com>
24125         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
24127 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
24129         [BZ #16892]
24130         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
24131         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
24133 2014-08-12  Sean Anderson  <seanga2@gmail.com>
24135         * malloc/malloc.c: Fix typo in comment.
24137 2014-08-09  Allan McRae  <allan@archlinux.org>
24139         * Regenerate libc.po.
24141 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
24143         * intl/tst-gettext2.sh: Check every lang file for creation.
24145 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24147         * sysdeps/aarch64/fpu/math_private.h
24148         (libc_feholdsetround_noex_aarch64_ctx): New function.
24150 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24152         * sysdeps/arm/armv6/strcpy.S (strcpy):
24153         Fix performance issue in misaligned cases.
24155 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24157         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
24158         Move definition from termios.h.
24159         (struct termio): Likewise.
24160         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24161         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24162         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24163         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24164         Likewise.
24165         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
24166         Move definition to ioctl-types.h
24167         (struct termio): Likewise.
24168         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24169         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24170         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24171         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24172         Likewise.
24174 2014-08-05  Richard Henderson  <rth@redhat.com>
24176         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
24177         exceptions.
24178         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
24179         Add fraiseexcpt.
24180         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
24181         Use __feraiseexcept.
24182         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
24183         Protect libm symbols with IS_IN_libm.
24185         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
24187 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
24189         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
24191 2014-08-04  Will Newton  <will.newton@linaro.org>
24193         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
24194         file.
24196 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
24198         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
24199         variants for each function.
24201 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24203         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
24204         appended ...
24205         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
24206         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
24207         appended ...
24208         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
24209         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
24210         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
24211         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
24212         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
24213         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
24214         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
24215         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
24216         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
24217         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
24218         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
24219         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
24220         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
24221         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
24222         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
24223         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
24224         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
24225         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
24226         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
24227         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
24228         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
24229         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
24230         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
24231         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
24232         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
24233         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
24234         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
24235         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
24236         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
24237         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
24238         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
24239         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
24240         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
24241         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
24242         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
24243         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
24244         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
24245         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
24246         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
24247         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
24248         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
24249         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
24250         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
24251         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
24252         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
24253         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
24254         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
24255         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
24256         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
24257         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
24258         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
24259         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
24260         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
24261         Update #include.
24262         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
24263         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
24265 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24267         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
24268         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
24269         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
24270         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
24271         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
24272         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
24274 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24276         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
24277         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
24278         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24279         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
24281 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24283         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
24284         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
24285         (__libc_vfork): Define function under this name.
24286         (__vfork): Define as an alias.
24287         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
24288         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
24290 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24292         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
24293         that was previously under [RESET_PID].
24294         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
24296 2014-08-04  Andreas Schwab  <schwab@suse.de>
24298         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
24300 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
24302         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
24303         (main): Likewise.
24305 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24307         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
24309 2014-08-01  Richard Henderon  <rth@redhat.com>
24311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
24312         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
24313         typo in exact zero test.
24314         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24315         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24316         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24318 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24320         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24321         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24322         * sysdeps/arm/sysdep.h: ... here.
24323         [!__ASSEMBLER__]: Include <stdint.h>.
24325 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24327         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24328         (HAVE_WCTYPE_H): Likewise.
24329         (HAVE_ISWCTYPE): Likewise.
24330         (ENABLE_NLS): Likewise.
24331         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24332         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24334         * posix/regex_internal.c: Check if DEBUG is defined and is
24335         set.
24337         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24338         (HAVE_MBSRTOWCS): Likewise.
24339         * posix/fnmatch.c: Include string.h unconditionally.
24341 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24343         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24344         reversal.
24346 2014-07-31  Roland McGrath  <roland@hack.frob.com>
24348         * sysdeps/generic/safe-fatal.h: New file.
24349         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24350         * nptl/forward.c: Include it.
24351         (__pthread_unwind): Use __safe_fatal as default action, rather
24352         than a bogus use of INTERNAL_SYSCALL that could never work.
24354         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24355         * configure.ac (libc_cv_builtin_trap): New test.
24356         * configure: Regenerated.
24357         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24358         (ABORT_INSTRUCTION): Define using __builtin_trap.
24360         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24361         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24362         * sysdeps/nptl/nptl-signals.h: New file.
24363         * nptl/pthreadP.h: Include <nptl-signals.h>.
24365 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24367         * sysdeps/s390/s390-64/utf16-utf32-z9.c
24368         (ONE_DIRECTION): Define.
24369         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24370         (ONE_DIRECTION): Define.
24371         * sysdeps/s390/s390-64/utf8-utf32-z9.c
24372         (ONE_DIRECTION): Define.
24374 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24376         * sysdeps/s390/Makefile: Delete file.
24377         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
24378         * sysdeps/s390/__longjmp.c: Delete file.
24379         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
24380         Remove fields __flags and __reserved.
24381         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
24382         and add versioning.
24383         * sysdeps/s390/rtld-__longjmp.c: Delete file.
24384         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
24385         * sysdeps/s390/rtld-setjmp.S: Likewise.
24386         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
24387         * sysdeps/s390/s390-32/__longjmp.c: ... here.
24388         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
24389         * sysdeps/s390/s390-32/setjmp.S: ... here.
24390         Add versioning.
24391         (__sigsetjmp): Remove setting __flags field.
24392         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
24393         * sysdeps/s390/s390-64/__longjmp.c: ... here.
24394         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
24395         * sysdeps/s390/s390-64/setjmp.S: ... here.
24396         Add versioning.
24397         (__sigsetjmp): Remove setting __flags field.
24398         * sysdeps/s390/setjmp.S: Delete file.
24399         * sysdeps/s390/sigjmp.c: Likewise.
24400         * sysdeps/s390/v1-longjmp.c: Likewise.
24401         * sysdeps/s390/v1-setjmp.h: Likewise.
24402         * sysdeps/s390/v1-sigjmp.c: Likewise.
24403         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
24404         Remove v1-longjmp_chk.
24405         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
24406         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24407         Include debug/longjmp_chk.c and add versioning.
24408         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24409         Include nptl/pt-longjmp.c and add versioning.
24410         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24411         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24412         Include __longjmp.c.
24413         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24414         Move to ...
24415         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24416         (__getcontext): Remove setting __flags field.
24417         Add versioning.
24418         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24419         Don't restore upper high grps.
24420         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24421         Likewise.
24422         (__swapcontext): Remove setting uc_flags field.
24423         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24424         Delete file.
24425         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24426         Include __longjmp.c.
24427         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24428         Move to ...
24429         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24430         (__getcontext): Remove setting __flags field.
24431         Add versioning.
24432         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24433         (__swapcontext): Remove setting uc_flags field.
24434         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24435         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24436         Remove fields uc_high_gprs and __reserved.
24437         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24438         New file with reverted content.
24439         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24440         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24441         Regenerated.
24442         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24443         Regenerated.
24445 2014-07-31  Andreas Schwab  <schwab@suse.de>
24447         * config.h.in (HAVE_IFUNC): Define to 0.
24448         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24449         definedness.
24451 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
24453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24454         memmove-avx-unaligned, memcpy-avx-unaligned and
24455         mempcpy-avx-unaligned.
24456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24457         Add tests for AVX memcpy functions.
24458         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24459         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24460         memcpy_chk.
24461         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24462         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24463         memmove_chk.
24464         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24465         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24466         mempcpy_chk.
24467         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24468         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24469         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24471 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24473         [BZ #17213]
24474         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24475         powerpc64le.
24477 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24479         [BZ #16839]
24480         * manual/llio.texi: Add section about open file description locks.
24481         * manual/examples/ofdlocks.c: Example of open file description
24482         lock usage.
24483         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24484         F_OFD_SETLK, and F_OFD_SETLKW.
24486 2014-07-23  Allan McRae  <allan@archlinux.org>
24488         * po/es.po: Update Spanish translation from translation project.
24490 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24492         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24494 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24496         [BZ #17078]
24497         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24498         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24499         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24501 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24503         [BZ #17088]
24504         * math/fesetenv.c (__fesetenv)
24505         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24506         * math/feupdateenv.c (__feupdateenv)
24507         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24509         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24510         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24511         (__ASSUME_SOCKETCALL): Do not define.
24513         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24514         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24515         (__ASSUME_SOCKETCALL): Do not define.
24516         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24517         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24518         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24519         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24520         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24521         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24522         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24523         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24525         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24526         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24527         (__ASSUME_SOCKETCALL): Do not define.
24528         (__ASSUME_IPC64): Define unconditionally.
24529         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24530         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24531         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24532         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24533         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24534         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24535         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24536         Likewise.
24538         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24539         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24540         (__ASSUME_SOCKETCALL): Do not define.
24541         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24542         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24543         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24544         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24545         (__ASSUME_REQUEUE_PI): Define unconditionally.
24546         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24547         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24548         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24549         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24550         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24551         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24553         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24554         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24555         (__ASSUME_SOCKETCALL): Do not define.
24556         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24557         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24558         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24559         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24560         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24561         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24563         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24564         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24565         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24566         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24567         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24568         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24569         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24570         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24571         (__ASSUME_GETCPU_SYSCALL): Likewise.
24573         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24574         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24575         cases for individual architectures.
24576         * sysdeps/gnu/configure: Regenerated.
24577         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24578         LIBC_SLIBDIR_RTLDDIR.
24579         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24580         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24581         LIBC_SLIBDIR_RTLDDIR.
24582         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24584         LIBC_SLIBDIR_RTLDDIR.
24585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24586         Regenerated.
24587         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24588         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24589         file.
24590         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24591         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24592         file.
24593         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24594         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24595         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24596         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24598         * sysdeps/aarch64/shlib-versions: Move to ...
24599         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24600         * sysdeps/alpha/shlib-versions: Move to ...
24601         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24602         * sysdeps/arm/shlib-versions: Move to ...
24603         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24604         * sysdeps/hppa/shlib-versions: Move all contents except for
24605         libgcc_s entry to ...
24606         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24607         entry from ...
24608         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24609         * sysdeps/ia64/shlib-versions: Move to ...
24610         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24611         entry from ...
24612         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24613         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24614         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24615         * sysdeps/microblaze/shlib-versions: Move to ...
24616         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24617         * sysdeps/mips/shlib-versions: Move to ...
24618         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24619         entry from ...
24620         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24621         * sysdeps/tile/shlib-versions: Move to ...
24622         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24623         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24624         from ...
24625         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24626         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24627         entry from ...
24628         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24630 2014-07-17  Will Newton  <will.newton@linaro.org>
24632         * sysdeps/arm/bits/atomic.h
24633         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24634         (__arch_compare_and_exchange_bool_16_int): Likewise.
24635         (__arch_compare_and_exchange_bool_64_int): Likewise.
24637         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24638         into an #else block.
24640 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24642         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24643         just Linux configurations.  Test empirically that the compiler sets
24644         __ARM_EABI__, rather than using the tuple to decide.
24645         * sysdeps/arm/preconfigure: Regenerated.
24646         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24647         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24648         contents appended ...
24649         * sysdeps/arm/configure.ac: ... here.
24650         * sysdeps/arm/configure: Regenerated.
24652 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24654         * nptl/pthread_kill.c: New file.
24655         * nptl/pthread_sigmask.c: New file.
24656         * nptl/pthread_sigqueue.c: New file.
24658         * sysdeps/nptl/lowlevellock.h: New file.
24659         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24660         * sysdeps/nptl/lowlevellock-futex.h: New file.
24662         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24663         Remove dead declarations.
24665 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24667         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24668         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24669         config-cflags-avx2.
24670         * sysdeps/x86_64/configure.ac: Likewise.
24671         * sysdeps/i386/configure: Regenerated.
24672         * sysdeps/x86_64/configure: Likewise.
24673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24674         memset-avx2 only if config-cflags-avx2 is yes.
24675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24676         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24677         defined.
24678         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24679         only if HAVE_AVX2_SUPPORT is defined.
24680         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24682 2014-07-14  Alan Modra  <amodra@gmail.com>
24684         [BZ #17153]
24685         * elf/elf.h (DT_PPC64_NUM): Correct value.
24686         * NEWS: Add to fixed bug list.
24688 2014-07-13  Jim Meyering  <meyering@fb.com>
24690         [BZ 17150]
24691         regex: don't deref NULL upon heap allocation failure
24692         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24693         failure in one more place.
24694         To trigger the segfault, configure grep -with-included-regex,
24695         build it, and run these commands:
24696         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24698 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24700         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24702 2014-07-11  Richard Henderson  <rth@redhat.com>
24704         * sysdeps/aarch64/libm-test-ulps: Update.
24706 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24708         [BZ #17135]
24709         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24710         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24711         (__nptl_setxid): Initialize error member.  Call
24712         __nptl_setxid_error.
24713         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24714         * nptl/descr.h (struct xid_command): Add error member.
24715         * nptl/tst-setuid3.c: New file.
24716         * nptl/Makefile (tests): Add it.
24718 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24720         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24721         New define.
24722         (__lll_trylock): Use __lll_base_trylock.
24723         (__lll_cond_trylock): Likewise.
24725 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24727         * nptl/pthread_create.c (start_thread): Use atomic_or and
24728         lll_futex_wake directly rather than lll_robust_dead.
24729         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24730         (lll_robust_dead): Macro removed.
24731         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24732         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24733         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24734         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24735         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24736         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24737         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24738         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24739         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24740         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24741         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24742         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24743         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24744         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24745         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24747         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24748         Use atomic_compare_and_exchange_val_acq directly rather than
24749         lll_robust_trylock.
24750         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24751         (__lll_robust_trylock, lll_robust_trylock): Removed.
24752         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24753         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24754         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24755         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24756         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24757         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24758         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24759         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24760         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24761         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24762         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24763         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24764         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24765         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24767 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24769         * manual/locale.texi (Locale Names): New section documenting
24770         locale name syntax.  Adjust menu and node chaining accordingly.
24771         (Choosing Locale): Reference Locale Names, Locale Categories.
24772         Mention setting LC_ALL=C.  Reflect that name syntax is now
24773         documented.
24774         (Locale Categories): New section title.  Reference Locale Names.
24775         LC_ALL is an environment variable, but not a category.
24776         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24777         description, now in Locale Name.  Reference that section.  Locale
24778         name syntax is now documented.
24780 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24782         [BZ #17137]
24783         * locale/findlocale.c (name_present, valid_locale_name): New
24784         functions.
24785         (_nl_find_locale): Use the loc_name variable to store name
24786         candidates.  Call name_present and valid_locale_name to check and
24787         validate locale names.  Return an error if the locale is invalid.
24789 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24791         * locale/setlocale.c (setlocale): Use strdup for allocating
24792         composite name copy.
24794 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24796         Sync up with gnulib.
24797         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24798         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24799         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24800         and _GL_ARG_NONNULL.
24801         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24802         [!_LIBC]: Include code for Windows and Cygwin.
24803         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24804         Include prototype for int strerror_r.
24805         [!_LIBC] (is_open): New function.
24806         (flush_stdout): New function.
24807         (print_errno_message): Use it.
24808         (error): Likewise.
24809         (error_at_line): Likewise.
24810         (error_tail) Add function attribute macros.  Use
24811         __builtin_expect.
24813         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24815         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24817         * io/ftw.c: Include sys/param.h unconditionally.
24819         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24821         [BZ #17125]
24822         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24823         libc_freeres_ptr.
24824         (freecache): New function to free CACHE on exit.
24826         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24827         initialization.
24829 2014-07-09  David S. Miller  <davem@davemloft.net>
24831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24833         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24834         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24835         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24836         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24837         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24838         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24839         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24840         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24841         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24842         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24843         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24844         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24845         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24847 2014-07-09  Andreas Schwab  <schwab@suse.de>
24849         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24850         output.
24851         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24852         (do_test): Likewise.
24854         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24856 2014-07-09  Will Newton  <will.newton@linaro.org>
24858         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24859         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24860         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24861         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24862         * sysdeps/hppa/start.S (_start): Likewise.
24864 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24866         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24868         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24869         defined.
24871 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24873         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24874         after checking that it is non-NULL.
24876         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24878 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24880         * sysdeps/powerpc/memmove.c: Remove file.
24881         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24882         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24883         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24884         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24885         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24886         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24887         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24888         string memmove instead of removed powerpc one.
24890         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24891         [weak_alias]: Fix compiler warning due trailing data.
24892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24893         [weak_alias]: Likewise.
24894         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24895         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24898         (__libc_ifunc_impl_list): Add memmove functions.
24900 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24902         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24903         Remove code.
24904         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24905         Likewise.
24906         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24907         Likewise.
24908         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24909         Likewise.
24910         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24911         Likewise.
24912         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24913         Likewise.
24914         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24915         Likewise.
24916         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24917         Likewise.
24918         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24919         Likewise.
24920         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24921         Likewise.
24922         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24923         Likewise.
24924         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24925         Likewise.
24926         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24927         Likewise.
24928         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24929         Likewise.
24930         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24931         Likewise.
24932         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24933         Likewise.
24934         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24935         Likewise.
24937 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24939         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24940         to avoid alignment traps in non-cacheable memory.
24941         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24944         multiarch objects.
24945         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24946         file: multiarch power7 memmove.
24947         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24948         multiarch default memmove.
24949         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24950         multiarch memove for powerpc32/power4.
24952         * string/bcopy.c: Use full path to include memmove.c.
24953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24954         multiarch objects.
24955         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24956         bcopy for powerpc64.
24957         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24958         bcopy for powerpc64.
24959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24960         and memmove implementations.
24961         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24962         optimized multiarch memmove for POWER7/powerpc64.
24963         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24964         default multiarch memmove for powerpc64.
24965         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24966         multiarch for powerpc64.
24967         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24968         for POWER7/powerpc64.
24969         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24970         memmove for POWER7/powerpc64.
24972         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24973         glibc default one.
24975         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24976         __ELF_NATIVE_CLASS equal to 64.
24978 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24980         * sysdeps/nptl/lowlevellock.h: File removed.
24982         * NEWS: NPTL is no longer an add-on!
24983         * nptl/internaltypes.h: Moved ...
24984         * sysdeps/nptl/internaltypes.h: ... here.
24985         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24986         * sysdeps/nptl/fork.c: Likewise.
24987         * sysdeps/nptl/gai_misc.h: Likewise.
24988         * sysdeps/nptl/librt-cancellation.c: Likewise.
24989         * sysdeps/nptl/jmp-unwind.c: Likewise.
24990         * sysdeps/nptl/setxid.h: Likewise.
24991         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24992         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24993         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24994         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24995         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24996         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24997         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24998         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24999         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
25000         * sysdeps/unix/sysv/linux/mips/Implies: New file.
25001         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
25002         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
25003         * sysdeps/unix/sysv/linux/sh/Implies: New file.
25004         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
25005         * sysdeps/unix/sysv/linux/tile/Implies: New file.
25006         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
25007         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
25008         * nptl/Makeconfig: Moved ...
25009         * sysdeps/nptl/Makeconfig: ... here.
25010         * nptl/configure: File removed.
25011         * nptl/ANNOUNCE: File removed.
25012         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
25013         * sysdeps/unix/sysv/linux/configure: Regenerated.
25015         * nptl/Makefile (routines): Add libc_pthread_init,
25016         libc_multiple_threads, register-atfork and unregister-atfork.
25017         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
25018         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
25019         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
25020         pthread-pi-defines.sym, structsem.sym.
25021         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
25022         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
25023         [$(subdir) = nptl] (tests): Add tst-setgetname.
25024         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
25025         * sysdeps/unix/sysv/linux/sigaction.c: Just include
25026         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
25027         [!LIBC_SIGACTION]: Remove aliases.
25028         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25029         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25030         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25031         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
25032         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25033         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
25034         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25035         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25036         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25037         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
25038         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
25039         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
25040         __libc_allocate_rtsig_private.
25041         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
25042         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
25043         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25044         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25045         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
25046         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
25047         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
25048         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
25049         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
25050         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
25051         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
25052         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
25053         * nptl/internaltypes.h: ... here.
25054         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
25055         * sysdeps/nptl/jmp-unwind.c: ... here.
25056         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
25057         * nptl/libc-lowlevellock.c: ... here.
25058         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
25059         * nptl/libc_multiple_threads.c: ... here.
25060         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
25061         * nptl/libc_pthread_init.c: ... here.
25062         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
25063         * nptl/lowlevelbarrier.sym: ... here.
25064         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
25065         * nptl/lowlevelcond.sym: ... here.
25066         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
25067         * nptl/lowlevellock.c: ... here.
25068         * nptl/lowlevellock.h: Moved ...
25069         * sysdeps/nptl/lowlevellock.h: ... here.
25070         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
25071         * nptl/lowlevelrobustlock.c: ... here.
25072         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
25073         * nptl/lowlevelrobustlock.sym: ... here.
25074         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
25075         * nptl/lowlevelrwlock.sym: ... here.
25076         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
25077         * nptl/pt-fork.c: ... here.
25078         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
25079         * nptl/pthread-pi-defines.sym: ... here.
25080         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
25081         * nptl/pthread_attr_getaffinity.c: ... here.
25082         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
25083         * nptl/pthread_attr_setaffinity.c: ... here.
25084         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
25085         * nptl/pthread_mutex_cond_lock.c: ... here.
25086         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25087         Update #include.
25088         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
25089         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
25090         * nptl/pthread_once.c: ... here, replacing old file.
25091         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
25092         * nptl/pthread_yield.c: ... here.
25093         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
25094         * nptl/register-atfork.c: ... here.
25095         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
25096         * nptl/sem_post.c: ... here.
25097         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
25098         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
25099         * nptl/sem_timedwait.c: ... here.
25100         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
25101         * nptl/sem_trywait.c: ... here.
25102         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
25103         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
25104         * nptl/sem_wait.c: ... here.
25105         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
25106         * nptl/structsem.sym: ... here.
25107         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
25108         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
25109         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
25110         * nptl/unregister-atfork.c: ... here.
25111         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
25112         * nptl/unwindbuf.sym: ... here.
25113         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
25114         * sysdeps/nptl/fork.c: ... here.
25115         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
25116         * sysdeps/nptl/fork.h: ... here.
25117         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
25118         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
25119         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
25120         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
25121         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
25122         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
25123         * sysdeps/unix/sysv/linux/getpid.c: ... here.
25124         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
25125         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
25126         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
25127         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
25128         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
25129         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
25130         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
25131         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
25132         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
25133         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
25134         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
25135         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
25136         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
25137         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
25138         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
25139         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
25140         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
25141         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
25142         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
25143         * sysdeps/unix/sysv/linux/raise.c: ... here.
25144         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
25145         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
25146         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
25147         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
25148         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
25149         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
25150         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
25151         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
25152         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
25153         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
25154         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
25155         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
25156         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
25157         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
25158         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
25160 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25162         * sysdeps/generic/memcopy.h: Add comment for
25163         MEMCPY_OK_FOR_FWD_MEMMOVE.
25165 2014-07-04  Will Newton  <will.newton@linaro.org>
25167         * string/memchr.c: Merge from gnulib.
25168         [_LIBC]: Remove conditionals.
25169         (__ptr_t): Remove define.
25170         (LONG_MAX_32_BITS): Likewise.
25171         (LONG_MAX): Likewise.
25172         (MEMCHR): Use ANSI prototype and optimize algorithm.
25174         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
25176 2014-07-03  Roland McGrath  <roland@hack.frob.com>
25178         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
25179         (lll_futex_timed_wait_bitset): Fix syscall argument count.
25181         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
25182         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
25183         in a bare environment with no <stdlib.h> installed.
25184         * sysdeps/nptl/configure: Regenerated.
25186         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
25188         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
25189         AC_EGREP_CPP for kernel header checks, so they only succeed if
25190         including <linux/version.h> actually works right.
25191         * sysdeps/unix/sysv/linux/configure: Regenerated.
25193         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
25194         value so it's not diagnosed as unused.
25196         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
25197         thing) with "ifeq ($(subdir),rt)".
25199 2014-07-03  Richard Henderson  <rth@redhat.com>
25201         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
25202         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
25203         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
25205         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
25206         (math_force_eval): New.
25208         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
25209         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
25211         * sysdeps/alpha/fpu/s_round.c: Remove file.
25212         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
25214         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
25215         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
25216         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
25217         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
25218         (_dl_start, print_statistics): Likewise.
25219         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
25220         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
25222         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25223         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25224         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25225         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25227         (HP_SMALL_TIMING_AVAIL): Define.
25228         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25229         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25230         (HP_SMALL_TIMING_AVAIL): Define.
25231         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25232         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25234         * sysdeps/aarch64/hp-timing.h: New file.
25236         * sysdeps/generic/hp-timing.h: Remove dead comment.
25237         * sysdeps/generic/hp-timing-common.h: New file.
25238         * sysdeps/alpha/hp-timing.h: Include it.
25239         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
25240         * sysdeps/i386/i686/hp-timing.h: Likewise.
25241         * sysdeps/ia64/hp-timing.h: Likewise.
25242         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25243         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25244         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25245         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25246         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
25247         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
25248         (hp_timing_t): New.
25250         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
25251         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
25252         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
25253         * elf/rtld.c (_dl_start_final): Likewise.
25254         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
25255         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25256         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25257         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25258         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25259         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25260         (HP_TIMING_DIFF_INIT): Remove.
25261         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25262         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25263         (HP_TIMING_DIFF_INIT): Remove.
25264         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25265         * sysdeps/i386/i686/hp-timing.c: Remove file.
25266         * sysdeps/x86_64/hp-timing.c: Remove file.
25267         * sysdeps/ia64/hp-timing.c: Remove file.
25268         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
25269         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
25270         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
25271         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
25273         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
25274         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
25275         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
25276         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25277         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25278         (HP_TIMING_ACCUM): Remove.
25279         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25280         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
25281         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25283         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
25284         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
25285         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
25286         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
25287         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
25288         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25289         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
25290         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25292         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
25294 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
25296         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
25298 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25300         Sync up with gettext.
25301         * intl/loadmsgcat.c: Define O_BINARY if not defined.
25302         [_MSC_VER]: Include malloc.h
25303         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
25304         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
25305         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
25306         TEMP_FAILURE_RETRY.  Cast return of alloca.
25307         [!_LIBC] Call gl_rwlock_init.
25308         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
25310 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25312         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
25313         before checking its value.
25315 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25317         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25319         * debug/memcpy_chk.c: Don't include pagecopy.h.
25320         * debug/mempcpy_chk.c: Likewise.
25321         * string/memcpy.c: Likewise.
25322         * string/memmove.c: Likewise.
25323         * sysdeps/powerpc/memmove.c: Likewise.
25324         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
25325         definition of PAGE_COPY_FWD_MAYBE here...
25326         * sysdeps/generic/pagecopy.h: ... from here.
25327         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25329 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25330             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25332         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25334         optimizations.
25335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25336         (__libc_ifunc_impl_list): Likewise.
25337         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25338         multiarch strcat for PPC64.
25339         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25340         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25342 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25344         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25346 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25348         * intl/loadmsgcat.c: Remove declaration of
25349         get_sysdep_segment_value.
25350         (get_sysdep_segment_value): Use ISO C style.
25351         (_nl_load_domain): Use ISO C style.  Get rid of redundant
25352         semicolon.  Fix typo and formatting in comment.
25353         (_nl_unload_domain): Use ISO C style.
25355         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25357 2014-07-02  Will Newton  <will.newton@linaro.org>
25359         * malloc/obstack.c: Merge from gnulib master.
25360         [HAVE_CONFIG_H]: Remove conditional code.
25361         [!_LIBC]: Include config.h.
25362         [!ELIDE_CODE]: Don't include inttypes.h, include
25363         stdint.h unconditionally.
25364         (print_and_abort): Mark as _Noreturn.
25365         (_obstack_allocated_p): Mark as __attribute_pure__.
25366         (obstack_free): Rename to __obstack_free.
25367         [!__attribute__]: Remove conditional code.
25368         * malloc/obstack.h: Merge from gnulib master.
25369         [__cplusplus]: Move conditional down.
25370         [!__attribute_pure__]: Define __attribute_pure__ here
25371         if it is not already defined.
25372         (_obstack_memory_used): Mark as __attribute_pure__.
25373         [!__obstack_free]: Define as obstack_free.
25374         [__GNUC__]: Remove check for ancient NeXT gcc.
25376 2014-07-02  Will Newton  <will.newton@linaro.org>
25377             Paul Eggert  <eggert@cs.ucla.edu>
25379         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
25381 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25383         * resolv/gethnamaddr.c: Add comment warning that the file is
25384         not maintained.
25386 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
25388         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
25389         entries.
25391         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
25392         entry for aio_cancel and aio_cancel64.
25393         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
25394         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
25395         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
25396         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
25397         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
25398         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
25399         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25400         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
25401         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
25402         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
25403         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
25404         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
25405         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
25407 2014-07-01  Roland McGrath  <roland@hack.frob.com>
25409         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25410         * nptl/pthread_mutex_lock.c: Likewise.
25411         * nptl/pthread_mutex_timedlock.c: Likewise.
25412         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25414 2014-07-01  Richard henderson  <rth@redhat.com>
25416         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25417         (__isnan, __isnanl): Remove.
25418         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25420         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25422 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25424         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25426 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25428         * resolv/nss_dns/dns-host.c (getanswer_r)
25429         [MULTI_PTRS_ARE_ALIASES]: Remove code.
25431 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
25433         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25434         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25435         undefine.
25436         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25437         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25439 2014-07-01  Roland McGrath <roland@hack.frob.com>
25441         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25442         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25444         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25445         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25447         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25448         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25449         ... here.
25450         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25451         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25453         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25454         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25455         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25456         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25458         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25459         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25460         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25461         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25462         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25463         Moved ...
25464         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25465         ... here.
25466         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25467         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25468         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25469         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25470         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25471         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25472         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25473         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25474         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25475         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25476         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25477         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25478         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25479         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25480         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25481         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25482         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25483         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25484         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25485         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25486         ... here.
25487         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25488         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25489         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25490         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25491         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25492         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25493         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25494         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25496 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25498         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25499         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25500         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25501         Add sysdep.
25503 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25507 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25509         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25510         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25512         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25514         * sysdeps/arm/libm-test-ulps: Regenerated.
25516 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25517             Roland McGrath <roland@hack.frob.com>
25519         * test-skeleton.c (signal_handler): Kill the whole process group
25520         before killing the child individually.
25521         (main): Report any failure on `setpgid'.
25523 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25525         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25526         from _TLS_H to _ARM_NPTL_TLS_H.
25527         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25528         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25530 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25532         [BZ #16539]
25533         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25534         (__expm1l): Return argument unchanged when small but not
25535         subnormal.
25537         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25538         include macro name.
25539         (_FP_UNPACK_RAW_1_P): Likewise.
25540         (_FP_PACK_RAW_1): Likewise.
25541         (_FP_PACK_RAW_1_P): Likewise.
25542         (_FP_MUL_MEAT_1_wide): Likewise.
25543         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25544         (_FP_MUL_MEAT_1_hard): Likewise.
25545         (_FP_DIV_MEAT_1_imm): Likewise.
25546         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25547         (_FP_DIV_MEAT_1_udiv): Likewise.
25548         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25549         (_FP_UNPACK_RAW_2): Likewise.
25550         (_FP_UNPACK_RAW_2_P): Likewise.
25551         (_FP_PACK_RAW_2): Likewise.
25552         (_FP_PACK_RAW_2_P): Likewise.
25553         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25554         (_FP_MUL_MEAT_2_wide): Likewise.
25555         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25556         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25557         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25558         (_FP_MUL_MEAT_2_gmp): Likewise.
25559         (_FP_DIV_MEAT_2_udiv): Likewise.
25560         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25561         (_FP_FRAC_SRL_4): Likewise.
25562         (_FP_FRAC_SRST_4): Likewise.
25563         (_FP_FRAC_SRS_4): Likewise.
25564         (_FP_UNPACK_RAW_4): Likewise.
25565         (_FP_UNPACK_RAW_4_P): Likewise.
25566         (_FP_PACK_RAW_4): Likewise.
25567         (_FP_PACK_RAW_4_P): Likewise.
25568         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25569         (_FP_MUL_MEAT_4_wide): Likewise.
25570         (_FP_MUL_MEAT_4_gmp): Likewise.
25571         (umul_ppppmnnn): Likewise.
25572         (_FP_DIV_MEAT_4_udiv): Likewise.
25573         (__FP_FRAC_ADD_4): Likewise.
25574         (__FP_FRAC_SUB_3): Likewise.
25575         (__FP_FRAC_SUB_4): Likewise.
25576         (__FP_FRAC_DEC_3): Likewise.
25577         (__FP_FRAC_DEC_4): Likewise.
25578         (__FP_FRAC_ADDI_4): Likewise.
25579         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25580         (_FP_FRAC_SRL_8): Likewise.
25581         (_FP_FRAC_SRS_8): Likewise.
25583         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25584         include macro name.
25585         (FP_UNPACK_RAW_EP): Likewise.
25586         (FP_PACK_RAW_E): Likewise.
25587         (FP_PACK_RAW_EP): Likewise.
25588         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25589         (_FP_ISSIGNAN): Likewise.
25590         (_FP_ADD_INTERNAL): Likewise.
25591         (_FP_FMA): Likewise.
25592         (_FP_CMP): Likewise.
25593         (_FP_SQRT): Likewise.
25594         (_FP_TO_INT): Likewise.
25595         (_FP_FROM_INT): Likewise.
25596         (FP_EXTEND): Likewise.
25597         (_FP_DIV_MEAT_N_loop): Likewise.
25599 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25601         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25602         throughout.
25604 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25606         [BZ #17097]
25607         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25608         result with correct sign in case of exponents that produce
25609         overflow except for X very close to 1.
25611 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25613         mktime: merge #if/#ifdef usage from glibc
25614         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25615         as that works with both Glibc's and Gnulib's style.
25616         See thread starting at Siddhesh Poyarekar's bug report at:
25617         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25619 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25621         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25622         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25623         * sysdeps/tile/tilegx/memmove.c: Remove file.
25625 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25627         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25628         abi-name definition.
25629         * scripts/soversions.awk: Do not handle or generate ABI lines.
25630         * shlib-versions: Remove ABI entries.
25631         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25632         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25634 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25637         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25638         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25639         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25641         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25642         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25643         Moved ...
25644         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25645         ... here.
25646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25647         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25649         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25651         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25653         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25655         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25657         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25659         Moved ...
25660         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25662         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25664         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25666         Moved ...
25667         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25669         Moved ...
25670         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25671         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25672         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25674         Moved ...
25675         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25677         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25679         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25681         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25683         Moved ...
25684         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25686         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25687         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25688         Moved ...
25689         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25691         Moved ...
25692         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25693         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25694         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25695         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25696         Moved ...
25697         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25698         ... here.
25699         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25700         Identical file removed.
25701         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25702         Moved ...
25703         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25704         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25705         Identical file removed.
25706         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25707         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25708         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25709         Moved ...
25710         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25711         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25712         Identical file removed.
25713         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25714         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25716         Identical file removed.
25717         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25718         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25719         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25720         Identical file removed.
25721         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25722         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25723         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25724         Identical file removed.
25725         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25726         Moved ...
25727         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25728         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25729         Identical file removed.
25730         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25731         Moved ...
25732         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25733         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25734         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25735         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25736         Identical file removed.
25737         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25738         Moved ...
25739         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25740         ... here.
25741         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25742         Identical file removed.
25743         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25744         Moved ...
25745         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25746         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25747         Identical file removed.
25748         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25749         Moved ...
25750         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25752         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25753         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25754         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25756         Moved ...
25757         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25758         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25759         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25761         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25762         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25763         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25764         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25765         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25767 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25769         [BZ #17092]
25770         * nscd/nscd.c (monitor_child): Return exit status of child
25771         instead of return value from wait syscall.
25773 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25775         * configure.ac (libc_commonpagesize): Remove variable.
25776         (libc_relro_required): Likewise.
25777         (libc_cv_z_relro): Remove configure test.
25778         * configure: Regenerated.
25779         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25780         variable.
25781         (libc_relro_required): Likewise.
25782         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25783         (libc_relro_required): Likewise.
25784         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25785         (libc_relro_required): Likewise.
25786         * sysdeps/arm/preconfigure: Regenerated.
25787         * sysdeps/ia64/preconfigure: Remove file.
25788         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25789         variable.
25790         (libc_relro_required): Likewise.
25792         [BZ #16561]
25793         [BZ #16562]
25794         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25795         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25796         recompute overflowing results in original rounding mode.
25797         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25798         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25799         recompute overflowing results in original rounding mode.
25800         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25801         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25802         recompute overflowing results in original rounding mode.
25803         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25804         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25805         recompute overflowing results in original rounding mode.
25806         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25807         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25808         recompute overflowing results in original rounding mode.
25809         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25810         (libc_feholdsetround_ctx): New macro.
25811         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25812         * sysdeps/i386/fpu/libm-test-ulps: Update.
25813         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25815 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25817         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25818         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25819         corresponding .cpsetup call.
25821 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25823         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25824         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25825         * sysdeps/arm/Makefile [$(subdir) = csu]
25826         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25827         (static-only-routines): Add aeabi_read_tp here.
25828         (shared-only-routines): Add libc-aeabi_read_tp here.
25829         (CFLAGS-libc-start.c): Add -fexceptions here.
25830         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25831         (sysdep_routines, static-only-routines, shared-only-routines):
25832         Don't add to these here.
25833         (CFLAGS-libc-start.c): Likewise.
25835         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25836         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25837         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25838         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25839         * sysdeps/arm/Makefile [$(subdir) = rt]
25840         (librt-sysdep_routines, librt-shared-only-routines):
25841         Append rt-aeabi_unwind_cpp_pr1 here.
25842         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25843         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25844         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25845         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25846         Append nptl-aeabi_unwind_cpp_pr1 here.
25847         (tests): Filter out tst-cleanupx4 here.
25848         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25849         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25850         Don't do those here.
25852 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25854         * scripts/list-sources.sh: Do not handle ports specially.
25856 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25858         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25859         * sysdeps/arm/feupdateenv.c: Likewise.
25861         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25863 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25865         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25866         trailing whitespace removed.
25867         * scripts/config.guess: Update to version 2014-03-23.
25868         * scripts/config.sub: Update to version 2014-05-01
25869         * scripts/install-sh: Update to version 2013-12-25.23.
25870         * scripts/move-if-change: Update from gnulib.
25872 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25874         * debug/memmove_chk.c: Remove pagecopy.h include.
25876 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25878         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25879         identical to gnulib mktime.
25881 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25883         * configure.ac: Do not test for machine being rs6000.  Do not test
25884         for powerpc*-*soft.
25885         * configure: Regenerated.
25887         [BZ #11505]
25888         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25889         test.
25890         * configure: Regenerated.
25891         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25892         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25893         Remove configure test.
25894         * sysdeps/arm/configure: Regenerated.
25895         * sysdeps/nptl/configure.ac: Do not check
25896         libc_cv_asm_cfi_directives.
25897         * sysdeps/nptl/configure: Regenerated.
25898         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25899         * sysdeps/x86_64/nptl/configure: Remove generated file.
25900         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25901         unconditional.
25902         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25904 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25906         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25907         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25908         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25909         it is defined.
25911         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25912         instead of whether it is defined.
25913         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25914         * sysdeps/hppa/dl-machine.h: Likewise.
25915         * sysdeps/ia64/dl-machine.h: Likewise.
25916         * sysdeps/m68k/dl-machine.h: Likewise.
25917         * sysdeps/microblaze/dl-machine.h: Likewise.
25918         * sysdeps/mips/dl-machine.: Likewise.
25919         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25920         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25921         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25922         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25923         * sysdeps/sh/dl-machine.h: Likewise.
25924         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25925         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25926         * sysdeps/tile/dl-machine.h: Likewise.
25927         * sysdeps/x86_64/dl-machine.h: Likewise.
25929         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25930         code.
25931         (verify_persistent_db): Likewise.
25933 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25936         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25938         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25940         Moved ...
25941         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25942         ... here.
25943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25944         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25946         Identical file removed.
25947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25948         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25950         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25952         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25954         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25956         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25958         Moved ...
25959         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25961         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25963         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25965         Moved ...
25966         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25968         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25970         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25972         Identical file removed.
25973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25974         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25976         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25978         Moved ...
25979         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25980         ... here.
25981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25982         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25984         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25986         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25988         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25990         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25992         Moved ...
25993         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25995         Moved ...
25996         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25998         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26000         Moved ...
26001         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
26002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
26003         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
26005         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
26006         folded into ...
26007         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
26008         * sysdeps/unix/sysv/linux/s390/Versions
26009         (libpthread: GLIBC_2.19): New version set.
26010         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
26011         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
26012         (librt: GLIBC_2.3.3): New version set.
26013         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
26014         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
26015         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
26016         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
26017         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
26018         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
26019         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
26020         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
26021         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
26022         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
26023         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
26024         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
26025         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
26026         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
26027         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
26028         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
26029         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
26030         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
26031         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
26032         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
26033         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
26034         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
26035         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
26036         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
26037         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
26038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
26039         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
26040         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
26041         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
26042         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
26043         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
26044         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
26045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
26046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
26047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
26048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
26049         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
26050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
26051         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
26052         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
26053         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
26054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
26055         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
26056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
26057         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
26059         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
26060         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
26061         (__libc_vfork): Define the function under this name.
26062         [!NOT_IN_libc] (__vfork): Make this an alias.
26063         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
26065         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
26066         (__libc_vfork): Define the function under this name.
26067         [!NOT_IN_libc] (__vfork): Make this an alias.
26068         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26069         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
26070         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
26071         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
26072         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
26073         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26075         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
26076         code that was previously under [RESET_PID].
26077         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
26078         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
26079         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
26081         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26082         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
26083         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
26084         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
26085         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
26086         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
26087         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
26088         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
26089         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
26090         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
26091         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
26092         Moved ...
26093         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
26094         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
26095         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
26096         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
26097         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
26098         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
26099         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
26100         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
26101         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
26103         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
26104         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
26105         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
26106         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
26107         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
26108         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
26109         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
26110         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
26111         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
26112         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
26113         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
26114         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
26115         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
26116         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
26117         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
26118         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
26119         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
26120         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
26121         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
26123 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26125         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
26126         that was previously under [RESET_PID].
26127         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
26129 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26131         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
26132         not undefine and redefine.
26133         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
26134         [O_CLOEXEC]: Make code unconditional.
26135         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
26136         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
26137         <kernel-features.h>.
26138         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
26139         conditional variable definition.
26140         (shm_open) [O_CLOEXEC]: Make code unconditional.
26141         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
26142         code.
26144         * configure.ac (USE_REGPARMS): Don't define here.
26145         * configure: Regenerated.
26146         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
26147         * sysdeps/i386/configure: Regenerated.
26149         * nptl/createthread.c: Don't include kernel-features.h.
26150         * nptl/pthread_cancel.c: Likewise.
26151         * nptl/pthread_condattr_setclock.c: Likewise.
26152         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
26153         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
26154         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
26155         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
26156         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
26157         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
26158         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
26160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26161         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
26162         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
26163         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
26164         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
26165         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
26166         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
26167         * nscd/gai.c: Likewise.
26168         * nss/nss_db/db-open.c: Likewise.
26169         * sysdeps/generic/ldsodefs.h: Likewise.
26170         * sysdeps/sh/nptl/tls.h: Likewise.
26171         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26172         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
26173         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
26174         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
26175         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
26176         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26177         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
26178         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26179         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26180         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26181         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26182         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26183         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
26184         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
26185         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
26186         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
26187         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
26188         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
26189         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
26190         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
26191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
26192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
26193         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
26194         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
26195         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
26196         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
26197         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
26198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
26199         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26200         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
26201         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
26202         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
26203         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
26204         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26205         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26206         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26207         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26208         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
26209         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
26210         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26211         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26212         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
26213         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
26214         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26215         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
26216         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
26217         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
26218         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
26219         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
26220         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
26221         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
26222         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
26223         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
26224         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26225         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
26226         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26227         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26228         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
26229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
26231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
26232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
26233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
26234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
26235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
26236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
26237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
26240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
26242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
26243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
26249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
26250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
26251         * sysdeps/unix/sysv/linux/pread.c: Likewise.
26252         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
26253         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
26254         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
26255         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
26256         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
26257         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
26258         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
26259         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
26260         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
26261         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
26262         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
26263         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
26264         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
26265         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
26266         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
26267         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26268         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
26269         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
26270         * sysdeps/unix/sysv/linux/system.c: Likewise.
26271         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
26272         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26273         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26274         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26275         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26276         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26277         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26279         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
26280         * configure: Regenerated.
26281         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
26283         * configure.ac (base_machine): Do not set specially for particular
26284         machines here.
26285         * configure: Regenerated.
26286         * sysdeps/powerpc/preconfigure: Move machine and base_machine
26287         settings from configure.ac.
26288         * sysdeps/i386/preconfigure: New file.
26289         * sysdeps/s390/preconfigure: Likewise.
26290         * sysdeps/sh/preconfigure: Likewise.
26291         * sysdeps/sparc/preconfigure: Likewise.
26293 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26295         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
26296         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
26297         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
26298         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
26299         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
26300         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
26301         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26302         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
26303         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
26304         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
26305         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26306         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
26307         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
26308         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
26309         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
26310         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
26311         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
26312         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
26313         * sysdeps/sparc/sparc64/Makefile: ... appended here.
26315         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
26316         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
26317         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26318         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
26319         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
26320         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26321         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26322         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26323         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26324         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26325         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26326         * sysdeps/sparc/sparc32/sem_post.c: ... here.
26327         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26328         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26329         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26330         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26331         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26332         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26333         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26334         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26335         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26336         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26337         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26338         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26339         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26340         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26341         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26342         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26344         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26345         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26346         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26347         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26348         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26349         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26350         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26351         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26352         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26355         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26357         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26359         Moved ...
26360         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26361         ... here.
26362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26363         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
26364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
26365         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
26366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
26367         Moved ...
26368         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
26369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
26370         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
26371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
26372         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
26373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
26374         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
26375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26376         Moved ...
26377         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
26378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26379         Moved ...
26380         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
26381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
26382         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
26383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26384         Moved ...
26385         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
26386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
26387         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
26388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
26389         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
26390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
26391         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
26392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
26393         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
26394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26395         Moved ...
26396         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
26397         ... here.
26398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
26399         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
26400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
26401         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
26402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
26403         Moved ...
26404         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
26405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
26406         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26408         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26410         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26412         Moved ...
26413         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26415         Moved ...
26416         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26418         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26420         Moved ...
26421         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26423         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26425         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26427 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26429         * timezone/checktab.awk: Update from tzcode 2014e.
26430         * timezone/private.h: Likewise.
26431         * timezone/tzfile.h: Likewise.
26432         * timezone/zdump.c: Likewise.
26433         * timezone/zic.c: Likewise.
26435         * sysdeps/unix/sysv/linux/kernel-features.h
26436         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26437         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26438         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26439         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26440         Remove conditional code.
26442 2014-06-25  Will Newton  <will.newton@linaro.org>
26444         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26445         (_dl_arm_cap_flags): Add HWCAP2 values.
26446         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26447         (_DL_HWCAP_COUNT): Increase to 37.
26448         (_DL_HWCAP_LAST): New define.
26449         (_DL_HWCAP2_LAST): New define.
26450         (_dl_procinfo): Add support for printing
26451         AT_HWCAP2 entries.
26452         (_dl_string_hwcap): Use _dl_hwcap_string.
26454 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26458 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26460         * README: Do not mention ports directory.
26462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26463         Remove macro.
26464         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26465         <kernel-features.h>.
26466         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26467         conditional variable definition.
26468         (__futimes): Update comment.
26469         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26470         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26472         [BZ #16560]
26473         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26474         arguments close to 0.
26475         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26476         Likewise.
26477         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26478         Likewise.
26479         * math/auto-libm-test-in: Add more tests of exp10.
26480         * math/auto-libm-test-out: Regenerated.
26481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26483         * sysdeps/unix/sysv/linux/kernel-features.h
26484         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26485         * sysdeps/unix/sysv/linux/readv.c: Do not include
26486         <kernel-features.h>.
26487         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26488         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26489         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26490         unconditional.
26491         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26492         conditional code.
26493         * sysdeps/unix/sysv/linux/writev.c: Do not include
26494         <kernel-features.h>.
26495         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26496         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26497         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26498         unconditional.
26499         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26500         conditional code.
26502 2014-06-25  Will Newton  <will.newton@linaro.org>
26504         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26505         comment changes throughout the file.  Remove checks
26506         for HAVE_*_H definitions that are not required.
26507         (__gen_tempname): Call abort if an unknown kind value is
26508         passed.
26510 2014-06-25  Andreas Schwab  <schwab@suse.de>
26512         [BZ #17086]
26513         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26514         scalbln, scalblnf, scalblnl in libc.
26516 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26518         [BZ #17086]
26519         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26520         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26521         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26523 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26525         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26526         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26527         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26528         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26529         Update #include.
26530         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26531         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26532         Update #include.
26533         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26534         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26535         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26536         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26537         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26538         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26539         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26540         * sysdeps/x86/bits/semaphore.h: ... here.
26541         * sysdeps/x86/nptl/elide.h: Moved ...
26542         * sysdeps/x86/elide.h: ... here.
26543         * sysdeps/x86_64/nptl/Implies: File removed.
26544         * sysdeps/i386/nptl/Implies: File removed.
26546 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26548         [BZ #16539]
26549         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26550         return the argument for normal arguments with exponent below -64.
26551         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26552         Likewise.
26553         * math/auto-libm-test-in: Add another test of expm1.
26554         * math/auto-libm-test-out: Regenerated.
26556         [BZ #16287]
26557         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26558         calling __erfcl for arguments at least 16.
26559         * math/auto-libm-test-in: Add more tests of erf.
26560         * math/auto-libm-test-out: Regenerated.
26562         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26563         individual architectures.
26564         * sysdeps/unix/sysv/linux/configure: Regenerated.
26565         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26566         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26567         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26568         (ldd_rewrite_script): Define variable.
26569         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26571         file.
26572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26573         generated file.
26574         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26575         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26576         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26577         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26578         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26579         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26580         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26581         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26583 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26585         [BZ #17084]
26586         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26587         Rename member __data.d to __data.__elision_data.
26589 2014-06-24  Wilco  <wdijkstr@arm.com>
26591         * NEWS: Add 16918 to fixed bug list.
26593 2014-06-24  Wilco  <wdijkstr@arm.com>
26595         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26597 2014-06-24  Wilco  <wdijkstr@arm.com>
26599         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26600         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26601         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26602         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26603         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26604         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26605         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26606         Use _FPU_MASK_RM.
26608 2014-06-24  Wilco  <wdijkstr@arm.com>
26610         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26612 2014-06-24  Wilco  <wdijkstr@arm.com>
26614         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26615         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26616         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26617         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26619 2014-06-24  Wilco  <wdijkstr@arm.com>
26621         [BZ #16918]
26622         * sysdeps/arm/feupdateenv.c (feupdateenv):
26623         Rewrite to reduce FPSCR accesses and fix return value.
26625 2014-06-24  Wilco  <wdijkstr@arm.com>
26627         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26628         Optimize to avoid unnecessary FPSCR writes.
26629         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26630         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26631         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26632         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26634 2014-06-24  Wilco  <wdijkstr@arm.com>
26636         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26637         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26638         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26639         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26640         Call libc_fetestexcept_vfp.
26641         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26642         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26643         __SOFTFP__ ifdef so that they can be built for softfp.
26645 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26647         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26648         argument type signed char.
26650         * Makerules (check-abi): Dump diff of symlist if the test
26651         fails.
26653 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26655         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26656         using abort.
26658         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26659         Remove unused variable ST.
26661 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26663         [BZ #16354]
26664         [BZ #17061]
26665         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26666         small arguments before calling __expm1.
26667         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26668         small arguments before calling __expm1f.
26669         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26670         small arguments before calling __expm1l.
26671         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26672         Likewise.
26673         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26674         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26675         spurious underflow for some cosh tests.
26676         * math/auto-libm-test-out: Regenerated.
26677         * sysdeps/i386/fpu/libm-test-ulps: Update.
26679         [BZ #17050]
26680         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26681         (__ieee754_y1): Set errno if return value overflows.
26682         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26683         (__ieee754_y1f): Set errno if return value overflows.
26684         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26685         (__ieee754_y1l): Set errno if return value overflows.
26686         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26687         (__ieee754_y1l): Set errno if return value overflows.
26688         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26689         * math/auto-libm-test-out: Regenerated.
26691         * math/gen-auto-libm-tests.c: Document use of
26692         ignore-zero-inf-sign.
26693         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26694         (input_flags): Add ignore-zero-inf-sign.
26695         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26696         * math/gen-libm-test.pl (generate_testfile): Handle
26697         ignore-zero-inf-sign.
26698         * math/auto-libm-test-in: Mark some cpow tests with
26699         ignore-zero-inf-sign and some with xfail-rounding.
26700         * math/auto-libm-test-out: Regenerated.
26701         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26702         * sysdeps/i386/fpu/libm-test-ulps: Update.
26703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26705         [BZ #16315]
26706         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26707         overflowing or underflowing operations take place with sign of
26708         result.
26709         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26710         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26711         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26712         (__ieee754_pow): Recompute overflowing and underflowing results in
26713         original rounding mode.
26714         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26715         (__powl_helper): Allow negative argument X and scale negated value
26716         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26717         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26718         overflowing or underflowing operations take place with sign of
26719         result.
26720         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26721         Include <math.h>.
26722         * math/auto-libm-test-in: Add more tests of pow.
26723         * math/auto-libm-test-out: Regenerated.
26724         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26725         (pow_tonearest_test_data): Remove.
26726         (pow_test_tonearest): Likewise.
26727         (pow_towardzero_test_data): Likewise.
26728         (pow_test_towardzero): Likewise.
26729         (pow_downward_test_data): Likewise.
26730         (pow_test_downward): Likewise.
26731         (pow_upward_test_data): Likewise.
26732         (pow_test_upward): Likewise.
26733         (main): Don't call removed functions.
26734         * sysdeps/i386/fpu/libm-test-ulps: Update.
26735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26737 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26740         Moved ...
26741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26743         Moved ...
26744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26746         Moved ...
26747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26749         Moved ...
26750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26752         File removed.
26753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26754         File removed.
26755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26756         File removed.
26757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26758         File removed.
26759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26760         File removed.
26761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26762         File removed.
26763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26764         File removed.
26765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26766         File removed.
26767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26768         File removed.
26769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26770         File removed.
26771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26772         File removed.
26773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26774         File removed.
26775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26776         Moved ...
26777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26779         Moved ...
26780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26781         ... here.
26782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26783         Moved ...
26784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26786         Moved ...
26787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26789         Moved ...
26790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26792         Moved ...
26793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26795         Moved ...
26796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26798         Moved ...
26799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26801         Moved ...
26802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26805         ... here.
26806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26807         Moved ...
26808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26810         Moved ...
26811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26812         ... here.
26813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26814         Moved ...
26815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26816         ... here.
26817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26818         Moved ...
26819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26820         ... here.
26821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26822         Moved ...
26823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26825         Moved ...
26826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26830         Moved ...
26831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26832         ... here.
26833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26834         Moved ...
26835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26836         ... here.
26837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26838         Moved ...
26839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26841         Moved ...
26842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26844         Moved ...
26845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26847         Moved ...
26848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26850         Moved ...
26851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26852         ... here.
26853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26854         Moved ...
26855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26857         Moved ...
26858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26860         Moved ...
26861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26863         Moved ...
26864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26868         Moved ...
26869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26871         Moved ...
26872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26874         Moved ...
26875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26876         ... here.
26877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26878         Moved ...
26879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26880         ... here.
26881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26882         Moved ...
26883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26884         ... here.
26885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26886         Moved ...
26887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26889         Moved ...
26890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26892         Moved ...
26893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26895         Moved ...
26896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26897         ... here.
26898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26899         Moved ...
26900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26901         ... here.
26902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26903         Moved ...
26904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26905         ... here.
26906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26907         Moved ...
26908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26910         Moved ...
26911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26913 2014-06-23  Will Newton  <will.newton@linaro.org>
26914             Wilco  <wdijkstr@arm.com>
26916         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26917         implementation.  Include get-rounding-mode.h.
26918         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26919         [!libc_feholdsetround_noex_ctx]: Define
26920         libc_feholdsetround_noex_ctx.
26921         [!libc_feholdsetround_noexf_ctx]: Define
26922         libc_feholdsetround_noexf_ctx.
26923         [!libc_feholdsetround_noexl_ctx]: Define
26924         libc_feholdsetround_noexl_ctx.
26925         (libc_feholdsetround_ctx): New function.
26926         (libc_feresetround_ctx): New function.
26927         (libc_feholdsetround_noex_ctx): New function.
26928         (libc_feresetround_noex_ctx): New function.
26930 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26932         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26933         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26934         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26935         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26936         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26937         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26939         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26940         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26941         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26942         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26943         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26944         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26945         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26946         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26947         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26948         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26949         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26950         Moved ...
26951         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26952         ... here.
26953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26954         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26955         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26956         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26958         Moved ...
26959         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26960         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26961         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26962         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26963         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26964         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26965         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26966         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26967         Moved ...
26968         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26969         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26970         Moved ...
26971         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26973         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26974         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26975         Moved ...
26976         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26977         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26978         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26979         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26980         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26981         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26982         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26983         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26984         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26985         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26986         Moved ...
26987         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26988         ... here.
26989         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26990         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26991         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26992         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26994         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26996         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26998         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
27000         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
27001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
27002         Moved ...
27003         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
27004         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
27005         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
27006         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
27007         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
27008         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
27009         Moved ...
27010         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
27011         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
27012         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
27013         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
27014         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
27016         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
27017         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
27018         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
27019         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
27020         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
27021         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
27022         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
27023         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
27024         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
27025         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
27026         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
27027         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
27028         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
27029         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
27030         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
27031         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
27032         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
27033         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
27034         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
27035         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
27036         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
27037         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
27038         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
27039         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
27040         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
27041         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
27042         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
27043         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
27045 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27048         (FALLOC_FL_COLLAPSE_RANGE): New macro.
27049         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
27050         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
27051         (IPV6_PMTUDISC_INTERFACE): Likewise.
27052         (IPV6_PMTUDISC_OMIT): Likewise.
27054 2014-06-23  Andreas Schwab  <schwab@suse.de>
27056         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
27057         Remove unused errout label.
27059 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27061         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
27062         macro: hardware supports Vector Crypto instructions.
27064 2014-06-23  Will Newton  <will.newton@linaro.org>
27066         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
27067         rather than __builtin_expect.
27069         * elf/dl-lookup.c (undefined_msg): Remove variable.
27070         (_dl_lookup_symbol_x): Replace undefined_msg with string
27071         literal.
27073         * elf/dl-lookup.c (do_lookup_unique): New function.
27074         (do_lookup_x): Move STB_GNU_UNIQUE handling code
27075         to a separate function.
27077 2014-06-23  Andreas Schwab  <schwab@suse.de>
27079         [BZ #17079]
27080         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
27081         before reading the next line.
27083 2014-06-23  Will Newton  <will.newton@linaro.org>
27085         * test-skeleton.c (signal_handler): Use printf and %m
27086         rather than perror.  Use printf rather than fprintf to
27087         stderr.  Use puts rather than fputs to stderr.
27088         (main): Likewise.
27090 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
27092         * nscd/nscd.c (thread_info_t): Remove typedef.
27093         (thread_info): Remove variable.
27095 2014-06-21  Allan McRae  <allan@archlinux.org>
27097         * NEWS: Mention CVE-2014-4043.
27099 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27101         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
27102         * nptl/smp.h: ... here.
27104         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
27106         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
27107         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
27108         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
27109         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
27111         * nptl/allocatestack.c: Include <stack-aliasing.h>.
27112         * nptl/stack-aliasing.h: New file.
27113         * sysdeps/i386/i686/stack-aliasing.h: New file.
27114         * sysdeps/i386/i686/nptl/Makefile: File removed.
27115         * sysdeps/x86_64/stack-aliasing.h: New file.
27116         * sysdeps/x86_64/nptl/Makefile
27117         (CFLAGS-pthread_create.c): Variable removed.
27119         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
27120         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
27121         old file.
27122         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
27123         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
27124         old file.
27126 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
27128         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27129         (__ASSUME_SIGFRAME_V2): Remove macro.
27130         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
27131         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
27132         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
27133         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
27134         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
27135         Declare as function.  Remove conditional macro definitions.
27136         (__default_rt_sa_restorer): Likewise.
27137         (__default_sa_restorer_v1): Remove declaration.
27138         (__default_sa_restorer_v2): Likewise.
27139         (__default_rt_sa_restorer_v1): Likewise.
27140         (__default_rt_sa_restorer_v2): Likewise.
27141         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
27142         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
27143         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
27145 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27147         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
27148         (libpthread-routines): Add sysdep.
27149         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
27150         * sysdeps/unix/sysv/linux/sparc/Versions
27151         (libpthread: GLIBC_2.3.3): New version set.
27152         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
27153         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
27154         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
27155         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
27156         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
27157         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
27158         Moved ...
27159         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
27160         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
27161         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
27162         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
27163         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
27164         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
27165         * sysdeps/sparc/nptl/sem_init.c: ... here.
27166         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
27167         * sysdeps/sparc/nptl/sem_post.c: ... here.
27168         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
27169         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
27170         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27171         * sysdeps/sparc/nptl/sem_wait.c: ... here.
27172         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
27173         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
27174         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
27175         (libpthread-routines): Add cpu_relax.
27176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
27177         File removed.
27178         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
27179         (librt: GLIBC_2.3.3): New version set.
27180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
27181         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
27182         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
27183         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
27184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
27185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
27186         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
27187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
27188         Moved ...
27189         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
27190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
27191         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
27192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
27193         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
27194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
27195         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
27196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
27197         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
27198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
27199         Moved ...
27200         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
27201         Update #include.
27202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
27203         Moved ...
27204         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
27205         Update #include.
27206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
27207         Moved ...
27208         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
27209         Update #include.
27210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
27211         Moved ...
27212         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
27213         Update #include.
27214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
27215         Moved ...
27216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
27217         Update #include.
27218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
27219         Moved ...
27220         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
27221         Update #include.
27222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
27223         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
27224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
27225         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
27226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
27227         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
27228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
27229         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
27230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
27231         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
27232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27233         Moved ...
27234         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
27235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
27236         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
27237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
27238         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
27240 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27242         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
27243         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
27244         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27245         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
27246         * nscd/nscd.c: Likewise.
27247         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
27248         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
27249         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
27250         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
27252         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
27253         <kernel-features.h>.
27254         (init_mq_netlink): Remove conditional have_sock_cloexec
27255         definitions.  Remove code conditional on have_sock_cloexec < 0.
27256         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
27257         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
27258         * sysdeps/unix/sysv/linux/opensock.c: Do not include
27259         <kernel-features.h>.
27260         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
27261         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
27263 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27266         Add tests for memset_chk and memset.
27268         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
27269         with AVX2_Usable.
27271 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27273         [BZ #16046]
27274         * elf/tst-dl-iter-static.c: New file.
27275         * elf/Makefile (tests-static): Add tst-dl-iter-static.
27277         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
27278         error.
27280 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27282         * sysdeps/unix/sysv/linux/kernel-features.h
27283         (__ASSUME_F_GETOWN_EX): Remove macro.
27284         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
27285         <kernel-features.h>.
27286         (miss_F_GETOWN_EX): Remove variable or macro.
27287         (do_fcntl): Do not check miss_F_GETOWN_EX.
27288         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
27290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
27291         Remove macro.
27292         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
27293         [!__ASSUME_AT_RANDOM]: Remove conditional code.
27294         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
27296         * sysdeps/unix/sysv/linux/kernel-features.h
27297         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
27298         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
27299         [ADJ_OFFSET_SS_READ]: Make code unconditional.
27300         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
27302 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27304         [BZ #17075]
27305         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
27306         Fix calculation of the symbol's value.
27307         * sysdeps/arm/tst-armtlsdescloc.c: New file.
27308         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
27309         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
27310         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
27311         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
27312         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
27313         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
27314         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
27315         (modules-names): Add `tst-armtlsdescmod',
27316         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
27317         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
27318         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27319         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27320         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27321         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27322         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27323         ($(objpfx)tst-armtlsdescloc): New dependency.
27324         ($(objpfx)tst-armtlsdescextnow): Likewise.
27325         ($(objpfx)tst-armtlsdescextlazy): Likewise.
27326         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27327         TLS scheme support.
27328         * sysdeps/arm/configure: Regenerate.
27330 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27332         * include/fcntl.h (__atfct_seterrno): Remove prototype.
27333         (__atfct_seterrno_2): Likewise.
27334         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27335         <kernel-features.h>.
27336         (__ASSUME_ATFCTS): Do not undefine and redefine.
27337         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27338         (__have_atfcts): Remove conditional definition.
27339         (__fxstatat([__NR_fstatat64]: Make code unconditional.
27340         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27341         unreachable if [__ASSUME_ATFCTS].
27342         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27343         not undefine and redefine.
27344         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27345         <kernel-features.h>.
27346         (faccessat) [__NR_faccessat]: Make code unconditional.
27347         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27348         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27349         <kernel-features.h>.
27350         (fchmodat) [__NR_fchmodat]: Make code unconditional.
27351         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27352         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27353         <kernel-features.h>.
27354         (fchownat) [__NR_fchownat]: Make code unconditional.
27355         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27356         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27357         <kernel-features.h>.
27358         (futimesat) [__NR_futimesat]: Make code unconditional.
27359         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27360         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27361         <kernel-features.h>.
27362         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27363         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27364         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27365         <kernel-features.h>.
27366         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
27367         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27368         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
27369         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27370         <kernel-features.h>.
27371         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
27372         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27373         * sysdeps/unix/sysv/linux/linkat.c: Do not include
27374         <kernel-features.h>.
27375         (linkat) [__NR_linkat]: Make code unconditional.
27376         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27377         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
27378         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
27379         <kernel-features.h>.
27380         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
27381         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27382         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
27383         <kernel-features.h>.
27384         (mkdirat) [__NR_mkdirat]: Make code unconditional.
27385         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
27386         * sysdeps/unix/sysv/linux/openat.c: Do not include
27387         <kernel-features.h>.
27388         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
27389         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
27390         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
27391         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
27392         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
27393         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
27394         <kernel-features.h>.
27395         (readlinkat) [__NR_readlinkat]: Make code unconditional.
27396         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
27397         result of INLINE_SYSCALL directly, not via int variable.
27398         * sysdeps/unix/sysv/linux/renameat.c: Do not include
27399         <kernel-features.h>.
27400         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
27401         (renameat) [__NR_renameat]: Make code unconditional.
27402         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
27403         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
27404         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
27405         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
27406         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27407         (__ASSUME_ATFCTS): Do not undefine and redefine.
27408         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27409         <kernel-features.h>.
27410         (symlinkat) [__NR_symlinkat]: Make code unconditional.
27411         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27412         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27413         <kernel-features.h>.
27414         (unlinkat) [__NR_unlinkat]: Make code unconditional.
27415         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27416         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27417         (__ASSUME_ATFCTS): Do not undefine and redefine.
27418         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27419         <kernel-features.h>.
27420         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27421         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27422         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27423         <kernel-features.h>.
27424         (__xmknodat) [__NR_mknodat]: Make code unconditional.
27425         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27427 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27429         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27431 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
27433         [BZ #17069]
27434         * posix/regcomp.c (parse_reg_exp): Deallocate partially
27435         constructed tree before returning error.
27436         * posix/bug-regexp36.c: Expand test case.
27438 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27440         [BZ #6803]
27441         * math/libm-test.inc (scalbln_test_date):
27442         Add errno expectations.
27443         * math/w_scalblnf.c: New File.
27444         Add wrapper which checks for setting errno to ERANGE.
27445         Add weak_alias for corresponding scalbln function.
27446         * math/w_scalbln.c: Likewise.
27447         * math/w_scalblnl.c: Likewise.
27448         * math/Makefile (libm-calls): Add w_scalbln.
27449         * sysdeps/ieee754/flt-32/s_scalblnf.c:
27450         Remove weak_alias for corresponding scalbln function.
27451         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27453         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27454         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27455         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27456         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27457         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27458         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27459         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27460         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27461         Remove long_double_symbol for scalblnl function in libm, libc.
27462         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27463         Add wrapper which checks for setting errno to ERANGE.
27464         Add long_double_symbol for scalblnl function in libm, libc.
27465         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27466         Remove long_double_symbol for scalblnl in libm.
27467         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27468         Add wrapper which checks for setting errno to ERANGE.
27469         Add long_double_symbol for scalblnl function in libm.
27470         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27471         Do not use wrapper because of own implementation.
27473 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27475         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27476         3 bytes for __pad1 for x32.
27477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27479 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27480             H.J. Lu  <hongjiu.lu@intel.com>
27482         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27483         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27484         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27485         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27486         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27488 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27490         [BZ #17069]
27491         * posix/regcomp.c (parse_expression): Deallocate partially
27492         constructed tree before returning error.
27493         * posix/Makefile.c (tests): Add bug-regex36.
27494         (generated): Add bug-regex36.mtrace.
27495         (tests-special): Add $(objpfx)bug-regex36-mem.out
27496         (bug-regex36-ENV): New variable.
27497         ($(objpfx)bug-regex36-mem.out): New rule.
27498         * posix/bug-regex36.c: New file.
27500 2014-06-19  Will Newton  <will.newton@linaro.org>
27502         * malloc/malloc.c (systrim): If extra is zero then return
27503         early.
27505 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27507         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27509 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27511         * sysdeps/aarch64/strchr.S: New file.
27513 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27515         [BZ #17022]
27516         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27517         from arguments -2 or below.
27518         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27519         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27521 2014-06-18  Andreas Schwab  <schwab@suse.de>
27523         [BZ #17062]
27524         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27525         of a bracket expr not to run off the end of the string.
27526         * posix/Makefile (tests): Add tst-fnmatch3.
27527         * posix/tst-fnmatch3.c: New file.
27529 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27531         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27532         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27533         [$(cross-compiling) = no]: Likewise.
27534         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27535         [$(cross-compiling) = no]: Likewise.
27537 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27539         [BZ #17031]
27540         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27541         double, adjusted for any remainder from the high double.
27542         * math/libm-test.inc (nearbyint): Add tests.
27543         (rint): Likewise.
27545 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27547         * nptl/sysdeps/powerpc/Makefile: Moved ...
27548         * sysdeps/powerpc/nptl/Makefile: ... here.
27549         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27550         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27551         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27552         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27553         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27554         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27555         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27556         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27557         * nptl/sysdeps/powerpc/tls.h: Moved ...
27558         * sysdeps/powerpc/nptl/tls.h: ... here.
27560 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27562         [BZ #16681]
27563         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27564         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27565         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27566         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27567         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27568         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27569         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27570         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27571         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27573 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27575         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27577 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27579         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27580         defined operator.
27582         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27583         $TIMEOUTFACTOR.
27585 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27587         [BZ #17058]
27588         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27589         non-executed part of the test.
27591 2014-06-16  Andreas Schwab  <schwab@suse.de>
27593         * string/bits/string2.h (strdup, strndup): Update feature guard.
27595 2014-06-14  David S. Miller  <davem@davemloft.net>
27597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27599 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27601         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27602         that was previously under [RESET_PID].
27603         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27605         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27606         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27607         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27608         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27609         (__libc_vfork): New strong alias.
27610         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27612 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27614         * sysdeps/generic/elide.h: New file.
27616 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27618         * Makefile (installed-headers): Adjust path of pthread.h header.
27620 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27622         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27623         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27624         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27625         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27627         * nptl/sysdeps/s390/Makefile: Moved ...
27628         * sysdeps/s390/nptl/Makefile: ... here.
27629         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27630         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27631         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27632         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27633         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27634         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27635         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27636         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27637         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27638         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27639         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27640         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27641         * nptl/sysdeps/s390/tls.h: Moved ...
27642         * sysdeps/s390/nptl/tls.h: ... here.
27644         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27645         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27647 2014-06-13  David S. Miller  <davem@davemloft.net>
27649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27652         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27656         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27657         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27658         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27659         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27660         Remove RESET_PID cpp guards.
27661         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27662         Remove RESET_PID cpp guards.
27663         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27665 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27667         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27668         __sp to uintptr_t.
27670 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27672         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27673         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27674         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27675         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27676         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27677         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27679         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27680         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27681         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27682         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27684         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27685         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27686         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27687         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27688         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27689         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27690         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27691         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27693         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27694         (pthread_rwlock_rdlock): Add elision.
27695         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27696         (pthread_rwlock_wrlock): Add elision.
27697         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27698         (pthread_rwlock_trywrlock): Add elision.
27699         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27700         (pthread_rwlock_tryrdlock): Add elision.
27701         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27702         (pthread_rwlock_tryrdlock): Add elision unlock.
27703         * nptl/sysdeps/pthread/pthread.h:
27704         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27705         (PTHREAD_RWLOCK_INITIALIZER,
27706         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27707         Handle new elision field.
27708         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27709         * sysdeps/arm/nptl/bits/pthreadtypes.h
27710         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27711         * sysdeps/sh/nptl/bits/pthreadtypes.h
27712         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27713         * sysdeps/tile/nptl/bits/pthreadtypes.h
27714         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27715         * sysdeps/a/nptl/bits/pthreadtypes.h
27716         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27717         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27718         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27719         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27721         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27723         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27725         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27727         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27729         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27731         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27733         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27734         (elision_init): Set try_xbegin to zero when no RTM.
27735         * sysdeps/x86/nptl/bits/pthreadtypes.h
27736         (pthread_rwlock_t): Change __pad1 to __rwelision.
27737         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27739 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27741         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27742         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27743         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27744         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27746 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27748         [BZ #16996]
27749         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27750         that the cached result has been set before returning it.
27752 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27754         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27755         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27756         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27757         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27758         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27759         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27761         * nptl/sysdeps/sparc/Makefile: Moved ...
27762         * sysdeps/sparc/nptl/Makefile: ... here.
27763         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27764         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27765         * nptl/sysdeps/sparc/tls.h: Moved ...
27766         * sysdeps/sparc/nptl/tls.h: ... here.
27767         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27768         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27769         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27770         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27771         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27772         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27773         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27774         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27775         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27776         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27777         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27778         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27779         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27780         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27781         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27782         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27783         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27784         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27785         Update #include.
27786         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27787         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27788         Update #include.
27789         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27790         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27791         Update #include.
27792         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27794         Update #include.
27796         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27798         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27799         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27801         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27802         (struct list_links): Type removed.
27803         (struct thread_node, struct timer_node): Replace struct list_links
27804         with struct list_head.
27805         (list_unlink_ip): Likewise.
27806         * sysdeps/pthread/timer_routines.c
27807         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27808         (list_append, list_insbefore): Likewise.
27809         (list_init): Function removed.
27810         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27811         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27812         * sysdeps/pthread/Makefile: ... here, new file.
27814         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27815         * sysdeps/nptl/Implies: ... here.
27816         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27817         * nptl/sysdeps/pthread/list.h: Moved ...
27818         * include/list.h: ... here.
27819         * nptl/sysdeps/pthread/createthread.c: Moved ...
27820         * nptl/createthread.c: ... here.
27821         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27822         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27823         * nptl/pt-longjmp.c: ... here.
27824         * nptl/sysdeps/pthread/Makefile: Moved ...
27825         * sysdeps/nptl/Makefile: ... here.
27826         * nptl/sysdeps/pthread/Subdirs: Moved ...
27827         * sysdeps/nptl/Subdirs: ... here.
27828         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27829         * sysdeps/nptl/aio_misc.h: ... here.
27830         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27831         * sysdeps/nptl/bits/libc-lock.h: ... here.
27832         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27833         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27834         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27835         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27836         * nptl/sysdeps/pthread/configure: Moved ...
27837         * sysdeps/nptl/configure: ... here.
27838         * nptl/sysdeps/pthread/configure.ac: Moved ...
27839         * sysdeps/nptl/configure.ac: ... here.
27840         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27841         * sysdeps/nptl/gai_misc.h: ... here.
27842         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27843         * sysdeps/nptl/librt-cancellation.c: ... here.
27844         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27845         * sysdeps/nptl/malloc-machine.h: ... here.
27846         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27847         * sysdeps/nptl/pthread-functions.h: ... here.
27848         * nptl/sysdeps/pthread/pthread.h: Moved ...
27849         * sysdeps/nptl/pthread.h: ... here.
27850         * nptl/sysdeps/pthread/setxid.h: Moved ...
27851         * sysdeps/nptl/setxid.h: ... here.
27852         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27853         * sysdeps/nptl/sigfillset.c: ... here.
27854         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27855         * sysdeps/nptl/tcb-offsets.h: ... here.
27856         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27857         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27858         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27859         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27860         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27861         * sysdeps/pthread/allocalim.h: ... here.
27862         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27863         * sysdeps/pthread/bits/sigthread.h: ... here.
27864         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27865         * sysdeps/pthread/flockfile.c: ... here.
27866         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27867         * sysdeps/pthread/ftrylockfile.c: ... here.
27868         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27869         * sysdeps/pthread/funlockfile.c: ... here.
27870         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27871         * sysdeps/pthread/posix-timer.h: ... here.
27872         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27873         * sysdeps/pthread/timer_create.c: ... here.
27874         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27875         * sysdeps/pthread/timer_delete.c: ... here.
27876         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27877         * sysdeps/pthread/timer_getoverr.c: ... here.
27878         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27879         * sysdeps/pthread/timer_gettime.c: ... here.
27880         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27881         * sysdeps/pthread/timer_routines.c: ... here.
27882         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27883         * sysdeps/pthread/timer_settime.c: ... here.
27884         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27885         * sysdeps/pthread/tst-timer.c: ... here.
27886         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27887         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27889         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27890         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27892         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27893         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27894         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27895         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27896         Update #include target.
27897         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27898         * sysdeps/i386/i686/nptl/Makefile: ... here.
27899         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27900         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27901         Update #include target.
27902         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27903         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27904         * nptl/sysdeps/i386/Makefile: Moved ...
27905         * sysdeps/i386/nptl/Makefile: ... here.
27906         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27907         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27908         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27909         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27910         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27911         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27912         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27913         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27914         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27915         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27916         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27917         * nptl/sysdeps/i386/tls.h: Moved ...
27918         * sysdeps/i386/nptl/tls.h: ... here.
27920         * sysdeps/sh/Makefile [$(subdir) = csu]
27921         (gen-as-const-headers): Add tcb-offsets.sym.
27922         * nptl/sysdeps/sh/Makefile: File removed.
27923         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27924         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27925         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27926         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27927         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27928         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27929         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27930         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27931         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27932         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27933         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27934         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27935         * nptl/sysdeps/sh/tls.h: Moved ...
27936         * sysdeps/sh/nptl/tls.h: ... here.
27937         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27938         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27939         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27940         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27941         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27942         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27943         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27944         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27945         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27946         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27947         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27948         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27949         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27950         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27951         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27952         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27953         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27954         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27955         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27956         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27958         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27959         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27960         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27962         Moved ...
27963         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27964         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27965         Moved ...
27966         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27968         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27969         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27970         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27971         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27972         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27973         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27974         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27975         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27976         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27977         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27978         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27979         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27980         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27981         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27982         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27983         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27984         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27986 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27988         * posix/spawn_faction_addopen.c: Include string.h.
27990 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27992         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27993         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27994         * nptl/sysdeps/x86_64/Makefile: Moved ...
27995         * sysdeps/x86_64/nptl/Makefile: ... here.
27996         * nptl/sysdeps/x86_64/configure: Moved ...
27997         * sysdeps/x86_64/nptl/configure: ... here.
27998         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27999         * sysdeps/x86_64/nptl/configure.ac: ... here.
28000         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
28001         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
28002         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
28003         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
28004         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
28005         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
28006         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
28007         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
28008         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
28009         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
28010         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
28011         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
28012         * nptl/sysdeps/x86_64/tls.h: Moved ...
28013         * sysdeps/x86_64/nptl/tls.h: ... here.
28014         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
28015         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
28016         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
28017         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
28019         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
28021 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28025 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
28027         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
28028         type.
28029         [POSIX] (off_t): Likewise.
28030         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
28031         [POSIX] (S_ISBLK): Require macro.
28032         [POSIX] (S_ISCHR): Likewise.
28033         [POSIX] (S_ISDIR): Likewise.
28034         [POSIX] (S_ISFIFO): Likewise.
28035         [POSIX] (S_ISREG): Likewise.
28036         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
28037         optional-macro.
28038         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
28039         type.
28040         [POSIX] (time_t): Likewise.
28041         [POSIX] (timer_t): Likewise.
28043 2014-06-11  Florian Weimer  <fweimer@redhat.com>
28045         [BZ #17048]
28046         * posix/spawn_int.h (struct __spawn_action): Make the path string
28047         non-const to support deallocation.
28048         * posix/spawn_faction_addopen.c
28049         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
28050         * posix/spawn_faction_destroy.c
28051         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
28052         path in all spawn_do_open actions.
28053         * posix/tst-spawn.c (do_test): Exercise the copy operation in
28054         posix_spawn_file_actions_addopen.
28056 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
28058         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
28059         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
28060         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
28061         conditional code always true.
28062         (__libc_vfork): New alias.
28064 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28066         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28067         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
28069         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
28071         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28072         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
28074         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28075         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
28077         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28078         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
28080 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28082         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
28083         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
28084         multiarch strcmp for PPC64.
28085         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
28086         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
28087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
28088         multiarch optimizations.
28089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28090         (__libc_ifunc_impl_list): Likewise.
28092 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28094         * benchtests/scripts/validate_benchout.py: New script.
28095         * benchtests/Makefile (bench-func): Call it.
28096         * benchtests/scripts/benchout.schema.json: New file.
28098 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
28100         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
28101         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
28102         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
28103         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
28104         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
28105         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
28106         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
28107         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
28108         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
28109         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
28110         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
28111         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
28112         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
28113         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
28114         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
28115         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
28116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
28117         Moved ...
28118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
28119         ... here.
28120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
28121         Moved ...
28122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
28123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
28124         Moved ...
28125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
28126         ... here.
28127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
28128         Moved ...
28129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
28130         ... here.
28131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
28132         Moved ...
28133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
28134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
28135         Moved ...
28136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
28137         ... here.
28138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
28139         Moved ...
28140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
28141         ... here.
28142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
28143         Moved ...
28144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
28145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
28146         Moved ...
28147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
28148         ... here.
28149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
28150         Moved ...
28151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
28152         ... here.
28153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
28154         Moved ...
28155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
28156         ... here.
28157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
28158         Moved ...
28159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
28160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
28161         Moved ...
28162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
28163         ... here.
28164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
28165         Moved ...
28166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
28167         ... here.
28168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
28169         Moved ...
28170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
28171         ... here.
28172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
28173         Moved ...
28174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
28175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
28176         Moved ...
28177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
28178         ... here.
28179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
28180         Moved ...
28181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
28182         ... here.
28183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
28184         Moved ...
28185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
28186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
28187         Moved ...
28188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
28189         ... here.
28190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
28191         Moved ...
28192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
28193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
28194         Moved ...
28195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
28196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
28197         Moved ...
28198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
28199         ... here.
28200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
28201         Moved ...
28202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
28203         ... here.
28204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
28205         Moved ...
28206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
28207         ... here.
28208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
28209         Moved ...
28210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
28211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
28212         Moved ...
28213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
28214         ... here.
28215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
28216         Moved ...
28217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
28218         ... here.
28219         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
28220         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
28221         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
28222         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
28223         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
28224         Moved ...
28225         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
28226         ... here.
28227         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
28228         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
28229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
28230         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
28231         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
28232         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
28233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
28234         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
28235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
28236         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
28237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
28238         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
28239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
28240         Moved ...
28241         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
28242         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
28243         Moved ...
28244         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
28245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
28246         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
28247         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
28248         Moved ...
28249         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
28250         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
28251         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
28252         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
28253         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
28254         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
28255         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
28257 2014-06-10  Wilco  <wdijkstr@arm.com>
28259         * math/test-fenv-return.c: New file.
28260         * math/Makefile: Add new test test-fenv-return.
28262 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
28264         [BZ #17042]
28265         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
28266         when x - 1 is zero.
28267         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
28268         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
28269         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
28270         0.0L for an argument of 1.0L.
28271         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28272         Likewise.
28273         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
28274         value when x - 1 is zero.
28275         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
28276         * sysdeps/i386/fpu/libm-test-ulps: Update.
28277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28279 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
28281         [BZ #15119]
28282         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
28284 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28286         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
28287         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
28289 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28291         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28292         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
28294         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28295         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
28297         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28298         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
28300         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28301         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
28303         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
28304         if not already defined.
28305         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28306         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
28307         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
28308         (TLS_INIT_TP): Use it.
28309         (TLS_DEFINE_INIT_TP): New macro.
28310         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
28312 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
28314         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
28315         constant.
28316         [POSIX] (IXANY): Likewise.
28317         [POSIX] (OLCUC): Likewise.
28318         [POSIX || POSIX2008] (CBAUD): Do not allow.
28319         [POSIX || POSIX2008] (DEFECHO): Likewise.
28320         [POSIX || POSIX2008] (ECHOCTL): Likewise.
28321         [POSIX || POSIX2008] (ECHOKE): Likewise.
28322         [POSIX || POSIX2008] (ECHOPRT): Likewise.
28323         [POSIX || POSIX2008] (EXTA): Likewise.
28324         [POSIX || POSIX2008] (EXTB): Likewise.
28325         [POSIX || POSIX2008] (FLUSHO): Likewise.
28326         [POSIX || POSIX2008] (LOBLK): Likewise.
28327         [POSIX || POSIX2008] (PENDIN): Likewise.
28328         [POSIX || POSIX2008] (SWTCH): Likewise.
28329         [POSIX || POSIX2008] (VDISCARD): Likewise.
28330         [POSIX || POSIX2008] (VDSUSP): Likewise.
28331         [POSIX || POSIX2008] (VLNEXT): Likewise.
28332         [POSIX || POSIX2008] (VREPRINT): Likewise.
28333         [POSIX || POSIX2008] (VSTATUS): Likewise.
28334         [POSIX || POSIX2008] (VWERASE): Likewise.
28335         (B*): Change to B[0123456789]*.
28336         * conform/data/time.h-data [POSIX || UNIX98]
28337         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28338         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28339         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28340         [POSIX] (tm_*): Do not allow.
28342 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
28344         * Makefile (install): Don't set LANGUAGE.
28345         * Makefile.in (install): Likewise.
28346         * assert/Makefile (test-assert-ENV): Remove variable.
28347         (test-assert-perr-ENV): Likewise.
28348         * elf/Makefile (neededtest4-ENV): Likewise.
28349         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28350         [$(cross-compiling) = no]: Don't set LANGUAGE.
28351         * io/ftwtest-sh (LANG): Remove variable.
28352         * libio/Makefile (tst-widetext-ENV): Likewise.
28353         * manual/install.texi (Running make install): Don't refer to
28354         environment settings for make install.
28355         * INSTALL: Regenerated.
28356         * nptl/tst-tls6.sh: Don't set LANG.
28357         * posix/globtest.sh (LANG): Remove variable.
28358         * string/Makefile (tester-ENV): Likewise.
28359         (inl-tester-ENV): Likewise.
28360         (noinl-tester-ENV): Likewise.
28361         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28362         [$(cross-compiling) = no]: Don't set LANGUAGE.
28363         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
28364         without explicit environment settings.
28366 2014-06-06  Roland McGrath  <roland@hack.frob.com>
28368         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
28369         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
28370         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
28371         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
28373 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
28375         * crypt/crypt-private.h [DOS]: Add some includes taken from the
28376         other files in the crypt directory.
28377         * crypt/crypt.c: Remove duplicate includes.
28378         * crypt/crypt-entry.c: Likewise.
28379         * crypt/crypt_util.c: Likewise.
28381 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
28383         * Makeconfig (run-program-env): New variable.
28384         (run-program-prefix-before-env): Likewise.
28385         (run-program-prefix-after-env): Likewise.
28386         (run-program-prefix): Define in terms of new variables.
28387         (built-program-cmd-before-env): New variable.
28388         (built-program-cmd-after-env): Likewise.
28389         (built-program-cmd): Define in terms of new variables.
28390         (test-program-prefix-before-env): New variable.
28391         (test-program-prefix-after-env): Likewise.
28392         (test-program-prefix): Define in terms of new variables.
28393         (test-program-cmd-before-env): New variable.
28394         (test-program-cmd-after-env): Likewise.
28395         (test-program-cmd): Define in terms of new variables.
28396         * Rules (make-test-out): Use $(run-program-env).
28397         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
28398         (help): Do not mention environment variables.  Mention
28399         --timeoutfactor option.
28400         (timeoutfactor): New variable.
28401         (blacklist_exports): Remove function.
28402         (exports): Remove variable.
28403         (command): Do not include ${exports}.
28404         * manual/install.texi (Configuring and compiling): Do not mention
28405         test wrappers preserving environment variables.  Mention that last
28406         assignment to a variable must take precedence.
28407         * INSTALL: Regenerated.
28408         * benchtests/Makefile (run-bench): Use $(run-program-env).
28409         * catgets/Makefile ($(objpfx)test1.cat): Use
28410         $(built-program-cmd-before-env), $(run-program-env) and
28411         $(built-program-cmd-after-env).
28412         ($(objpfx)test2.cat): Do not specify environment variables
28413         explicitly.
28414         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28415         $(run-program-env) and $(built-program-cmd-after-env).
28416         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28417         $(run-program-env) and $(test-program-cmd-after-env).
28418         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28419         explicitly.
28420         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28421         run_program_env and test_program_cmd_after_env arguments.
28422         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28423         * elf/tst-pathopt.sh: Use run_program_env argument.
28424         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28425         $(test-wrapper-env) and $(run-program-env).
28426         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28427         run_program_env arguments.
28428         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28429         * intl/Makefile ($(objpfx)tst-gettext.out): Use
28430         $(test-program-prefix-before-env), $(run-program-env) and
28431         $(test-program-prefix-after-env).
28432         ($(objpfx)tst-gettext2.out): Likewise.
28433         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28434         run_program_env and test_program_prefix_after_env arguments.
28435         * intl/tst-gettext2.sh: Likewise.
28436         * intl/tst-gettext4.sh: Do not set environment variables
28437         explicitly.
28438         * intl/tst-gettext6.sh: Likewise.
28439         * intl/tst-translit.sh: Likewise.
28440         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28441         $(test-program-prefix-before-env), $(run-program-env) and
28442         $(test-program-prefix-after-env).
28443         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28444         run_program_env and test_program_prefix_after_env arguments.
28445         * math/Makefile (run-regen-ulps): Use $(run-program-env).
28446         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28447         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
28448         explicitly with each use of ${test_wrapper_env}.
28449         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28450         $(test-program-prefix-before-env), $(run-program-env) and
28451         $(test-program-prefix-after-env).
28452         * posix/tst-getconf.sh: Do not set environment variables
28453         explicitly.
28454         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28455         run_program_env and test_program_prefix_after_env arguments.
28456         * stdio-common/tst-printf.sh: Do not set environment variables
28457         explicitly.
28458         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28459         $(test-program-prefix-before-env), $(run-program-env) and
28460         $(test-program-prefix-after-env).
28461         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28462         run_program_env and test_program_prefix_after_env arguments.
28463         Split $test calls into $test_pre and $test.
28464         * timezone/Makefile (build-testdata): Use
28465         $(built-program-cmd-before-env), $(run-program-env) and
28466         $(built-program-cmd-after-env).
28468 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28470         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28471         strlen for non SHARED builds.
28473 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28475         * nptl/allocatestack.c (check_list): Inlined function...
28476         (__reclaim_stacks): ... here.
28478 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28480         [BZ #15698]
28481         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28482         memory overrun.
28484 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28486         * Rules (make-test-out): Include
28487         LOCPATH=$(common-objpfx)localedata in default environment.
28488         * debug/Makefile (tst-chk1-ENV): Remove variable.
28489         (tst-chk2-ENV): Likewise.
28490         (tst-chk3-ENV): Likewise.
28491         (tst-chk4-ENV): Likewise.
28492         (tst-chk5-ENV): Likewise.
28493         (tst-chk6-ENV): Likewise.
28494         (tst-lfschk1-ENV): Likewise.
28495         (tst-lfschk2-ENV): Likewise.
28496         (tst-lfschk3-ENV): Likewise.
28497         (tst-lfschk4-ENV): Likewise.
28498         (tst-lfschk5-ENV): Likewise.
28499         (tst-lfschk6-ENV): Likewise.
28500         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28501         (tst-iconv7-ENV): Likewise.
28502         * intl/Makefile (LOCPATH-ENV): Likewise.
28503         (tst-codeset-ENV): Likewise.
28504         (tst-gettext3-ENV): Likewise.
28505         (tst-gettext5-ENV): Likewise.
28506         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28507         (tst-fopenloc-ENV): Likewise.
28508         (tst-fgetws-ENV): Remove variable.
28509         (tst-ungetwc1-ENV): Likewise.
28510         (tst-ungetwc2-ENV): Likewise.
28511         (bug-ungetwc2-ENV): Likewise.
28512         (tst-swscanf-ENV): Likewise.
28513         (bug-ftell-ENV): Likewise.
28514         (tst-fgetwc-ENV): Likewise.
28515         (tst-fseek-ENV): Likewise.
28516         (tst-ftell-partial-wide-ENV): Likewise.
28517         (tst-ftell-active-handler-ENV): Likewise.
28518         (tst-ftell-append-ENV): Likewise.
28519         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28520         (tst-regexloc-ENV): Likewise.
28521         (bug-regex1-ENV): Likewise.
28522         (tst-regex-ENV): Likewise.
28523         (tst-regex2-ENV): Likewise.
28524         (bug-regex5-ENV): Likewise.
28525         (bug-regex6-ENV): Likewise.
28526         (bug-regex17-ENV): Likewise.
28527         (bug-regex18-ENV): Likewise.
28528         (bug-regex19-ENV): Likewise.
28529         (bug-regex20-ENV): Likewise.
28530         (bug-regex22-ENV): Likewise.
28531         (bug-regex23-ENV): Likewise.
28532         (bug-regex25-ENV): Likewise.
28533         (bug-regex26-ENV): Likewise.
28534         (bug-regex30-ENV): Likewise.
28535         (bug-regex32-ENV): Likewise.
28536         (bug-regex33-ENV): Likewise.
28537         (bug-regex34-ENV): Likewise.
28538         (bug-regex35-ENV): Likewise.
28539         (tst-rxspencer-ENV): Likewise.
28540         (tst-rxspencer-no-utf8-ENV): Likewise.
28541         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28542         (tst-sscanf-ENV): Likewise.
28543         (tst-swprintf-ENV): Likewise.
28544         (tst-swscanf-ENV): Likewise.
28545         (test-vfprintf-ENV): Likewise.
28546         (scanf13-ENV): Likewise.
28547         (bug14-ENV): Likewise.
28548         (tst-grouping-ENV): Likewise.
28549         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28550         (tst-strtod3-ENV): Likewise.
28551         (tst-strtod4-ENV): Likewise.
28552         (tst-strtod5-ENV): Likewise.
28553         (testmb2-ENV): Likewise./
28554         * string/Makefile (tst-strxfrm-ENV): Likewise.
28555         (tst-strxfrm2-ENV): Likewise.
28556         (bug-strcoll1-ENV): Likewise.
28557         (test-strcasecmp-ENV): Likewise.
28558         (test-strncasecmp-ENV): Likewise.
28559         * time/Makefile (tst-strptime-ENV): Likewise.
28560         (tst-ftime_l-ENV): Likewise.
28561         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28562         (tst-mbrtowc-ENV): Likewise.
28563         (tst-wcrtomb-ENV): Likewise.
28564         (tst-mbrtowc2-ENV): Likewise.
28565         (tst-c16c32-1-ENV): Likewise.
28566         (tst-mbsnrtowcs-ENV): Likewise.
28568 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28570         * manual/resource.texi (How to get information about the memory
28571         subsystem?): Fix typo.
28572         Reported by Peon de la Parra Ivan <peon@keba.com>
28574 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28576         [BZ #16882]
28577         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28578         (pthread_spin_lock): Branch out of spin loop to proper location.
28579         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28580         (pthread_spin_lock): Likewise.
28582         * nptl/tst-spin4.c: New test.
28583         * nptl/Makefile (tests): Add tst-spin4.
28585 2014-06-03  Andreas Schwab  <schwab@suse.de>
28587         [BZ #15946]
28588         * resolv/res_send.c (send_dg): Reload file descriptor after
28589         calling reopen.
28591 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28593         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28595 2014-06-03  Richard Henderson  <rth@redhat.com>
28597         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28598         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28599         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28600         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28601         in the SAVE_PID block.
28602         (__libc_vfork): New alias.
28603         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28605         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28606         child in registers, not on the stack.  Remove RESET_PID conditionals.
28607         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28609 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28611         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28613 2014-06-03  Wilco  <wdijkstr@arm.com>
28615         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28616         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28617         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28618         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28619         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28620         Likewise.
28622 2014-06-03  Wilco  <wdijkstr@arm.com>
28624         * sysdeps/aarch64/fpu/math_private.h
28625         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28626         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28627         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28628         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28629         Fix declarations.
28631 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28633         * crypt/crypt-private.h: Include ufc-crypt.h.
28634         (__b64_from_24bit): Declare extern.
28635         * crypt/crypt_util.c(__b64_from_24bit): New function.
28636         (b64t): New static const variable.
28637         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28638         (b64t): Remove variable.
28639         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28640         * crypt/sha256-crypt.c: Include crypt-private.h.
28641         (b64t): Remove variable.
28642         (__sha256_crypt_r): Remove b64_from_24bit and replace
28643         with __b64_from_24bit.
28644         * crypt/sha512-crypt.c: Likewise.
28646 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28648         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28649         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28650         Label the code __libc_vfork rather than __vfork.
28651         [!NOT_IN_libc] (vfork): Define as weak alias.
28652         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28653         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28654         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28656 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28658         * malloc/malloc.c (malloc_info): Fix format specifier for
28659         n_mmaps.
28661 2014-06-02  Wilco  <wdijkstr@arm.com>
28663         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28664         FPCR write.
28666 2014-06-02  Wilco  <wdijkstr@arm.com>
28668         [BZ #17009]
28669         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28670         Rewrite to reduce FPCR/FPSR accesses.
28672 2014-06-01  David S. Miller  <davem@davemloft.net>
28674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28676 2014-05-31  David S. Miller  <davem@davemloft.net>
28678         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28679         to occur in round to nearest mode when |x| >= 2.0
28681 2014-05-30  Richard Henderson  <rth@twiddle.net>
28683         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28684         (PSEUDO_RET_NOERRNO): Remove.
28685         (ret): Don't redefine.
28686         (ret_NOERRNO): Define in terms of ret.
28687         (ret_ERRVAL): Likewise.
28689         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28690         use of PSEUDO_RET; perform the error check directly.
28692 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28694         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28695         with __int128_t.
28697 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28699         * malloc/malloc (malloc_info): Fix formatting.
28701 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28702             Roland McGrath  <roland@hack.frob.com>
28704         * malloc/malloc (malloc_info): Also print mmapped statistics.
28706 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28708         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28709         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28711 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28713         * malloc/malloc.c (malloc_info): Inline mi_arena.
28715 2014-05-29  Richard Henderson  <rth@twiddle.net>
28717         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28718         Remove comma before expanding ASM_ARGS_##nr.
28719         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28720         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28721         of ASM_ARGS_##nr.
28722         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28723         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28724         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28725         (ASM_ARGS_1): Add leading comma.
28727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28728         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28729         to __errno_location.
28730         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28731         Remove the expected plt for __errno_location.
28733         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28734         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28735         call to __read_tp.
28737         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28738         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28739         it and break it down.
28740         (DOCARGS_0, DOCARGS_1): Do nothing.
28741         (DOCARGS_2): Update to store into the new stack frame.
28742         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28743         (UNDOCARGS_1): Update to restore from the new stack frame.
28744         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28745         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28747         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28748         (SINGLE_THREAD_P): New parameter for result regno.
28749         (PSEUDO): Update to match; use cbz instead of beq.
28751         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28752         Use ENTRY to define the _nocancel entry point.  Share the syscall
28753         and syscall error check paths with the cancel path.
28754         (PSEUDO_END): New.
28756         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28757         whitespace; tabs before and after asm mnemonics.
28759 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28761         [BZ #15132]
28762         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28763         Call fstat64 or stat64 internally, depending on arguments passed.
28764         Replace stat buffer argument with file descriptor argument.
28765         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28766         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28767         Pass fd to __internal_statvfs instead of calling fstat64.
28768         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28769         Pass fd to __internal_statvfs64 instead of calling fstat64.
28770         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28771         Pass -1 to __internal_statvfs instead of calling stat64.
28772         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28773         Pass -1 to __internal_statvfs64 instead of calling stat64.
28775 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28777         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28778         that was previously under [RESET_PID].
28779         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28781         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28782         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28784 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28786         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28788         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28789         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28791 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28793         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28795 2014-05-27  Andreas Schwab  <schwab@suse.de>
28797         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28798         TLS_INIT_TP macro.
28799         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28800         * elf/rtld.c (init_tls, dl_main): Likewise.
28801         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28802         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28803         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28804         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28805         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28806         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28807         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28808         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28809         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28810         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28811         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28812         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28813         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28814         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28815         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28816         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28817         * sysdeps/generic/tls.h: Update description.
28819 2014-05-27  Will Newton  <will.newton@linaro.org>
28821         [BZ #16990]
28822         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28823         and restore r2 rather than just restoring.
28825 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28827         [BZ #16724]
28828         * libio/tst-ftell-append.c: New test case.
28829         * libio/Makefile (tests): Add test case.
28830         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28831         append mode.
28832         * libio/wfileops.c (do_ftell_wide): Likewise.
28834 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28838         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28839         ...
28840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28842         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28843         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28844         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28845         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28846         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28847         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28849         Moved ...
28850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28851         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28852         Moved ...
28853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28854         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28855         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28856         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28857         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28858         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28859         ...
28860         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28861         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28862         Moved ...
28863         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28864         here.
28865         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28866         ...
28867         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28868         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28869         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28871         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28872         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28873         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28874         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28877         merge into ...
28878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28879         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28880         ...
28881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28883         ...
28884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28885         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28886         Moved ...
28887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28888         here.
28889         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28890         Moved ...
28891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28893         Moved ...
28894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28897         conditional [RESET_PID].
28898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28900         removed.
28901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28902         removed.
28904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28905         <tcb-offsets.h>.
28906         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28907         (__libc_vfork): New strong alias.
28908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28909         removed.
28910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28911         Removed.
28913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28914         <tcb-offsets.h>.
28915         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28916         (__libc_vfork): New strong alias.
28917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28918         removed.
28919         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28920         removed.
28922 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28924         * malloc/malloc.c (mi_arena): New function.
28925         (malloc_info): Remove nested function mi_arena. Call non-nosted
28926         function mi_arena.
28928 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28930         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28931         by insrwi.
28932         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28933         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28934         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28935         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28936         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28937         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28938         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28940 2014-05-26  Andreas Schwab  <schwab@suse.de>
28942         [BZ #16984]
28943         * locale/programs/repertoire.c (repertoire_read): Add slash
28944         between I18NPATH element and file name.
28945         * locale/programs/locfile.c (locfile_read): Likewise.
28947 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28949         * nptl/pthread_mutexattr_settype.c
28950         (__pthread_mutexattr_settype):
28951         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28953 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28955         * nptl/tst-mutex5 (do_test):
28956         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28958 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28960         * benchtests/README: Document 'init' directive.
28961         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28962         BENCH_INIT.
28963         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28964         (parse_file): Recognize 'init' directive.
28966 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28968         [BZ #16796]
28969         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28970         alignment of struct pthread.
28972 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28974         [BZ #16878]
28975         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28976         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28977         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28978         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28980 2014-05-25  Richard Henderson  <rth@twiddle.net>
28982         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28983         (SINGLE_THREAD_P_PIC): Remove.
28984         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28985         (SINGLE_THREAD_P_PIC): Remove.
28987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28988         branch to syscall error ...
28989         (PSEUDO): ... here.
28990         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28991         from __local_syscall_error to .Lsyscall_error.
28992         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28993         (SYSCALL_ERROR): Update label name.
28995         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28996         Do not use DOARGS/UNDOARGS.
28997         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28998         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28999         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
29000         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
29001         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
29003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
29004         block comment.
29006         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
29007         define if !NOT_IN_libc.
29008         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
29009         define with non-default symbol versions.
29011 2014-05-23  Richard Henderson  <rth@twiddle.net>
29013         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
29014         (vfork, __vfork): Define via compat_symbol.
29016         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
29017         [!HAVE_IFUNC] (vfork_compat): Remove.
29018         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
29020 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29022         [BZ #16978]
29023         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
29024         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
29025         variable.
29027 2014-05-23  Richard Henderson  <rth@twiddle.net>
29029         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
29030         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
29031         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
29032         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
29034         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
29035         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
29036         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
29037         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
29038         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
29039         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
29040         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
29041         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
29042         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
29043         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
29044         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
29045         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
29046         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
29047         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
29048         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
29049         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
29050         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
29051         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
29052         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
29053         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
29054         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
29055         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
29056         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
29057         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
29058         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
29059         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
29060         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
29061         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
29062         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
29063         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
29064         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
29065         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
29066         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
29067         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
29068         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
29069         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
29070         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
29071         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
29072         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
29073         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
29074         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
29075         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
29076         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
29077         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
29078         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
29079         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
29080         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
29081         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
29082         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
29083         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
29084         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
29085         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
29086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
29087         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
29088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
29089         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
29091         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
29092         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
29093         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
29094         before exiting on error.
29095         (__libc_vfork): New strong alias.
29096         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
29097         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
29099         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
29100         that was previously under [RESET_PID].
29101         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
29103         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
29105 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29107         [BZ #16977]
29108         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
29109         value when x - 1 is zero.
29110         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
29111         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
29112         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
29113         0.0L for an argument of 1.0L.
29114         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
29115         Likewise.
29116         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
29117         value when x - 1 is zero.
29118         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
29119         * sysdeps/i386/fpu/libm-test-ulps: Update.
29120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29122 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29124         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
29125         alphasort and versionsort.
29127 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29129         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
29130         macro.
29131         [copysignf]: Likewise.
29133 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29135         * crypt/md5-crypt.c: Fix formatting.
29137 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29139         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
29140         (b64_from_24bit): New function.
29142 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
29145         libc_hidden_builtin_def to ifunc.
29146         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29147         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
29149 2014-05-21  Roland McGrath  <roland@hack.frob.com>
29151         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
29152         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
29154 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
29156         * nscd/Depend (linuxthreads): Remove.
29157         (nptl): Add.
29158         * resolv/Depend (linuxthreads): Remove.
29159         * rt/Depend (linuxthreads): Remove.
29161         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
29162         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
29163         $(common-objpfx)elf/.
29164         (link-libc-before-gnulib): Likewise.
29165         (elfobjdir): Remove variable.
29166         * Makefile (install): Use $(elf-objpfx) instead of
29167         $(common-objpfx)elf/.
29168         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
29169         $(elfobjdir)/.
29170         (link-libc-deps): Likewise.
29171         ($(common-objpfx)libc.so): Likewise.
29172         ($(common-objpfx)linkobj/libc.so): Likewise.
29173         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
29174         instead of $(common-objpfx)elf/.
29175         (symbolic-link-list): Likewise.
29176         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29177         [$(cross-compiling) = no]: Likewise.
29178         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
29179         $(elfobjdir)/.
29180         (static-gnulib-arch): Likewise.
29181         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29182         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
29183         $(common-objpfx)elf/.
29185 2014-05-21  Richard Henderson  <rth@redhat.com>
29187         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29188         (SINGLE_THREAD_P): Use the correct width load.  Fold
29189         into the ldr offset.
29191         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
29192         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
29194 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
29196         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
29197         (libgcc_s_resume): Use __attribute_used__.
29198         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
29199         Likewise.
29201 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29203         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
29204         optimization when used with float constants.
29206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29208 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
29210         [BZ #16915]
29211         * locale/nl_langinfo_l.c: Make direct reference to every
29212         _nl_current_CATEGORY symbol.
29213         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
29214         (tests-static): Add tst-langinfo-static.
29215         (tests-special): Add tst-langinfo-static.out.
29216         ($(objpfx)tst-langinfo.out): Redirect output.
29217         ($(objpfx)tst-langinfo-static.out): New.
29218         * localedata/tst-langinfo.sh: Send output to stdout.
29219         * localedata/tst-langinfo-static.c: New file.
29221         [BZ #16965]
29222         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
29223         when the shift amount is modulo the limb size.
29225 2014-05-20  Richard Henderson  <rth@redhat.com>
29227         [BZ #16967]
29228         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
29229         Change type of sa_flags from unsigned int to int.
29231         [BZ #16966]
29232         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
29234         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
29236 2014-05-20  Will Newton  <will.newton@linaro.org>
29238         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29239         Test the return value of the system call in the nocancel case.
29241 2014-05-20  Will Newton  <will.newton@linaro.org>
29242             Yvan Roux  <yvan.roux@linaro.org>
29244         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
29245         #include of asm/ptrace.h.
29246         (PTRACE_GET_THREAD_AREA): Remove #undef.
29247         (PTRACE_GETHBPREGS): Likewise.
29248         (PTRACE_SETHBPREGS): Likewise.
29249         (struct user_regs_struct): New structure.
29250         (struct user_fpsimd_struct): New structure.
29251         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
29252         #include of asm/ptrace.h and second #include of sys/user.h.
29253         (PTRACE_GET_THREAD_AREA): Remove #undef.
29254         (PTRACE_GETHBPREGS): Likewise.
29255         (PTRACE_SETHBPREGS): Likewise.
29256         (ELF_NGREG): Use new struct user_regs_struct.
29257         (elf_fpregset_t): Use new struct user_fpsimd_struct.
29259 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29261         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
29262         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
29264 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
29266         [BZ #16958]
29267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
29268         membar to avoid block loads/stores to overlap previous stores.
29270 2014-05-17  Richard Henderson  <rth@redhat.com>
29272         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
29273         Create the __##syscall_name##_nocancel entry point.
29274         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
29275         Remove; let the sysdep-cancel.h code create it.
29277 2014-05-17  David S. Miller  <davem@davemloft.net>
29279         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
29280         Protect with __USE_GNU.
29281         (TIOCSET_TEMPT): Likewise.
29282         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29283         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
29284         these are already provided in bits/ioctl-types.h
29286 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29288         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
29289         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
29291         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
29292         Use wait4 regardless of [__NR_waitpid].
29294 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29296         PR libgcc/60166
29297         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29298         (_FP_NANSIGN_Q): Set the quiet bit.
29300 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
29302         * benchtests/Makefile
29303         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
29304         not $(common-objpfx)math/libm.so.
29305         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
29306         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
29307         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29308         $(common-objpfx)dlfcn/libdl.so.
29309         ($(objpfx)tst-audit8): Depend on $(libm), not
29310         $(common-objpfx)math/libm.so.
29311         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
29312         not $(common-objpfx)dlfcn/libdl.so.
29313         * math/Makefile
29314         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29315         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
29316         [$(build-shared) = yes].
29317         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
29318         $(common-objpfx)nptl/libpthread.so.
29319         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
29320         $(common-objpfx)math/libm.so$(libm.so-version) or
29321         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29322         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29323         $(common-objpfx)dlfcn/libdl.so.
29324         * setjmp/Makefile (link-libm): Remove variable.
29325         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29326         * stdio-common/Makefile (link-libm): Remove variable.
29327         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29328         * stdlib/Makefile (link-libm): Remove variable.
29329         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29330         ($(objpfx)tst-strtod-round): Likewise.
29331         ($(objpfx)tst-tininess): Likewise.
29332         ($(objpfx)tst-strtod-underflow): Likewise.
29333         ($(objpfx)tst-strtod6): Likewise.
29334         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29335         $(libdl), not $(common-objpfx)nptl/libpthread.so and
29336         $(common-objpfx)dlfcn/libdl.so.
29338 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29340         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29341         BSD terminal modes definitions.
29343 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29345         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29346         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29348         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29349         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29350         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29351         Don't do #include_next.
29352         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29353         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29354         Don't do #include_next.
29355         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29356         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29357         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29358         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29360 2014-05-16  Allan McRae  <allan@archlinux.org>
29362         * po/sv.po: Update Swedish translation from translation project.
29364         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
29365         in sed expression.
29367 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
29369         [BZ #16917]
29370         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29371         errno if the TIOCGPTN ioctl fails with an error different than
29372         EINVAL.
29373         * login/tst-ptsname.c: New file.
29374         * login/Makefile (tests): Add tst-ptsname.
29376         [BZ #16943]
29377         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
29378         and prlimit64.
29380 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29382         [BZ #16849]
29383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
29384         herrno to return EAI_AGAIN.
29386 2014-05-14  Roland McGrath  <roland@hack.frob.com>
29388         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
29389         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29390         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
29391         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
29392         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
29393         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
29394         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
29395         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
29396         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
29397         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
29398         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
29399         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
29400         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
29401         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
29402         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
29403         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
29404         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
29405         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
29406         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29407         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29408         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29409         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29410         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29411         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29412         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29413         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29414         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29415         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29416         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29417         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29419         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29421         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29423         Moved ...
29424         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29426         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29428         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29430         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29432         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29434         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29436         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29438         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29440         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29442         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29444         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29446         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29448         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29450         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29452         Moved ...
29453         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29455         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29457         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29459         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29461         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29463         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29465         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29467         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29469         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29471         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29473         Moved ...
29474         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29476         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29478         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29479         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29480         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29481         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29482         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29483         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29484         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29485         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29486         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29487         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29488         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29489         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29490         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29491         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29492         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29493         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29494         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29495         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29496         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29497         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29498         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29499         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29500         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29501         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29502         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29503         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29504         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29505         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29506         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29507         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29508         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29510         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29511         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29513         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29514         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29515         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29516         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29517         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29518         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29519         Moved ...
29520         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29521         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29522         Moved ...
29523         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29524         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29525         Moved ...
29526         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29527         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29528         Moved ...
29529         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29530         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29531         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29532         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29533         Moved ...
29534         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29535         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29536         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29537         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29538         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29539         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29540         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29541         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29542         Moved ...
29543         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29544         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29545         Moved ...
29546         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29547         ... here.
29548         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29549         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29550         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29551         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29552         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29553         Moved ...
29554         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29555         ... here.
29556         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29557         Moved ...
29558         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29559         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29560         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29561         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29562         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29563         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29564         Moved ...
29565         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29566         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29567         Moved ...
29568         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29569         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29570         Moved ...
29571         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29572         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29573         Moved ...
29574         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29575         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29576         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29577         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29578         Moved ...
29579         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29580         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29581         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29582         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29583         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29584         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29585         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29586         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29587         Moved ...
29588         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29589         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29590         Moved ...
29591         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29592         ... here.
29593         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29594         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29595         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29596         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29597         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29598         Moved ...
29599         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29600         ... here.
29601         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29602         Moved ...
29603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29604         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29605         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29606         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29607         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29608         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29609         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29610         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29611         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29612         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29613         Moved ...
29614         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29616         Moved ...
29617         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29618         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29619         Moved ...
29620         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29621         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29622         Moved ...
29623         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29624         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29625         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29626         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29627         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29628         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29629         Moved ...
29630         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29631         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29632         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29633         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29634         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29635         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29636         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29637         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29638         Moved ...
29639         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29640         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29641         Moved ...
29642         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29643         ... here.
29644         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29645         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29646         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29647         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29648         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29649         Moved ...
29650         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29651         ... here.
29652         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29653         Moved ...
29654         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29655         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29656         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29657         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29658         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29659         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29660         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29661         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29662         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29663         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29664         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29666         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29667         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29669         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29670         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29672         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29673         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29674         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29675         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29676         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29677         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29678         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29679         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29680         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29681         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29682         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29683         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29684         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29685         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29686         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29687         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29688         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29689         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29690         Moved ...
29691         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29692         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29693         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29694         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29695         Moved ...
29696         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29697         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29698         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29699         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29700         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29701         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29702         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29704         Moved ...
29705         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29707         Moved ...
29708         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29710         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29712         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29713         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29714         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29715         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29716         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29717         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29718         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29719         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29720         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29721         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29722         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29723         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29724         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29726         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29727         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29728         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29729         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29730         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29732         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29733         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29734         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29735         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29736         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29737         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29738         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29739         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29740         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29741         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29743         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29744         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29746         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29747         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29748         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29749         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29750         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29751         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29752         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29753         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29754         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29755         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29756         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29757         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29758         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29759         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29761         Update #include.
29762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29763         Likewise.
29764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29765         Likewise.
29766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29767         Likewise.
29768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29769         Likewise.
29770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29771         Likewise.
29772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29773         Likewise.
29774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29775         Likewise.
29776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29777         Likewise.
29778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29779         Likewise.
29780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29782         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29783         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29784         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29785         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29787         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29789         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29790         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29792         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29793         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29794         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29796         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29797         that was previously under [RESET_PID].
29798         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29799         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29800         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29802         * sysdeps/i386/nptl/Implies: New file.
29803         * sysdeps/x86_64/nptl/Implies: New file.
29804         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29805         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29806         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29807         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29809         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29810         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29811         (__libc_vfork): New strong alias.
29812         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29813         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29815         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29816         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29817         (__libc_vfork): New strong alias.
29818         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29819         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29821         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29822         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29823         (__libc_vfork): New strong alias.
29824         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29825         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29826         * nptl/pt-vfork.c: New file.
29827         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29828         (libpthread: GLIBC_2.20): New version set (empty).
29830 2014-05-14  Will Newton  <will.newton@linaro.org>
29832         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29833         rather than #if.
29835 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29837         [BZ #16564]
29838         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29839         arguments with exponent 65 or above.
29840         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29841         arguments 0x1p113L or above.
29842         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29843         to arguments 0x1p107L or above.
29844         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29845         positive arguments with exponent 65 or above.
29846         * math/auto-libm-test-in: Add more tests of log1p.
29847         * math/auto-libm-test-out: Regenerated.
29849         [BZ #16928]
29850         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29851         non-finite arguments is +0.
29852         * math/s_cacosf.c (__cacosf): Likewise.
29853         * math/s_cacosl.c (__cacosl): Likewise.
29854         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29855         * sysdeps/i386/fpu/libm-test-ulps: Update.
29856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29858         [BZ #16927]
29859         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29860         value.
29861         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29862         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29863         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29864         for explicit high bit of mantissa when testing for argument equal
29865         to 1.
29866         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29867         * sysdeps/i386/fpu/libm-test-ulps: Update.
29868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29870         [BZ #16516]
29871         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29872         (__erf): Scale by 16 instead of 8 in potentially underflowing
29873         case.  Ensure exception if result actually underflows.
29874         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29875         (__erff): Scale by 16 instead of 8 in potentially underflowing
29876         case.  Ensure exception if result actually underflows.
29877         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29878         (efx8): Remove variable.
29879         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29880         case.  Ensure exception if result actually underflows.
29881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29882         (efx8): Remove variable.
29883         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29884         case.  Ensure exception if result actually underflows.
29885         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29886         (efx8): Remove variable.
29887         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29888         case.  Ensure exception if result actually underflows.
29889         * math/auto-libm-test-in: Add more tests of erf.
29890         * math/auto-libm-test-out: Regenerated.
29892 2014-05-14  Andreas Schwab  <schwab@suse.de>
29894         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29895         Remove code conditionalized on USE___THREAD.
29897         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29898         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29899         not definedness.
29901 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29903         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29904         Define unconditionally.
29905         (__ASSUME_O_CLOEXEC): Likewise.
29906         (__ASSUME_SOCK_CLOEXEC): Likewise.
29907         (__ASSUME_IN_NONBLOCK): Likewise.
29908         (__ASSUME_PIPE2): Likewise.
29909         (__ASSUME_EVENTFD2): Likewise.
29910         (__ASSUME_SIGNALFD4): Likewise.
29911         (__ASSUME_DUP3): Likewise.
29912         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29913         (__ASSUME_DUP3): Do not define.
29914         (__ASSUME_EVENTFD2): Likewise.
29915         (__ASSUME_IN_NONBLOCK): Likewise.
29916         (__ASSUME_O_CLOEXEC): Likewise.
29917         (__ASSUME_PIPE2): Likewise.
29918         (__ASSUME_SIGNALFD4): Likewise.
29919         (__ASSUME_SOCK_CLOEXEC): Likewise.
29920         (__ASSUME_UTIMES): Undefine.
29921         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29922         (__ASSUME_UTIMES): Do not define.
29923         (__ASSUME_O_CLOEXEC): Likewise.
29924         (__ASSUME_SOCK_CLOEXEC): Likewise.
29925         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29926         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29927         0x020621].
29928         (__ASSUME_PIPE2): Likewise.
29929         (__ASSUME_EVENTFD2): Likewise.
29930         (__ASSUME_SIGNALFD4): Likewise.
29931         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29932         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29933         Do not define.
29934         (__ASSUME_EVENTFD2): Likewise.
29935         (__ASSUME_SIGNALFD4): Likewise.
29936         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29937         (__ASSUME_32BITUIDS): Likewise.
29938         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29939         (__ASSUME_IPC64): Likewise.
29940         (__ASSUME_ST_INO_64_BIT): Likewise.
29941         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29942         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29943         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29944         (__ASSUME_UTIMES): Do not define.
29945         (__ASSUME_PSELECT): Likewise.
29946         (__ASSUME_PPOLL): Likewise.
29947         (__ASSUME_O_CLOEXEC): Likewise.
29948         (__ASSUME_SOCK_CLOEXEC): Likewise.
29949         (__ASSUME_IN_NONBLOCK): Likewise.
29950         (__ASSUME_PIPE2): Likewise.
29951         (__ASSUME_EVENTFD2): Likewise.
29952         (__ASSUME_SIGNALFD4): Likewise.
29953         (__ASSUME_DUP3): Likewise.
29954         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29955         (__ASSUME_UTIMES): Likewise.
29956         (__ASSUME_O_CLOEXEC): Likewise.
29957         (__ASSUME_SOCK_CLOEXEC): Likewise.
29958         (__ASSUME_IN_NONBLOCK): Likewise.
29959         (__ASSUME_PIPE2): Likewise.
29960         (__ASSUME_EVENTFD2): Likewise.
29961         (__ASSUME_SIGNALFD4): Likewise.
29962         (__ASSUME_DUP3): Likewise.
29963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29964         (__ASSUME_UTIMES): Likewise.
29965         (__ASSUME_O_CLOEXEC): Likewise.
29966         (__ASSUME_SOCK_CLOEXEC): Likewise.
29967         (__ASSUME_IN_NONBLOCK): Likewise.
29968         (__ASSUME_PIPE2): Likewise.
29969         (__ASSUME_EVENTFD2): Likewise.
29970         (__ASSUME_SIGNALFD4): Likewise.
29971         (__ASSUME_DUP3): Likewise.
29972         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29973         Likewise.
29974         (__ASSUME_UTIMES): Likewise.
29975         (__ASSUME_EVENTFD2): Likewise.
29976         (__ASSUME_SIGNALFD4): Likewise.
29977         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29978         (__ASSUME_O_CLOEXEC): Likewise.
29979         (__ASSUME_SOCK_CLOEXEC): Likewise.
29980         (__ASSUME_IN_NONBLOCK): Likewise.
29981         (__ASSUME_PIPE2): Likewise.
29982         (__ASSUME_EVENTFD2): Likewise.
29983         (__ASSUME_SIGNALFD4): Likewise.
29984         (__ASSUME_DUP3): Likewise.
29985         (__ASSUME_UTIMES): Undefine.
29987         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29988         feclearexcept.  Remove symbol versioning code.
29989         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29990         symbol versioning code.
29991         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29992         symbol versioning code.
29993         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29994         feupdateenv.  Remove symbol versioning code.
29995         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29996         fegetexceptflag.  Remove symbol versioning code.
29997         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29998         fesetexceptflag.  Remove symbol versioning code.
29999         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
30000         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
30001         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
30002         (__posix_fadvise64_l32): Remove prototype.
30003         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
30004         code.
30006 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30008         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
30009         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
30010         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
30011         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
30013 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
30015         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
30016         current working directory
30018 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30020         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
30021         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
30022         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
30023         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
30024         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
30025         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
30026         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
30027         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
30028         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
30029         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
30030         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
30031         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
30032         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
30033         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
30034         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
30035         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
30036         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
30037         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
30038         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
30039         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
30040         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
30041         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
30042         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
30043         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
30044         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
30045         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
30046         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
30047         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
30048         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
30049         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
30050         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
30051         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
30052         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
30053         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
30054         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
30055         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
30056         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
30057         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
30058         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
30059         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
30060         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
30061         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
30063         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
30064         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
30066         * sysdeps/unix/sysv/linux/arm/Makefile
30067         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30068         Add rt-aeabi_unwind_cpp_pr1.
30069         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
30070         Add nptl-aeabi_unwind_cpp_pr1.
30071         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
30072         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
30073         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
30074         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30075         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
30076         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30078         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
30079         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
30080         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
30081         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
30083         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
30084         Deconditionalize the code that was previously under [RESET_PID].
30085         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
30087         * sysdeps/generic/exit-thread.h: New file.
30088         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
30089         * include/unistd.h (__exit_thread): Remove declaration.
30090         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
30091         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
30092         * csu/libc-start.c: Include <exit-thread.h>.
30093         (LIBC_START_MAIN): Pass no argument to __exit_thread.
30094         * nptl/pthread_create.c: Include <exit-thread.h>.
30095         (start_thread): Call __exit_thread in place of __exit_thread_inline.
30096         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
30097         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
30098         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
30099         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
30100         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
30101         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
30102         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
30103         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
30104         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
30105         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
30106         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
30107         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
30108         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
30109         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
30110         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
30111         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
30113 2014-05-13  Andreas Schwab  <schwab@suse.de>
30115         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
30117 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
30119         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30120         (__ASSUME_UTIMES): Do not condition on kernel version.
30121         (__ASSUME_PSELECT): Define unconditionally.
30122         (__ASSUME_PPOLL): Likewise.
30123         (__ASSUME_ATFCTS): Likewise.
30124         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
30125         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
30126         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
30127         (__ASSUME_UTIMENSAT): Define unconditionally.
30128         (__ASSUME_PRIVATE_FUTEX): Likewise.
30129         (__ASSUME_FALLOCATE): Likewise.
30130         (__ASSUME_O_CLOEXEC): Likewise.
30131         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
30132         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
30133         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
30134         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
30135         (__ASSUME_IN_NONBLOCK): Likewise.
30136         (__ASSUME_PIPE2): Likewise.
30137         (__ASSUME_EVENTFD2): Likewise.
30138         (__ASSUME_SIGNALFD4): Likewise.
30139         (__ASSUME_DUP3): Likewise.
30140         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30141         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30142         (__ASSUME_AT_RANDOM): Likewise.
30143         (__ASSUME_PREADV): Likewise.
30144         (__ASSUME_PWRITEV): Likewise.
30145         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
30146         (__ASSUME_F_GETOWN_EX): Define unconditionally.
30147         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
30148         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30149         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
30150         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30151         (__ASSUME_O_CLOEXEC): Define unconditionally.
30152         (__ASSUME_PSELECT): Do not undefine conditionally.
30153         (__ASSUME_PPOLL): Likewise.
30154         (__ASSUME_ATFCTS): Likewise.
30155         (__ASSUME_SET_ROBUST_LIST): Likewise.
30156         (__ASSUME_UTIMENSAT): Likewise.
30157         (__ASSUME_FDATASYNC): Define unconditionally.
30158         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30159         (__ASSUME_SIGFRAME_V2): Likewise.
30160         )__ASSUME_EVENTFD2): Likewise.
30161         (__ASSUME_SIGNALFD4): Likewise.
30162         (__ASSUME_PSELECT): Do not undefine conditionally.
30163         (__ASSUME_PPOLL): Likewise.
30164         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30165         (__ASSUME_PSELECT): Define unconditionally.
30166         (__ASSUME_PPOLL): Likewise.
30167         (__ASSUME_O_CLOEXEC): Likewise.
30168         (__ASSUME_SOCK_CLOEXEC): Likewise.
30169         (__ASSUME_IN_NONBLOCK): Likewise.
30170         (__ASSUME_PIPE2): Likewise.
30171         (__ASSUME_EVENTFD2): Likewise.
30172         (__ASSUME_SIGNALFD4): Likewise.
30173         (__ASSUME_DUP3): Likewise.
30174         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30175         (__ASSUME_O_CLOEXEC): Likewise.
30176         (__ASSUME_SOCK_CLOEXEC): Likewise.
30177         (__ASSUME_IN_NONBLOCK): Likewise.
30178         (__ASSUME_PIPE2): Likewise.
30179         (__ASSUME_EVENTFD2): Likewise.
30180         (__ASSUME_SIGNALFD4): Likewise.
30181         (__ASSUME_DUP3): Likewise.
30182         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30183         (__ASSUME_EVENTFD2): Likewise.
30184         (__ASSUME_SIGNALFD4): Likewise.
30185         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30187 2014-05-12  Andreas Schwab  <schwab@suse.de>
30189         [BZ #16932]
30190         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
30191         (_nss_nis_gethostbyname4_r): Return error if item length is larger
30192         than maximum RPC packet size.
30193         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
30194         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
30195         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
30196         (_nss_nis_getservbyport_r): Likewise.
30198 2014-05-12  Will Newton  <will.newton@linaro.org>
30200         * malloc/Makefile (tests): Add tst-mallopt.
30201         * malloc/tst-mallopt.c: New file.
30203 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30205         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
30206         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
30208 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30210         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
30211         (tst-tlsmod6.so): Likewise.
30213 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30215         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
30217 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
30219         [BZ #16064]
30220         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
30221         and <dl-procinfo.h>.
30222         (__fegetenv): Save SSE state in envp->__eip if supported.
30223         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
30224         envp->__eip if supported.
30225         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
30226         and <dl-procinfo.h>.
30227         (__fesetenv): Always set __eip, __cs_selector, __opcode,
30228         __data_offset and __data_selector in environment to 0.  Set SSE
30229         state if supported.
30230         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
30231         test-fenv-sse.
30232         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
30233         -mfpmath=sse.
30234         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
30236 2014-05-09  Will Newton  <will.newton@linaro.org>
30238         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
30239         and libc_relro_required for ARM.
30240         * sysdeps/arm/preconfigure: Regenerate.
30242 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
30243             Stefan Liebler  <stli@linux.vnet.ibm.com>
30245         * config.make.in (enable-lock-elision): New Makefile variable.
30246         * configure.ac: Likewise.
30247         * configure: Regenerate.
30248         * sysdeps/s390/configure.ac:
30249         Add check for gcc transactions support.
30250         * sysdeps/s390/configure: Regenerate.
30251         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
30252         Build elision files if enabled.
30253         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
30254         Add lock elision support for s390.
30255         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
30256         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
30257         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
30258         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
30259         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
30260         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
30261         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30262         Likewise.
30263         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
30264         Likewise.
30265         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
30266         Likewise.
30267         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
30268         Likewise.
30269         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
30270         (__lll_timedlock_elision, __lll_lock_elision)
30271         (__lll_unlock_elision, __lll_trylock_elision)
30272         (lll_timedlock_elision, lll_lock_elision)
30273         (lll_unlock_elision, lll_trylock_elision): Add.
30274         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30275         (pthread_mutex_t): Add lock elision support for s390.
30277 2014-05-14  Wilco  <wdijkstr@arm.com>
30279         * sysdeps/arm/fclrexcpt.c: Cleanup.
30280         * sysdeps/arm/fedisblxcpt.c: Cleanup.
30281         * sysdeps/arm/feenablxcpt.c: Cleanup.
30282         * sysdeps/arm/fegetenv.c: Cleanup.
30283         * sysdeps/arm/fegetexcept.c: Cleanup.
30284         * sysdeps/arm/fegetround.c: Cleanup.
30285         * sysdeps/arm/feholdexcpt.c: Cleanup.
30286         * sysdeps/arm/fesetenv.c: Cleanup.
30287         * sysdeps/arm/fesetround.c: Cleanup.
30288         * sysdeps/arm/feupdateenv.c: Cleanup.
30289         * sysdeps/arm/fgetexcptflg.c: Cleanup.
30290         * sysdeps/arm/fraiseexcpt.c: Cleanup.
30291         * sysdeps/arm/fsetexcptflg.c: Cleanup.
30292         * sysdeps/arm/ftestexcept.c: Cleanup.
30293         * sysdeps/arm/get-rounding-mode.h: Cleanup.
30294         * sysdeps/arm/setfpucw.c: Cleanup.
30296 2014-05-09  Will Newton  <will.newton@linaro.org>
30298         * sysdeps/arm/armv7/strcmp.S: New file.
30299         * NEWS: Mention addition of ARMv7 optimized strcmp.
30301 2014-05-08  Roland McGrath  <roland@hack.frob.com>
30303         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
30304         look for %.ac rather than %.in.
30306         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
30307         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
30308         * sysdeps/mach/hurd/configure: Regenerated.
30309         * sysdeps/unix/sysv/linux/configure: Regenerated.
30311         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
30313 2014-05-07  Steve Ellcey  <sellcey@mips.com>
30315         [BZ# 16922]
30316         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
30317         (LONG_SUB): Ditto.
30318         (PTR_SUB): Ditto.
30320 2014-05-07  Andreas Schwab  <schwab@suse.de>
30322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30323         when skipping over non-matching result from nscd.
30325 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
30327         [BZ #16876]
30328         * nptl/sockperf.c (client): Check socket return value.
30330         [BZ #16877]
30331         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30332         nscd security class.
30334 2014-05-06  Roland McGrath  <roland@hack.frob.com>
30336         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30337         * sysdeps/arm/unwind.h: ... here.
30339 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
30341         [BZ# 16916]
30342         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30343         Define.
30345 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30347         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30348         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30349         multiarch strncpy for PPC64.
30350         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30351         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30353         multiarch optimizations.
30354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30355         (__libc_ifunc_impl_list): Likewise.
30356         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30357         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30358         multiarch stpncpy for PPC64.
30359         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30360         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30362 2014-05-06  Andreas Schwab  <schwab@suse.de>
30364         [BZ #16912]
30365         * gmon/mcount.c (_MCOUNT_DECL): Use
30366         atomic_compare_and_exchange_bool_acq instead of
30367         catomic_compare_and_exchange_bool_acq.
30369 2014-05-05  Roland McGrath  <roland@hack.frob.com>
30371         * elf/Makefile (others, install-bin): Remove pldd.
30372         (pldd-modules): Variable removed.
30373         ($(objpfx)pldd): Target removed.
30374         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
30375         (others, install-bin): Append pldd here.
30376         ($(objpfx)pldd): New target.
30378         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
30379         to 0, so the first #if test emitted later doesn't see it undefined.
30380         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
30381         * sysdeps/gnu/errlist.c: Regenerated.
30383 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30385         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30386         [libc_hidden_builtin_def]: Define to empty value.
30387         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
30388         [libc_hidden_builtin_def]: Likewise.
30389         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
30390         [libc_hidden_builtin_def]: Likewise.
30391         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
30392         [libc_hidden_builtin_def]: Likewise.
30393         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
30394         __redirect_memcpy and define ifunc as default hidden symbol.
30395         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
30396         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
30398 2014-05-04  Adam Conrad  <adconrad@0c3.net>
30400         * locale/iso-4217.def: Reintroduce XDR currency.
30402 2014-05-04  Allan McRae  <allan@archlinux.org>
30404         * po/eo.po: Update Esperanto translation from translation project.
30406 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
30408         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30409         and FEATURE_INDEX_MAX to 1.
30410         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30412 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30414         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30415         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30416         * iconvdata/big5.c (ONE_DIRECTION): Define.
30417         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30418         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30419         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30420         * iconvdata/cp932.c (ONE_DIRECTION): Define.
30421         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30422         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30423         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30424         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30425         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30426         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30427         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30428         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30429         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30430         * iconvdata/gbk.c (ONE_DIRECTION): Define.
30431         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30432         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30433         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30434         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30435         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30436         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30437         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30438         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30439         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30440         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30441         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30442         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30443         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30444         * iconvdata/iso646.c (ONE_DIRECTION): Define.
30445         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30446         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30447         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30448         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30449         * iconvdata/johab.c (ONE_DIRECTION): Define.
30450         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30451         * iconvdata/sjis.c (ONE_DIRECTION): Define.
30452         * iconvdata/t.61.c (ONE_DIRECTION): Define.
30453         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30454         * iconvdata/tscii.c (ONE_DIRECTION): Define.
30455         * iconvdata/uhc.c (ONE_DIRECTION): Define.
30456         * iconvdata/unicode.c (ONE_DIRECTION): Define.
30457         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30458         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30459         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30461 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30463         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30464         (_IO_JUMPS_OFFSET): Define to 0.
30466         * nptl/sysdeps/pthread/bits/libc-lock.h
30467         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30468         (__libc_lock_define_initialized_recursive): Always define using
30469         initializer.  Modern compilers treat uninitialized (implicit zero) and
30470         explicit zero initializers the same (i.e. put the datum in bss).
30472 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30474         * nscd/nscd-client.h: Include <string.h>.
30476 2014-05-01  David S. Miller  <davem@davemloft.net>
30478         [BZ #16885]
30479         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30480         multiple zero bytes exist at the end of a string.
30481         Reported by Aurelien Jarno <aurelien@aurel32.net>
30483         * string/test-strcmp.c (check): Add explicit test for situations where
30484         there are multiple zero bytes after the first.
30486 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30488         [BZ #16890]
30489         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30490         when compiling wprintf.
30491         * stdio-common/tstdiomisc.c (t3): New function.
30492         (main): Call it.
30494 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30496         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30497         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30498         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30499         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30501 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30503         * stdlib/longlong.h: Updated from GCC.
30505 2014-05-01  Will Newton  <will.newton@linaro.org>
30506             Bernard Ogden  <bernie.ogden@linaro.org>
30508         * NEWS: Update fixed bug list.
30510         [BZ #15119]
30511         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30513 2014-04-30  David S. Miller  <davem@davemloft.net>
30515         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30516         (libc_feholdexcept_setround_sparc_ctx): New function.
30517         (libc_fesetenv_sparc_ctx): Likewise.
30518         (libc_feupdateenv_sparc_ctx): Likewise.
30519         (libc_feholdsetround_sparc_ctx): Likewise.
30520         (libc_feholdexcept_setround_ctx): Define.
30521         (libc_feholdexcept_setroundf_ctx): Likewise.
30522         (libc_feholdexcept_setroundl_ctx): Likewise.
30523         (libc_fesetenv_ctx): Likewise.
30524         (libc_fesetenvf_ctx): Likewise.
30525         (libc_fesetenvl_ctx): Likewise.
30526         (libc_feupdateenv_ctx): Likewise.
30527         (libc_feupdateenvf_ctx): Likewise.
30528         (libc_feupdateenvl_ctx): Likewise.
30529         (libc_feresetround_ctx): Likewise.
30530         (libc_feresetroundf_ctx): Likewise.
30531         (libc_feresetroundl_ctx): Likewise.
30532         (libc_feholdsetround_ctx): Likewise.
30533         (libc_feholdsetroundf_ctx): Likewise.
30534         (libc_feholdsetroundl_ctx): Likewise.
30536         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30537         with __USE_GNU instead of XOPEN cpp guards.
30539         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30540         0.
30542         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30543         with XOPEN cpp guards.
30545 2014-04-30  Julian Brown  <julian@codesourcery.com>
30547         [BZ #16888]
30548         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30549         handling.
30551 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30553         [BZ #9894]
30554         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30555         Change to 2.6.32.
30556         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30557         * sysdeps/unix/sysv/linux/configure: Regenerated.
30558         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30559         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30560         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30561         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30562         * README: Update reference to required Linux kernel version.
30563         * manual/install.texi (Linux): Update reference to required Linux
30564         kernel headers version.
30565         * INSTALL: Regenerated.
30567         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30568         header inclusion.
30569         [POSIX] (limits.h): Likewise.
30570         [POSIX] (math.h): Likewise.
30571         [POSIX] (sys/wait.h): Likewise.
30572         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30573         function.
30574         [POSIX] (stddef.h): Do not allow header inclusion.
30576 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30578         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30580 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30582         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30583         Return immediately after lll_futex_wake.
30585 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30587         [BZ #16791]
30588         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30589         structure.
30590         (datahead_init_pos): Call datahead_init_common early.
30591         (datahead_init_neg): Likewise.
30593         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30594         datahead_init_neg): New functions.
30595         * nscd/aicache.c (addhstaiX): Use them.
30596         * nscd/grpcache.c (cache_addgr): Likewise.
30597         * nscd/hstcache.c (cache_addhst): Likewise.
30598         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30599         * nscd/netgroupcache.c (do_notfound): Likewise.
30600         (addgetnetgrentX): Likewise.
30601         (addinnetgrX): Likewise.
30602         * nscd/pwdcache.c (cache_addpw): Likewise.
30603         * nscd/servicescache.c (cache_addserv): Likewise.
30605 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30606             Atsushi Onoe  <atsushi@onoe.org>
30608         [BZ #14308]
30609         [BZ #12994]
30610         [BZ #13651]
30611         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30612         one response is valid.
30613         * resolv/res_send.c (send_dg): Check for validity of other
30614         response if the current response is a referral.
30616 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30618         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30620 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30622         [BZ #16823]
30623         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30624         Always divide by positive zero when computing -Inf result.
30625         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30626         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30628 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30630         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30631         FPSCR if value do not change.
30632         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30633         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30634         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30635         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30636         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30637         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30638         function.
30640 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30642         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30643         * sysdeps/unix/sysv/linux/hppa: Move directory from
30644         ports/systeps/unix/sysv/linux/hppa.
30645         * README: Update listing for hppa-*-linux-gnu.
30647 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30649         [BZ #16754]
30650         * manual/stdio.texi (Hook functions): Fix types of stream hook
30651         functions.
30652         [BZ #16854]
30653         * socket/sys/socket.h: Fix typo in comment.
30655 2014-04-28  Wilco  <wdijkstr@arm.com>
30657         * sysdeps/arm/fenv_private.h: New file.
30658         * sysdeps/arm/math_private.h: New file.
30659         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30661 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30663         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30664         with __int128_t.
30665         (La_x86_64_retval): Likewise.
30667 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30669         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30670         fpsr if value didn't change.
30671         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30672         to fpcr if value didn't change.
30673         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30674         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30675         fpsr or fpcr if value didn't change.
30676         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30677         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30678         fpcr if value didn't change.
30679         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30680         to fpsr if value didn't change.
30682 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30684         * nptl/tst-sem3.c: Use test-skeleton.c
30685         (main): Rename to do_test.  Use return instead of
30686         exit.
30687         * nptl/tst-sem4.c: Use test-skeleton.c
30688         (main): Rename to do_test.
30690 2014-04-22  David S. Miller  <davem@davemloft.net>
30692         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30693         (struct sigaction): New struct member __glibc_reserved0, change
30694         type of sa_flags to int.
30696 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30698         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30699         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30701 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30703         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30704         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30706 2014-04-22  Will Newton  <will.newton@linaro.org>
30707             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30709         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30710         (__longjmp): Add longjmp and longjmp_target SystemTap
30711         probes.
30712         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30713         (__sigsetjmp): Add setjmp SystemTap probe.
30715 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30717         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30718         match manual order.
30720 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30722         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30724         * sysdeps/powerpc/fpu/fenv_private.h
30725         (libc_feholdexcept_setroundl_ctx): Define to
30726         libc_feholdexcept_setround_ppc_ctx.
30727         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30728         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30729         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30730         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30732 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30734         * sysdeps/aarch64/math-tests.h: New file.
30736 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30738         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30739         New.
30740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30741         Check and set bit_AVX2_Usable.
30742         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30743         macro.
30744         (bit_AVX2): Likewise.
30745         (index_AVX2_Usable): Likewise.
30746         (CPUID_AVX2): Likewise.
30747         (HAS_AVX2): Likewise.
30749 2014-04-17  Will Newton  <will.newton@linaro.org>
30751         * manual/setjmp.texi (System V contexts): Add note that
30752         calling setcontext on a context created by a call to a
30753         signal handler is undefined.  Update text to note that
30754         setcontext from a signal handler is possible but not
30755         recommended.
30757         [BZ #16629]
30758         * stdlib/tst-setcontext.c: Include signal.h.
30759         (main): Check that the signal stack before and
30760         after swapcontext is the same.
30762         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30763         Re-implement to restore registers in user code and avoid
30764         rt_sigreturn system call.
30766 2014-04-17  Wilco  <wdijkstr@arm.com>
30768         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30769         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30770         * math/test-fenv.c: Skip exception trap tests on targets which only
30771         support non-stop mode.
30773 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30774             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30776         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30777         (libc_feholdsetround_aarch64_ctx)
30778         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30779         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30780         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30781         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30782         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30783         (libc_feresetround_noexl_ctx): Define.
30785 2014-04-16  Richard Henderson  <rth@redhat.com>
30787         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30789         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30790         unwind tables.
30792         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30793         const from the non-libc, non-ldso copy.
30795         * sysdeps/alpha/libm-test-ulps: Regenerate.
30797 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30798             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30800         * sysdeps/aarch64/fpu/math_private.h: New file.
30802 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30804         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30806 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30808         [BZ #16275]
30809         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30810         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30811         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30812         Intel MPX bound registers before _dl_profile_fixup.
30813         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30814         registers after _dl_profile_fixup.  Save and restore bound
30815         registers bnd0/bnd1 when calling _dl_call_pltexit.
30816         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30817         (LR_BND_OFFSET): Likewise.
30818         (LRV_BND0_OFFSET): Likewise.
30819         (LRV_BND1_OFFSET): Likewise.
30821 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30823         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30824         to...
30825         * sysdeps/mach/hurd/i386/tls.h: ... here.
30826         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30827         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30828         fields.
30830 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30832         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30834 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30836         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30838 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30840         [BZ #14770]
30841         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30842         * sysdeps/s390/configure: Regenerate.
30844         [BZ #16824]
30845         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30846         Set round-to-nearest internally to reduce error accumulation.
30848 2014-04-16  Alan Modra  <amodra@gmail.com>
30850         [BZ #16740]
30851         [BZ #16619]
30852         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30853         * math/libm-test.inc (frexp_test_data): Add tests.
30854         * NEWS: Update fixed bug list.
30856 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30858         * benchtests/Makefile: Depend on libraries in build directory.
30859         (bench-math): Separate out math tests.
30860         (bench-pthread): Separate out pthread tests.
30861         (bench): Include math and pthread tests.
30863 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30865         [BZ #16831]
30866         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30867         _dl_debug_initialize.
30869         * configure.ac: Remove SELinux header check.
30870         * configure: Regenerate.
30871         * nscd/selinux.c (perms): Array of const char* to permission names.
30872         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30873         default policy. Call string_to_security_class and string_to_av_perm to
30874         translate strings. Enforce default policy and call avs_has_perm with
30875         results of translated strings.
30877 2014-04-13  David S. Miller  <davem@davemloft.net>
30879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30881 2014-04-12  Allan McRae  <allan@archlinux.org>
30883         [BZ #16838]
30884         * manual/string.texi (Collation Functions): Fix qsort argument
30885         order in example.
30886         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30888 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30890         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30891         Make the test a no-op if there are no exceptions defined.
30893 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30895         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30896         enable-hardcoded-path-in-tests
30898 2014-04-11  Will Newton  <will.newton@linaro.org>
30900         * benchtests/Makefile (extra-objs): Add json-lib.o.
30901         (bench-func): Tidy up JSON output.
30902         * benchtests/bench-skeleton.c: Include json-lib.h.
30903         (main): Use JSON library functions to do output of
30904         benchmark results.
30905         * benchtests/bench-timing-type.c (main): Output the
30906         timing type simply, leaving formatting to the user.
30907         * benchtests/json-lib.c: New file.
30908         * benchtests/json-lib.h: Likewise.
30910 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30912         [BZ #15215]
30913         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30914         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30915         memory barriers.  Add comments.
30916         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30917         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30918         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30919         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30920         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30921         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30923 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30925         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30926         * sysdeps/s390/s390-64/configure.ac: ... this ...
30927         * sysdeps/s390/configure.ac: ... to here.
30928         * sysdeps/s390/s390-32/configure: Delete file.
30929         * sysdeps/s390/s390-64/configure: Delete file.
30930         * sysdeps/s390/configure: Regenerate.
30932 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30934         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30936 2014-04-11  Will Newton  <will.newton@linaro.org>
30938         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30939         to zero if it is not defined elsewhere.  (mtrim): Test
30940         the value of MALLOC_DEBUG with #if rather than #ifdef.
30942 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30944         * benchtests/pthread_once-inputs: New file.
30945         * benchtests/pthread_once-source.c: New file.
30946         * benchtests/README: Update documentation.
30948 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30949             H.J. Lu  <hongjiu.lu@intel.com>
30951         [BZ #16275]
30952         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30953         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30954         * sysdeps/x86_64/configure: Regenerated.
30955         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30956         macro.
30957         (REGISTER_SAVE_RAX): Likewise.
30958         (REGISTER_SAVE_RCX): Likewise.
30959         (REGISTER_SAVE_RDX): Likewise.
30960         (REGISTER_SAVE_RSI): Likewise.
30961         (REGISTER_SAVE_RDI): Likewise.
30962         (REGISTER_SAVE_R8): Likewise.
30963         (REGISTER_SAVE_R9): Likewise.
30964         (REGISTER_SAVE_BND0): Likewise.
30965         (REGISTER_SAVE_BND1): Likewise.
30966         (REGISTER_SAVE_BND2): Likewise.
30967         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30968         bound registers when calling _dl_fixup.
30970 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30972         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30973         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30974         of its definition.
30975         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30976         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30977         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30978         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30979         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30980         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30981         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30983 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30985         [BZ #15514]
30986         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30987         pathconf(_PC_NAME_MAX).
30989 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30991         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30992         Remove macro usage.
30993         (__PTHREAD_SPINS): Move definition to ...
30994         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30995         (__PTHREAD_SPINS): ... here.
30996         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30997         (__PTHREAD_SPIN): Likewise.
30998         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30999         (__PTHREAD_SPIN): Likewise.
31000         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
31001         (__PTHREAD_SPIN): Likewise.
31002         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
31003         (__PTHREAD_SPIN): Likewise.
31004         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31005         (__PTHREAD_SPIN): Likewise.
31006         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31007         (__PTHREAD_SPIN): Likewise.
31008         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
31009         (__PTHREAD_SPIN): Likewise.
31010         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31011         (__PTHREAD_SPIN): Likewise.
31012         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31013         (__PTHREAD_SPIN): Likewise.
31014         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31015         (__PTHREAD_SPIN): Likewise.
31016         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31017         (__PTHREAD_SPIN): Likewise.
31018         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
31019         (__PTHREAD_SPIN): Likewise.
31021         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
31022         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
31023         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
31024         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
31025         imply folder.
31026         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
31027         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
31028         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
31029         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
31030         correct imply path.
31031         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
31032         strlen symbol for non multi-arch builds.
31033         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
31034         missing hidden_def and weak_alias.
31036 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
31038         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
31040 2014-04-07  Will Newton  <will.newton@linaro.org>
31042         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
31043         and contents.  [!_LIBC] Remove #ifndef and contents.
31044         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
31045         * string/memccpy.c (__memccpy): Use ANSI prototype.
31046         * string/memfrob.c (memfrob): Likewise.
31047         * string/strcoll.c (STRCOLL): Likewise.
31048         * string/strlen.c (strlen): Likewise.
31049         * string/strtok.c (STRTOK): Likewise.
31050         * string/strcat.c: Remove unused #include of memcopy.h.
31051         (strcat): Use ANSI prototype.
31052         * string/strchr.c: Remove unused #include of memcopy.h.
31053         (strchr): Use ANSI prototype.
31054         * string/strcmp.c: Remove unused #include of memcopy.h.
31055         (strcmp): Use ANSI prototype.
31056         * string/strcpy.c: Remove unused #include of memcopy.h.
31057         (strcpy): Use ANSI prototype.
31059 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31061         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
31062         * config.make.in (config-extra-cppflags): Set it from
31063         libc_extra_cppflags.
31064         * configure.ac (libc_extra_cflags): Make it accumulate over
31065         configure fragments.
31066         (libc_extra_cppflags): New flag.
31067         * configure. Regenerate.
31068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31069         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
31070         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
31073         [BZ #16815]
31074         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
31075         result for FE_DOWNWARD rounding mode.
31076         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
31077         Likewise.
31078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31080 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
31082         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
31083         in function argument name.
31085 2014-04-03  David Svoboda  <svoboda@cert.org>
31087         [BZ #5666]
31088         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
31089         explicitly.
31091 2014-04-03  Roland McGrath  <roland@hack.frob.com>
31093         * elf/dl-unmap-segments.h: New file.
31094         * sysdeps/generic/ldsodefs.h
31095         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
31096         * elf/dl-close.c: Include <dl-unmap-segments.h>.
31097         * elf/dl-fptr.c: Likewise.
31098         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
31099         * sysdeps/aarch64/tlsdesc.c: Likewise.
31100         * sysdeps/arm/tlsdesc.c: Likewise.
31101         * sysdeps/i386/tlsdesc.c: Likewise.
31102         * sysdeps/tile/dl-runtime.c: Likewise.
31103         * sysdeps/x86_64/tlsdesc.c: Likewise.
31104         * elf/dl-load.h: New file.
31105         * elf/dl-load.c: Include it.
31106         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
31107         Macros moved to dl-load.h.
31108         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
31109         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
31110         Use _dl_unmap_segments in place of __munmap.
31111         Break out segment-mapping loop into ...
31112         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
31114 2014-04-03  Will Newton  <will.newton@linaro.org>
31116         * elf/dl-lookup.c (do_lookup_x): Remove comment
31117         referring to nested function and move variable
31118         declarations down to before first use.
31120 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
31122         [BZ #16799]
31123         [BZ #16800]
31124         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
31125         with 0 numerator.
31126         * math/s_catanf.c (__catanf): Likewise.
31127         * math/s_catanh.c (__catanh): Likewise.
31128         * math/s_catanhf.c (__catanhf): Likewise.
31129         * math/s_catanhl.c (__catanhl): Likewise.
31130         * math/s_catanl.c (__catanl): Likewise.
31131         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
31132         by positive zero when computing -Inf result.
31133         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
31134         (catanh_test): Likewise.
31135         * sysdeps/i386/fpu/libm-test-ulps: Update.
31136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31138         [BZ #16789]
31139         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
31140         instead of using underflowing value in computing result.
31141         * math/s_clog10.c (__clog10): Likewise.
31142         * math/s_clog10f.c (__clog10f): Likewise.
31143         * math/s_clog10l.c (__clog10l): Likewise.
31144         * math/s_clogf.c (__clogf): Likewise.
31145         * math/s_clogl.c (__clogl): Likewise.
31146         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
31147         (clog10_test): Likewise.
31148         * sysdeps/i386/fpu/libm-test-ulps: Update.
31149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31151 2014-04-02  Alan Modra  <amodra@gmail.com>
31153         [BZ #16739]
31154         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
31155         output when value is near a power of two.  Use int64_t for lx and
31156         remove casts.  Use decimal rather than hex exponent constants.
31157         Don't use long double multiplication when double will suffice.
31158         * math/libm-test.inc (nextafter_test_data): Add tests.
31159         * NEWS: Add 16739 and 16786 to bug list.
31161         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
31163         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
31165 2014-04-01  Will Newton  <will.newton@linaro.org>
31167         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
31168         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
31170 2014-04-01  Florian Weimer  <fweimer@redhat.com>
31172         [BZ #13347]
31173         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
31174         * nptl/tst-setuid2.c: New file.
31175         * nptl/Makefile (xtests): Add tst-setuid2.
31177 2014-04-01  Alan Modra  <amodra@gmail.com>
31179         [BZ #16786]
31180         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
31182 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31184         [BZ #6803]
31185         [BZ #6804]
31186         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
31187         set errno as appropriate.
31188         * math/w_scalbf.c (__scalbf): Likewise.
31189         * math/w_scalbl.c (__scalbl): Likewise.
31190         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
31191         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
31192         * math/libm-test.inc (scalb_test_data): Add errno expectations.
31193         Add more NaN tests.
31195         [BZ #16349]
31196         * math/w_atan2.c: Include <errno.h>.
31197         (__atan2): Set errno for result underflowing to zero.
31198         * math/w_atan2f.c: Include <errno.h>.
31199         (__atan2f): Set errno for result underflowing to zero.
31200         * math/w_atan2l.c: Include <errno.h>.
31201         (__atan2l): Set errno for result underflowing to zero.
31202         * math/auto-libm-test-in: Don't allow missing errno for some atan2
31203         tests.
31204         * math/auto-libm-test-out: Regenerated.
31206 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31208         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31209         Encode instruction correctly in little endian.
31210         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31211         Likewise.
31212         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31213         Likewise.
31214         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31215         Likewise.
31216         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31217         Likewise.
31219 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31221         [BZ #9894]
31222         * sysdeps/unix/sysv/linux/kernel-features.h
31223         [__sparc__ && !__arch64__ && !__sparc_v9__]
31224         (__ASSUME_SET_ROBUST_LIST): Do not define.
31225         [__sparc__ && !__arch64__ && !__sparc_v9__]
31226         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31227         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
31228         Likewise.
31229         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31230         (__ASSUME_FUTEX_LOCK_PI): Undefine.
31231         (__ASSUME_REQUEUE_PI): Likewise.
31232         (__ASSUME_SET_ROBUST_LIST): Likewise.
31233         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31234         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
31235         Undefine.
31236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31237         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
31238         Likewise.
31239         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
31240         Likewise.
31241         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
31242         Likewise.
31243         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31244         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
31245         Undefine.
31246         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
31247         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
31248         Likewise.
31250         [BZ #16648]
31251         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31252         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
31253         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
31255 2014-03-31  Will Newton  <will.newton@linaro.org>
31257         * benchtests/Makefile (bench): Add ffs and ffsll to list
31258         of tests.
31259         * benchtests/ffs-inputs: New file.
31260         * benchtests/ffsll-inputs: Likewise.
31262 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
31264         [BZ #16770]
31265         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
31266         too large before casting to int.
31267         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
31268         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
31269         * math/libm-test.inc (scalb_test_data): Add more tests.
31271 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31273         * benchtests/Makefile (DETAILED_OPT): New make option.
31274         (bench-func): Run benchmark program with -d if DETAILED_OPT is
31275         set.
31276         * benchtests/bench-skeleton.c: Include stdbool.h.
31277         (main): Store and print timings per input.
31278         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
31279         member to each argument value.
31280         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
31281         (_print_arg_data): Initialize per-input timing to 0.
31283         * benchtests/Makefile (timing-type): New binary.
31284         (bench-clean): Also remove bench-timing-type.
31285         (bench): New target for timing-type.
31286         (bench-func): Print output in JSON format.
31287         * benchtests/bench-skeleton.c (main): Print output in JSON
31288         format.
31289         * benchtests/bench-timing-type.c: New file.
31290         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
31291         (TIMING_PRINT_STATS): Remove.
31292         * benchtests/scripts/bench.py (_print_arg_data): Store variant
31293         name separately.
31295         * benchtests/bench-modf.c: Remove.
31296         * benchtests/modf-inputs: New inputs file.
31298 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
31300         [BZ #16362]
31301         * math/s_clog10.c (M_PI_LOG10E): New macro.
31302         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
31303         imaginary parts are 0.
31304         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
31305         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
31306         imaginary parts are 0.
31307         * math/s_clog10l.c (M_PI_LOG10El): New macro.
31308         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
31309         imaginary parts are 0.
31310         * math/libm-test.inc (clog10_test_data): Update expected results
31311         for when real and imaginary parts are 0.
31313 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
31315         * elf/dl-load.c: Finish conversion of __builtin_expect into
31316         __glibc_{un}likely.
31318 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
31320         [BZ #16348]
31321         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31322         1+x for argument with exponent below -67.
31323         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31324         Likewise.
31325         * math/auto-libm-test-in: Add more tests of exp.
31326         * math/auto-libm-test-out: Regenerated.
31328 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31330         [BZ #16759]
31331         * inet/getnetgrent_r.c (get_nonempty_val): New function.
31332         (nscd_getnetgrent): Use it.
31334         [BZ #16760]
31335         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31336         of stpcpy.
31338 2014-03-27  Andi Kleen  <ak@linux.intel.com>
31340         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31341         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31342         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31343         (lll_robust_unlock): Remove out of line section. Use cfi
31344         intrinsics.
31345         (LLL_STUB_UNWIND_INFO*): Remove.
31346         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31347         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31348         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31349         (lll_robust_unlock): Remove out of line section. Use cfi
31350         intrinsics.
31351         (LLL_STUB_UNWIND_INFO*): Remove.
31353 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31355         [BZ #16758]
31356         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31357         blank values.
31359 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
31361         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31363 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
31365         [BZ #16198]
31366         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
31367         fnstenv.
31368         * math/test-fenv-preserve.c: New file.
31369         * math/Makefile (tests): Add test-fenv-preserve.
31371 2014-03-26  Will Newton <will.newton@linaro.org>
31373         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
31375 2014-03-25  Roland McGrath  <roland@hack.frob.com>
31377         * scripts/versionlist.awk: Partition the version sets and emit all
31378         GLIBC_* (sorted) before all others (sorted).
31380 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31382         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
31383         GLIBC_2.2.5 version.
31385 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31387         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
31388         calls.
31390         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31391         previous change.
31393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31395 2014-03-25  Andreas Schwab  <schwab@suse.de>
31397         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
31398         label to be used after in6ailist is initialized.
31400 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31402         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31403         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31405 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31407         [BZ #16357]
31408         [BZ #16599]
31409         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31410         min_plus_half.
31411         (fp_formats): Update initializers.
31412         (init_fp_formats): Initialize new field.
31413         (output_for_one_input_case): Allow underflow for results up to
31414         min_plus_half.
31415         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31416         * math/auto-libm-test-in: Don't mark some underflows from asin and
31417         atanh as spurious.
31418         * math/auto-libm-test-out: Regenerated.
31419         * sysdeps/i386/fpu/libm-test-ulps: Update.
31420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31422 2014-03-25  Andreas Schwab  <schwab@suse.de>
31424         * libio/Makefile (tst-ftell-partial-wide-ENV)
31425         (tst-ftell-active-handler-ENV): Define.
31427 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
31429         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31431 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31433         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31435 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31437         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31438         * sysdeps/x86_64/fpu/multiarch/e_exp.c
31439         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31441 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31443         [BZ #16634]
31444         * elf/dl-load.c (open_verify): Add mode parameter.
31445         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31446         (open_path): Change from boolean 'secure' to complete flag 'mode'
31447         (_dl_map_object): Adjust.
31448         * elf/Makefile (tests): Add tst-dlopen-aout.
31449         * elf/tst-dlopen-aout.c: New test.
31451 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
31453         [BZ #16714]
31454         * sysdeps/unix/sysv/linux/s390/bits/stat.h
31455         (struct stat): Rename member pad0 to __glibc_reserved0.
31457         [BZ #16712]
31458         * sysdeps/s390/s390-32/bits/wordsize.h
31459         (__WORDSIZE32_SIZE_ULONG): New define.
31460         * sysdeps/s390/s390-64/bits/wordsize.h
31461         (__WORDSIZE32_SIZE_ULONG): Likewise.
31462         * sysdeps/generic/stdint.h (SIZE_MAX):
31463         Define as UL if __WORDSIZE32_SIZE_ULONG.
31465         [BZ #16713]
31466         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31467         (__glibc_reserved0): New variable.
31468         (sa_flags): Change type to int.
31470         * posix/Makefile (before-compile): Use += before-compile instead
31471         of a :=.
31473         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31474         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31476 2014-03-20  Andreas Schwab  <schwab@suse.de>
31478         [BZ #16743]
31479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31480         non-matching result from nscd.
31482 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31484         * scripts/bench.py: Moved to ...
31485         * benchtests/scripts/bench.py: ... here.
31486         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31488 2014-03-24  Andreas Schwab  <schwab@suse.de>
31490         [BZ #16002]
31491         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31492         alloca_account and account alloca use for struct in6ailist.
31494 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31496         [BZ #16284]
31497         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31498         rounding mode to recompute results that overflow to infinity or
31499         underflow to zero.
31500         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31501         bug 16284.
31502         * math/auto-libm-test-out: Regenerated.
31503         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31504         (ccosh_test): Likewise.
31505         (csin_test_data): Use plus_oflow.
31506         (csin_test): Use ALL_RM_TEST.
31507         (csinh_test_data): Use plus_oflow.
31508         (csinh_test): Use ALL_RM_TEST.
31509         * sysdeps/i386/fpu/libm-test-ulps: Update.
31510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31512 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31514         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31515         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31516         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31518         [BZ #16731]
31519         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31520         when x - 1 is zero.
31521         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31522         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31523         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31524         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31525         argument is 1.
31526         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31527         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31528         zero.
31529         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31530         * sysdeps/i386/fpu/libm-test-ulps: Update.
31531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31533 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31535         * scripts/bench.pl: Remove file.
31536         * scripts/bench.py: New benchmark script.
31537         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31538         * benchtests/README: Mention python dependency.
31539         * scripts/pylintrc: New file.
31540         * scripts/pylint: New file.
31542         * bits/mathdef.h: Use #ifdef instead of #if.
31543         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31544         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31545         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31546         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31547         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31548         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31550 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31551             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31553         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31555         and strpbrk-ppc64 objects.
31556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31557         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31558         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31559         multiarch strpbrk for POWER7.
31560         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31561         multiarch strpbrk for PPC64.
31562         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31563         ifunc selector.
31564         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31565         strpbrk for POWER7.
31567 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31569         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31570         (atan_test): Likewise.
31571         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31572         (atanh_test): Use ALL_RM_TEST.
31573         (atan2_test_data): Likewise.
31574         (cabs_test): Likewise.
31575         (cacosh_test): Likewise.
31576         (carg_test): Likewise.
31577         (casin_test): Likewise.
31578         (casinh_test): Likewise.
31579         (cbrt_test): Likewise.
31580         (csqrt_test): Likewise.
31581         (erf_test): Likewise.
31582         (erfc_test): Likewise.
31583         (pow10_test): Likewise.
31584         (exp2_test): Likewise.
31585         (hypot_test): Likewise.
31586         (j0_test): Likewise.
31587         (j1_test): Likewise.
31588         (lgamma_test): Likewise.
31589         (gamma_test): Likewise.
31590         (sincos_test): Likewise.
31591         (tanh_test): Likewise.
31592         (y0_test): Likewise.
31593         (y1_test): Likewise.
31594         * sysdeps/i386/fpu/libm-test-ulps: Update.
31595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31597 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31599         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31601         and strcspn-ppc64 objects.
31602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31603         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31604         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31605         multiarch strcspn for POWER7.
31606         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31607         multiarch strcspn for PPC64.
31608         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31609         ifunc selector.
31610         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31611         strcspn for POWER7.
31613 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31615         * math/gen-libm-test.pl (generate_testfile): Expect only function
31616         name as argument to AUTO_TESTS_* and pass results for all rounding
31617         modes to parse_args.
31618         (parse_auto_input): Separate inputs of automatic tests from
31619         outputs before storing in %auto_tests.
31620         * math/libm-test.inc (acos_test_data): Update call to
31621         AUTO_TESTS_f_f.
31622         (acos_test): Use ALL_RM_TEST.
31623         (acos_tonearest_test_data): Remove.
31624         (acos_test_tonearest): Likewise.
31625         (acos_towardzero_test_data): Likewise.
31626         (acos_test_towardzero): Likewise.
31627         (acos_downward_test_data): Likewise.
31628         (acos_test_downward): Likewise.
31629         (acos_upward_test_data): Likewise.
31630         (acos_test_upward): Likewise.
31631         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31632         (asin_test_data): Likewise.
31633         (asin_test): Use ALL_RM_TEST.
31634         (asin_tonearest_test_data): Remove.
31635         (asin_test_tonearest): Likewise.
31636         (asin_towardzero_test_data): Likewise.
31637         (asin_test_towardzero): Likewise.
31638         (asin_downward_test_data): Likewise.
31639         (asin_test_downward): Likewise.
31640         (asin_upward_test_data): Likewise.
31641         (asin_test_upward): Likewise.
31642         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31643         (atan_test_data): Likewise.
31644         (atanh_test_data): Likewise.
31645         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31646         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31647         (carg_test_data): Likewise.
31648         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31649         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31650         (ccosh_test_data): Likewise.
31651         (cexp_test_data): Likewise.
31652         (clog_test_data): Likewise.
31653         (clog10_test_data): Likewise.
31654         (cos_test_data): Update call to AUTO_TESTS_f_f.
31655         (cos_test): Use ALL_RM_TEST.
31656         (cos_tonearest_test_data): Remove.
31657         (cos_test_tonearest): Likewise.
31658         (cos_towardzero_test_data): Likewise.
31659         (cos_test_towardzero): Likewise.
31660         (cos_downward_test_data): Likewise.
31661         (cos_test_downward): Likewise.
31662         (cos_upward_test_data): Likewise.
31663         (cos_test_upward): Likewise.
31664         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31665         (cosh_test): Use ALL_RM_TEST.
31666         (cosh_tonearest_test_data): Remove.
31667         (cosh_test_tonearest): Likewise.
31668         (cosh_towardzero_test_data): Likewise.
31669         (cosh_test_towardzero): Likewise.
31670         (cosh_downward_test_data): Likewise.
31671         (cosh_test_downward): Likewise.
31672         (cosh_upward_test_data): Likewise.
31673         (cosh_test_upward): Likewise.
31674         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31675         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31676         (ctan_test_data): Likewise.
31677         (ctan_test): Use ALL_RM_TEST.
31678         (ctan_tonearest_test_data): Remove.
31679         (ctan_test_tonearest): Likewise.
31680         (ctan_towardzero_test_data): Likewise.
31681         (ctan_test_towardzero): Likewise.
31682         (ctan_downward_test_data): Likewise.
31683         (ctan_test_downward): Likewise.
31684         (ctan_upward_test_data): Likewise.
31685         (ctan_test_upward): Likewise.
31686         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31687         (ctanh_test): Use ALL_RM_TEST.
31688         (ctanh_tonearest_test_data): Remove.
31689         (ctanh_test_tonearest): Likewise.
31690         (ctanh_towardzero_test_data): Likewise.
31691         (ctanh_test_towardzero): Likewise.
31692         (ctanh_downward_test_data): Likewise.
31693         (ctanh_test_downward): Likewise.
31694         (ctanh_upward_test_data): Likewise.
31695         (ctanh_test_upward): Likewise.
31696         (erf_test_data): Update call to AUTO_TESTS_f_f.
31697         (erfc_test_data): Likewise.
31698         (exp_test_data): Likewise.
31699         (exp_test): Use ALL_RM_TEST.
31700         (exp_tonearest_test_data): Remove.
31701         (exp_test_tonearest): Likewise.
31702         (exp_towardzero_test_data): Likewise.
31703         (exp_test_towardzero): Likewise.
31704         (exp_downward_test_data): Likewise.
31705         (exp_test_downward): Likewise.
31706         (exp_upward_test_data): Likewise.
31707         (exp_test_upward): Likewise.
31708         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31709         (exp10_test): Use ALL_RM_TEST.
31710         (exp10_tonearest_test_data): Remove.
31711         (exp10_test_tonearest): Likewise.
31712         (exp10_towardzero_test_data): Likewise.
31713         (exp10_test_towardzero): Likewise.
31714         (exp10_downward_test_data): Likewise.
31715         (exp10_test_downward): Likewise.
31716         (exp10_upward_test_data): Likewise.
31717         (exp10_test_upward): Likewise.
31718         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31719         (expm1_test_data): Likewise.
31720         (expm1_test): Use ALL_RM_TEST.
31721         (expm1_tonearest_test_data): Remove.
31722         (expm1_test_tonearest): Likewise.
31723         (expm1_towardzero_test_data): Likewise.
31724         (expm1_test_towardzero): Likewise.
31725         (expm1_downward_test_data): Likewise.
31726         (expm1_test_downward): Likewise.
31727         (expm1_upward_test_data): Likewise.
31728         (expm1_test_upward): Likewise.
31729         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31730         (fma_test): Use ALL_RM_TEST.
31731         (fma_towardzero_test_data): Remove.
31732         (fma_test_towardzero): Likewise.
31733         (fma_downward_test_data): Likewise.
31734         (fma_test_downward): Likewise.
31735         (fma_upward_test_data): Likewise.
31736         (fma_test_upward): Likewise.
31737         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31738         (j0_test_data): Update call to AUTO_TESTS_f_f.
31739         (j1_test_data): Likewise.
31740         (jn_test_data): Update call to AUTO_TESTS_if_f.
31741         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31742         (log_test_data): Update call to AUTO_TESTS_f_f.
31743         (log10_test_data): Likewise.
31744         (log1p_test_data): Likewise.
31745         (log2_test_data): Likewise.
31746         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31747         (pow_tonearest_test_data): Likewise.
31748         (sin_test_data): Update call to AUTO_TESTS_f_f.
31749         (sin_test): Use ALL_RM_TEST.
31750         (sin_tonearest_test_data): Remove.
31751         (sin_test_tonearest): Likewise.
31752         (sin_towardzero_test_data): Likewise.
31753         (sin_test_towardzero): Likewise.
31754         (sin_downward_test_data): Likewise.
31755         (sin_test_downward): Likewise.
31756         (sin_upward_test_data): Likewise.
31757         (sin_test_upward): Likewise.
31758         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31759         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31760         (sinh_test): Use ALL_RM_TEST.
31761         (sinh_tonearest_test_data): Remove.
31762         (sinh_test_tonearest): Likewise.
31763         (sinh_towardzero_test_data): Likewise.
31764         (sinh_test_towardzero): Likewise.
31765         (sinh_downward_test_data): Likewise.
31766         (sinh_test_downward): Likewise.
31767         (sinh_upward_test_data): Likewise.
31768         (sinh_test_upward): Likewise.
31769         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31770         (sqrt_test): Use ALL_RM_TEST.
31771         (sqrt_tonearest_test_data): Remove.
31772         (sqrt_test_tonearest): Likewise.
31773         (sqrt_towardzero_test_data): Likewise.
31774         (sqrt_test_towardzero): Likewise.
31775         (sqrt_downward_test_data): Likewise.
31776         (sqrt_test_downward): Likewise.
31777         (sqrt_upward_test_data): Likewise.
31778         (sqrt_test_upward): Likewise.
31779         (tan_test_data): Update call to AUTO_TESTS_f_f.
31780         (tan_test): Use ALL_RM_TEST.
31781         (tan_tonearest_test_data): Remove.
31782         (tan_test_tonearest): Likewise.
31783         (tan_towardzero_test_data): Likewise.
31784         (tan_test_towardzero): Likewise.
31785         (tan_downward_test_data): Likewise.
31786         (tan_test_downward): Likewise.
31787         (tan_upward_test_data): Likewise.
31788         (tan_test_upward): Likewise.
31789         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31790         (tgamma_test_data): Likewise.
31791         (y0_test_data): Likewise.
31792         (y1_test_data): Likewise.
31793         (yn_test_data): Update call to AUTO_TESTS_if_f.
31794         (main): Do not call removed functions.
31796 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31798         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31799         (ldexp_test_data): Remove.
31800         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31801         scalbn_test_data.
31802         (scalb_test): Use ALL_RM_TEST.
31804 2014-03-19  Andreas Schwab  <schwab@suse.de>
31806         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31808 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31810         [BZ #16649]
31811         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31812         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31813         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31815         (__ASSUME_PREADV): Undefine.
31816         (__ASSUME_PWRITEV): Likewise.
31818 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31820         * bits/mman-linux.h: Add comment about non-Linux use.
31821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31822         bits/mman-linux.h resting place.
31824         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31825         * bits/mman-linux.h: ... here.
31827 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31829         * conform/conformtest.pl: Add standard definition when calling C
31830         preprocessor on data files.
31831         (checknamespace): Remove unused variable.
31833 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31835         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31836         minus_oflow, plus_uflow and minus_uflow in expected results.
31837         * math/libm-test.inc (scalbn_test_data): Add more tests of
31838         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31839         minus_uflow.
31840         (scalbn_test): Use ALL_RM_TEST.
31841         (scalbln_test_data): Add more tests of negative arguments.  Use
31842         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31843         (scalbln_test): Use ALL_RM_TEST.
31845 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31847         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31849 2014-03-18  Will Newton  <will.newton@linaro.org>
31851         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31852         inaccurate comment.
31854 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31856         * Makerules [!subdir] (check-abi): Exit with error status if a
31857         test failed.
31859 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31861         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31862         for rint.  Include results for all rounding modes.
31863         (nearbyint_test): Use ALL_RM_TEST.
31864         (rint_test_data): Include all tests used for nearbyint.
31866 2014-03-17  Will Newton  <will.newton@linaro.org>
31868         * nptl/sysdeps/pthread/pthread.h: Revert previous
31869         change.
31871         * sysdeps/generic/ldsodefs.h: Revert previous
31872         change.
31874         * libio/genops.c: Revert previous change.
31875         * libio/libioP.h: Likewise.
31876         * stdio-common/vfprintf.c: Likewise.
31878         * sysdeps/generic/math_private.h: Revert previous
31879         change.
31881         * sysdeps/generic/math_private.h: Check whether
31882         HAVE_RM_CTX is defined with #ifdef rather
31883         than #if.
31885         * argp/argp-fmtstream.h: Check whether
31886         __STRICT_ANSI__ is defined with #ifdef rather
31887         than #if.
31888         * argp/argp.h: Likewise.
31890         * libio/genops.c: Check whether
31891         _IO_JUMPS_OFFSET is defined with #ifdef rather
31892         than #if.
31893         * libio/libioP.h: Likewise.
31894         * stdio-common/vfprintf.c: Likewise.
31896         * sysdeps/generic/ldsodefs.h: Check whether
31897         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31898         than #if.
31900         * nptl/sysdeps/pthread/pthread.h: Check
31901         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31902         its value.
31904 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31906         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31907         setting O_APPEND.
31908         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31909         test case.
31911         [BZ #16680]
31912         * libio/fileops.c (_IO_file_open): Seek to end of file but
31913         don't cache the offset.
31914         (get_file_offset): Remove function.
31915         (do_ftell): Use cached offset when available.
31916         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31917         don't cache the offset.
31918         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31919         case.
31920         (do_one_test): Call it.
31921         (do_ftell_test): Fix up expected old offset for a+ mode.
31922         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31923         available.
31925         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31926         up test status with function return status.
31927         (do_write_test): Likewise.
31928         (do_append_test): Likewise.
31930         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31931         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31932         Remove.
31934 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31936         * math/gen-libm-test.pl (parse_args): Handle results specified for
31937         each rounding mode separately.
31938         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31939         tests and results from lrint_tonearest_test_data,
31940         lrint_towardzero_test_data, lrint_downward_test_data and
31941         lrint_upward_test_data.
31942         (lrint_test): Use ALL_RM_TEST.
31943         (lrint_tonearest_test_data): Remove.
31944         (lrint_test_tonearest): Likewise.
31945         (lrint_towardzero_test_data): Likewise.
31946         (lrint_test_towardzero): Likewise.
31947         (lrint_downward_test_data): Likewise.
31948         (lrint_test_downward): Likewise.
31949         (lrint_upward_test_data): Likewise.
31950         (lrint_test_upward): Likewise.
31951         (llrint_test_data): Merge in per-rounding-mode tests and results
31952         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31953         llrint_downward_test_data and llrint_upward_test_data.
31954         (llrint_test): Use ALL_RM_TEST.
31955         (llrint_tonearest_test_data): Remove.
31956         (llrint_test_tonearest): Likewise.
31957         (llrint_towardzero_test_data): Likewise.
31958         (llrint_test_towardzero): Likewise.
31959         (llrint_downward_test_data): Likewise.
31960         (llrint_test_downward): Likewise.
31961         (llrint_upward_test_data): Likewise.
31962         (llrint_test_upward): Likewise.
31963         (rint_test_data): Merge in per-rounding-mode tests and results
31964         from rint_tonearest_test_data, rint_towardzero_test_data,
31965         rint_downward_test_data and rint_upward_test_data.  Add
31966         per-rounding-mode results for tests not in those arrays.
31967         (rint_test): Use ALL_RM_TEST.
31968         (rint_tonearest_test_data): Remove.
31969         (rint_test_tonearest): Likewise.
31970         (rint_towardzero_test_data): Likewise.
31971         (rint_test_towardzero): Likewise.
31972         (rint_downward_test_data): Likewise.
31973         (rint_test_downward): Likewise.
31974         (rint_upward_test_data): Likewise.
31975         (rint_test_upward): Likewise.
31976         (main): Don't call removed functions.
31978 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31980         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31981         "Compiled on ..." crapola.  It is anti-useful.
31983 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31985         * scripts/evaluate-test.sh: Handle fourth argument to determine
31986         whether test run should stop on failure.
31987         * Makeconfig (stop-on-test-failure): New variable.
31988         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31989         $(stop-on-test-failure).
31990         * Makefile (tests): Give a summary of results from testing and
31991         exit with failure status if they include an ERROR or FAIL.
31992         (xtests): Likewise.
31993         * manual/install.texi (Configuring and compiling): Mention
31994         stop-on-test-failure=y.
31995         * INSTALL: Regenerated.
31997 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31999         * scripts/versionlist.awk: New file.
32000         * Makerules [$(build-shared) = yes]
32001         (postclean-generated): Add Versions.def, not Versions.def.v and
32002         Versions.def.v.i.
32003         ($(common-objpfx)Versions.def.v.i): Target removed.
32004         ($(common-objpfx)Versions.def): New target.
32005         ($(common-objpfx)Versions.all): Depend on that rather that
32006         $(common-objpfx)Versions.def.v.
32007         * Versions.def: File removed.
32009         * Makeconfig (+gccwarn): Add -Wundef.
32010         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
32011         a dl-sysdep.h breaking its contract.
32012         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
32013         * include/stackinfo.h: New file.
32014         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
32015         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
32016         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
32017         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
32018         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
32019         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
32020         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32021         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32022         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32023         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32024         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32025         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
32026         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32027         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32028         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32030 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32032         [BZ #16707]
32033         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
32034         implementation.
32035         * math/libm-test.inc (round_test_data): Add more tests.
32037         [BZ #16706]
32038         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
32039         implementation.
32040         * math/libm-test.inc (nearbyint_test_data): Add more tests.
32042         [BZ #16701]
32043         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
32044         implementation.
32045         * math/libm-test.inc (ceil_test_data): Add more tests.
32047         * math/libm-test.inc (trunc_test_data): Add more tests related to
32048         BZ#16414.
32050 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32052         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
32053         with #if rather than #ifdef.
32054         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
32056 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
32058         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
32059         first.  Disable AVX-512 GCC support if assembler doesn't support
32060         it.
32061         * sysdeps/x86_64/configure: Regenerated.
32063 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
32065         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
32066         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
32067         (__old_pthread_attr_setstack): Likewise.
32068         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
32069         [!_STACK_GROWS_DOWN]: Likewise.
32071 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
32073         * config.make.in (have-bash2): Delete.
32074         * configure.ac (libc_cv_have_bash2): Delete.
32075         * configure: Regenerate.
32076         * elf/Makefile (common-ldd-rewrite): Rename to ...
32077         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
32078         (sh-ldd-rewrite): Delete.
32079         (bash-ldd-rewrite): Delete.
32080         (have-bash2): Delete checks.
32081         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
32082         ldd-rewrite.
32084         * config.make.in (have-ksh): Delete.
32085         (KSH): Delete.
32086         * configure.ac (libc_cv_have_ksh): Delete.
32087         * configure: Regenerate.
32089         * elf/Makefile: Delete $(have-ksh) check.
32090         ($(objpfx)sotruss): Change KSH to BASH.
32091         * elf/sotruss.ksh: Rename to ...
32092         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
32093         function style to match POSIX.  Drop ksh vim mode setting.
32095         * manual/time.texi (Specifying the Time Zone with TZ): Change
32096         Tuesday to Thursday.
32098         * debug/tst-longjmp_chk2.c: Update header comment.
32099         (stackoverflow_handler): Add comment.  Call assert on pass value.
32101 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
32103         [BZ #16194]
32104         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
32105         (HAVE_AVX512_ASM_SUPPORT): Likewise.
32106         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
32107         (La_x86_64_vector): Add zmm.
32108         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
32109         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
32110         ($(objpfx)tst-audit10): New target.
32111         ($(objpfx)tst-audit10.out): Likewise.
32112         (tst-audit10-ENV): New.
32113         (AVX512-CFLAGS): Likewise.
32114         (CFLAGS-tst-audit10.c): Likewise.
32115         (CFLAGS-tst-auditmod10a.c): Likewise.
32116         (CFLAGS-tst-auditmod10b.c): Likewise.
32117         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
32118         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
32119         * sysdeps/x86_64/configure: Regenerated.
32120         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
32121         AVX-512 zmm register support.
32122         (_dl_x86_64_save_sse): Likewise.
32123         (_dl_x86_64_restore_sse): Likewise.
32124         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
32125         size vector registers.
32126         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
32127         (ZMM_SIZE): Likewise.
32128         * sysdeps/x86_64/tst-audit10.c: New file.
32129         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
32130         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
32132 2014-03-13  Roland McGrath  <roland@hack.frob.com>
32134         * configure.ac (HAVE_EHDR_START): New check.
32135         * configure: Regenerated.
32136         * config.h.in (HAVE_EHDR_START): New #undef.
32137         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
32138         assuming the lowest-addressed segment maps the start of the file.
32140 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
32142         * INSTALL: Regenerated.
32144 2014-03-13  Will Newton  <will.newton@linaro.org>
32146         * manual/setjmp.texi (System V contexts): Improve
32147         clarity and grammar of documentation.
32149 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32151         [BZ #16381]
32152         * elf/Makefile (tests): Add tst-pie2.
32153         (tests-pie): Add tst-pie2.
32154         * elf/tst-pie2.c: New file.
32155         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
32156         for ET_EXEC.
32157         * elf/rtld.c (map_doit): Load executable as lt_executable.
32158         (dl_main): Likewise.
32160 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
32162         [BZ #16642]
32163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32164         (__ASSUME_PSELECT): Undefine.
32166 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32168         [BZ #16689]
32169         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
32170         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
32171         static build.
32172         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
32173         selector for static builds.
32175 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32177         [BZ #16695]
32178         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
32179         key in the buffer.
32181 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32183         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
32184         IFUNC selector for static builds.
32186 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
32188         * sysdeps/mips/math_private.h [__mips_hard_float]
32189         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
32190         libc_feresetround_mips_ctx.
32191         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
32192         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
32193         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
32195         [BZ #16677]
32196         * math/s_nextafter.c (__nextafter): Do not return value from
32197         overflowing computation.
32198         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32199         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
32200         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32201         Likewise.
32202         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
32203         Likewise.
32204         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32205         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
32207 2014-03-11  Roland McGrath  <roland@hack.frob.com>
32209         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
32210         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
32211         Move sfi_sp use from the load-multiple (that no longer sets sp) to
32212         the new mov targetting sp.
32214 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32216         [BZ #16683]
32217         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
32218         Define it for static builds as well.
32219         (NO_BZERO_IMPL): Likewise.
32221 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32223         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
32224         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
32225         multiarch strspn for PPC64.
32226         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
32227         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
32228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32229         (__libc_ifunc_impl_list): Likewise.
32230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
32231         multiarch optimizations
32232         * string/strspn.c (strspn): Using macro to redefine symbol name.
32234 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32235             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32237         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
32238         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
32239         multiarch strncat for PPC64.
32240         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
32241         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
32242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32243         (__libc_ifunc_impl_list): Likewise.
32244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
32245         multiarch optimizations
32247 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32249         [BZ #16639]
32250         * nscd/nscd.service: Make service type forking.
32252 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32254         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
32255         sign in non default rounding modes.
32256         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
32258 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
32260         * math/libm-test.inc (ALL_RM_TEST): New macro.
32261         (ceil_test): Use ALL_RM_TEST.
32262         (cimag_test): Likewise.
32263         (conj_test): Likewise.
32264         (copysign_test): Likewise.
32265         (cproj_test): Likewise.
32266         (creal_test): Likewise.
32267         (fabs_test): Likewise.
32268         (floor_test): Likewise.
32269         (fmax_test): Likewise.
32270         (fmin_test): Likewise.
32271         (fmod_test): Likewise.
32272         (fpclassify_test): Likewise.
32273         (frexp_test): Likewise.
32274         (ilogb_test): Likewise.
32275         (isfinite_test): Likewise.
32276         (finite_test): Likewise.
32277         (isgreater_test): Likewise.
32278         (isgreaterequal_test): Likewise.
32279         (isinf_test): Likewise.
32280         (isless_test): Likewise.
32281         (islessequal_test): Likewise.
32282         (islessgreater_test): Likewise.
32283         (isnan_test): Likewise.
32284         (isnormal_test): Likewise.
32285         (issignaling_test): Likewise.
32286         (isunordered_test): Likewise.
32287         (logb_test): Likewise.
32288         (logb_downward_test_data): Remove.
32289         (logb_test_downward): Likewise.
32290         (lround_test): Use ALL_RM_TEST.
32291         (llround_test): Likewise.
32292         (modf_test): Likewise.
32293         (nexttoward_test): Likewise.
32294         (remainder_test): Likewise.
32295         (drem_test): Likewise.
32296         (remainder_tonearest_test_data): Likewise.
32297         (remainder_test_tonearest): Likewise.
32298         (drem_test_tonearest): Likewise.
32299         (remainder_towardzero_test_data): Likewise.
32300         (remainder_test_towardzero): Likewise.
32301         (drem_test_towardzero): Likewise.
32302         (remainder_downward_test_data): Likewise.
32303         (remainder_test_downward): Likewise.
32304         (drem_test_downward): Likewise.
32305         (remainder_upward_test_data): Likewise.
32306         (remainder_test_upward): Likewise.
32307         (drem_test_upward): Likewise.
32308         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
32309         (round_test): Use ALL_RM_TEST.
32310         (signbit_test): Likewise.
32311         (trunc_test): Likewise.
32312         (significand_test): Likewise.
32313         (main): Don't call removed functions.
32315 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32317         [BZ #16674]
32318         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
32319         || __USE_XOPEN2K8].
32320         (ILL_ILLOPN): Likewise.
32321         (ILL_ILLADR): Likewise.
32322         (ILL_ILLTRP): Likewise.
32323         (ILL_PRVOPC): Likewise.
32324         (ILL_PRVREG): Likewise.
32325         (ILL_COPROC): Likewise.
32326         (ILL_BADSTK): Likewise.
32327         (FPE_INTDIV): Likewise.
32328         (FPE_INTOVF): Likewise.
32329         (FPE_FLTDIV): Likewise.
32330         (FPE_FLTOVF): Likewise.
32331         (FPE_FLTUND): Likewise.
32332         (FPE_FLTRES): Likewise.
32333         (FPE_FLTINV): Likewise.
32334         (FPE_FLTSUB): Likewise.
32335         (SEGV_MAPERR): Likewise.
32336         (SEGV_ACCERR): Likewise.
32337         (BUS_ADRALN): Likewise.
32338         (BUS_ADRERR): Likewise.
32339         (BUS_OBJERR): Likewise.
32340         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32341         (TRAP_TRACE): Likewise.
32342         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32343         __USE_XOPEN2K8].
32344         (CLD_KILLED): Likewise.
32345         (CLD_DUMPED): Likewise.
32346         (CLD_TRAPPED): Likewise.
32347         (CLD_STOPPED): Likewise.
32348         (CLD_CONTINUED): Likewise.
32349         (POLL_IN): Likewise.
32350         (POLL_OUT): Likewise.
32351         (POLL_MSG): Likewise.
32352         (POLL_ERR): Likewise.
32353         (POLL_PRI): Likewise.
32354         (POLL_HUP): Likewise.
32355         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32356         Likewise.
32357         (ILL_ILLOPN): Likewise.
32358         (ILL_ILLADR): Likewise.
32359         (ILL_ILLTRP): Likewise.
32360         (ILL_PRVOPC): Likewise.
32361         (ILL_PRVREG): Likewise.
32362         (ILL_COPROC): Likewise.
32363         (ILL_BADSTK): Likewise.
32364         (FPE_INTDIV): Likewise.
32365         (FPE_INTOVF): Likewise.
32366         (FPE_FLTDIV): Likewise.
32367         (FPE_FLTOVF): Likewise.
32368         (FPE_FLTUND): Likewise.
32369         (FPE_FLTRES): Likewise.
32370         (FPE_FLTINV): Likewise.
32371         (FPE_FLTSUB): Likewise.
32372         (SEGV_MAPERR): Likewise.
32373         (SEGV_ACCERR): Likewise.
32374         (BUS_ADRALN): Likewise.
32375         (BUS_ADRERR): Likewise.
32376         (BUS_OBJERR): Likewise.
32377         (BUS_MCEERR_AR): Likewise.
32378         (BUS_MCEERR_AO): Likewise.
32379         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32380         (TRAP_TRACE): Likewise.
32381         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32382         __USE_XOPEN2K8].
32383         (CLD_KILLED): Likewise.
32384         (CLD_DUMPED): Likewise.
32385         (CLD_TRAPPED): Likewise.
32386         (CLD_STOPPED): Likewise.
32387         (CLD_CONTINUED): Likewise.
32388         (POLL_IN): Likewise.
32389         (POLL_OUT): Likewise.
32390         (POLL_MSG): Likewise.
32391         (POLL_ERR): Likewise.
32392         (POLL_PRI): Likewise.
32393         (POLL_HUP): Likewise.
32394         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
32395         (ILL_ILLOPN): Likewise.
32396         (ILL_ILLADR): Likewise.
32397         (ILL_ILLTRP): Likewise.
32398         (ILL_PRVOPC): Likewise.
32399         (ILL_PRVREG): Likewise.
32400         (ILL_COPROC): Likewise.
32401         (ILL_BADSTK): Likewise.
32402         (FPE_INTDIV): Likewise.
32403         (FPE_INTOVF): Likewise.
32404         (FPE_FLTDIV): Likewise.
32405         (FPE_FLTOVF): Likewise.
32406         (FPE_FLTUND): Likewise.
32407         (FPE_FLTRES): Likewise.
32408         (FPE_FLTINV): Likewise.
32409         (FPE_FLTSUB): Likewise.
32410         (SEGV_MAPERR): Likewise.
32411         (SEGV_ACCERR): Likewise.
32412         (BUS_ADRALN): Likewise.
32413         (BUS_ADRERR): Likewise.
32414         (BUS_OBJERR): Likewise.
32415         (BUS_MCEERR_AR): Likewise.
32416         (BUS_MCEERR_AO): Likewise.
32417         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32418         (TRAP_TRACE): Likewise.
32419         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32420         __USE_XOPEN2K8].
32421         (CLD_KILLED): Likewise.
32422         (CLD_DUMPED): Likewise.
32423         (CLD_TRAPPED): Likewise.
32424         (CLD_STOPPED): Likewise.
32425         (CLD_CONTINUED): Likewise.
32426         (POLL_IN): Likewise.
32427         (POLL_OUT): Likewise.
32428         (POLL_MSG): Likewise.
32429         (POLL_ERR): Likewise.
32430         (POLL_PRI): Likewise.
32431         (POLL_HUP): Likewise.
32432         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32433         Likewise.
32434         (ILL_ILLOPN): Likewise.
32435         (ILL_ILLADR): Likewise.
32436         (ILL_ILLTRP): Likewise.
32437         (ILL_PRVOPC): Likewise.
32438         (ILL_PRVREG): Likewise.
32439         (ILL_COPROC): Likewise.
32440         (ILL_BADSTK): Likewise.
32441         (ILL_BADIADDR): Likewise.
32442         (ILL_BREAK): Likewise.
32443         (FPE_INTDIV): Likewise.
32444         (FPE_INTOVF): Likewise.
32445         (FPE_FLTDIV): Likewise.
32446         (FPE_FLTOVF): Likewise.
32447         (FPE_FLTUND): Likewise.
32448         (FPE_FLTRES): Likewise.
32449         (FPE_FLTINV): Likewise.
32450         (FPE_FLTSUB): Likewise.
32451         (FPE_DECOVF): Likewise.
32452         (FPE_DECDIV): Likewise.
32453         (FPE_DECERR): Likewise.
32454         (FPE_INVASC): Likewise.
32455         (FPE_INVDEC): Likewise.
32456         (SEGV_MAPERR): Likewise.
32457         (SEGV_ACCERR): Likewise.
32458         (SEGV_PSTKOVF): Likewise.
32459         (BUS_ADRALN): Likewise.
32460         (BUS_ADRERR): Likewise.
32461         (BUS_OBJERR): Likewise.
32462         (BUS_MCEERR_AR): Likewise.
32463         (BUS_MCEERR_AO): Likewise.
32464         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32465         (TRAP_TRACE): Likewise.
32466         (TRAP_BRANCH): Likewise.
32467         (TRAP_HWBKPT): Likewise.
32468         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32469         __USE_XOPEN2K8].
32470         (CLD_KILLED): Likewise.
32471         (CLD_DUMPED): Likewise.
32472         (CLD_TRAPPED): Likewise.
32473         (CLD_STOPPED): Likewise.
32474         (CLD_CONTINUED): Likewise.
32475         (POLL_IN): Likewise.
32476         (POLL_OUT): Likewise.
32477         (POLL_MSG): Likewise.
32478         (POLL_ERR): Likewise.
32479         (POLL_PRI): Likewise.
32480         (POLL_HUP): Likewise.
32481         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32482         (ILL_ILLOPN): Likewise.
32483         (ILL_ILLADR): Likewise.
32484         (ILL_ILLTRP): Likewise.
32485         (ILL_PRVOPC): Likewise.
32486         (ILL_PRVREG): Likewise.
32487         (ILL_COPROC): Likewise.
32488         (ILL_BADSTK): Likewise.
32489         (FPE_INTDIV): Likewise.
32490         (FPE_INTOVF): Likewise.
32491         (FPE_FLTDIV): Likewise.
32492         (FPE_FLTOVF): Likewise.
32493         (FPE_FLTUND): Likewise.
32494         (FPE_FLTRES): Likewise.
32495         (FPE_FLTINV): Likewise.
32496         (FPE_FLTSUB): Likewise.
32497         (SEGV_MAPERR): Likewise.
32498         (SEGV_ACCERR): Likewise.
32499         (BUS_ADRALN): Likewise.
32500         (BUS_ADRERR): Likewise.
32501         (BUS_OBJERR): Likewise.
32502         (BUS_MCEERR_AR): Likewise.
32503         (BUS_MCEERR_AO): Likewise.
32504         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32505         (TRAP_TRACE): Likewise.
32506         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32507         __USE_XOPEN2K8].
32508         (CLD_KILLED): Likewise.
32509         (CLD_DUMPED): Likewise.
32510         (CLD_TRAPPED): Likewise.
32511         (CLD_STOPPED): Likewise.
32512         (CLD_CONTINUED): Likewise.
32513         (POLL_IN): Likewise.
32514         (POLL_OUT): Likewise.
32515         (POLL_MSG): Likewise.
32516         (POLL_ERR): Likewise.
32517         (POLL_PRI): Likewise.
32518         (POLL_HUP): Likewise.
32519         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32520         (ILL_ILLOPN): Likewise.
32521         (ILL_ILLADR): Likewise.
32522         (ILL_ILLTRP): Likewise.
32523         (ILL_PRVOPC): Likewise.
32524         (ILL_PRVREG): Likewise.
32525         (ILL_COPROC): Likewise.
32526         (ILL_BADSTK): Likewise.
32527         (FPE_INTDIV): Likewise.
32528         (FPE_INTOVF): Likewise.
32529         (FPE_FLTDIV): Likewise.
32530         (FPE_FLTOVF): Likewise.
32531         (FPE_FLTUND): Likewise.
32532         (FPE_FLTRES): Likewise.
32533         (FPE_FLTINV): Likewise.
32534         (FPE_FLTSUB): Likewise.
32535         (SEGV_MAPERR): Likewise.
32536         (SEGV_ACCERR): Likewise.
32537         (BUS_ADRALN): Likewise.
32538         (BUS_ADRERR): Likewise.
32539         (BUS_OBJERR): Likewise.
32540         (BUS_MCEERR_AR): Likewise.
32541         (BUS_MCEERR_AO): Likewise.
32542         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32543         (TRAP_TRACE): Likewise.
32544         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32545         __USE_XOPEN2K8].
32546         (CLD_KILLED): Likewise.
32547         (CLD_DUMPED): Likewise.
32548         (CLD_TRAPPED): Likewise.
32549         (CLD_STOPPED): Likewise.
32550         (CLD_CONTINUED): Likewise.
32551         (POLL_IN): Likewise.
32552         (POLL_OUT): Likewise.
32553         (POLL_MSG): Likewise.
32554         (POLL_ERR): Likewise.
32555         (POLL_PRI): Likewise.
32556         (POLL_HUP): Likewise.
32557         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32558         (ILL_ILLOPN): Likewise.
32559         (ILL_ILLADR): Likewise.
32560         (ILL_ILLTRP): Likewise.
32561         (ILL_PRVOPC): Likewise.
32562         (ILL_PRVREG): Likewise.
32563         (ILL_COPROC): Likewise.
32564         (ILL_BADSTK): Likewise.
32565         (FPE_INTDIV): Likewise.
32566         (FPE_INTOVF): Likewise.
32567         (FPE_FLTDIV): Likewise.
32568         (FPE_FLTOVF): Likewise.
32569         (FPE_FLTUND): Likewise.
32570         (FPE_FLTRES): Likewise.
32571         (FPE_FLTINV): Likewise.
32572         (FPE_FLTSUB): Likewise.
32573         (SEGV_MAPERR): Likewise.
32574         (SEGV_ACCERR): Likewise.
32575         (BUS_ADRALN): Likewise.
32576         (BUS_ADRERR): Likewise.
32577         (BUS_OBJERR): Likewise.
32578         (BUS_MCEERR_AR): Likewise.
32579         (BUS_MCEERR_AO): Likewise.
32580         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32581         (TRAP_TRACE): Likewise.
32582         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32583         __USE_XOPEN2K8].
32584         (CLD_KILLED): Likewise.
32585         (CLD_DUMPED): Likewise.
32586         (CLD_TRAPPED): Likewise.
32587         (CLD_STOPPED): Likewise.
32588         (CLD_CONTINUED): Likewise.
32589         (POLL_IN): Likewise.
32590         (POLL_OUT): Likewise.
32591         (POLL_MSG): Likewise.
32592         (POLL_ERR): Likewise.
32593         (POLL_PRI): Likewise.
32594         (POLL_HUP): Likewise.
32595         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32596         (ILL_ILLOPN): Likewise.
32597         (ILL_ILLADR): Likewise.
32598         (ILL_ILLTRP): Likewise.
32599         (ILL_PRVOPC): Likewise.
32600         (ILL_PRVREG): Likewise.
32601         (ILL_COPROC): Likewise.
32602         (ILL_BADSTK): Likewise.
32603         (ILL_DBLFLT): Likewise.
32604         (ILL_HARDWALL): Likewise.
32605         (FPE_INTDIV): Likewise.
32606         (FPE_INTOVF): Likewise.
32607         (FPE_FLTDIV): Likewise.
32608         (FPE_FLTOVF): Likewise.
32609         (FPE_FLTUND): Likewise.
32610         (FPE_FLTRES): Likewise.
32611         (FPE_FLTINV): Likewise.
32612         (FPE_FLTSUB): Likewise.
32613         (SEGV_MAPERR): Likewise.
32614         (SEGV_ACCERR): Likewise.
32615         (BUS_ADRALN): Likewise.
32616         (BUS_ADRERR): Likewise.
32617         (BUS_OBJERR): Likewise.
32618         (BUS_MCEERR_AR): Likewise.
32619         (BUS_MCEERR_AO): Likewise.
32620         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32621         (TRAP_TRACE): Likewise.
32622         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32623         __USE_XOPEN2K8].
32624         (CLD_KILLED): Likewise.
32625         (CLD_DUMPED): Likewise.
32626         (CLD_TRAPPED): Likewise.
32627         (CLD_STOPPED): Likewise.
32628         (CLD_CONTINUED): Likewise.
32629         (POLL_IN): Likewise.
32630         (POLL_OUT): Likewise.
32631         (POLL_MSG): Likewise.
32632         (POLL_ERR): Likewise.
32633         (POLL_PRI): Likewise.
32634         (POLL_HUP): Likewise.
32635         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32636         (ILL_ILLOPN): Likewise.
32637         (ILL_ILLADR): Likewise.
32638         (ILL_ILLTRP): Likewise.
32639         (ILL_PRVOPC): Likewise.
32640         (ILL_PRVREG): Likewise.
32641         (ILL_COPROC): Likewise.
32642         (ILL_BADSTK): Likewise.
32643         (FPE_INTDIV): Likewise.
32644         (FPE_INTOVF): Likewise.
32645         (FPE_FLTDIV): Likewise.
32646         (FPE_FLTOVF): Likewise.
32647         (FPE_FLTUND): Likewise.
32648         (FPE_FLTRES): Likewise.
32649         (FPE_FLTINV): Likewise.
32650         (FPE_FLTSUB): Likewise.
32651         (SEGV_MAPERR): Likewise.
32652         (SEGV_ACCERR): Likewise.
32653         (BUS_ADRALN): Likewise.
32654         (BUS_ADRERR): Likewise.
32655         (BUS_OBJERR): Likewise.
32656         (BUS_MCEERR_AR): Likewise.
32657         (BUS_MCEERR_AO): Likewise.
32658         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32659         (TRAP_TRACE): Likewise.
32660         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32661         __USE_XOPEN2K8].
32662         (CLD_KILLED): Likewise.
32663         (CLD_DUMPED): Likewise.
32664         (CLD_TRAPPED): Likewise.
32665         (CLD_STOPPED): Likewise.
32666         (CLD_CONTINUED): Likewise.
32667         (POLL_IN): Likewise.
32668         (POLL_OUT): Likewise.
32669         (POLL_MSG): Likewise.
32670         (POLL_ERR): Likewise.
32671         (POLL_PRI): Likewise.
32672         (POLL_HUP): Likewise.
32673         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32674         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32676         [BZ #16670]
32677         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32678         before #include of <time.h>.
32679         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32680         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32681         (test-xfail-UNIX98/sched.h/conform): Likewise.
32683 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32685         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32686         error absence of trapping exception support.
32687         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32689 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32691         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32692         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32693         * timezone/Makefile (testdata): Move definition above include of
32694         Rules.
32695         (test-zones): New variable.
32696         (tests-special): Add zone files.
32697         (build-testdata): Use $(evaluate-test).
32699         * elf/Makefile (tests-special): Rename tests to end with .out.
32700         ($(objpfx)noload-mem): Likewise.
32701         ($(objpfx)tst-leaks1-mem): Likewise.
32702         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32703         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32704         $(objpfx)test-iconvconfig.out.
32705         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32706         set -e inside subshell and redirect output to file.
32707         * iconvdata/Makefile (generated): Rename tests to end with .out.
32708         Correct type.
32709         (tests-special): Rename tests to end with .out.
32710         ($(objpfx)mtrace-tst-loading): Likewise.
32711         * intl/Makefile (generated): Likewise.
32712         (tests-special): Likewise.
32713         ($(objpfx)mtrace-tst-gettext): Likewise.
32714         * misc/Makefile (generated): Likewise.
32715         (tests-special): Likewise.
32716         ($(objpfx)tst-error1-mem): Likewise.
32717         * nptl/Makefile (tests-special): Likewise.
32718         ($(objpfx)tst-stack3-mem): Likewise.
32719         (generated): Likewise.
32720         * posix/Makefile (generated): Likewise.
32721         (tests-special): Likewise.
32722         (xtests-special): Likewise.
32723         ($(objpfx)tst-fnmatch-mem): Likewise.
32724         ($(objpfx)bug-regex2-mem): Likewise.
32725         ($(objpfx)bug-regex14-mem): Likewise.
32726         ($(objpfx)bug-regex21-mem): Likewise.
32727         ($(objpfx)bug-regex31-mem): Likewise.
32728         ($(objpfx)tst-vfork3-mem): Likewise.
32729         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32730         ($(objpfx)tst-pcre-mem): Likewise.
32731         ($(objpfx)tst-boost-mem): Likewise.
32732         ($(objpfx)bug-ga2-mem): Likewise.
32733         ($(objpfx)bug-glob2-mem): Likewise.
32734         * resolv/Makefile (generate): Likewise.
32735         (tests-special): Likewise.
32736         (xtests-special): Likewise.
32737         (generated): Likewise.
32738         ($(objpfx)mtrace-tst-leaks): Likewise.
32739         ($(objpfx)mtrace-tst-leaks2): Likewise.
32741         * scripts/merge-test-results.sh: New file.
32742         * Makefile (tests-special-notdir): New variable.
32743         (tests): Run merge-test-results.sh.
32744         (xtests): Likewise.
32745         * Rules (tests-special-notdir): New variable.
32746         (xtests-special-notdir): Likewise.
32747         (tests): Run merge-test-results.sh
32748         (xtests): Likewise.
32750         * Makeconfig (test-xfail-name): New variable.
32751         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32752         compute variable name for expected failures.
32753         * conform/Makefile (conformtest-headers-data): New variable.
32754         (conformtest-standards): Likewise.
32755         (conformtest-headers-ISO): Likewise.
32756         (conformtest-headers-ISO99): Likewise.
32757         (conformtest-headers-ISO11): Likewise.
32758         (conformtest-headers-POSIX): Likewise.
32759         (conformtest-headers-XPG3): Likewise.
32760         (conformtest-headers-XPG4): Likewise.
32761         (conformtest-headers-UNIX98): Likewise.
32762         (conformtest-headers-XOPEN2K): Likewise.
32763         (conformtest-headers-POSIX2008): Likewise.
32764         (conformtest-headers-XOPEN2K8): Likewise.
32765         (conformtest-header-list-base): Likewise.
32766         (conformtest-header-list-tests): Likewise.
32767         (conformtest-header-base): Likewise.
32768         (conformtest-header-tests): Likewise.
32769         (tests-special): Add $(conformtest-header-list-tests).  If
32770         [$(fast-check) && !$(cross-compiling)], add
32771         $(conformtest-header-tests) instead of
32772         $(objpfx)run-conformtest.out.
32773         (generated): Add $(conformtest-header-list-base).  If
32774         [$(fast-check) && !$(cross-compiling)], add
32775         $(conformtest-header-base).  Remove previous setting.
32776         ($(conformtest-header-list-tests)): New target.
32777         (test-xfail-run-conformtest): Remove variable.
32778         ($(objpfx)run-conformtest.out): Remove target.
32779         (test-xfail-ISO11/complex.h/conform): New variable.
32780         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32781         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32782         (test-xfail-XPG3/varargs.h/conform): Likewise.
32783         (test-xfail-XPG4/varargs.h/conform): Likewise.
32784         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32785         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32786         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32787         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32788         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32789         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32790         (test-xfail-XPG3/ftw.h/conform): Likewise.
32791         (test-xfail-XPG3/grp.h/conform): Likewise.
32792         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32793         (test-xfail-XPG3/limits.h/conform): Likewise.
32794         (test-xfail-XPG3/pwd.h/conform): Likewise.
32795         (test-xfail-XPG3/search.h/conform): Likewise.
32796         (test-xfail-XPG3/signal.h/conform): Likewise.
32797         (test-xfail-XPG3/stdio.h/conform): Likewise.
32798         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32799         (test-xfail-XPG3/string.h/conform): Likewise.
32800         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32801         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32802         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32803         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32804         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32805         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32806         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32807         (test-xfail-XPG3/termios.h/conform): Likewise.
32808         (test-xfail-XPG3/time.h/conform): Likewise.
32809         (test-xfail-XPG3/unistd.h/conform): Likewise.
32810         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32811         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32812         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32813         (test-xfail-XPG4/netdb.h/conform): Likewise.
32814         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32815         (test-xfail-XPG4/signal.h/conform): Likewise.
32816         (test-xfail-XPG4/stdio.h/conform): Likewise.
32817         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32818         (test-xfail-XPG4/stropts.h/conform): Likewise.
32819         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32820         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32821         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32822         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32823         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32824         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32825         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32826         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32827         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32828         (test-xfail-XPG4/termios.h/conform): Likewise.
32829         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32830         (test-xfail-XPG4/unistd.h/conform): Likewise.
32831         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32832         (test-xfail-POSIX/sched.h/conform): Likewise.
32833         (test-xfail-POSIX/signal.h/conform): Likewise.
32834         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32835         (test-xfail-POSIX/tar.h/conform): Likewise.
32836         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32837         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32838         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32839         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32840         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32841         (test-xfail-UNIX98/sched.h/conform): Likewise.
32842         (test-xfail-UNIX98/signal.h/conform): Likewise.
32843         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32844         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32845         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32846         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32847         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32848         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32849         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32850         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32851         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32852         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32853         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32854         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32855         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32856         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32857         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32858         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32859         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32860         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32861         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32862         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32863         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32864         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32865         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32866         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32867         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32868         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32869         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32870         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32871         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32872         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32873         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32874         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32875         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32876         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32877         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32878         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32879         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32880         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32881         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32882         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32883         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32884         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32885         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32886         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32887         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32888         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32889         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32890         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32891         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32892         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32893         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32894         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32895         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32896         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32897         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32898         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32899         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32900         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32901         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32902         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32903         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32904         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32905         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32906         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32907         (conformtest-cc-flags): Likewise.
32908         ($(conformtest-header-tests): New target.
32909         * conform/check-header-lists.sh: New file.
32910         * conform/run-conformtest.sh: Remove.
32912         * conform/conformtest.pl: Allow ' and \ in values given for
32913         constants.
32914         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32915         inclusion.
32916         [POSIX] (sys/types.h): Likewise.
32917         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32918         inclusion.
32919         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32920         inclusion.
32921         * conform/data/signal.h-data (SIGIO): Remove expectation.
32922         [XPG3] (SIGBUS): Do not expect.
32923         [POSIX || XPG3] (SIGPOLL): Likewise.
32924         [POSIX || XPG3] (SIGPROF): Likewise.
32925         [POSIX || XPG3] (SIGSYS): Likewise.
32926         [XPG3] (SIGTRAP): Likewise.
32927         [POSIX || XPG3] (SIGURG): Likewise.
32928         [POSIX || XPG3] (SIGVTALRM): Likewise.
32929         [POSIX || XPG3] (SIGXCPU): Likewise.
32930         [POSIX || XPG3] (SIGXFSZ): Likewise.
32931         [POSIX] (SA_SIGINFO): Expect.
32932         [XPG3] (siginfo_t): Do not expect type or contents.
32933         [POSIX] (si_pid): Do not expect element.
32934         [POSIX] (si_uid): Likewise.
32935         [POSIX] (si_addr): Likewise.
32936         [POSIX] (si_status): Likewise.
32937         [POSIX] (si_band): Likewise.
32938         [XPG4] (si_value): Likewise.
32939         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32940         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32941         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32942         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32943         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32944         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32945         [POSIX || XPG3] (ILL_COPROC): Likewise.
32946         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32947         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32948         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32949         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32950         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32951         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32952         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32953         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32954         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32955         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32956         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32957         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32958         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32959         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32960         [POSIX || XPG3] (CLD_EXITED): Likewise.
32961         [POSIX || XPG3] (CLD_KILLED): Likewise.
32962         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32963         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32964         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32965         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32966         [POSIX || XPG3] (POLL_IN): Likewise.
32967         [POSIX || XPG3] (POLL_OUT): Likewise.
32968         [POSIX || XPG3] (POLL_MSG): Likewise.
32969         [POSIX || XPG3] (POLL_ERR): Likewise.
32970         [POSIX || XPG3] (POLL_PRI): Likewise.
32971         [POSIX || XPG3] (POLL_HUP): Likewise.
32972         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32973         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32974         (SIG*): Do not allow.
32975         [XPG3] (si_*): Likewise.
32976         [XPG3] (SI_*): Likewise.
32977         [XPG3 || XPG4] (sigev_*): Likewise.
32978         [XPG3 || XPG4] (SIGEV_*): Likewise.
32979         [XPG3 || XPG4] (sival_*): Likewise.
32980         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32981         [POSIX || XPG3] (BUS_*): Likewise.
32982         [POSIX || XPG3] (CLD_*): Likewise.
32983         [POSIX || XPG3] (FPE_*): Likewise.
32984         [POSIX || XPG3] (ILL_*): Likewise.
32985         [POSIX || XPG3] (POLL_*): Likewise.
32986         [POSIX || XPG3] (SEGV_*): Likewise.
32987         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32988         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32989         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32990         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32991         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32992         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32993         Specify type and value.
32994         (TVERSLEN): Likewise.
32995         (REGTYPE): Likewise.
32996         (AREGTYPE): Likewise.
32997         (LNKTYPE): Likewise.
32998         (SYMTYPE): Likewise.
32999         (CHRTYPE): Likewise.
33000         (BLKTYPE): Likewise.
33001         (DIRTYPE): Likewise.
33002         (FIFOTYPE): Likewise.
33003         (CONTTYPE): Likewise.
33004         (TSUID): Likewise.
33005         (TSGID): Likewise.
33006         (TSVTX): Likewise.
33007         (TUREAD): Likewise.
33008         (TUWRITE): Likewise.
33009         (TUEXEC): Likewise.
33010         (TGREAD): Likewise.
33011         (TGWRITE): Likewise.
33012         (TGEXEC): Likewise.
33013         (TOREAD): Likewise.
33014         (TOWRITE): Likewise.
33015         (TOEXEC): Likewise.
33016         [POSIX] (TSVTX): Expect constant.
33018 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
33020         * Makefile (tests): Change dependencies to ....
33021         (tests-special): ... additions to this variable.
33022         (tests): Depend on $(tests-special).
33023         * Makerules (check-abi-list): New variable.
33024         (check-abi): Depend on $(check-abi-list).
33025         [$(subdir) = elf] (tests-special): Add
33026         $(objpfx)check-abi-libc.out.
33027         [$(build-shared) = yes && subdir] (tests-special): Add
33028         $(check-abi-list).
33029         [$(build-shared) = yes && subdir] (tests): Do not depend on
33030         check-abi.
33031         * Rules (tests): Depend on $(tests-special).
33032         (xtests): Depend on $(xtests-special).
33033         * catgets/Makefile (tests): Change dependencies to ....
33034         (tests-special): ... additions to this variable.
33035         * conform/Makefile (tests): Change dependencies to ....
33036         (tests-special): ... additions to this variable.
33037         * elf/Makefile (tests): Change dependencies to ....
33038         (tests-special): ... additions to this variable.
33039         * grp/Makefile (tests): Change dependencies to ....
33040         (tests-special): ... additions to this variable.
33041         * iconv/Makefile (xtests): Change dependencies to ....
33042         (xtests-special): ... additions to this variable.
33043         * iconvdata/Makefile (tests): Change dependencies to ....
33044         (tests-special): ... additions to this variable.
33045         * intl/Makefile (tests): Change dependencies to ....
33046         (tests-special): ... additions to this variable.  Also add
33047         $(objpfx)tst-gettext.out.
33048         * io/Makefile (tests): Change dependencies to ....
33049         (tests-special): ... additions to this variable.
33050         * libio/Makefile (tests): Change dependencies to ....
33051         (tests-special): ... additions to this variable.
33052         * malloc/Makefile (tests): Change dependencies to ....
33053         (tests-special): ... additions to this variable.
33054         * misc/Makefile (tests): Change dependencies to ....
33055         (tests-special): ... additions to this variable.
33056         * nptl/Makefile (tests): Change dependencies to ....
33057         (tests-special): ... additions to this variable.
33058         * nptl_db/Makefile (tests): Change dependencies to ....
33059         (tests-special): ... additions to this variable.
33060         * posix/Makefile (tests): Change dependencies to ....
33061         (tests-special): ... additions to this variable.
33062         (xtests): Change dependencies to ....
33063         (xtests-special): ... additions to this variable.
33064         * resolv/Makefile (tests): Change dependencies to ....
33065         (tests-special): ... additions to this variable.
33066         (xtests): Change dependencies to ....
33067         (xtests-special): ... additions to this variable.
33068         * stdio-common/Makefile (tests): Change dependencies to ....
33069         (tests-special): ... additions to this variable.
33070         (do-tst-unbputc): Remove target.
33071         (do-tst-printf): Likewise.
33072         * stdlib/Makefile (tests): Change dependencies to ....
33073         (tests-special): ... additions to this variable.
33074         * string/Makefile (tests): Change dependencies to ....
33075         (tests-special): ... additions to this variable.
33076         * sysdeps/x86/Makefile (tests): Change dependencies to ....
33077         (tests-special): ... additions to this variable.
33079         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
33080         whole file.
33081         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
33082         whole file.
33083         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
33084         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
33086         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
33087         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
33088         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
33089         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
33090         * conform/data/libgen.h-data [XPG3]: Likewise.
33091         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
33092         * conform/data/ndbm.h-data [XPG3]: Likewise.
33093         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33094         * conform/data/netdb.h-data [XPG3]: Likewise.
33095         * conform/data/netinet/in.h-data [XPG3]: Likewise.
33096         * conform/data/poll.h-data [XPG3]: Likewise.
33097         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33098         * conform/data/strings.h-data [XPG3]: Likewise.
33099         * conform/data/stropts.h-data [XPG3]: Likewise.
33100         * conform/data/sys/mman.h-data [XPG3]: Likewise.
33101         * conform/data/sys/resource.h-data [XPG3]: Likewise.
33102         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
33103         Likewise.
33104         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
33105         * conform/data/sys/time.h-data [XPG3]: Likewise.
33106         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
33107         * conform/data/sys/uio.h-data [XPG3]: Likewise.
33108         * conform/data/sys/un.h-data [XPG3]: Likewise.
33109         * conform/data/syslog.h-data [XPG3]: Likewise.
33110         * conform/data/ucontext.h-data [XPG3]: Likewise.
33111         * conform/data/utmpx.h-data [XPG3]: Likewise.
33112         * conform/data/varargs.h-data [UNIX98]: Enable file.
33114         * manual/Makefile (INSTALL_INFO): Remove variable setting.
33116         * math/libm-test.inc (struct test_f_f_data): Move expected results
33117         into structure for each rounding mode.
33118         (struct test_ff_f_data): Likewise.
33119         (struct test_ff_f_data_nexttoward): Likewise.
33120         (struct test_fi_f_data): Likewise.
33121         (struct test_fl_f_data): Likewise.
33122         (struct test_if_f_data): Likewise.
33123         (struct test_fff_f_data): Likewise.
33124         (struct test_c_f_data): Likewise.
33125         (struct test_f_f1_data): Likewise.
33126         (struct test_fF_f1_data): Likewise.
33127         (struct test_ffI_f1_data): Likewise.
33128         (struct test_c_c_data): Likewise.
33129         (struct test_cc_c_data): Likewise.
33130         (struct test_f_i_data): Likewise.
33131         (struct test_ff_i_data): Likewise.
33132         (struct test_f_l_data): Likewise.
33133         (struct test_f_L_data): Likewise.
33134         (struct test_fFF_11_data): Likewise.
33135         (RM_): New macro.
33136         (RM_FE_DOWNWARD): Likewise.
33137         (RM_FE_TONEAREST): Likewise.
33138         (RM_FE_TOWARDZERO): Likewise.
33139         (RM_FE_UPWARD): Likewise.
33140         (RUN_TEST_LOOP_f_f): Update references to expected results.
33141         (RUN_TEST_LOOP_2_f): Likewise.
33142         (RUN_TEST_LOOP_fff_f): Likewise.
33143         (RUN_TEST_LOOP_c_f): Likewise.
33144         (RUN_TEST_LOOP_f_f1): Likewise.
33145         (RUN_TEST_LOOP_fF_f1): Likewise.
33146         (RUN_TEST_LOOP_fI_f1): Likewise.
33147         (RUN_TEST_LOOP_ffI_f1): Likewise.
33148         (RUN_TEST_LOOP_c_c): Likewise.
33149         (RUN_TEST_LOOP_cc_c): Likewise.
33150         (RUN_TEST_LOOP_f_i): Likewise.
33151         (RUN_TEST_LOOP_f_i_tg): Likewise.
33152         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33153         (RUN_TEST_LOOP_f_b): Likewise.
33154         (RUN_TEST_LOOP_f_b_tg): Likewise.
33155         (RUN_TEST_LOOP_f_l): Likewise.
33156         (RUN_TEST_LOOP_f_L): Likewise.
33157         (RUN_TEST_LOOP_fFF_11): Likewise.
33158         * math/gen-libm-test.pl (parse_args): Output four copies of
33159         expected results for each test.
33161         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33162         (__ASSUME_UTIMES): Remove.
33163         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33164         (__ASSUME_UTIMES): Likewise.
33166         * math/gen-auto-libm-tests.c: Update comment on output format.
33167         (output_for_one_input_case): Generate before-rounding and
33168         after-rounding information as conditions on output flags not
33169         floating-point format.
33170         * math/auto-libm-test-out: Regenerated.
33171         * math/gen-libm-test.pl (cond_value): New function.
33172         (or_cond_value): Use cond_value.
33173         (generate_testfile): Handle conditional exceptions.
33175 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
33177         * math/libm-test.inc (max_valid_error): New variable.
33178         (init_max_error): Take new argument specifying whether function
33179         results are exactly determined.  Set max_valid_error and bound
33180         other variables for errors based on this argument.
33181         (set_max_error): Do not record results above max_valid_error.
33182         (check_float_internal): Only accept errors of up to 0.5ulps if
33183         also at most max_valid_error.
33184         (START): Take new argument EXACT and pass it to init_max_error.
33185         (acos_test): Update call to START.
33186         (acos_test_tonearest): Likewise.
33187         (acos_test_towardzero): Likewise.
33188         (acos_test_downward): Likewise.
33189         (acos_test_upward): Likewise.
33190         (acosh_test): Likewise.
33191         (asin_test): Likewise.
33192         (asin_test_tonearest): Likewise.
33193         (asin_test_towardzero): Likewise.
33194         (asin_test_downward): Likewise.
33195         (asin_test_upward): Likewise.
33196         (asinh_test): Likewise.
33197         (atan_test): Likewise.
33198         (atanh_test): Likewise.
33199         (atan2_test): Likewise.
33200         (cabs_test): Likewise.
33201         (cacos_test): Likewise.
33202         (cacosh_test): Likewise.
33203         (carg_test): Likewise.
33204         (casin_test): Likewise.
33205         (casinh_test): Likewise.
33206         (catan_test): Likewise.
33207         (catanh_test): Likewise.
33208         (cbrt_test): Likewise.
33209         (ccos_test): Likewise.
33210         (ccosh_test): Likewise.
33211         (ceil_test): Likewise.
33212         (cexp_test): Likewise.
33213         (cimag_test): Likewise.
33214         (clog_test): Likewise.
33215         (clog10_test): Likewise.
33216         (conj_test): Likewise.
33217         (copysign_test): Likewise.
33218         (cos_test): Likewise.
33219         (cos_test_tonearest): Likewise.
33220         (cos_test_towardzero): Likewise.
33221         (cos_test_downward): Likewise.
33222         (cos_test_upward): Likewise.
33223         (cosh_test): Likewise.
33224         (cosh_test_tonearest): Likewise.
33225         (cosh_test_towardzero): Likewise.
33226         (cosh_test_downward): Likewise.
33227         (cosh_test_upward): Likewise.
33228         (cpow_test): Likewise.
33229         (cproj_test): Likewise.
33230         (creal_test): Likewise.
33231         (csin_test): Likewise.
33232         (csinh_test): Likewise.
33233         (csqrt_test): Likewise.
33234         (ctan_test): Likewise.
33235         (ctan_test_tonearest): Likewise.
33236         (ctan_test_towardzero): Likewise.
33237         (ctan_test_downward): Likewise.
33238         (ctan_test_upward): Likewise.
33239         (ctanh_test): Likewise.
33240         (ctanh_test_tonearest): Likewise.
33241         (ctanh_test_towardzero): Likewise.
33242         (ctanh_test_downward): Likewise.
33243         (ctanh_test_upward): Likewise.
33244         (erf_test): Likewise.
33245         (erfc_test): Likewise.
33246         (exp_test): Likewise.
33247         (exp_test_tonearest): Likewise.
33248         (exp_test_towardzero): Likewise.
33249         (exp_test_downward): Likewise.
33250         (exp_test_upward): Likewise.
33251         (exp10_test): Likewise.
33252         (exp10_test_tonearest): Likewise.
33253         (exp10_test_towardzero): Likewise.
33254         (exp10_test_downward): Likewise.
33255         (exp10_test_upward): Likewise.
33256         (pow10_test): Likewise.
33257         (exp2_test): Likewise.
33258         (expm1_test): Likewise.
33259         (expm1_test_tonearest): Likewise.
33260         (expm1_test_towardzero): Likewise.
33261         (expm1_test_downward): Likewise.
33262         (expm1_test_upward): Likewise.
33263         (fabs_test): Likewise.
33264         (fdim_test): Likewise.
33265         (floor_test): Likewise.
33266         (fma_test): Likewise.
33267         (fma_test_towardzero): Likewise.
33268         (fma_test_downward): Likewise.
33269         (fma_test_upward): Likewise.
33270         (fmax_test): Likewise.
33271         (fmin_test): Likewise.
33272         (fmod_test): Likewise.
33273         (fpclassify_test): Likewise.
33274         (frexp_test): Likewise.
33275         (hypot_test): Likewise.
33276         (ilogb_test): Likewise.
33277         (isfinite_test): Likewise.
33278         (finite_test): Likewise.
33279         (isgreater_test): Likewise.
33280         (isgreaterequal_test): Likewise.
33281         (isinf_test): Likewise.
33282         (isless_test): Likewise.
33283         (islessequal_test): Likewise.
33284         (islessgreater_test): Likewise.
33285         (isnan_test): Likewise.
33286         (isnormal_test): Likewise.
33287         (issignaling_test): Likewise.
33288         (isunordered_test): Likewise.
33289         (j0_test): Likewise.
33290         (j1_test): Likewise.
33291         (jn_test): Likewise.
33292         (ldexp_test): Likewise.
33293         (lgamma_test): Likewise.
33294         (gamma_test): Likewise.
33295         (lrint_test): Likewise.
33296         (lrint_test_tonearest): Likewise.
33297         (lrint_test_towardzero): Likewise.
33298         (lrint_test_downward): Likewise.
33299         (lrint_test_upward): Likewise.
33300         (llrint_test): Likewise.
33301         (llrint_test_tonearest): Likewise.
33302         (llrint_test_towardzero): Likewise.
33303         (llrint_test_downward): Likewise.
33304         (llrint_test_upward): Likewise.
33305         (log_test): Likewise.
33306         (log10_test): Likewise.
33307         (log1p_test): Likewise.
33308         (log2_test): Likewise.
33309         (logb_test): Likewise.
33310         (logb_test_downward): Likewise.
33311         (lround_test): Likewise.
33312         (llround_test): Likewise.
33313         (modf_test): Likewise.
33314         (nearbyint_test): Likewise.
33315         (nextafter_test): Likewise.
33316         (nexttoward_test): Likewise.
33317         (pow_test): Likewise.
33318         (pow_test_tonearest): Likewise.
33319         (pow_test_towardzero): Likewise.
33320         (pow_test_downward): Likewise.
33321         (pow_test_upward): Likewise.
33322         (remainder_test): Likewise.
33323         (drem_test): Likewise.
33324         (remainder_test_tonearest): Likewise.
33325         (drem_test_tonearest): Likewise.
33326         (remainder_test_towardzero): Likewise.
33327         (drem_test_towardzero): Likewise.
33328         (remainder_test_downward): Likewise.
33329         (drem_test_downward): Likewise.
33330         (remainder_test_upward): Likewise.
33331         (drem_test_upward): Likewise.
33332         (remquo_test): Likewise.
33333         (rint_test): Likewise.
33334         (rint_test_tonearest): Likewise.
33335         (rint_test_towardzero): Likewise.
33336         (rint_test_downward): Likewise.
33337         (rint_test_upward): Likewise.
33338         (round_test): Likewise.
33339         (scalb_test): Likewise.
33340         (scalbn_test): Likewise.
33341         (scalbln_test): Likewise.
33342         (signbit_test): Likewise.
33343         (sin_test): Likewise.
33344         (sin_test_tonearest): Likewise.
33345         (sin_test_towardzero): Likewise.
33346         (sin_test_downward): Likewise.
33347         (sin_test_upward): Likewise.
33348         (sincos_test): Likewise.
33349         (sinh_test): Likewise.
33350         (sinh_test_tonearest): Likewise.
33351         (sinh_test_towardzero): Likewise.
33352         (sinh_test_downward): Likewise.
33353         (sinh_test_upward): Likewise.
33354         (sqrt_test): Likewise.
33355         (sqrt_test_tonearest): Likewise.
33356         (sqrt_test_towardzero): Likewise.
33357         (sqrt_test_downward): Likewise.
33358         (sqrt_test_upward): Likewise.
33359         (tan_test): Likewise.
33360         (tan_test_tonearest): Likewise.
33361         (tan_test_towardzero): Likewise.
33362         (tan_test_downward): Likewise.
33363         (tan_test_upward): Likewise.
33364         (tanh_test): Likewise.
33365         (tgamma_test): Likewise.
33366         (trunc_test): Likewise.
33367         (y0_test): Likewise.
33368         (y1_test): Likewise.
33369         (yn_test): Likewise.
33370         (significand_test): Likewise.
33372         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
33373         individual tests in comment.
33374         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
33375         (prev_max_error): New variable.
33376         (prev_real_max_error): Likewise.
33377         (prev_imag_max_error): Likewise.
33378         (compare_ulp_data): Don't refer to test names in comment.
33379         (find_test_ulps): Remove function.
33380         (find_function_ulps): Likewise.
33381         (find_complex_function_ulps): Likewise.
33382         (init_max_error): Take function name as argument.  Look up ulps
33383         for that function.
33384         (print_ulps): Remove function.
33385         (print_max_error): Use prev_max_error instead of calling
33386         find_function_ulps.
33387         (print_complex_max_error): Use prev_real_max_error and
33388         prev_imag_max_error instead of calling find_complex_function_ulps.
33389         (check_float_internal): Take max_ulp parameter instead of calling
33390         find_test_ulps.  Don't call print_ulps.
33391         (check_float): Update call to check_float_internal.
33392         (check_complex): Update calls to check_float_internal.
33393         (START): Pass argument to init_max_error.
33394         * math/gen-libm-test.pl (%results): Don't include "kind"
33395         information.
33396         (parse_ulps): Don't handle ulps of individual tests.
33397         (print_ulps_file): Likewise.
33398         (output_ulps): Likewise.
33399         * math/README.libm-test: Update.
33400         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33401         individual tests.
33402         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
33403         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33404         * sysdeps/arm/libm-test-ulps: Likewise.
33405         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33406         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33407         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33408         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33409         * sysdeps/microblaze/libm-test-ulps: Likewise.
33410         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33411         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33412         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33413         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33414         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33415         * sysdeps/sh/libm-test-ulps: Likewise.
33416         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33417         * sysdeps/tile/libm-test-ulps: Likewise.
33418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33420 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
33422         * math/libm-test.inc (print_complex_max_error): Check separately
33423         whether real and imaginary errors are within allowed range and
33424         pass 0 to print_complex_function_ulps instead of value within
33425         allowed range.
33427 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33429         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33430         formatting.
33431         (get_handles_fopen): Likewise.
33432         (do_write_test): Likewise.
33434         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33436         * libio/fileops.c (do_ftell): Use cached offset when
33437         available.
33438         * libio/iofwide.c (do_ftell_wide): Likewise.
33439         * libio/iofdopen.c (_IO_new_fdopen): Don't use
33440         _IO_file_attach.
33441         * libio/wfileops.c (_IO_fwide): Don't cache offset.
33443         [BZ #16532]
33444         * libio/libioP.h (get_file_offset): New function.
33445         * libio/fileops.c (get_file_offset): Likewise.
33446         (do_ftell): Likewise.
33447         (_IO_new_file_seekoff): Split out ftell logic.
33448         * libio/wfileops.c (do_ftell_wide): Likewise.
33449         (_IO_wfile_seekoff): Split out ftell logic.
33450         * libio/tst-ftell-active-handler.c: New test case.
33451         * libio/Makefile (tests): Add it.
33453 2014-03-03  Roland McGrath  <roland@hack.frob.com>
33455         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33456         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33458 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33460         [BZ #16639]
33461         * nscd/connections.c (nscd_init): Call do_exit.
33462         (start_threads): Call do_exit and notify_parent.
33463         (begin_drop_privileges): Call do_exit.
33464         (finish_drop_privileges): Likewise.
33465         * nscd/selinux.c (preserve_capabilities): Likewise.
33466         (install_real_capabilities): Likewise.
33467         (nscd_selinux_enabled): Likewise.
33468         (avc_create_thread): Likewise.
33469         (avc_alloc_lock): Likewise.
33470         (nscd_avc_init): Likewise.
33471         * nscd/nscd.c (parent_fd): New static variable.
33472         (main): Create a pipe between parent and child processes.
33473         Skip closing parent_fd.
33474         (monitor_child): New function.
33475         (do_exit): Likewise.
33476         (notify_parent): Likewise.
33477         * nscd/nscd.h (notify_parent): Likewise.
33478         (do_exit): Likewise.
33480 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33482         * malloc/malloc.c (__libc_calloc): Revert last change.
33484 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33488 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33490         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33492         implementation.
33493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33494         (__libc_ifunc_impl_list): Likewise.
33495         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33496         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33497         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33498         * string/strrchr.c: Define STRRCHR.
33500 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33502         * benchtest/bench-strtok.c (simple_strtok): Delete.
33503         (strtok_string): Use as benchmark.
33504         * string/strtok (STRTOK): New macro.
33506 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33508         * manual/threads.texi: Add header and standard comments to all
33509         functions.
33511         * elf/dl-lookup.c (check_match): New function.
33512         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33513         (do_lookup_x): Remove nested function check_match. Use non-nested
33514         function check_match.
33516 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33518         * csu/Makefile (generated, before-compile): Use += rather than =.
33519         * catgets/Makefile (generated, generated-dirs): Likewise.
33520         * debug/Makefile (generated): Likewise.
33521         * dlfcn/Makefile (generated): Likewise.
33522         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33523         * iconvdata/Makefile (before-compile, generated): Likewise.
33524         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33525         * libio/Makefile (generated): Likewise.
33526         * malloc/Makefile (generated): Likewise.
33527         * manual/Makefile (generated, generated-dirs): Likewise.
33528         * misc/Makefile (generated): Likewise.
33529         * posix/Makefile (generated): Likewise.
33530         * resolv/Makefile (generated): Likewise.
33531         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33532         * timezone/Makefile (generated, generated-dirs): Likewise.
33534         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33536 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33538         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33539         power8 implementation.
33540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33541         file: POWER8 llround ifunc implementation.
33542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33543         (__lllround): Add POWER8 implementation.
33544         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33545         POWER8 llround implementation.
33547         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33548         power8 implementation.
33549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33550         file: POWER8 llrint ifunc implementation.
33551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33552         Add POWER8 implementation.
33553         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33554         POWER8 llrint implementation.
33556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33557         power8 implementation.
33558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33559         file: POWER8 finite ifunc implementation.
33560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33561         Add POWER8 implementation.
33562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33563         Likewise.
33564         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33565         POWER8 finite implementation.
33566         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33569         power8 implementation.
33570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33571         file: POWER8 isinf ifunc implementation.
33572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33573         POWER8 implementation.
33574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33575         Likewise.
33576         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33577         isinf implementation.
33578         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33580         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33581         (INIT_ARCH): Add hwcap2 initialization.
33582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33583         power8 implementation.
33584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33585         file: POWER8 isnan ifunc implementation.
33586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33587         POWER8 implementation.
33588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33589         Likewise.
33590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33591         isnan implementation.
33592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33594 2014-02-27  Joey Ye  <joey.ye@arm.com>
33596         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33597         (_FP_NANFRAC_Q): Set to zero.
33599 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33601         [BZ #16623]
33602         * math/auto-libm-test-in: New test inputs.
33603         * math/auto-libm-test-out: Regenerate.
33604         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33605         and DA.
33606         (__cos): Likewise.
33607         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33609 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33611         * scripts/evaluate-test.sh: Take new argument indicating whether
33612         failure is expected.
33613         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33614         indicating whether failure is expected.
33615         * conform/Makefile (test-xfail-run-conformtest): New variable.
33616         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33617         level.
33618         * posix/Makefile (test-xfail-annexc): New variable.
33619         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33621 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33623         * argp/Makefile: Include Makeconfig immediately after defining
33624         subdir.
33625         * assert/Makefile: Likewise.
33626         * benchtests/Makefile: Likewise.
33627         * catgets/Makefile: Likewise.
33628         * conform/Makefile: Likewise.
33629         * crypt/Makefile: Likewise.
33630         * csu/Makefile: Likewise.
33631         (all): Remove target.
33632         * ctype/Makefile: Include Makeconfig immediately after defining
33633         subdir.
33634         * debug/Makefile: Likewise.
33635         * dirent/Makefile: Likewise.
33636         * dlfcn/Makefile: Likewise.
33637         * gmon/Makefile: Likewise.
33638         * gnulib/Makefile: Likewise.
33639         * grp/Makefile: Likewise.
33640         * gshadow/Makefile: Likewise.
33641         * hesiod/Makefile: Likewise.
33642         * hurd/Makefile: Likewise.
33643         (all): Remove target.
33644         * iconvdata/Makefile: Include Makeconfig immediately after
33645         defining subdir.
33646         * inet/Makefile: Likewise.
33647         * intl/Makefile: Likewise.
33648         * io/Makefile: Likewise.
33649         * libio/Makefile: Likewise.
33650         (all): Remove target.
33651         * locale/Makefile: Include Makeconfig immediately after defining
33652         subdir.
33653         * login/Makefile: Likewise.
33654         * mach/Makefile: Likewise.
33655         (all): Remove target.
33656         * malloc/Makefile: Include Makeconfig immediately after defining
33657         subdir.
33658         (all): Remove target.
33659         * manual/Makefile: Include Makeconfig immediately after defining
33660         subdir.
33661         * math/Makefile: Likewise.
33662         * misc/Makefile: Likewise.
33663         * nis/Makefile: Likewise.
33664         * nss/Makefile: Likewise.
33665         * po/Makefile: Likewise.
33666         (all): Remove target.
33667         * posix/Makefile: Include Makeconfig immediately after defining
33668         subdir.
33669         * pwd/Makefile: Likewise.
33670         * resolv/Makefile: Likewise.
33671         * resource/Makefile: Likewise.
33672         * rt/Makefile: Likewise.
33673         * setjmp/Makefile: Likewise.
33674         * shadow/Makefile: Likewise.
33675         * signal/Makefile: Likewise.
33676         * socket/Makefile: Likewise.
33677         * soft-fp/Makefile: Likewise.
33678         * stdio-common/Makefile: Likewise.
33679         * stdlib/Makefile: Likewise.
33680         * streams/Makefile: Likewise.
33681         * string/Makefile: Likewise.
33682         * sunrpc/Makefile: Likewise.
33683         (all): Remove target.
33684         * sysvipc/Makefile: Include Makeconfig immediately after defining
33685         subdir.
33686         * termios/Makefile: Likewise.
33687         * time/Makefile: Likewise.
33688         * timezone/Makefile: Likewise.
33689         (all): Remove target.
33690         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33691         subdir.
33692         * wctype/Makefile: Likewise.
33694 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33696         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33697         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33698         (libc_feholdexcept_setround_mips): Ditto.
33699         (libc_feholdsetround): New.
33700         (libc_feholdsetroundf): New.
33701         (libc_feholdsetroundl): New.
33702         (libc_feupdateenv_test_mips): New.
33703         (libc_feupdateenv_test): New.
33704         (libc_feupdateenv_testf): New.
33705         (libc_feupdateenv_testl): New.
33706         (libc_feresetround): New.
33707         (libc_feresetroundf): New.
33708         (libc_feresetroundl): New.
33709         (libc_fetestexcept_mips): New.
33710         (libc_fetestexcept): New.
33711         (libc_fetestexceptf): New.
33712         (libc_fetestexceptl): New.
33713         (HAVE_RM_CTX): New.
33714         (libc_feholdexcept_setround_mips_ctx): New.
33715         (libc_feholdexcept_setround_ctx): New.
33716         (libc_feholdexcept_setroundf_ctx): New.
33717         (libc_feholdexcept_setroundl_ctx): New.
33718         (libc_fesetenv_mips_ctx): New.
33719         (libc_fesetenv_ctx): New.
33720         (libc_fesetenv_ctxf): New.
33721         (libc_fesetenv_ctxl): New.
33722         (libc_feupdateenv_mips_ctx): New.
33723         (libc_feupdateenv_ctx): New.
33724         (libc_feupdateenvf_ctx): New.
33725         (libc_feupdateenvl_ctx): New.
33726         (libc_feholdsetround_mips_ctx): New.
33727         (libc_feholdsetround_ctx): New.
33728         (libc_feholdsetroundf_ctx): New.
33729         (libc_feholdsetroundl_ctx): New.
33730         (libc_feresetround_mips_ctx): New.
33731         (libc_feresetround_ctx): New.
33732         (libc_feresetroundf_ctx): New.
33733         (libc_feresetroundl_ctx): New.
33735 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33737         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33739         * manual/ipc.texi: New file.
33740         * manual/Makefile (chapters): Add ipc.
33741         * manual/job.texi: Add "Inter-Process Communication" to next.
33742         * manual/process.texi: Add "Inter-Process Communication" to prev.
33744 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33748 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33750         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33752         * manual/arith.texi: Fix spaces after sentences.
33753         * manual/charset.texi: Likewise.
33754         * manual/errno.texi: Likewise.
33755         * manual/install.texi: Likewise.
33756         * manual/llio.texi: Likewise.
33757         * manual/locale.texi: Likewise.
33758         * manual/maint.texi: Likewise.
33759         * manual/math.texi: Likewise.
33760         * manual/memory.texi: Likewise.
33761         * manual/message.texi: Likewise.
33762         * manual/probes.texi: Likewise.
33763         * manual/resource.texi: Likewise.
33764         * manual/signal.texi: Likewise.
33765         * manual/socket.texi: Likewise.
33766         * manual/stdio.texi: Likewise.
33767         * manual/string.texi: Likewise.
33768         * manual/time.texi: Likewise.
33769         * manual/users.texi: Likewise.
33771 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33773         [BZ #16632]
33774         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33775         _DEFAULT_SOURCE is defined.
33777 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33778             Carlos O'Donell  <carlos@redhat.com>
33780         [BZ #16613]
33781         * elf/dl-tls.c (_dl_count_modids): New function.
33782         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33783         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33784         audit library and increment generation counter.
33785         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33786         * elf/tst-audit9.c: New file.
33787         * elf/tst-auditmod9a.c: New file.
33788         * elf/tst-auditmod9b.c: New file.
33789         * elf/Makefile: Add rules to build and run tst-audit9.
33791 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33793         [BZ #15347]
33794         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33796 2014-02-25  Will Newton  <will.newton@linaro.org>
33798         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33799         (__longjmp): Restore sp and lr before restoring callee
33800         saved registers.  Add longjmp and longjmp_target
33801         SystemTap probe point.
33802         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33803         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33804         Define to zero to match jmpbuf layout.
33805         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33806         (__sigsetjmp): Save sp and lr before saving callee
33807         saved registers.  Add setjmp SystemTap probe point.
33809 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33811         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33813 2014-02-24  Andreas Schwab  <schwab@suse.de>
33815         [BZ #15804]
33816         * elf/pldd.c (wait_for_ptrace_stop): New function.
33817         (main): Call it after attaching.
33819 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33821         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33822         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33823         Versions files is now verboten.
33824         * hurd/Versions (libc: GLIBC_2.0):
33825         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33826         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33827         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33828         * mach/Versions: Likewise.
33830         * csu/Versions: Remove unused %include.
33831         * resolv/Versions: Likewise.
33833 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33835         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33836         ($(objpfx)check-local-headers.out): Likewise.
33837         ($(objpfx)begin-end-check.out): Likewise.
33838         * Makerules (check-abi-%.out): Likewise.
33839         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33840         ($(objpfx)test2.cat): Likewise.
33841         ($(objpfx)de/libc.cat): Likewise.
33842         ($(objpfx)test-gencat.out): Likewise.
33843         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33844         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33845         ($(objpfx)noload-mem): Likewise.
33846         ($(objpfx)tst-pathopt.out): Likewise.
33847         ($(objpfx)tst-rtld-load-self.out): Likewise.
33848         ($(objpfx)tst-array1-cmp.out): Likewise.
33849         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33850         ($(objpfx)tst-array2-cmp.out): Likewise.
33851         ($(objpfx)tst-array3-cmp.out): Likewise.
33852         ($(objpfx)tst-array4-cmp.out): Likewise.
33853         ($(objpfx)tst-array5-cmp.out): Likewise.
33854         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33855         ($(objpfx)check-textrel.out): Likewise.
33856         ($(objpfx)check-execstack.out): Likewise.
33857         ($(objpfx)check-localplt.out): Likewise.
33858         ($(objpfx)order2-cmp.out): Likewise.
33859         ($(objpfx)tst-leaks1-mem): Likewise.
33860         ($(objpfx)tst-leaks1-static-mem): Likewise.
33861         ($(objpfx)tst-initorder-cmp.out): Likewise.
33862         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33863         ($(objpfx)tst-unused-dep.out): Likewise.
33864         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33865         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33866         * iconv/Makefile (test-iconvconfig): Likewise.
33867         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33868         ($(objpfx)iconv-test.out): Likewise.
33869         ($(objpfx)tst-tables.out): Likewise.
33870         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33871         ($(objpfx)tst-gettext.out): Likewise.
33872         ($(objpfx)tst-translit.out): Likewise.
33873         ($(objpfx)tst-gettext2.out): Likewise.
33874         ($(objpfx)tst-gettext4.out): Likewise.
33875         ($(objpfx)tst-gettext6.out): Likewise.
33876         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33877         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33878         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33879         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33880         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33881         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33882         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33883         ($(objpfx)wordexp-tst.out): Likewise.
33884         ($(objpfx)annexc.out): Likewise.
33885         ($(objpfx)tst-fnmatch-mem): Likewise.
33886         ($(objpfx)bug-regex2-mem): Likewise.
33887         ($(objpfx)bug-regex14-mem): Likewise.
33888         ($(objpfx)bug-regex21-mem): Likewise.
33889         ($(objpfx)bug-regex31-mem): Likewise.
33890         ($(objpfx)tst-vfork3-mem): Likewise.
33891         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33892         ($(objpfx)tst-pcre-mem): Likewise.
33893         ($(objpfx)tst-boost-mem): Likewise.
33894         ($(objpfx)tst-getconf.out): Likewise.
33895         ($(objpfx)bug-ga2-mem): Likewise.
33896         ($(objpfx)bug-glob2-mem): Likewise.
33897         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33898         ($(objpfx)mtrace-tst-leaks2): Likewise.
33899         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33900         ($(objpfx)tst-printf.out): Likewise.
33901         ($(objpfx)tst-setvbuf1.out): Likewise.
33902         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33903         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33904         ($(objpfx)tst-fmtmsg.out): Likewise.
33905         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33906         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33908         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33909         * bits/sigaction.h [__USE_MISC]: Likewise.
33910         * bits/waitstatus.h: Update #endif comments.
33911         * ctype/ctype.h: Likewise.
33912         * dirent/dirent.h: Likewise.
33913         [__USE_MISC]: Remove redundant conditionals.
33914         * grp/grp.h: Update #endif comments.
33915         [__USE_GNU]: Remove redundant conditionals.
33916         [__USE_MISC]: Likewise.
33917         * inet/netinet/in.h [__USE_GNU]: Likewise.
33918         * io/sys/stat.h [__USE_MISC]: Likewise.
33919         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33920         * libio/bits/stdio.h: Update #endif comments.
33921         [__USE_MISC]: Remove redundant conditionals.
33922         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33923         * libio/stdio.h: Update #endif comments.
33924         [__USE_MISC]: Remove redundant conditionals.
33925         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33926         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33927         * math/math.h: Update #else and #endif comments.
33928         [__USE_MISC]: Remove redundant conditionals.
33929         * misc/sys/uio.h: Update #endif comments.
33930         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33931         * posix/glob.h [__USE_MISC]: Likewise.
33932         * posix/sys/types.h: Update #endif comments.
33933         [__USE_MISC]: Remove redundant conditionals.
33934         * posix/sys/wait.h: Update #endif comments.
33935         [__USE_MISC]: Remove redundant conditionals.
33936         * posix/unistd.h: Update #endif comments.
33937         [__USE_MISC]: Remove redundant conditionals.
33938         * pwd/pwd.h [__USE_GNU]: Likewise.
33939         [__USE_MISC]: Likewise.
33940         * resolv/netdb.h [__USE_GNU]: Likewise.
33941         * signal/signal.h: Update #endif comments.
33942         [__USE_MISC]: Remove redundant conditionals.
33943         * stdlib/stdlib.h: Update #else and #endif comments.
33944         [__USE_MISC]: Remove redundant conditionals.
33945         [__USE_GNU]: Likewise.
33946         * string/bits/string2.h [__USE_MISC]: Likewise.
33947         * string/string.h: Update #endif comments.
33948         [__USE_MISC]: Remove redundant conditionals.
33949         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33950         Likewise.
33951         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33952         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33953         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33954         Likewise.
33955         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33956         Likewise.
33957         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33958         comments.
33959         [__USE_MISC]: Remove redundant conditionals.
33960         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33961         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33962         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33963         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33964         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33965         Likewise.
33966         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33967         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33968         Likewise.
33969         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33970         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33971         Likewise.
33972         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33973         Likewise.
33974         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33975         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33976         Likewise.
33977         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33978         Likewise.
33979         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33980         * sysdeps/x86/bits/string.h: Update #endif comments.
33981         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33982         conditionals.
33983         * time/sys/time.h: Update #endif comments.
33984         * time/time.h: Likewise.
33985         [__USE_MISC]: Remove redundant conditionals.
33987 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33989         [BZ #16600]
33990         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33992 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33994         * Versions.def (librt): Add GLIBC_2.17.
33996 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33998         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33999         synonym for _SYS_AUXV_H to allow direct inclusion.
34000         * sysdeps/sparc/bits/hwcap.h: Likewise.
34001         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
34002         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
34003         * sysdeps/sparc/sysdep.h: Likewise.
34005 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34007         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
34009 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34011         * benchtests/bench-strrchr.c: Print length instead of position.
34013 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
34015         [BZ #16611]
34016         * sysdeps/unix/sysv/linux/kernel-features.h
34017         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
34018         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
34019         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
34020         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
34021         Likewise.
34022         [__i386__ || __powerpc__ || __sh__ || __sparc__]
34023         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34024         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
34025         (__ASSUME_SENDMMSG): Define instead of using previous
34026         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
34027         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34028         (__ASSUME_SENDMMSG_SYSCALL): Define.
34029         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34030         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
34031         Likewise.
34032         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34033         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34034         Likewise.
34035         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34036         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34037         Likewise.
34038         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
34039         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34040         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34041         [__ASSUME_SENDMMSG]: Change conditionals to
34042         [__ASSUME_SENDMMSG_SOCKETCALL].
34043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34044         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
34045         Define.
34046         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34047         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
34048         Likewise.
34049         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
34050         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34051         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34052         [!__ASSUME_SENDMMSG]: Change conditional to
34053         [!__ASSUME_SENDMMSG_SOCKETCALL].
34054         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34055         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34056         Define.
34058         [BZ #16610]
34059         * sysdeps/unix/sysv/linux/kernel-features.h
34060         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
34061         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
34062         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
34063         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
34064         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34065         [__i386__ || __sparc__]
34066         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34067         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
34068         (__ASSUME_RECVMMSG): Define instead of using previous
34069         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
34070         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34071         (__ASSUME_RECVMMSG_SYSCALL): Define.
34072         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34073         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34074         Likewise.
34075         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34076         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34077         Likewise.
34078         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34079         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34080         Likewise.
34081         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
34082         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34083         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34084         [__ASSUME_RECVMMSG]: Change condition to
34085         [__ASSUME_RECVMMSG_SOCKETCALL].
34086         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34087         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34088         Define.
34089         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34090         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34091         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34092         Likewise.
34093         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
34094         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34095         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34096         [!__ASSUME_RECVMMSG]: Change condition to
34097         [!__ASSUME_RECVMMSG_SOCKETCALL].
34098         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34099         (__ASSUME_RECVMMSG_SYSCALL): Define.
34101         [BZ #16609]
34102         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
34103         __powerpc__ || __s390__ || __sh__ || __sparc__]
34104         (__ASSUME_SOCKETCALL): Define.
34105         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
34106         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
34107         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
34108         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
34109         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34110         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34111         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
34112         (__ASSUME_ACCEPT4): Define instead of using previous
34113         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
34114         __powerpc__ || __sparc__ || __s390__)] condition.
34115         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34116         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34117         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
34118         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34119         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34120         [!__ASSUME_ACCEPT4]: Change condition to
34121         [!__ASSUME_ACCEPT4_SOCKETCALL].
34122         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34123         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
34124         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
34125         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34126         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
34127         __ASSUME_ACCEPT4_SYSCALL.
34128         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
34129         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
34130         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34131         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
34132         __ASSUME_ACCEPT4_SYSCALL.
34133         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
34134         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34135         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34136         [__ASSUME_ACCEPT4]: Change condition to
34137         [__ASSUME_ACCEPT4_SOCKETCALL].
34138         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34139         (__ASSUME_SOCKETCALL): Define.
34140         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
34141         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34142         (__ASSUME_SOCKETCALL): Define.
34143         (__ASSUME_ACCEPT4): Remove.
34144         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
34145         Define.
34146         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34147         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
34148         Likewise.
34149         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34150         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34152         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
34153         macro.
34154         (HWCAP_ARM_LPAE): Likewise.
34155         (HWCAP_ARM_EVTSTRM): Likewise.
34156         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
34157         Add vpfd32, lpae and evtstrm.
34158         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
34159         Increase to 22.
34161 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
34163         * math/auto-libm-test-in: Add tests of clog10.
34164         * math/auto-libm-test-out: Regenerated.
34165         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
34166         * sysdeps/i386/fpu/libm-test-ulps: Update.
34167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34169 2014-02-18  Andreas Schwab  <schwab@suse.de>
34171         [BZ #16574]
34172         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
34173         Store non-zero if the second buffer was newly allocated.
34174         (send_dg): Likewise.
34175         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
34176         to send_vc and send_dg.
34177         (res_nsend): Pass NULL for ansp2_malloced.
34178         * resolv/res_query.c (__libc_res_nquery): Add parameter
34179         answerp2_malloced and pass it down to __libc_res_nsend.
34180         (res_nquery): Pass additional NULL to __libc_res_nquery.
34181         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
34182         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
34183         second answer buffer if answerp2_malloced was set.
34184         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
34185         (__libc_res_nquerydomain): Add parameter
34186         answerp2_malloced and pass it down to __libc_res_nquery.
34187         (res_nquerydomain): Pass additional NULL to
34188         __libc_res_nquerydomain.
34189         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
34190         additional NULL to __libc_res_nsend and __libc_res_nquery.
34191         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
34192         additional NULL to __libc_res_nsearch.
34193         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
34194         parameter of __libc_res_nsearch to check for separately allocated
34195         second buffer.
34196         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
34197         __libc_res_nquery.
34198         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
34199         additional NULL to __libc_res_nquery.
34200         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
34201         __libc_res_nsearch.
34202         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
34203         * include/resolv.h: Update prototypes of __libc_res_nquery,
34204         __libc_res_nsearch, __libc_res_nsend.
34206 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
34208         * math/auto-libm-test-in: Add tests of fma.
34209         * math/auto-libm-test-out: Regenerated.
34210         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
34211         (fma_towardzero_test_data): Likewise.
34212         (fma_downward_test_data): Likewise.
34213         (fma_upward_test_data): Likewise.
34214         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
34215         mpc_mode.
34216         (rounding_modes): Add values for new field.
34217         (func_calc_method): Add value mpfr_fff_f.
34218         (func_calc_desc): Add mpfr_fff_f union field.
34219         (test_function): Add field exact_args.
34220         (FUNC): Add macro argument EXACT_ARGS.
34221         (FUNC_mpfr_f_f): Update call to FUNC.
34222         (FUNC_mpfr_f_f): Likewise.
34223         (FUNC_mpfr_ff_f): Likewise.
34224         (FUNC_mpfr_if_f): Likewise.
34225         (FUNC_mpc_c_f): Likewise.
34226         (FUNC_mpc_c_c): Likewise.
34227         (test_functions): Add fma.  Update calls to FUNC.
34228         (handle_input_arg): Add argument exact_args.
34229         (add_test): Update call to handle_input_arg.
34230         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
34231         (output_for_one_input_case): Update call to calc_generic_results.
34232         Recalculate exact zero results in each rounding mode.
34234         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
34235         non-negative before setting low bit.
34236         * math/auto-libm-test-in: Mark one asin test possibly having
34237         spurious underflow.
34238         * math/auto-libm-test-out: Regenerated.
34239         * sysdeps/i386/fpu/libm-test-ulps: Update.
34240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34242 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
34244         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
34245         * sysdeps/unix/sysv/linux/microblaze: Move directory from
34246         ports/sysdeps/unix/sysv/linux/microblaze.
34247         * README: Add missing listing for microblaze*-*-linux-gnu.
34249 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
34251         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
34252         duplicate code
34254 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
34256         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
34257         * sysdeps/unix/sysv/linux/ia64: Move directory from
34258         ports/sysdeps/unix/sysv/linux/ia64.
34259         * README: Update listing for ia64-*-linux-gnu.
34261 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
34262             Joseph Myers  <joseph@codesourcery.com>
34264         * Makeconfig (test-name): New variable.
34265         (evaluate-test): Likewise.
34266         * Makerules (do-test-clean): Remove .test-result files.
34267         (common-mostlyclean): Likewise.
34268         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
34269         * scripts/evaluate-test.sh: New file.
34271 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
34273         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
34274         separate $(objpfx)tst-fopenloc-cmp.out and
34275         $(objpfx)tst-fopenloc-mem.out targets.
34276         (tests): Update dependencies.
34277         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
34278         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
34279         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
34280         (tst-rxspencer-no-utf8-ARGS): New variable.
34281         (tst-rxspencer-no-utf8-ENV): Likewise.
34282         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
34283         instead of $(objpfx)tst-rxspencer-mem.
34284         ($(objpfx)tst-rxspencer-mem): Change target to
34285         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
34286         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
34287         * posix/tst-rxspencer-no-utf8.c: New file.
34289         * elf/Makefile ($(objpfx)order.out): Remove rule.
34290         [$(run-built-tests) = yes] (tests): Depend on
34291         $(objpfx)order-cmp.out.
34292         ($(objpfx)order-cmp.out): New rule.
34293         [$(run-built-tests) = yes] (tests): Depend on
34294         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
34295         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
34296         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
34297         $(objpfx)tst-array5-static-cmp.out.
34298         ($(objpfx)tst-array1.out): Remove rule.
34299         ($(objpfx)tst-array1-cmp.out): New rule.
34300         ($(objpfx)tst-array1-static.out): Remove rule.
34301         ($(objpfx)tst-array1-static-cmp.out): New rule.
34302         ($(objpfx)tst-array2.out): Remove rule.
34303         ($(objpfx)tst-array2-cmp.out): New rule.
34304         ($(objpfx)tst-array3.out): Remove rule.
34305         ($(objpfx)tst-array3-cmp.out): New rule.
34306         ($(objpfx)tst-array4.out): Remove rule.
34307         ($(objpfx)tst-array4-cmp.out): New rule.
34308         ($(objpfx)tst-array5.out): Remove rule.
34309         ($(objpfx)tst-array5-cmp.out): New rule.
34310         ($(objpfx)tst-array5-static.out): Remove rule.
34311         ($(objpfx)tst-array5-static-cmp.out): New rule.
34312         [$(run-built-tests) = yes] (tests): Depend on
34313         $(objpfx)order2-cmp.out.
34314         ($(objpfx)order2.out): Remove rule.
34315         ($(objpfx)order2-cmp.out): New rule.
34316         ($(objpfx)tst-initorder.out): Remove rule.
34317         [$(run-built-tests) = yes] (tests): Depend on
34318         $(objpfx)tst-initorder-cmp.out.
34319         ($(objpfx)tst-initorder-cmp.out): New rule.
34320         ($(objpfx)tst-initorder2.out): Remove rule.
34321         [$(run-built-tests) = yes] (tests): Depend on
34322         $(objpfx)tst-initorder2-cmp.out.
34323         ($(objpfx)tst-initorder2-cmp.out): New rule.
34324         [$(run-built-tests) = yes] (tests): Depend on
34325         $(objpfx)tst-unused-dep-cmp.out.
34326         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34327         ($(objpfx)tst-unused-dep-cmp.out): New rule.
34328         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34329         on $(objpfx)tst-setvbuf1-cmp.out.
34330         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34331         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34332         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34333         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34334         ($(objpfx)tst-svc.out): Remove rule.
34335         ($(objpfx)tst-svc-cmp.out): New rule.
34337 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
34339         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34340         * ctype/ctype.h [__USE_MISC]: Likewise.
34341         * dirent/dirent.h [__USE_MISC]: Likewise.
34342         * grp/grp.h [__USE_MISC]: Likewise.
34343         * io/fcntl.h [__USE_MISC]: Likewise.
34344         * io/sys/stat.h [__USE_MISC]: Likewise.
34345         * libio/stdio.h [__USE_MISC]: Likewise.
34346         * posix/unistd.h [__USE_MISC]: Likewise.
34347         * pwd/pwd.h [__USE_MISC]: Likewise.
34348         * stdlib.h [__USE_MISC]: Likewise.
34349         * string/bits/string2.h [__USE_MISC]: Likewise.
34350         * string/string.h [__USE_MISC]: Likewise.
34351         * time/time.h [__USE_MISC]: Likewise.
34353 2014-02-13  Andreas Schwab  <schwab@suse.de>
34355         [BZ #16574]
34356         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34357         second answer buffer if it was separately allocated.
34359 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
34361         * sysdeps/mips/math-tests.h: Include <features.h>.
34362         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34363         (ROUNDING_TESTS_long_double): Do not define.
34364         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34365         (EXCEPTION_TESTS_long_double): Likewise.
34366         * sysdeps/mips/mips64/libm-test-ulps: Update.
34368         * include/features.h (__USE_BSD): Remove macro definitions.
34369         (__USE_SVID): Likewise.
34370         (_BSD_SOURCE): Likewise.
34371         (_SVID_SOURCE): Likewise.
34372         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
34373         from definition of _DEFAULT_SOURCE.
34374         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
34375         [_DEFAULT_SOURCE].
34376         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
34377         * bits/mman.h [__USE_BSD]: Likewise.
34378         * bits/termios.h [__USE_BSD]: Likewise.
34379         * bits/waitstatus.h [__USE_BSD]: Likewise.
34380         * ctype/ctype.h [__USE_SVID]: Likewise.
34381         * dirent/dirent.h [__USE_BSD]: Likewise.
34382         * grp/grp.h [__USE_SVID]: Likewise.
34383         [__USE_BSD]: Likewise.
34384         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
34385         * io/fcntl.h [__USE_BSD]: Likewise.
34386         * io/ftw.h [__USE_BSD]: Likewise.
34387         * io/sys/stat.h [__USE_BSD]: Likewise.
34388         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
34389         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
34390         * libio/stdio.h [__USE_SVID]: Likewise.
34391         [__USE_BSD]: Likewise.
34392         * math/math.h [__USE_SVID]: Likewise.
34393         [__USE_BSD]: Likewise.
34394         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
34395         * misc/bits/syslog.h [__USE_BSD]: Likewise.
34396         * misc/search.h [__USE_SVID]: Likewise.
34397         * misc/sys/mman.h [__USE_BSD]: Likewise.
34398         * misc/sys/syslog.h [__USE_BSD]: Likewise.
34399         * misc/sys/uio.h [__USE_BSD]: Likewise.
34400         * posix/bits/unistd.h [__USE_BSD]: Likewise.
34401         * posix/glob.h [__USE_BSD]: Likewise.
34402         * posix/regex.h [__USE_BSD]: Likewise.
34403         * posix/sys/types.h [__USE_BSD]: Likewise.
34404         [__USE_SVID]: Likewise.
34405         * posix/sys/utsname.h [__USE_SVID]: Likewise.
34406         * posix/sys/wait.h [__USE_BSD]: Likewise.
34407         [__USE_SVID]: Likewise.
34408         * posix/unistd.h [__USE_BSD]: Likewise.
34409         [__USE_SVID]: Likewise.
34410         * pwd/pwd.h [__USE_SVID]: Likewise.
34411         * resolv/netdb.h [__USE_BSD]: Likewise.
34412         * setjmp/setjmp.h [__USE_BSD]: Likewise.
34413         * signal/signal.h [__USE_BSD]: Likewise.
34414         [__USE_SVID]: Likewise.
34415         * socket/sys/socket.h [__USE_BSD]: Likewise.
34416         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34417         * stdlib/stdlib.h [__USE_BSD]: Likewise.
34418         [__USE_SVID]: Likewise.
34419         * string/bits/string2.h [__USE_BSD]: Likewise.
34420         [__USE_SVID]: Likewise.
34421         * string/bits/string3.h [__USE_BSD]: Likewise.
34422         * string/endian.h [__USE_BSD]: Likewise.
34423         * string/string.h [__USE_SVID]: Likewise.
34424         [__USE_BSD]: Likewise.
34425         * string/strings.h [__USE_BSD]: Likewise.
34426         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34427         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34428         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34429         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34430         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34431         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34432         Likewise.
34433         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34434         Likewise.
34435         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34436         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34437         Likewise.
34438         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34439         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34440         Likewise.
34441         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34442         Likewise.
34443         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34444         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34445         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34446         Likewise.
34447         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34448         Likewise.
34449         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34450         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34451         * termios/termios.h [__USE_BSD]: Likewise.
34452         * time/sys/time.h [__USE_BSD]: Likewise.
34453         * time/time.h [__USE_BSD]: Likewise.
34454         [__USE_SVID]: Likewise.
34456         * Makefile (subdir_targets): Remove subdir_lint.out.
34458         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34459         (do-tst-printf): Likewise.
34460         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34461         $(objpfx)tst-printf.out.
34463         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34465         * Makerules (check-abi-%): Change target to
34466         $(objpfx)check-abi-%.out.
34467         (check-abi target): Update dependencies.
34468         (check-abi-pattern variable): Redirect output of diff to $@.
34469         (check-abi variable): Likewise.
34470         * elf/Makefile (check-abi): Update dependencies.
34472         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34473         unused.
34474         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34475         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34476         subnormal range.
34477         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34478         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34479         value has largest subnormal exponent.
34480         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34481         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34482         * sysdeps/aarch64/soft-fp/sfp-machine.h
34483         (_FP_TININESS_AFTER_ROUNDING): New macro.
34484         * sysdeps/alpha/soft-fp/sfp-machine.h
34485         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34486         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34487         Likewise.
34488         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34489         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34490         * sysdeps/mips/soft-fp/sfp-machine.h
34491         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34492         * sysdeps/powerpc/soft-fp/sfp-machine.h
34493         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34494         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34495         Likewise.
34496         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34497         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34498         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34499         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34500         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34501         Likewise.
34503 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34505         [BZ #16545]
34506         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34507         model 1.
34509 2014-02-12  Richard Henderson  <rth@redhat.com>
34511         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34512         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34513         * sysdeps/unix/sysv/linux/alpha: Move directory from
34514         ports/sysdeps/unix/sysv/linux/alpha.
34515         * README: Update listing for alpha-*-linux-gnu.
34517 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34519         * include/features.h: Update comment documenting feature test
34520         macros.
34521         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34522         _DEFAULT_SOURCE.
34523         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34524         (_SVID_SOURCE): Likewise.
34525         (_DEFAULT_SOURCE): Update description of default features.
34526         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34527         with _GNU_SOURCE.
34528         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34529         (S_ISVTX): Likewise.
34530         * manual/math.texi (Mathematical Constants): Likewise.
34531         * manual/signal.texi (Interrupted Primitives): Likewise.
34532         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34533         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34534         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34535         Don't refer to _SVID_SOURCE in warning text.
34537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34539         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34540         already defined.
34541         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34542         * sysdeps/mips/dl-lookup.c: Remove.
34543         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34545 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34547         [BZ #16447]
34548         * math/auto-libm-test-in: Add testcase for expl.
34549         * math/auto-libm-test-out: Regenerate.
34550         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34551         calculation of unsafe.
34552         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34554 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34556         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34557         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34558         ports/sysdeps/unix/sysv/linux/aarch64.
34559         * README: Update listing for aarch64*-*-linux-gnu.
34561 2014-02-11  Will Newton  <will.newton@linaro.org>
34563         * manual/probes.texi (Mathematical Function Probes): Use
34564         "triggered" instead of "hit".
34566         * manual/probes.texi (Internal Probes): Add documentation
34567         of setjmp, longjmp and longjmp_target probes.
34569         * include/stap-probe.h: Add comment about probe argument
34570         format.
34572         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34573         definition.  (tr_where, tr_freehook, tr_mallochook,
34574         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34576 2014-02-11  David S. Miller  <davem@davemloft.net>
34578         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34579         processing int_tests.
34581 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34583         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34584         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34585         * sysdeps/unix/sysv/linux/mips: Move directory from
34586         ports/sysdeps/unix/sysv/linux/mips.
34587         * README: Update listing for mips-*-linux-gnu and
34588         mips64-*-linux-gnu.
34590 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34592         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34593         * sysdeps/unix/sysv/linux/m68k: Move directory from
34594         ports/sysdeps/unix/sysv/linux/m68k.
34595         * README: Update listing for m68k-*-linux-gnu.
34597 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34599         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34600         * sysdeps/unix/sysv/linux/generic: Move directory from
34601         ports/sysdeps/unix/sysv/linux/generic.
34602         * sysdeps/unix/sysv/linux/tile: Move directory from
34603         ports/sysdeps/unix/sysv/linux/tile.
34604         * README: Update listing for tile*-*-linux-gnu.
34606 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34608         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34609         __builtin_expect.
34610         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34611         * catgets/open_catalog.c (__open_catalog): Likewise.
34612         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34613         * debug/confstr_chk.c: Likewise.
34614         * debug/fread_chk.c (__fread_chk): Likewise.
34615         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34616         * debug/getgroups_chk.c: Likewise.
34617         * debug/mbsnrtowcs_chk.c: Likewise.
34618         * debug/mbsrtowcs_chk.c: Likewise.
34619         * debug/mbstowcs_chk.c: Likewise.
34620         * debug/memcpy_chk.c: Likewise.
34621         * debug/memmove_chk.c: Likewise.
34622         * debug/mempcpy_chk.c: Likewise.
34623         * debug/memset_chk.c: Likewise.
34624         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34625         * debug/strcat_chk.c (__strcat_chk): Likewise.
34626         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34627         * debug/strncat_chk.c (__strncat_chk): Likewise.
34628         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34629         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34630         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34631         * debug/wcpncpy_chk.c: Likewise.
34632         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34633         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34634         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34635         * debug/wcsncpy_chk.c: Likewise.
34636         * debug/wcsnrtombs_chk.c: Likewise.
34637         * debug/wcsrtombs_chk.c: Likewise.
34638         * debug/wcstombs_chk.c: Likewise.
34639         * debug/wmemcpy_chk.c: Likewise.
34640         * debug/wmemmove_chk.c: Likewise.
34641         * debug/wmempcpy_chk.c: Likewise.
34642         * debug/wmemset_chk.c: Likewise.
34643         * dirent/scandirat.c (SCANDIRAT): Likewise.
34644         * dlfcn/dladdr1.c (dladdr1): Likewise.
34645         * dlfcn/dladdr.c (dladdr): Likewise.
34646         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34647         * dlfcn/dlerror.c (__dlerror): Likewise.
34648         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34649         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34650         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34651         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34652         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34653         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34654         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34655         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34656         Likewise.
34657         * elf/dl-conflict.c: Likewise.
34658         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34659         * elf/dl-dst.h: Likewise.
34660         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34661         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34662         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34663         * elf/dl-init.c (call_init, _dl_init): Likewise.
34664         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34665         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34666         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34667         Likewise.
34668         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34669         Likewise.
34670         * elf/dl-minimal.c (__libc_memalign): Likewise.
34671         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34672         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34673         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34674         * elf/dl-sym.c (do_sym): Likewise.
34675         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34676         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34677         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34678         * elf/dl-writev.h (_dl_writev): Likewise.
34679         * elf/ldconfig.c (search_dir): Likewise.
34680         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34681         (dl_main): Likewise.
34682         * elf/setup-vdso.h (setup_vdso): Likewise.
34683         * grp/compat-initgroups.c (compat_call): Likewise.
34684         * grp/fgetgrent.c (fgetgrent): Likewise.
34685         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34686         * grp/putgrent.c (putgrent): Likewise.
34687         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34688         Likewise.
34689         * hurd/hurdinit.c: Likewise.
34690         * iconvdata/8bit-gap.c (struct): Likewise.
34691         * iconvdata/ansi_x3.110.c : Likewise.
34692         * iconvdata/big5.c : Likewise.
34693         * iconvdata/big5hkscs.c : Likewise.
34694         * iconvdata/cp1255.c: Likewise.
34695         * iconvdata/cp1258.c : Likewise.
34696         * iconvdata/cp932.c : Likewise.
34697         * iconvdata/euc-cn.c: Likewise.
34698         * iconvdata/euc-jisx0213.c : Likewise.
34699         * iconvdata/euc-jp.c: Likewise.
34700         * iconvdata/euc-jp-ms.c : Likewise.
34701         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34702         * iconvdata/gb18030.c : Likewise.
34703         * iconvdata/gbbig5.c (const): Likewise.
34704         * iconvdata/gbgbk.c: Likewise.
34705         * iconvdata/gbk.c : Likewise.
34706         * iconvdata/ibm1364.c : Likewise.
34707         * iconvdata/ibm930.c : Likewise.
34708         * iconvdata/ibm932.c: Likewise.
34709         * iconvdata/ibm933.c : Likewise.
34710         * iconvdata/ibm935.c : Likewise.
34711         * iconvdata/ibm937.c : Likewise.
34712         * iconvdata/ibm939.c : Likewise.
34713         * iconvdata/ibm943.c: Likewise.
34714         * iconvdata/iso_11548-1.c: Likewise.
34715         * iconvdata/iso-2022-cn.c : Likewise.
34716         * iconvdata/iso-2022-cn-ext.c : Likewise.
34717         * iconvdata/iso-2022-jp-3.c: Likewise.
34718         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34719         * iconvdata/iso-2022-kr.c : Likewise.
34720         * iconvdata/iso646.c (gconv_end): Likewise.
34721         * iconvdata/iso_6937-2.c : Likewise.
34722         * iconvdata/iso_6937.c : Likewise.
34723         * iconvdata/iso8859-1.c: Likewise.
34724         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34725         * iconvdata/shift_jisx0213.c : Likewise.
34726         * iconvdata/sjis.c : Likewise.
34727         * iconvdata/t.61.c : Likewise.
34728         * iconvdata/tcvn5712-1.c : Likewise.
34729         * iconvdata/tscii.c: Likewise.
34730         * iconvdata/uhc.c : Likewise.
34731         * iconvdata/unicode.c (gconv_end): Likewise.
34732         * iconvdata/utf-16.c (gconv_end): Likewise.
34733         * iconvdata/utf-32.c (gconv_end): Likewise.
34734         * iconvdata/utf-7.c (base64): Likewise.
34735         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34736         * iconv/gconv_close.c (__gconv_close): Likewise.
34737         * iconv/gconv_open.c (__gconv_open): Likewise.
34738         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34739         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34740         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34741         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34742         (ucs4le_internal_loop_single): Likewise.
34743         * iconv/iconv.c (iconv): Likewise.
34744         * iconv/iconv_close.c: Likewise.
34745         * iconv/loop.c (SINGLE): Likewise.
34746         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34747         * include/atomic.h: Likewise.
34748         * inet/inet6_option.c (option_alloc): Likewise.
34749         * intl/bindtextdom.c (set_binding_values): Likewise.
34750         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34751         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34752         * intl/localealias.c (read_alias_file): Likewise.
34753         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34754         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34755         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34756         * libio/fmemopen.c (fmemopen): Likewise.
34757         * libio/iofgets.c (_IO_fgets): Likewise.
34758         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34759         * libio/iofgetws.c (fgetws): Likewise.
34760         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34761         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34762         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34763         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34764         * locale/findlocale.c (_nl_find_locale): Likewise.
34765         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34766         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34767         Likewise.
34768         * locale/setlocale.c (setlocale): Likewise.
34769         * login/programs/pt_chown.c (main): Likewise.
34770         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34771         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34772         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34773         (mmap, mmap64, mremap, munmap): Likewise.
34774         * math/e_exp2l.c: Likewise.
34775         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34776         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34777         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34778         * math/s_catan.c (__catan): Likewise.
34779         * math/s_catanf.c (__catanf): Likewise.
34780         * math/s_catanh.c (__catanh): Likewise.
34781         * math/s_catanhf.c (__catanhf): Likewise.
34782         * math/s_catanhl.c (__catanhl): Likewise.
34783         * math/s_catanl.c (__catanl): Likewise.
34784         * math/s_ccosh.c (__ccosh): Likewise.
34785         * math/s_ccoshf.c (__ccoshf): Likewise.
34786         * math/s_ccoshl.c (__ccoshl): Likewise.
34787         * math/s_cexp.c (__cexp): Likewise.
34788         * math/s_cexpf.c (__cexpf): Likewise.
34789         * math/s_cexpl.c (__cexpl): Likewise.
34790         * math/s_clog10.c (__clog10): Likewise.
34791         * math/s_clog10f.c (__clog10f): Likewise.
34792         * math/s_clog10l.c (__clog10l): Likewise.
34793         * math/s_clog.c (__clog): Likewise.
34794         * math/s_clogf.c (__clogf): Likewise.
34795         * math/s_clogl.c (__clogl): Likewise.
34796         * math/s_csin.c (__csin): Likewise.
34797         * math/s_csinf.c (__csinf): Likewise.
34798         * math/s_csinh.c (__csinh): Likewise.
34799         * math/s_csinhf.c (__csinhf): Likewise.
34800         * math/s_csinhl.c (__csinhl): Likewise.
34801         * math/s_csinl.c (__csinl): Likewise.
34802         * math/s_csqrt.c (__csqrt): Likewise.
34803         * math/s_csqrtf.c (__csqrtf): Likewise.
34804         * math/s_csqrtl.c (__csqrtl): Likewise.
34805         * math/s_ctan.c (__ctan): Likewise.
34806         * math/s_ctanf.c (__ctanf): Likewise.
34807         * math/s_ctanh.c (__ctanh): Likewise.
34808         * math/s_ctanhf.c (__ctanhf): Likewise.
34809         * math/s_ctanhl.c (__ctanhl): Likewise.
34810         * math/s_ctanl.c (__ctanl): Likewise.
34811         * math/w_pow.c: Likewise.
34812         * math/w_powf.c: Likewise.
34813         * math/w_powl.c: Likewise.
34814         * math/w_scalb.c (sysv_scalb): Likewise.
34815         * math/w_scalbf.c (sysv_scalbf): Likewise.
34816         * math/w_scalbl.c (sysv_scalbl): Likewise.
34817         * misc/error.c (error_tail): Likewise.
34818         * misc/pselect.c (__pselect): Likewise.
34819         * nis/nis_callback.c (__nis_create_callback): Likewise.
34820         * nis/nis_call.c (__nisfind_server): Likewise.
34821         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34822         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34823         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34824         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34825         * nis/nis_lookup.c (nis_lookup): Likewise.
34826         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34827         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34828         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34829         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34830         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34831         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34832         * nis/nss_compat/compat-initgroups.c (add_group)
34833         (internal_getgrent_r): Likewise.
34834         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34835         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34836         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34837         (internal_getspnam_r): Likewise.
34838         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34839         (_nss_nis_getaliasbyname_r): Likewise.
34840         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34841         (_nss_nis_getntohost_r): Likewise.
34842         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34843         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34844         (_nss_nis_getgrgid_r): Likewise.
34845         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34846         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34847         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34848         (_nss_nis_gethostbyname4_r): Likewise.
34849         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34850         (initgroups_netid): Likewise.
34851         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34852         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34853         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34854         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34855         (_nss_nis_getprotobynumber_r): Likewise.
34856         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34857         (_nss_nis_getsecretkey): Likewise.
34858         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34859         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34860         (_nss_nis_getpwuid_r): Likewise.
34861         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34862         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34863         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34864         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34865         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34866         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34867         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34868         Likewise.
34869         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34870         (_nss_nisplus_getntohost_r): Likewise.
34871         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34872         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34873         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34874         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34875         Likewise.
34876         * nis/nss_nisplus/nisplus-initgroups.c
34877         (_nss_nisplus_initgroups_dyn): Likewise.
34878         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34879         (_nss_nisplus_getnetbyaddr_r): Likewise.
34880         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34881         (_nss_nisplus_getprotobynumber_r): Likewise.
34882         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34883         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34884         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34885         Likewise.
34886         * nis/nss_nisplus/nisplus-service.c
34887         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34888         (_nss_nisplus_getservbyport_r): Likewise.
34889         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34890         (_nss_nisplus_getspnam_r): Likewise.
34891         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34892         Likewise.
34893         * nscd/aicache.c (addhstaiX): Likewise.
34894         * nscd/cache.c (cache_search, prune_cache): Likewise.
34895         * nscd/connections.c (register_traced_file, send_ro_fd)
34896         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34897         (main_loop_epoll): Likewise.
34898         * nscd/grpcache.c (addgrbyX): Likewise.
34899         * nscd/hstcache.c (addhstbyX): Likewise.
34900         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34901         * nscd/mem.c (gc, mempool_alloc): Likewise.
34902         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34903         (addinnetgrX): Likewise.
34904         * nscd/nscd-client.h (__nscd_acquire_maplock)
34905         (__nscd_drop_map_ref): Likewise.
34906         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34907         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34908         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34909         Likewise.
34910         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34911         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34912         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34913         (__nscd_get_map_ref): Likewise.
34914         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34915         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34916         Likewise.
34917         * nscd/pwdcache.c (addpwbyX): Likewise.
34918         * nscd/selinux.c (preserve_capabilities): Likewise.
34919         * nscd/servicescache.c (addservbyX): Likewise.
34920         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34921         * posix/fnmatch.c (fnmatch): Likewise.
34922         * posix/getopt.c (_getopt_internal_r): Likewise.
34923         * posix/glob.c (glob, glob_in_dir): Likewise.
34924         * posix/wordexp.c (exec_comm_child): Likewise.
34925         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34926         (getanswer_r, gaih_getanswer_slice): Likewise.
34927         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34928         * resolv/res_init.c: Likewise.
34929         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34930         * resolv/res_query.c (__libc_res_nquery): Likewise.
34931         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34932         Likewise.
34933         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34934         * stdio-common/perror.c (perror): Likewise.
34935         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34936         * stdio-common/tmpnam.c (tmpnam): Likewise.
34937         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34938         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34939         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34940         Likewise.
34941         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34942         * stdlib/putenv.c (putenv): Likewise.
34943         * stdlib/setenv.c (__add_to_environ): Likewise.
34944         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34945         * stdlib/strtol_l.c (INTERNAL): Likewise.
34946         * string/memmem.c (memmem): Likewise.
34947         * string/strerror.c (strerror): Likewise.
34948         * string/strnlen.c (__strnlen): Likewise.
34949         * string/test-memmem.c (simple_memmem): Likewise.
34950         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34951         * sunrpc/pm_getport.c (__get_socket): Likewise.
34952         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34953         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34954         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34955         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34956         Likewise.
34957         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34958         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34959         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34960         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34961         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34962         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34963         Likewise.
34964         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34965         Likewise.
34966         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34967         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34968         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34969         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34970         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34972         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34973         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34974         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34975         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34976         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34977         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34978         Likewise.
34979         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34980         Likewise.
34981         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34982         Likewise.
34983         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34984         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34985         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34986         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34987         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34988         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34989         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34990         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34991         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34992         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34993         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34994         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34995         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34996         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34997         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34998         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34999         Likewise.
35000         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
35001         Likewise.
35002         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
35003         Likewise.
35004         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
35005         Likewise.
35006         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35007         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35008         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
35009         Likewise.
35010         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
35011         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
35012         * sysdeps/posix/opendir.c (__opendirat): Likewise.
35013         * sysdeps/posix/sleep.c: Likewise.
35014         * sysdeps/posix/tempname.c: Likewise.
35015         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
35016         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35017         Likewise.
35018         * sysdeps/powerpc/powerpc32/dl-machine.h
35019         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
35020         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35021         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35022         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
35023         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
35024         Likewise.
35025         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
35026         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
35027         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35028         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
35029         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35030         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
35031         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
35032         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
35033         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35034         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
35035         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
35036         (elf_machine_lazy_rel): Likewise.
35037         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
35039         (elf_machine_lazy_rel): Likewise.
35040         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
35041         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
35042         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
35043         * sysdeps/unix/grantpt.c (grantpt): Likewise.
35044         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
35045         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
35046         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35047         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35048         Likewise.
35049         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
35050         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
35051         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
35052         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
35053         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35054         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35055         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
35056         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
35057         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
35058         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35059         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35060         Likewise.
35061         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
35062         (__posix_fallocate64_l64): Likewise.
35063         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
35064         (posix_fallocate): Likewise.
35065         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
35066         Likewise.
35067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35068         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
35069         (getifaddrs_internal): Likewise.
35070         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
35071         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
35072         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
35073         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35074         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35075         (__posix_fallocate64_l64): Likewise.
35076         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35077         Likewise.
35078         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
35079         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
35080         (__get_clockfreq): Likewise.
35081         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
35082         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35083         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
35084         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35086         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
35087         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
35088         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
35089         Likewise.
35090         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
35091         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
35092         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
35093         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
35094         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35095         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
35096         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
35097         Likewise.
35098         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35099         (posix_fallocate): Likewise.
35100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35101         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
35102         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
35103         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
35104         (elf_machine_rela, elf_machine_rela_relative)
35105         (elf_machine_lazy_rel): Likewise.
35106         * time/asctime.c (asctime_internal): Likewise.
35107         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
35108         * time/tzset.c (__tzset_parse_tz): Likewise.
35109         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35110         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35111         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
35112         * wcsmbs/wcsmbsload.h: Likewise.
35114         [BZ #15894]
35115         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
35117         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
35118         (arena_get2): Remove THREAD_STATS conditionals.
35119         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
35120         (__malloc_stats, int): Likewise.
35122 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
35124         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
35125         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
35127         * manual/setjmp.texi: Fix typos/grammar errors.
35129         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
35130         Only return early when n is <= 0.  Delete unused return statement.
35132         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
35133         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
35134         * debug/tst-longjmp_chk3.c: New file.
35136         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
35137         (test_main): Replace code with set_fortify_handler call.
35138         * debug/test-strcpy_chk.c: Likewise.
35139         * debug/tst-chk1.c: Likewise.
35140         * debug/tst-longjmp_chk.c: Likewise.
35141         * test-skeleton.c: Include fcntl.h & paths.h
35142         (set_fortify_handler): Define.
35144         * debug/tst-longjmp_chk.c: Add header comment and include
35145         ../test-skeleton.c.
35146         (do_test): Mark static.
35147         (TEST_FUNCTION): Define.
35149         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
35150         (IP_PMTUDISC_INTERFACE): Likewise.
35151         (IP_MULTICAST_IF): Likewise.
35152         (IP_MULTICAST_TTL): Likewise.
35153         (IP_MULTICAST_LOOP): Likewise.
35154         (IP_ADD_MEMBERSHIP): Likewise.
35155         (IP_DROP_MEMBERSHIP): Likewise.
35156         (IP_UNBLOCK_SOURCE): Likewise.
35157         (IP_BLOCK_SOURCE): Likewise.
35158         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
35159         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
35160         (IP_MSFILTER): Likewise.
35161         (MCAST_JOIN_GROUP): Likewise.
35162         (MCAST_BLOCK_SOURCE): Likewise.
35163         (MCAST_UNBLOCK_SOURCE): Likewise.
35164         (MCAST_LEAVE_GROUP): Likewise.
35165         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35166         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35167         (MCAST_MSFILTER): Likewise.
35168         (IP_MULTICAST_ALL): Likewise.
35169         (IP_UNICAST_IF): Likewise.
35171         * timezone/Makefile: Delete $(have-ksh) check.
35172         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
35173         * timezone/tzselect.ksh: Add +x mode bits.
35175         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
35176         (ANON_INODE_FS_MAGIC): Likewise.
35177         (BDEVFS_MAGIC): Likewise.
35178         (BINFMTFS_MAGIC): Likewise.
35179         (BTRFS_TEST_MAGIC): Likewise.
35180         (CRAMFS_MAGIC_WEND): Likewise.
35181         (DEBUGFS_MAGIC): Likewise.
35182         (ECRYPTFS_SUPER_MAGIC): Likewise.
35183         (EXT3_SUPER_MAGIC): Likewise.
35184         (EXT4_SUPER_MAGIC): Likewise.
35185         (FUTEXFS_SUPER_MAGIC): Likewise.
35186         (HOSTFS_SUPER_MAGIC): Likewise.
35187         (HUGETLBFS_MAGIC): Likewise.
35188         (MINIX3_SUPER_MAGIC): Likewise.
35189         (MTD_INODE_FS_MAGIC): Likewise.
35190         (NILFS_SUPER_MAGIC): Likewise.
35191         (OPENPROM_SUPER_MAGIC): Likewise.
35192         (PIPEFS_MAGIC): Likewise.
35193         (PSTOREFS_MAGIC): Likewise.
35194         (QNX6_SUPER_MAGIC): Likewise.
35195         (RAMFS_MAGIC): Likewise.
35196         (REISERFS_SUPER_MAGIC_STRING): Likewise.
35197         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
35198         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
35199         (SECURITYFS_MAGIC): Likewise.
35200         (SELINUX_MAGIC): Likewise.
35201         (SMACK_MAGIC): Likewise.
35202         (SOCKFS_MAGIC): Likewise.
35203         (SQUASHFS_MAGIC): Likewise.
35204         (STACK_END_MAGIC): Likewise.
35205         (TMPFS_MAGIC): Likewise.
35206         (USBDEVICE_SUPER_MAGIC): Likewise.
35207         (V9FS_MAGIC): Likewise.
35208         (XENFS_SUPER_MAGIC): Likewise.
35209         (CRAMFS_MAGIC): Fix typo in comment.
35210         (EXT2_SUPER_MAGIC): Update comment.
35211         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
35213 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
35215         * sysdeps/arm: Move directory from ports/sysdeps/arm.
35216         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
35217         * sysdeps/unix/sysv/linux/arm: Move directory from
35218         ports/sysdeps/unix/sysv/linux/arm.
35219         * README: Update listing for arm-*-linux-gnueabi.
35221         * README: Remove mention of am33.
35223 2014-02-07  Roland McGrath  <roland@hack.frob.com>
35225         * bits/sigset.h (__sigemptyset): Use a statement expression rather
35226         than the comma operator, to avoid "rhs of comma has no effect"
35227         compiler warnings.
35228         (__sigfillset, __sigandset, __sigorset): Likewise.
35229         * include/signal.h (__sigemptyset): Likewise.
35230         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
35232 2014-02-07  Allan McRae  <allan@archlinux.org>
35234         * version.h (RELEASE): Set to "development".
35235         (VERSION): Set to "2.19.90"
35236         * NEWS: Add 2.20 section.
35238 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
35240         [BZ #16529]
35241         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
35243 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35245         * manual/contrib.texi: Update entry for Carlos O'Donell,
35246         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
35248 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
35250         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
35252         * sysdeps/unix/sysv/linux/kernel-features.h
35253         [__LINUX_KERNEL_VERSION >= 0x020621]
35254         (__ASSUME_PROC_PID_TASK_COMM): Define.
35256 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35258         [BZ #16398]
35259         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
35260         conversion when destination buffer does not have enough space.
35261         * libio/tst-ftell-partial-wide.c: New test case.
35262         * libio/Makefile (tests): Add tst-ftell-partial-wide.
35264         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
35265         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
35266         Leonard and Allan McRae.
35268 2014-02-04  David S. Miller  <davem@davemloft.net>
35270         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
35271         32-bit.
35273 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35276         New file
35277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35278         New file
35279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35280         New file.
35281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35282         New file.
35283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35284         New file.
35285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35286         New file.
35287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35288         New file.
35289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35290         New file.
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35292         New file.
35293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35294         New file.
35295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35296         New file.
35297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35298         New file.
35299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35300         New file.
35302 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35304         * nptl/shlib-versions: Change powerpc*le start to 2.17.
35305         * shlib-versions: Likewise.
35307 2014-02-04  Roland McGrath  <roland@hack.frob.com>
35308             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35310         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
35311         (abilist-pattern): New variable, set to %-le.abilist.
35313         * Makerules (abilist-pattern): New variable.
35314         (vpath): Use $(abilist-pattern) in place of %.abilist.
35315         (check-abi-% pattern rule): Likewise.
35316         (check-abi, update-abi): Likewise.
35318 2014-02-04  Eric Wong  <normalperson@yhbt.net>
35320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35322 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
35324         * manual/startup.texi: Add next, previous, and top entries for
35325         the `Program Arguments' and `Environment Variables' nodes.
35327 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
35329         * manual/macros.texi: Add comments before MTASC-safety macros.
35331         * manual/users.texi: Document MTASC-safety properties.
35333         * manual/threads.texi (pthread_key_create, pthread_key_delete)
35334         (pthread_getspecific, pthread_setspecific): Format with
35335         @deftypefun, and add @safety note.
35336         * manual/signal.texi: Move comments that analyze the above
35337         functions to their home place.
35339 2014-02-03  Allan McRae  <allan@archlinux.org>
35341         * po/sl.po: Update Slovenian translation from translation project.
35343 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
35345         * manual/time.texi (timegm): Add missing blank after @c.
35346         Reported by Joseph Myers <joseph@codesourcery.com>.
35348 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
35350         * manual/check-safety.sh: New.
35351         * manual/Makefile ($(objpfx)stamp-summary): Run it.
35353         * manual/terminal.texi: Document MTASC-safety properties.
35355         * manual/filesys.texi: Document MTASC-safety properties.
35357         * manual/errno.texi: Document MTASC-safety properties.
35359         * manual/intro.texi: Document safety identifiers and
35360         conditionals.
35362         * manual/string.texi (wcstok): Fix prototype.
35363         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
35365         * manual/time.texi: Document MTASC-safety properties.
35367         * manual/string.texi: Document MTASC-safety properties.
35369         * manual/threads.texi: Document MTASC-safety properties.
35371         * manual/stdio.texi: Document MTASC-safety properties.
35373         * manual/syslog.texi: Document MTASC-safety properties.
35375         * manual/sysinfo.texi: Document MTASC-safety properties.
35377         * manual/startup.texi: Document MTASC-safety properties.
35379         * manual/socket.texi: Document MTASC-safety properties.
35381         * manual/signal.texi: Document MTASC-safety properties.
35383 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
35385         * manual/setjmp.texi: Document MTASC-safety properties.
35387         * manual/search.texi: Document MTASC-safety properties.
35389         * manual/resource.texi: Document MTASC-safety properties.
35391         * manual/process.texi: Document MTASC-safety properties.
35393         * manual/platform.texi: Document MTASC-safety properties.
35395         * manual/pipe.texi: Document MTASC-safety properties.
35397         * manual/pattern.texi: Document MTASC-safety properties.
35399         * manual/message.texi: Document MTASC-safety properties.
35401         [BZ #12751]
35402         * manual/memory.texi: Document MTASC-safety properties.
35404         * manual/math.texi: Document MTASC-safety properties.
35406         * manual/locale.texi: Document MTASC-safety properties.
35408         * manual/llio.texi: Document MTASC-safety properties.
35410         * manual/libdl.texi: New.
35412         * manual/lang.texi: Document MTASC-safety properties.
35414         * manual/job.texi: Document MTASC-safety properties.
35416         * manual/getopt.texi: Document MTASC-safety properties.
35418         * manual/ctype.texi: Document MTASC-safety properties.
35420 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
35422         [BZ #16046]
35423         * csu/libc-tls.c (static_map): Remove variable.
35424         (__libc_setup_tls): Use main executable's link map for TLS data.
35425         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35426         casing for LM_ID_BASE and GL(dl_nns).
35427         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35428         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
35429         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35430         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35431         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35432         member.
35433         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35434         l_phnum members.
35436 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
35438         * manual/debug.texi: Document MTASC-safety properties.
35440 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
35442         [BZ #16510]
35443         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35444         of __x86_64__ when disabling x87 inline functions.
35446 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
35448         * manual/charset.texi: Document MTASC-safety properties.
35450         * manual/crypt.texi: Document MTASC-safety properties.
35452         * manual/conf.texi: Document MTASC-safety properties.
35454         * manual/arith.texi: Document MTASC-safety properties.
35456         * manual/argp.texi: Document MTASC-safety properties.
35458         * manual/macros.texi: Introduce macros to document multi
35459         thread, asynchronous signal and asynchronous cancellation
35460         safety properties.
35461         * manual/intro.texi: Introduce the properties themselves.
35463 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35465         * sysdeps/sh/sh4/Makefile: New file.
35467 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35469         * math/gen-libm-test.pl ($srcdir): New variable.
35470         ($auto_input): Use it.
35472 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35474         [BZ #16506]
35475         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35476         access beyond array bounds when parsing netgroups file.
35478         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35479         the old buffer before realloc.
35481 2014-01-27  Allan McRae  <allan@archlinux.org>
35483         * po/fr.po: Update French translation from translation project.
35485 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35487         * sysdeps/sh/libm-test-ulps: Regenerate.
35489 2014-01-24  David S. Miller  <davem@davemloft.net>
35491         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35493 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35495         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35496         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35498 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35500         [BZ #16474]
35501         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35502         string pointers after reallocation.
35504 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35506         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35507         __SH4A__ instead of __SH_FPU_ANY__.
35509 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35511         * sysdeps/sh/fpu_control.h: New file.
35512         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35513         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35514         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35515         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35516         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35517         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35518         * sysdeps/sh/sys/ucontext.h: Remove.
35519         * sysdeps/sh/sys: Remove directory.
35521 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35523         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35524         s390/sys/ucontext.h.
35525         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35526         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35528 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35530         [BZ #15605]
35531         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35533 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35535         [BZ#16431]
35536         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35537         Adjust the vDSO correctly for internal calls.
35538         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35540 2014-01-20  Allan McRae  <allan@archlinux.org>
35542         * po/ca.po: Update Catalan translation from translation project.
35544 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35546         * sysdeps/s390/sotruss-lib.c: New file.
35548 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35550         [BZ#16430]
35551         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35552         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35553         local calls issues by not having a PLT stub required for IFUNC calls.
35554         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35556 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35558         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35559         * math/test-fpucw-static.c: Likewise.
35561 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35563         [BZ #16453]
35564         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35566 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35568         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35569         implementation for powerpc.
35571 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35573         [BZ #14782]
35574         * sysdeps/posix/system.c (__libc_system): Do not enable
35575         asynchronous cancellation.
35577 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35579         [BZ #16427]
35580         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35581         handling only for numbers special also in the IEEE case.
35583 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35585         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35587 2014-01-11  Allan McRae  <allan@archlinux.org>
35589         * po/bg.po: Update Bulgarian translation from translation project.
35591         * po/de.po: Update German translation from translation project.
35593 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35595         * sysdeps/generic/gcc-compat.h: New file.
35597 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35599         * benchtests/asin-inputs: Correct slow inputs.
35600         * benchtests/acos-inputs: Likewise.
35602 2014-01-10  Allan McRae  <allan@archlinux.org>
35604         * po:sv.po: Update Swedish translation from translation project.
35606         * po/vi.po: Update Vietnamese translation from translation project.
35608         * po/eo.po: Update Esperanto translation from translation project.
35610         * po/cs.po: Update Czech translation from translation project.
35612         * po/nl.po: Update Dutch translation from translation project.
35614         * po/pl.po: Update Polish translation from translation project.
35616         * po/ru.po: Update Russian translation from translation project.
35618         * po/uk.po: Update Ukrainian translation from translation project.
35620 2014-01-08  Brooks Moses  <bmoses@google.com>
35622         * elf/dl-load.c: Fix comment typo.
35624 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35626         * po/header.pot: Rename to...
35627         * po/pot.header: ... this.
35628         * po/Makefile: Use pot.header.
35630 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35631             Maxim Kuvyrkov  <maxim@kugelworks.com>
35633         [BZ #16394]
35634         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35635         SRC and DEST against LEN.
35637 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35639         [BZ #16414]
35640         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35641         implementation.
35642         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35644 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35648 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35650         [BZ #16408]
35651         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35652         for large positive arguments.
35654 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35656         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35658         * math/auto-libm-test-in: Mark various tests with
35659         xfail-rounding:ldbl-128ibm.
35660         * math/auto-libm-test-out: Regenerated.
35662         [BZ #16407]
35663         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35664         Increase overflow threshold.
35666 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35668         [BZ #14286]
35669         * stdio-common/vfprintf.c: Check for integer overflow.
35671 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35673         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35674         the first argument and return value of __tls_get_addr_internal.
35676 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35678         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35679         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35681 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35683         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35684         * sysdeps/s390/rtld-global-offsets.sym: New file.
35685         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35686         GLIBC_2.19 symbol.
35687         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35688         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35689         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35690         ... this.
35691         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35692         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35693         ... this.
35694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35695         Regenerate.
35696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35697         Regenerate.
35698         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35699         halfs of GPRs for high_gprs contexts.
35700         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35701         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35702         field.
35703         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35704         uc_flags field.
35705         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35706         64 bit versions:
35707         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35708         for high GPRs (uc_high_gprs) and for future extensions
35709         (__reserved).
35710         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35711         for future extensions (__reserved).
35712         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35713         64 bit versions:
35714         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35715         SC_HIGHGPRS offset definition.
35716         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35717         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35719         * Versions.def: Add GLIBC_2.19 for libpthread.
35720         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35721         siglongjmp for libpthread with GLIBC_2.19 symver.
35722         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35723         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35724         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35725         * sysdeps/s390/__longjmp.c: New file.
35726         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35727         * sysdeps/s390/longjmp.c: New file.
35728         * sysdeps/s390/setjmp.S: New file.
35729         * sysdeps/s390/sigjmp.S: New file.
35730         * sysdeps/s390/v1-longjmp.c: New file.
35731         * sysdeps/s390/v1-setjmp.h: New file.
35732         * sysdeps/s390/v1-sigjmp.c: New file.
35733         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35734         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35735         GLIBC_2.19 version.
35736         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35737         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35738         versioned symbols for ____longjmp_chk.
35739         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35740         Likewise.
35741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35742         Regenerate.
35743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35744         Regenerate.
35745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35746         Regenerate.
35747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35748         Regenerate.
35749         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35750         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35751         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35752         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35753         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35754         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35755         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35756         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35757         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35758         * sysdeps/s390/rtld-__longjmp.c: New file.
35759         * sysdeps/s390/rtld-setjmp.S: New file.
35761 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35763         [BZ #16400]
35764         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35765         Return -__logl (x) for small positive arguments without evaluating
35766         a polynomial.
35768 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35770         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35771         Rename to ...
35772         (__ptrace_peeksiginfo_args): ... this.
35773         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35774         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35775         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35777 2014-01-06  Allan McRae  <allan@archlinux.org>
35779         * inet/netinet/in.h: Fix typo in comment.
35781 2014-01-05  Andreas Jaeger  <aj@suse.de>
35783         * sysdeps/i386/fpu/libm-test-ulps: Update.
35785 2014-01-05  Allan McRae  <allan@archlinux.org>
35787         * po/libc.pot: Regenerated.
35789         * malloc/memusagestat.c: Fix gettext call formatting.
35791 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35793         * nscd/nscd.c: Improve usage() output.
35795 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35797         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35798         * sysdeps/unix/sysv/linux/configure: Regenerated.
35799         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35800         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35802 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35804         [BZ #16390]
35805         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35806         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35808 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35810         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35811         extra tokens at end of #undef directive.
35812         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35813         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35814         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35816 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35818         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35820         * math/auto-libm-test-in: Mark various tests with
35821         xfail-rounding:ldbl-128ibm.
35822         * math/auto-libm-test-out: Regenerated.
35824 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35826         [BZ #16386]
35827         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35828         numbers with subnormal high part when calculating exponent.
35830         [BZ #16385]
35831         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35832         fabs.
35834         [BZ #16384]
35835         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35836         M_LN2l.
35837         (__ieee754_acoshl): Use __log1pl not __log1p.
35839 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35841         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35842         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35843         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35844         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35845         (reused_arena, arena_get2): Convert to GNU style.
35846         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35847         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35848         (memalign_check, __malloc_set_state): Likewise.
35849         * malloc/mallocbug.c (main): Likewise.
35850         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35851         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35852         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35853         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35854         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35855         (__posix_memalign, malloc_info): Likewise.
35856         * malloc/malloc.h: Likewise.
35857         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35858         (mallochook, memalignhook, reallochook, mabort): Likewise.
35859         * malloc/mcheck.h: Likewise.
35860         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35861         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35862         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35863         * malloc/morecore.c (__default_morecore): Likewise.
35864         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35865         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35866         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35867         (print_and_abort): Likewise.
35868         * malloc/obstack.h: Likewise.
35869         * malloc/set-freeres.c (__libc_freeres): Likewise.
35870         * malloc/tst-mallocstate.c (main): Likewise.
35871         * malloc/tst-mtrace.c (main): Likewise.
35872         * malloc/tst-realloc.c (do_test): Likewise.
35874 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35876         [BZ #16366]
35877         * nscd/netgroupcache.c (do_notfound): New function.
35878         (addgetnetgrentX): Use it.
35880         [BZ # 16365]
35881         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35882         NSS_STATUS_NOTFOUND.
35884 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35886         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35889 2014-01-01  Allan McRae  <allan@archlinux.org>
35891         * scripts/update-copyrights: Update configure input file suffix.
35893         * NEWS: Update copyright year.
35894         * catgets/gencat.c: Likewise.
35895         * csu/version.c: Likewise.
35896         * debug/catchsegv.sh: Likewise.
35897         * debug/pcprofiledump.c: Likewise.
35898         * debug/xtrace.sh: Likewise.
35899         * elf/ldconfig.c: Likewise.
35900         * elf/ldd.bash.in: Likewise.
35901         * elf/pldd.c: Likewise.
35902         * elf/sotruss.ksh: Likewise.
35903         * elf/sprof.c: Likewise.
35904         * iconv/iconv_prog.c: Likewise.
35905         * iconv/iconvconfig.c: Likewise.
35906         * locale/programs/locale.c: Likewise.
35907         * locale/programs/localedef.c: Likewise.
35908         * login/programs/pt_chown.c: Likewise.
35909         * malloc/memusage.sh: Likewise.
35910         * malloc/memusagestat.c: Likewise.
35911         * malloc/mtrace.pl: Likewise.
35912         * manual/libc.texinfo: Likewise.
35913         * nscd/nscd.c: Likewise.
35914         * nss/getent.c: Likewise.
35915         * nss/makedb.c: Likewise.
35916         * posix/getconf.c: Likewise.
35917         * scripts/test-installation.pl: Likewise.
35919         * All files with FSF copyright notices: Update copyright dates
35920         using scripts/update-copyrights.
35921         * intl/plural.c: Regenerated.
35922         * locale/programs/charmap-kw.h: Likewise.
35923         * locale/programs/locfile-kw.h: Likewise.
35925 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35927         * sysdeps/unix/sysv/linux/configure: Regenerated.
35928         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35929         the linux/fanotify.h header.
35930         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35931         HAVE_LINUX_FANOTIFY_H is defined.
35933 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35935         * benchtests/cos-inputs: New inputs.
35936         * benchtests/sin-inputs: Likewise.
35938         * benchtests/atan-inputs: New inputs. Fix name of multiple
35939         precision fallback inputs.
35941         * benchtests/atanh-inputs: New inputs.
35942         * benchtests/tanh-inputs: Likewise.
35944         * benchtests/acosh-inputs: New inputs.
35945         * benchtests/asinh-inputs: Likewise.
35947         * benchtests/cosh-inputs: New inputs.
35948         * benchtests/sinh-inputs: Likewise.
35950         * benchtests/acos-inputs: Add more inputs.
35951         * benchtests/asin-inputs: Likewise.
35953 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35955         [BZ #16375]
35956         * manual/arith.texi: Fix spelling.
35957         * manual/charset.texi: Likewise.
35958         * manual/errno.texi: Likewise.
35959         * manual/filesys.texi: Likewise.
35960         * manual/lang.texi: Likewise.
35961         * manual/llio.texi: Likewise.
35962         * manual/locale.texi: Likewise.
35963         * manual/message.texi: Likewise.
35964         * manual/resource.texi: Likewise.
35965         * manual/search.texi: Likewise.
35966         * manual/setjmp.texi: Likewise.
35967         * manual/stdio.texi: Likewise.
35968         * manual/string.texi: Likewise.
35969         * manual/sysinfo.texi: Likewise.
35970         * manual/time.texi: Likewise.
35972 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35974         * po/sl.po: New file.
35976 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35978         * .gitignore: Add core/.gdbinit/.gdb_history.
35980 2013-12-27  Allan McRae  <allan@archlinux.org>
35982         [BZ #16369]
35983         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35984         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35986 2013-12-24  Brooks Moses  <bmoses@google.com>
35988         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35989         all compilers that claim C++98 compliance, not just GCC.
35990         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35991         Likewise.
35993 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35995         * NEWS: Restore accidentally deleted bug-fix entries.
35997 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35998             Ondřej Bílka  <neleai@seznam.cz>
36000         [BZ #15073]
36001         * malloc/malloc.c (_int_free): Perform sanity check only if we
36002         have_lock.
36004 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
36006         [BZ #12986]
36007         * manual/stdio.texi (String Input Conversions): Clarify that character
36008         classes are not supported.
36010 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36014 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
36016         [BZ #16337]
36017         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36018         Calculate results for small negative arguments directly rather
36019         than using reflection formula with special underflow handling.
36021         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
36022         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
36023         sysdeps/unix/bsd/bsd4.4/syscalls.list.
36024         (fchflags): Likewise.
36025         (revoke): Likewise.
36026         (setlogin): Likewise.
36027         (sigaltstack): Likewise.
36028         (wait4): Likewise.
36029         (sigblock): Remove.
36030         (sigsetmask): Likewise.
36031         (wait3): Likewise.
36032         (waitpid): Likewise.
36033         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
36034         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
36035         file.
36036         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
36037         * sysdeps/unix/bsd/Makefile: ... here.
36038         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
36039         * sysdeps/unix/bsd/Versions: ... here.
36040         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
36041         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
36042         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
36043         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
36044         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
36045         * sysdeps/unix/bsd/sigblock.c: ... here.
36046         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
36047         * sysdeps/unix/bsd/sigsetmask.c: ... here.
36048         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
36049         * sysdeps/unix/bsd/sigvec.c: ... here.
36050         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
36051         * sysdeps/unix/bsd/tcdrain.c: ... here.
36052         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
36053         * sysdeps/unix/bsd/tcgetattr.c: ... here.
36054         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
36055         * sysdeps/unix/bsd/tcsetattr.c: ... here.
36056         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
36057         * sysdeps/unix/bsd/wait.c: ... here.
36058         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
36059         * sysdeps/unix/bsd/wait3.c: ... here.
36060         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
36061         * sysdeps/unix/bsd/waitpid.c: ... here.
36063 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
36065         [BZ #16356]
36066         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
36067         round-to-nearest for [!USE_AS_EXPM1L].
36068         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
36069         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
36070         more tests of exp and exp10.  Expect some exp10 tests to miss
36071         exceptions or fail in directed rounding modes.
36072         * math/auto-libm-test-out: Regenerated.
36073         * math/libm-test.inc (exp10_tonearest_test_data): New array.
36074         (exp10_test_tonearest): New function.
36075         (exp10_towardzero_test_data): New array.
36076         (exp10_test_towardzero): New function.
36077         (exp10_downward_test_data): New array.
36078         (exp10_test_downward): New function.
36079         (exp10_upward_test_data): New array.
36080         (exp10_test_upward): New function.
36081         (main): Call the new functions.
36082         * sysdeps/i386/fpu/libm-test-ulps: Update.
36083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36085 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
36087         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
36088         asinh, atan, atan2, atanh, cbrt, cos and cosh.
36089         * math/auto-libm-test-out: Regenerated.
36090         * math/libm-test.inc (acosh_test_data): Add more tests.
36091         (atanh_test_data): Likewise.
36092         (ceil_test_data): Likewise.
36093         (copysign_test_data): Likewise.
36094         * sysdeps/i386/fpu/libm-test-ulps: Update.
36095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36097         * timezone/checktab.awk: Update from tzcode 2013i.
36098         * timezone/private.h: Likewise.
36099         * timezone/scheck.c: Likewise.
36100         * timezone/tzfile.h: Likewise.
36101         * timezone/tzselect.ksh: Likewise.
36102         * timezone/zdump.c: Likewise.
36103         * timezone/zic.c: Likewise.
36105         * math/auto-libm-test-in: Add tests of cpow.
36106         * math/auto-libm-test-out: Regenerated.
36107         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
36108         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36109         mpc_cc_c.
36110         (func_calc_desc): Add mpc_cc_c union field.
36111         (test_functions): Add cpow.
36112         (special_fill_2pi): New function.
36113         (special_real_inputs): Add 2pi.
36114         (calc_generic_results): Handle mpc_cc_c.
36115         * sysdeps/i386/fpu/libm-test-ulps: Update.
36116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36118         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
36119         csqrt, ctan and ctanh.
36120         * math/auto-libm-test-out: Regenerated.
36121         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36122         (TEST_COND_x86): Likewise.
36123         (ccos_test_data): Use AUTO_TESTS_c_c.
36124         (ccosh_test_data): Likewise.
36125         (cexp_test_data): Likewise.
36126         (clog_test_data): Likewise.
36127         (csqrt_test_data): Likewise.
36128         (ctan_test_data): Likewise.
36129         (ctan_tonearest_test_data): Likewise.
36130         (ctan_towardzero_test_data): Likewise.
36131         (ctan_downward_test_data): Likewise.
36132         (ctan_upward_test_data): Likewise.
36133         (ctanh_test_data): Likewise.
36134         (ctanh_tonearest_test_data): Likewise.
36135         (ctanh_towardzero_test_data): Likewise.
36136         (ctanh_downward_test_data): Likewise.
36137         (ctanh_upward_test_data): Likewise.
36138         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36139         mpc_c_c.
36140         (func_calc_desc): Add mpc_c_c union field.
36141         (FUNC_mpc_c_c): New macro.
36142         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
36143         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
36144         ctanh.
36145         (special_fill_min_subnorm_p120): New function.
36146         (special_real_inputs): Add min_subnorm_p120.
36147         (calc_generic_results): Handle mpc_c_c.
36148         * sysdeps/i386/fpu/libm-test-ulps: Update.
36149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36151 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36153         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
36154         (do_sin_slow): New functions.
36155         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
36156         (cslow2, csloww1, csloww2): Use the new functions.
36158         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
36159         Use M to change sign of result instead of X.  Assume X is
36160         positive.
36161         (csloww1): Likewise.
36162         (__sin): Adjust.
36163         (__cos): Adjust.
36165         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
36166         arguments A and DA.
36167         (__sin): Adjust.
36168         (__cos): Likewise.
36170         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
36171         (__cos): Likewise.
36172         (sloww1): Don't adjust sign of DX.
36173         (csloww1): Likewise.
36174         (sloww2): Use X directly and don't adjust sign of DX.
36175         (csloww2): Likewise.
36177 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36179         * math/auto-libm-test-in: Add tests of cabs and carg.
36180         * math/auto-libm-test-out: Regenerated.
36181         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
36182         (carg_test_data): Likewise.
36183         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36184         mpc_c_f.
36185         (func_calc_desc): Add mpc_c_f union field.
36186         (test_functions): Add cabs and carg.
36187         (calc_generic_results): Handle mpc_c_f.
36189         * sysdeps/powerpc/powerpc32/libgcc-compat.S
36190         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
36191         as a macro and a compat symbol.
36192         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36193         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36194         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36195         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36196         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
36197         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
36198         not use .hidden.
36199         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
36200         Likewise.
36201         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
36202         Likewise.
36203         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
36204         Likewise.
36205         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
36206         Likewise.
36207         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
36208         Likewise.
36209         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
36210         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
36211         from GLIBC_2.3.2.
36213 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36217 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36219         * manual/texinfo.tex: Update to version 2013-11-26.10 with
36220         trailing whitespace removed.
36221         * scripts/config.guess: Update to version 2013-11-29.
36222         * scripts/config.sub: Update to version 2013-10-01.
36224         * math/auto-libm-test-in: Add tests of sincos.
36225         * math/auto-libm-test-out: Regenerated.
36226         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
36227         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36228         mpfr_f_11.
36229         (func_calc_desc): Add mpfr_f_11 union field.
36230         (test_functions): Add sincos.
36231         (calc_generic_results): Handle mpfr_f_11.
36232         * sysdeps/i386/fpu/libm-test-ulps: Update.
36233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36235 2013-12-19  Andreas Schwab  <schwab@suse.de>
36237         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
36238         CALL_MCOUNT.
36239         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36240         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
36241         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
36243 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36245         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
36246         * sysdeps/i386/fpu/libm-test-ulps: Update.
36247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36249         [BZ #16293]
36250         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
36251         round-to-nearest mode when using frndint.
36252         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
36253         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36254         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36255         Likewise.
36256         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
36257         sinh test to fail.
36258         * math/auto-libm-test-out: Regenerated.
36259         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
36260         (TEST_COND_x86): Likewise.
36261         (expm1_tonearest_test_data): New array.
36262         (expm1_test_tonearest): New function.
36263         (expm1_towardzero_test_data): New array.
36264         (expm1_test_towardzero): New function.
36265         (expm1_downward_test_data): New array.
36266         (expm1_test_downward): New function.
36267         (expm1_upward_test_data): New array.
36268         (expm1_test_upward): New function.
36269         (main): Run the new test functions.
36270         * sysdeps/i386/fpu/libm-test-ulps: Update.
36271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36273         * include/features.h: Update comment documenting feature test
36274         macros.  Mention _DEFAULT_SOURCE in comment.
36275         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
36276         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
36277         _BSD_SOURCE and _SVID_SOURCE.
36278         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
36279         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
36280         !_SVID_SOURCE]: Likewise.
36281         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36282         (__USE_POSIX_IMPLICITLY): Define.
36283         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36284         (_POSIX_SOURCE): Undefine and redefine.
36285         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36286         (_POSIX_C_SOURCE): Likewise.
36287         * manual/creature.texi (_DEFAULT_SOURCE): Document.
36288         (Feature Test Macros): Update documentation of default features.
36290 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36292         * benchtests/Makefile: Add bench-strtok.
36293         * benchtests/bench-strtok.c: New file: strtok benchtest.
36295 2013-12-19  Allan McRae  <allan@archlinux.org>
36297         * manual/install.texi: Suppress menu for plain text output.
36298         * INSTALL: Regenerated.
36300 2013-12-18  Brooks Moses  <bmoses@google.com>
36302         [BZ #15846]
36303         * misc/getauxval.c: Include errno.h.
36304         (__getauxval): Set errno to ENOENT if the requested type is not
36305         found.
36306         * misc/sys/auxv.h (getauxval): Document that it may set errno;
36307         don't declare with __attribute_const__.
36308         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
36309         * manual/startup.texi: Document that getauxval sets errno.
36311 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36313         * math/auto-libm-test-in: Add tests of jn and yn.
36314         * math/auto-libm-test-out: Regenerated.
36315         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
36316         (yn_test_data): Likewise.
36317         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36318         mpfr_if_f.
36319         (func_calc_desc): Add mpfr_if_f union field.
36320         (FUNC_mpfr_if_f): New macro.
36321         (test_functions): Add jn and yn.
36322         (calc_generic_results): Assert type of second input for
36323         mpfr_ff_f.  Handle mpfr_if_f.
36324         (output_for_one_input_case): Disable all checking for arguments
36325         fitting floating-point types in case of an integer argument.
36326         * sysdeps/i386/fpu/libm-test-ulps: Update.
36327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36330         Don't expect fegetround reference in libm.so.
36332 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36334         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36335         $(config-cflags-nofma).
36337 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36339         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36340         * math/auto-libm-test-out: Regenerated.
36342         [BZ #16338]
36343         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36344         to determine exponent and adjust argument to have exponent of -1.
36345         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36346         log2.
36347         * math/auto-libm-test-out: Regenerated.
36348         * sysdeps/i386/fpu/libm-test-ulps: Update.
36349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36351 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
36353         * manual/probes.texi: Remove cases when per-thread arenas are
36354         disabled.
36356 2013-12-18  Andreas Schwab  <schwab@suse.de>
36358         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36359         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36360         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36361         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36362         * sysdeps/i386/i686/multiarch/Makefile: Update.
36363         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
36365 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36367         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
36368         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
36370 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
36372         [BZ #15968]
36373         Support TZ transition times < 00:00:00.
36374         This is needed for version-3 tz-format files; it supports time
36375         stamps past 2037 for America/Godthab (the only entry in the tz
36376         database for which this change is relevant).
36377         * manual/time.texi (TZ Variable): Document transition times
36378         from -167:59:59 through -00:00:01.
36379         * time/tzset.c (tz_rule): Time of day is now signed.
36380         (__tzset_parse_tz): Parse negative time of day.
36382         Document TZ transition times >= 25:00:00.
36383         * manual/time.texi (TZ Variable): Document transition times from
36384         25:00:00 through 167:59:59.  These are already supported, and this
36385         support will help with version-3 tz-format files.
36387         * manual/time.texi (TZ Variable): Modernize North America example
36388         to reflect current (i.e., 2007-and-later) daylight saving rules.
36390         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
36392 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36394         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
36395         * sysdeps/unix/bsd/bits/stat.h: Likewise.
36396         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
36397         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36398         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
36399         * sysdeps/unix/bsd/bsdstat.h: Likewise.
36400         * sysdeps/unix/bsd/clock.c: Likewise.
36401         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
36402         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
36403         * sysdeps/unix/bsd/init-posix.c: Likewise.
36404         * sysdeps/unix/bsd/poll.c: Likewise.
36405         * sysdeps/unix/bsd/ptsname.c: Likewise.
36406         * sysdeps/unix/bsd/seekdir.c: Likewise.
36407         * sysdeps/unix/bsd/setegid.c: Likewise.
36408         * sysdeps/unix/bsd/seteuid.c: Likewise.
36409         * sysdeps/unix/bsd/setgid.c: Likewise.
36410         * sysdeps/unix/bsd/setrgid.c: Likewise.
36411         * sysdeps/unix/bsd/setruid.c: Likewise.
36412         * sysdeps/unix/bsd/setsid.c: Likewise.
36413         * sysdeps/unix/bsd/setuid.c: Likewise.
36414         * sysdeps/unix/bsd/sigaction.c: Likewise.
36415         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36416         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36417         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36418         * sysdeps/unix/bsd/telldir.c: Likewise.
36419         * sysdeps/unix/bsd/times.c: Likewise.
36420         * sysdeps/unix/bsd/usleep.c: Likewise.
36422         * misc/Makefile (install-lib): Remove libbsd-compat.a.
36423         ($(objpfx)libbsd-compat.a): Remove rule.
36425         * include/features.h (__FAVOR_BSD): Do not define.
36426         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36427         features conflicting with POSIX.
36428         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36429         (_BSD_SOURCE): Remove description of not being a subset of other
36430         feature test macros.
36431         * manual/job.texi (getpgrp): Do not document BSD version.
36432         (getpgid): Do not document by reference to BSD getpgrp.
36433         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36434         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36435         * signal/signal.h [__FAVOR_BSD]: Likewise.
36436         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36437         instead of making contents conditional on [__FAVOR_BSD].
36438         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36440 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36444 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36446         [BZ #16314]
36447         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36448         values below 2**-450, not 2**-500.
36449         * math/auto-libm-test-in: Don't allow spurious underflow from
36450         hypot.
36451         * math/auto-libm-test-out: Regenerated.
36453         [BZ #16316]
36454         [BZ #16330]
36455         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36456         values of ha and hb and sort them after adjusting subnormal
36457         arguments.
36458         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36459         Likewise.
36460         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36461         values of ea and eb and sort them after adjusting subnormal
36462         arguments.
36463         * math/auto-libm-test-in: Do not expect some hypot tests of
36464         subnormals to fail.  Add more hypot tests.
36465         * math/auto-libm-test-out: Regenerated.
36467 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36469         [BZ #13304]
36470         * sysdeps/sh/s_fma.c: New file.
36471         * sysdeps/sh/s_fmaf.c: New file.
36472         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36473         version.
36474         * sysdeps/sh/Implies: Add sh/soft-fp.
36476 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36478         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36479         level of indirection to members `objname', `errstring', `malloced'.
36480         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36481         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36482         it as the __longjmp argument (just pass 1 instead).
36483         (_dl_catch_error): Initialize C with argument pointers and address of
36484         volatile local ERRCODE rather than copying values out of C at return.
36486 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36488         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36489         * math/auto-libm-test-out: Regenerated.
36490         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36491         (hypot_test_data): Likewise.
36492         (pow_test_data): Likewise.
36493         (pow_tonearest_test_data): Likewise.
36494         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36495         mpfr_ff_f.
36496         (func_calc_desc): Add mpfr_ff_f union field.
36497         (FUNC_mpfr_ff_f): New macro.
36498         (test_functions): Add atan2, hypot and pow.
36499         (special_fill_min): New function.
36500         (special_fill_minus_min): Likewise.
36501         (special_fill_min_subnorm): Likewise.
36502         (special_fill_minus_min_subnorm): Likewise.
36503         (special_real_inputs): Add min, -min, min_subnorm and
36504         -min_subnorm.
36505         (calc_generic_results): Handle mpfr_ff_f.
36506         * sysdeps/i386/fpu/libm-test-ulps: Update.
36507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36509 2013-12-16  Will Newton  <will.newton@linaro.org>
36511         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36512         (Aligned Memory Blocks): Add documentation for aligned_alloc
36513         and suggest it as an alternative to posix_memalign.
36514         (Hooks for Malloc): Document __memalign_hook is also called
36515         for aligned_alloc.  (Summary of Malloc): Add summary for
36516         aligned alloc.  Document __memalign_hook is also called
36517         for aligned_alloc.
36519 2013-12-16  Will Newton  <will.newton@linaro.org>
36521         * manual/memory.texi (Malloc Examples): Clarify default
36522         alignment documentation.  Suggest posix_memalign rather
36523         than memalign or valloc.
36524         (Aligned Memory Blocks): Remove suggestion to use memalign
36525         or valloc.  Remove obsolete comment about BSD.
36526         Document memalign errno values and mark the function obsolete.
36527         Document posix_memalign returned error codes.  Mark valloc
36528         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36529         called for posix_memalign and valloc.
36530         (Summary of Malloc): Add posix_memalign to function summary.
36531         __memalign_hook is also called for posix_memalign and valloc.
36533 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36535         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36536         TAYLOR_SIN.
36537         (__sin): Adjust.
36538         (__cos): Likewise.
36539         (sloww): Use mynumber union.  Expand ternary operator into
36540         if-else statements.
36541         (cslow): use mynumber union.
36543 2013-12-16  Allan McRae  <allan@archlinux.org>
36545         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36546         * configure: Regenerated.
36548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36550         [BZ #14120]
36551         * configure.ac: Added --enable-maintainer-mode. Check for
36552         autoconf when enabled.
36553         * configure: Regenerated.
36555         * nscd/nscd.service: New file.
36556         * nscd/nscd.tmpfiles: New file.
36558 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36560         [BZ #12100]
36561         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36562         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36563         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36564         (strstr): Add __strstr_sse2_unaligned ifunc.
36565         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36566         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36567         (strcasestr): Remove __strcasestr_sse42 ifunc.
36568         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36572 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36574         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36575         * sysdeps/sh/bits/fenv.h: ... here.
36576         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36578 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36580         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36583         hypotf multiarch implementations.
36584         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36585         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36586         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36587         multiarch hypot for PPC64.
36588         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36589         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36590         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36591         multiarch hypotf for PPC64.
36593         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36594         modff multiarch implementations.
36595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36598         multiarch modf for PPC64.
36599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36602         multiarch modff for PPC64.
36604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36605         and logl multiarch implementations.
36606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36609         multiarch logb for PPC64.
36610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36613         multiarch logb for PPC64.
36614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36617         multiarch logb for PPC64.
36619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36620         isinff multiarch implementation.
36621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36622         file.
36623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36625         multiarch isinf for PPC64.
36626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36627         file.
36628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36629         multiarch isinff for PPC64.
36631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36632         finitef multiarch implementation.
36633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36634         file.
36635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36637         multiarch finite for PPC64.
36638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36639         file.
36640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36641         multiarch finitef for PPC64.
36643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36644         lrint multiarch implementation.
36645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36646         file.
36647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36649         multiarch llrint for PPC64.
36650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36651         multiarch lrint for PPC64.
36653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36654         copysignf multiarch implementation.
36655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36656         file.
36657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36658         file.
36659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36660         multiarch copysign for PPC64.
36661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36662         multiarch copysignf for PPC64.
36664         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36665         multiarch implementation.
36666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36667         file.
36668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36669         file.
36670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36671         file.
36672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36673         file.
36674         multiarch llround for PPC64.
36675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36676         multiarch trunc for PPC64.
36677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36678         multiarch truncf for PPC64.
36680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36681         multiarch implementation.
36682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36683         file.
36684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36685         file.
36686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36687         file.
36688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36689         file.
36690         multiarch llround for PPC64.
36691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36692         multiarch round for PPC64.
36693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36694         multiarch roundf for PPC64.
36696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36697         multiarch implementation.
36698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36699         file.
36700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36701         file.
36702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36703         file.
36704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36705         file.
36706         multiarch llround for PPC64.
36707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36708         multiarch floor for PPC64.
36709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36710         multiarch floorf for PPC64.
36712         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36713         multiarch implementation.
36714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36715         file.
36716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36717         file.
36718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36719         file.
36720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36721         file.
36722         multiarch llround for PPC64.
36723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36724         multiarch ceil for PPC64.
36725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36726         multiarch ceilf for PPC64.
36728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36729         multiarch implementation.
36730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36731         file.
36732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36733         file.
36734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36735         file.
36736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36737         multiarch llround for PPC64.
36738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36739         multiarch lround for PPC64.
36741         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36742         multiarch implementation.
36743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36746         file.
36747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36750         multiarch isnan for PPC64.
36751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36752         multiarch isnanf for PPC64.
36754         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36755         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36756         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36757         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36758         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36761         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36762         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36763         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36764         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36767         multiarch implementations.
36768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36769         (__libc_ifunc_impl_list): Likewise.
36770         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36771         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36772         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36773         multiarch stpcpy for PPC64.
36775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36776         multiarch implementations.
36777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36778         (__libc_ifunc_impl_list): Likewise.
36779         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36780         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36781         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36782         multiarch strcpy for PPC64.
36784         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36785         redefine function name.
36786         (_wordcopy_fwd_dest_aligned): Likewise.
36787         (_wordcopy_bwd_aligned): Likewise.
36788         (_wordcopy_bwd_dest_aligned): Likewise.
36789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36790         multiarch implementations.
36791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36792         (__libc_ifunc_impl_list): Likewise.
36793         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36794         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36795         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36796         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36797         multiarch wcscpy for PPC64.
36799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36800         multiarch implementations.
36801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36802         (__libc_ifunc_impl_list): Likewise.
36803         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36804         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36805         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36806         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36807         multiarch wcscpy for PPC64.
36809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36810         multiarch implementations.
36811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36812         (__libc_ifunc_impl_list): Likewise.
36813         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36814         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36815         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36816         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36817         multiarch wcsrchr for PPC64.
36819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36820         multiarch implementations.
36821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36822         (__libc_ifunc_impl_list): Likewise.
36823         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36824         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36825         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36826         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36827         multiarch wcschr for PPC64.
36829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36830         multiarch implementations.
36831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36832         (__libc_ifunc_impl_list): Likewise.
36833         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36834         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36835         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36836         multiarch strchrnul for PPC64.
36838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36839         implementations.
36840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36841         (__libc_ifunc_impl_list): Likewise.
36842         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36843         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36844         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36845         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36846         strchr for PPC64.
36848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36849         implementations.
36850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36851         (__libc_ifunc_impl_list): Likewise.
36852         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36853         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36854         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36855         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36856         strncmp for PPC64.
36858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36859         multiarch implementations.
36860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36861         (__libc_ifunc_impl_list): Likewise.
36862         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36863         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36864         strncasecmp for PPC64.
36865         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36866         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36867         multiarch strncasecmp_l for PPC64.
36869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36870         multiarch implementations.
36871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36872         (__libc_ifunc_impl_list): Likewise.
36873         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36874         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36875         multiarch strcasecmp for PPC64.
36876         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36877         file.
36878         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36879         multiarch strcasecmp_l for PPC64.
36881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36882         implementations.
36883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36884         (__libc_ifunc_impl_list): Likewise.
36885         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36886         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36887         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36888         strnlen for PPC64.
36890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36891         implementations.
36892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36893         (__libc_ifunc_impl_list): Likewise.
36894         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36895         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36896         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36897         strlen for PPC64.
36899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36900         implementations.
36901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36902         (__libc_ifunc_impl_list): Likewise.
36903         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36904         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36905         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36906         rawmemrchr for PPC64.
36908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36909         implementation.
36910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36911         (__libc_ifunc_impl_list): Likewise.
36912         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36913         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36914         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36915         memrchr for PPC64.
36917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36918         implementation.
36919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36920         (__libc_ifunc_impl_list): Likewise.
36921         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36922         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36923         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36924         memchr for PPC64.
36926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36927         implementation.
36928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36929         (__libc_ifunc_impl_list): Likewise.
36930         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36931         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36932         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36933         mempcpy for PPC64.
36935         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36936         avoid cretion of __bzero symbol.
36937         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36938         Likewise.
36939         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36940         Likewise.
36941         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36942         Likewise.
36943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36944         multiarch implementations.
36945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36946         (__libc_ifunc_impl_list): Likewise.
36947         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36948         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36949         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36950         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36951         bzero for PPC32.
36952         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36953         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36954         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36955         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36956         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36957         memset for PPC64.
36958         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36960         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36962         implementations.
36963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36964         (__libc_ifunc_impl_list): Likewise.
36965         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36966         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36967         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36968         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36969         memcmp for PPC64.
36971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36972         multiarch for POWER/PPC64.
36973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36974         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36975         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36976         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36977         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36978         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36979         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36980         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36981         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36982         memcpy for PPC64.
36984         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36985         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36986         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36987         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36988         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36989         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36990         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36991         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36992         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36993         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36994         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36995         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36996         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36997         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36998         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
37000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
37001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
37002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
37003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
37004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
37005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
37007 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37009         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
37011 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37013         * benchtests/Makefile (bench): Add exp2 and log2.
37014         (LDLIBS-bench-exp2): Add -lm.
37015         (LDLIBS-bench-log2): Likewise.
37016         * benchtests/exp2-inputs: New inputs file.
37017         * benchtests/log2-inputs: New inputs file.
37018         * benchtests/log-inputs: Add new inputs.
37019         * benchtests/tan-inputs: Likewise.
37021 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37023         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
37024         definition...
37025         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
37026         (csloww2): ... from here.
37028         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
37029         instead of structures.
37030         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
37031         (POLYNOMIAL): Likewise.
37032         (TAYLOR_SLOW): Likewise.
37033         (__sin): Likewise.
37034         (__cos): Likewise.
37035         (slow1): Likewise.
37036         (slow2): Likewise.
37037         (sloww): Likewise.
37038         (sloww1); Likewise.
37039         (sloww2): Likewise.
37040         (bsloww1): Likewise.
37041         (bsloww2): Likewise.
37042         (cslow2): Likewise.
37043         (csloww): Likewise.
37044         (csloww1): Likewise.
37045         (csloww2): Likewise.
37047 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
37049         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
37050         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
37051         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
37052         * malloc/hooks.c (realloc_check): Likewise.
37054         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
37055         * malloc/arena.c: Remove PER_THREAD conditional.
37056         [!PER_THREAD]: Remove code.
37057         (ptmalloc_unlock_all2): Likewise.
37058         (ptmalloc_init): Likewise.
37059         (_int_new_arena): Likewise.
37060         (arena_get2): Likewise.
37061         * malloc/hooks.c (__malloc_get_state): Likewise.
37062         (__malloc_set_state): Likewise.
37063         * malloc/malloc.c: Likewise.
37064         (struct malloc_state): Likewise.
37065         (struct malloc_par): Likewise.
37066         (__libc_realloc): Likewise.
37067         (__libc_mallopt): Likewise.
37069 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37071         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
37073 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
37075         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
37076         macro to a function.  Check for zero perturb_byte.
37077         (_int_malloc, _int_free): Remove zero perturb_byte checks.
37079         * malloc/malloc.c: (force_reg): Remove.
37080         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
37081         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
37082         force_reg by atomic_forced_read.
37083         * malloc/arena.c (ptmalloc_init): Likewise.
37084         * malloc/hooks.c (top_check): Likewise.
37086 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37090 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
37092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37094 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
37096         * math/auto-libm-test-in: Add tests of lgamma.
37097         * math/auto-libm-test-out: Regenerated.
37098         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
37099         (M_LOG_2_SQRT_PIl): Likewise.
37100         (lgamma_test_data): Use AUTO_TESTS_f_f1.
37101         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37102         mpfr_f_f1.
37103         (func_calc_desc): Add mpfr_f_f1 union field.
37104         (ARGS1): New macro.
37105         (ARGS2): Likewise.
37106         (ARGS3): Likewise.
37107         (ARGS4): Likewise.
37108         (RET1): Likewise.
37109         (RET2): Likewise.
37110         (CALC): Likewise.
37111         (FUNC): Likewise.
37112         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
37113         (test_functions): Add lgamma.
37114         (calc_generic_results): Handle mpfr_f_f1.
37115         * sysdeps/i386/fpu/libm-test-ulps: Update.
37116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37118 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37120         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
37121         __mpn_add_n for PowerPC64/POWER7.
37122         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
37123         __mpn_sub_n for PowerPC64/POWER7.
37125         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
37126         __mpn_addmul_1 for PowerPC64.
37127         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
37128         __mpn_submul_1 for PowerPC64.
37129         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
37130         for PowerPC64.
37131         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
37132         for PowerPC64.
37134 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
37136         [BZ #15089]
37137         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
37139 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37141         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
37143         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
37144         add multiarch folders.
37145         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
37146         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
37147         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
37148         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
37149         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
37150         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
37151         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
37152         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
37153         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
37154         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
37155         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
37156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
37157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
37158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
37159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
37160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
37161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
37163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37164         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
37165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
37166         New file.
37167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
37168         New file.
37169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
37170         multiarch __ieee754_hypot for PowerPC32.
37171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
37172         New file.
37173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
37174         New file.
37175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
37176         multiarch __ieee754_hypotf for PowerPC32.
37178         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
37179         long_double_symbol only if __logbl is defined.
37180         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
37181         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
37182         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
37183         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
37184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
37185         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
37186         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
37187         path for implementation.
37188         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
37189         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
37190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
37191         logb, and logbl multiarch implementations for PowerPC32.
37192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
37193         file.
37194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
37195         file.
37196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
37197         multiarch logb for PowerPC32.
37198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
37199         file.
37200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
37201         file.
37202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
37203         multiarch logbf for PowerPC32.
37204         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
37205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
37206         file.
37207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
37208         multiarch logbl implementation for PowerPC32.
37210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
37211         and modff multiarch implementations.
37212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
37213         New file.
37214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
37215         New file.
37216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
37217         multiarch modf for PowerPC32.
37218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
37219         New file.
37220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
37221         New file.
37222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
37223         multiarch modff for PowerPC32.
37225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
37226         and lrintf multiarch implementations.
37227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
37228         New file.
37229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
37230         New file.
37231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
37232         multiarch lrint for PowerPC32.
37233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
37234         file: multiarch lrintf for PowerPC32.
37236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
37237         and lroundf multiarch implementations.
37238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
37239         New file.
37240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
37241         New file.
37242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
37243         New file.
37244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
37245         multiarch lround for PowerPC32.
37246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
37247         file: multiarch lroundf for PowerPC32.
37249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37250         copysign and copysignf multiarch implementations.
37251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
37252         New file.
37253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
37254         New file.
37255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
37256         file: multiarch copysign for PowerPC32.
37257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
37258         file: multiarch copysignf for PowerPC32.
37260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
37261         and truncf multiarch implementations.
37262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
37263         New file.
37264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
37265         file.
37266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
37267         multiarch trunc for PowerPC32.
37268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
37269         New file.
37270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
37271         New file.
37272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
37273         multiarch truncf for PowerPC32.
37275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
37276         and roundf multiarch implementations.
37277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
37278         New file.
37279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
37280         file.
37281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
37282         multiarch round for PowerPC32.
37283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
37284         New file.
37285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
37286         New file.
37287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
37288         multiarch roundf for PowerPC32.
37290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
37291         and floorf multiarch implementations.
37292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
37293         New file.
37294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
37295         file.
37296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
37297         multiarch floor for PowerPC32.
37298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
37299         New file.
37300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
37301         New file.
37302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
37303         multiarch floorf for PowerPC32.
37305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
37306         and ceilf multiarch implementations.
37307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
37308         New file.
37309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
37310         file.
37311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
37312         multiarch ceil for PowerPC32.
37313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
37314         New file.
37315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
37316         file.
37317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
37318         multiarch ceilf for PowerPC32.
37320         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37321         is defined.
37322         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37323         FINITEF is defined.
37324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37325         and finitef multiarch implementations.
37326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37327         New file.
37328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37329         file.
37330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37331         multiarch finite for PowerPC32.
37332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37333         New file.
37334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37335         file: multiarch finitef for PowerPC32.
37337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37338         and isinff multiarch implementations.
37339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37340         file.
37341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37342         file.
37343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37344         multiarch isinf for PowerPC32.
37345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37346         New file.
37347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37348         multiarch isinff for PowerPC32.
37350         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37351         alias when __isnan is defined.
37352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37353         and isnanf multiarch implementations.
37354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37355         file.
37356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37357         file.
37358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37359         file.
37360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37361         file.
37362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37363         multiarch isnan for PowerPC32.
37364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
37365         New file.
37366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
37367         New file.
37368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
37369         multiarch isnanf for PowerPC32.
37371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
37372         and sqrtf multiarch implementations.
37373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
37374         file.
37375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
37376         file.
37377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
37378         multiarch sqrt for PowerPC32.
37379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
37380         file.
37381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
37382         file.
37383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
37384         multiarch sqrtf for PowerPC32.
37386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
37387         and llroundf multiarch implementations.
37388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
37389         New file.
37390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
37391         New file.
37392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
37393         New file.
37394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
37395         file: multiarch llround for PowerPC32.
37396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
37397         file: multiarch llroundf for PowerPC32.
37399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
37400         multiarch PowerPC32 fpu implementations.
37401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
37402         New file.
37403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
37404         New file.
37405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
37406         multiarch llrint for PowerPC32.
37407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37408         New file.
37409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37410         New file.
37411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37412         file.
37414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37416         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37417         file.
37418         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37419         file.
37420         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37421         file.
37422         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37423         multiarch wordcopy for PPC32.
37424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37425         wordcopy objects.
37426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37427         (__libc_ifunc_impl_list): Likewise.
37428         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37429         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37430         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37431         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37432         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37433         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37435         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37437         file.
37438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37439         file.
37440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37441         file.
37442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37443         multiarch wcscpy for PPC32.
37444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37445         multiarch objects.
37446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37447         (__libc_ifunc_impl_list): Likewise.
37448         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37449         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37450         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37451         sysdeps/powerpc/power6/wcscpy.c.
37453         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37455         file.
37456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37457         file.
37458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37459         file.
37460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37461         multiarch wcsrchr for PPC32.
37462         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37463         multiarch objects.
37464         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37465         (__libc_ifunc_impl_list): Likewise.
37466         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37467         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37468         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37469         sysdeps/powerpc/power6/wcsrchr.c.
37471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37472         file.
37473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37474         file.
37475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37477         multiarch wcschr for PPc32.
37478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37479         multiarch objects.
37480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37481         (__libc_ifunc_impl_list): Likewise.
37482         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37483         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37484         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37485         sysdeps/powerpc/power6/wcschr.c.
37487         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37488         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37489         file.
37490         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37491         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37492         file: multiarch strchr for PPC32.
37493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37494         multiarch objects.
37495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37496         (__libc_ifunc_impl_list): Likewise.
37498         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37499         name.
37500         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37501         file.
37502         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37503         file.
37504         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37505         multiarch strchrnul for PPC32.
37506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37507         multiarch objects.
37508         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37509         (__libc_ifunc_impl_list): Likewise.
37511         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37512         file.
37513         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37514         multiarch strncasecmp for PPC32.
37515         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37516         file.
37517         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37518         multiarch strncasecmp_l for PPC32.
37519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37520         strncasecmp multiarch objects.
37521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37522         (__libc_ifunc_impl_list): Likewise.
37524         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37525         file.
37526         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37527         multiarch strncasecmp for PPC32.
37528         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37529         New file.
37530         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37531         multiarch strcasecmp_l for PPC32.
37532         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37533         multiarch objects.
37534         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37535         (__libc_ifunc_impl_list): Likewise.
37537         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37538         file.
37539         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37540         file.
37541         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37542         multiarch strncmp for PPC32.
37543         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37544         multiarch objects.
37545         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37546         (__libc_ifunc_impl_list): Likewise.
37548         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37549         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37550         file.
37551         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37552         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37554         multiarch objects.
37555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37556         (__libc_ifunc_impl_list): Likewise.
37558         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37559         file.
37560         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37561         file.
37562         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37564         multiarch objects.
37565         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37566         (__libc_ifunc_impl_list): Likewise.
37568         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37569         file.
37570         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37571         file.
37572         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37573         multiarch rawmemchr for PPC32.
37574         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37575         multiarch objects.
37576         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37577         (__libc_ifunc_impl_list): Likewise.
37579         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37580         file.
37581         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37582         file.
37583         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37584         file: memrchr multiarch for PPC32.
37585         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37586         multiarch objects.
37587         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37588         (__libc_ifunc_impl_list): Likewise.
37590         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37591         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37592         file.
37593         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37594         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37595         multiarch memchr for PPC32.
37596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37597         multiarch objects.
37598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37599         (__libc_ifunc_impl_list): Likewise.
37601         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37602         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37603         file.
37604         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37605         file.
37606         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37607         file: multiarch mempcpy for PPC32.
37608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37609         multiarch objects.
37610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37611         (__libc_ifunc_impl_list): Likewise.
37613         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37614         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37615         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37616         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37617         multiarch bzero for PPC32.
37618         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37619         file.
37620         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37621         file.
37622         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37623         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37624         file: multiarch memset for PPC32.
37625         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37627         memset multiarch objects.
37628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37629         (__libc_ifunc_impl_list): Likewise.
37631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37632         file.
37633         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37634         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37635         memcmp for PPC32.
37636         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37638         multiarch objects.
37639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37640         (__libc_ifunc_impl_list): Likewise.
37642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37644         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37645         file.
37646         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37647         file.
37648         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37649         file.
37650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37651         multiarch memcpy for PPC32.
37652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37653         multiarch objects.
37654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37655         (__libc_ifunc_impl_list): Likewise.
37657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37658         support multiarch for POWER/PPC32.
37659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37660         Likewise.
37661         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37663         Implies file to make multiarch folder appers before the fpu and
37664         default folder for power4 configuration.
37666 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37668         * scripts/bench.pl: Append volatile keyword to type.
37670 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37672         * sysdeps/sh/sotruss-lib.c: New file.
37673         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37675 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37679 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37681         [BZ #6810]
37682         * math/w_tgamma.c: Include <errno.h>.
37683         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37684         * math/w_tgammaf.c: Include <errno.h>.
37685         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37686         * math/w_tgammal.c: Include <errno.h>.
37687         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37688         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37689         underflow.  Add more tgamma tests.
37690         * math/auto-libm-test-out: Regenerated.
37691         * sysdeps/i386/fpu/libm-test-ulps: Update.
37692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37694         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37695         sin, sinh, tan, tanh, tgamma, y0 and y1.
37696         * math/auto-libm-test-out: Regenerated.
37697         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37698         (TEST_COND_x86): Likewise.
37699         (M_E2l): Remove macro.
37700         (M_E3l): Likewise.
37701         (M_2_SQRT_PIl): Likewise.
37702         (M_SQRT_PIl): Likewise.
37703         (M_1_DIV_El): Likewise.
37704         (log_test_data): Use AUTO_TESTS_f_f.
37705         (log10_test_data): Likewise.
37706         (log1p_test_data): Likewise.
37707         (log2_test_data): Likewise.
37708         (sin_test_data): Likewise.
37709         (sin_tonearest_test_data): Likewise.
37710         (sin_towardzero_test_data): Likewise.
37711         (sin_downward_test_data): Likewise.
37712         (sin_upward_test_data): Likewise.
37713         (sinh_test_data): Likewise.
37714         (sinh_tonearest_test_data): Likewise.
37715         (sinh_towardzero_test_data): Likewise.
37716         (sinh_downward_test_data): Likewise.
37717         (sinh_upward_test_data): Likewise.
37718         (tan_test_data): Likewise.
37719         (tan_tonearest_test_data): Likewise.
37720         (tan_towardzero_test_data): Likewise.
37721         (tan_downward_test_data): Likewise.
37722         (tan_upward_test_data): Likewise.
37723         (tanh_test_data): Likewise.
37724         (tgamma_test_data): Likewise.
37725         (y0_test_data): Likewise.
37726         (y1_test_data): Likewise.
37727         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37728         (special_real_inputs): Add pi/4.
37729         * sysdeps/i386/fpu/libm-test-ulps: Update.
37730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37732 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37734         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37735         "longjmp_target" static probes.
37736         (__longjmp): Rename to __longjmp_symbol.
37737         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37738         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37739         on which longjmp to generate.
37740         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37741         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37742         probe.
37743         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37744         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37745         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37746         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37747         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37748         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37750         __longjmp_symbol based on which __longjmp to generate.
37751         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37752         probe.
37753         (setjmp): Rename to setjmp_symbol.
37754         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37755         (_setjmp): Rename to _setjmp_symbol.
37756         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37757         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37758         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37759         which setjmp to generate.
37760         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37761         "longjmp_target" static probes.
37763 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37765         * benchtests/README: Add note about output arguments.
37766         * benchtests/bench-sincos.c: Remove file.
37767         * benchtests/sincos-inputs: New file.
37768         * scripts/bench.pl: Identify output arguments and define
37769         static variables for them.
37771         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37773         [BZ #15941]
37774         * Makefile (INSTALL): Add install-plain.texi as the primary
37775         dependency.
37776         * manual/install-plain.texi: New file.
37777         * manual/install.texi: Include node directive only for
37778         non-plaintext output.
37780 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37782         * stdlib/longlong.h: Update from GCC.
37784         [BZ #6807]
37785         [BZ #15901]
37786         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37787         * math/w_j0f.c (y0f): Likewise.
37788         * math/w_j0l.c (__y0l): Likewise.
37789         * math/w_j1.c (y1): Likewise.
37790         * math/w_j1f.c (y1f): Likewise.
37791         * math/w_j1l.c (__y1l): Likewise.
37792         * math/w_jn.c (yn): Likewise.
37793         * math/w_jnf.c (ynf): Likewise.
37794         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37795         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37796         value for Bessel function domain errors outside _SVID_ mode.
37797         Adjust sign of return value for yn (negative integer, 0).
37798         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37799         by zero in return for negative x and set sign appropriately for
37800         negative n.
37801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37802         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37803         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37804         expectations in error cases.
37805         (y1_test_data): Likewise.
37806         (yn_test_data): Likewise.
37807         * sysdeps/i386/fpu/libm-test-ulps: Update.
37808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37810 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37812         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37813         "64" to "64-v1".  Add "64-v2".
37814         (abi-64-options): Rename to ...
37815         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37816         (abi-64-condition): Rename to ...
37817         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37818         (abi-64-ld-soname): Rename to ...
37819         (abi-64-v1-ld-soname): ... this.
37820         (abi-64-v2-options): Define.
37821         (abi-64-v2-condition): Likewise.
37822         (abi-64-v2-ld-soname): Likewise.
37823         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37824         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37829 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37830             Alan Modra  <amodra@gmail.com>
37832         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37833         New versions for use with the ELFv2 ABI.
37834         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37835         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37836         declaration.
37837         (struct La_ppc64v2_retval): Likewise.
37838         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37839         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37840         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37841         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37842         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37843         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37844         Do not save or restore CR.
37845         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37846         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37847         return values for ELFv2 ABI.  Fix location of FPR return registers.
37848         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37849         updated values for _CALL_ELF == 2.
37850         (La_regs, La_retval, int_retval): Likewise.
37852 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37854         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37855         (FRAME_MIN_SIZE_PARM): Likewise.
37856         (FRAME_BACKCHAIN): Likewise.
37857         (FRAME_CR_SAVE): Likewise.
37858         (FRAME_LR_SAVE): Likewise.
37859         (FRAME_TOC_SAVE): Likewise.
37860         (FRAME_PARM_SAVE): Likewise.
37861         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37862         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37863         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37864         (call_mcount_parm_offset): New macro.
37865         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37866         (PROF): Use symbolic stack frame offsets.
37867         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37868         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37869         Redefine in terms of FRAME_MIN_SIZE.
37870         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37871         (_dl_profile_resolve): Likewise.  Update comment.
37872         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37873         symbols stack frame offsets.
37874         (__sigsetjmp): Likewise.
37875         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37876         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37877         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37878         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37881         (FRAME_BACKCHAIN): Remove.
37882         (FRAME_CR_SAVE): Likewise.
37883         (FRAME_LR_SAVE): Likewise.
37884         (FRAME_COMPILER_DW): Likewise.
37885         (FRAME_LINKER_DW): Likewise.
37886         (FRAME_TOC_SAVE): Likewise.
37887         (FRAME_PARM_SAVE): Likewise.
37888         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37889         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37890         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37892         (CHECK_SP): Use symbolic stack frame offsets.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37894         zone" instead of caller's parameter save area for temp storage.
37895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37896         Likewise.  Also, use symbolic stack frame offsets.
37897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37898         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37899         our own stack frame instead of the caller's.
37900         (__socket): Use symbolic stack frame offsets.
37902 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37903             Alan Modra  <amodra@gmail.com>
37905         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37906         Define.
37907         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37908         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37909         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37910         New function.
37911         (elf_machine_fixup_plt): Call it.
37912         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37913         reloc arguments.
37914         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37915         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37916         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37917         r2 before calling target.
37919 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37920             Alan Modra  <amodra@gmail.com>
37922         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37923         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37924         versions of macros to support ELFv2 ABI.
37925         (LOCALENTRY): New macro.
37926         (ENTRY, EALIGN): Use it.
37927         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37928         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37929         fall through into ENTRY entry point.
37930         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37931         Only define if _CALL_ELF != 2.
37933         (elf_machine_matches_host): Verify ABI version matches.
37934         (RTLD_START): Use LOCALENTRY.
37935         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37936         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37937         (PLT_ENTRY_WORDS): New macro.
37938         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37939         (elf_machine_runtime_setup): Support ELFv2 ABI.
37940         (elf_machine_fixup_plt): Likewise.
37941         (elf_machine_plt_conflict): Likewise.
37942         (resolve_ifunc): Likewise.
37943         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37945         Likewise.
37946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37947         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37949         (makecontext): Support ELFv2 ABI.
37950         * elf/elf.h (EF_PPC64_ABI): Define.
37952 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37954         * sysdeps/powerpc/powerpc64/sysdep.h
37955         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37956         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37957         (ENTRY) [ASSEMBLER]: ... but instead here ...
37958         (EALIGN) [ASSEMBLER]: ... and here.
37959         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37960         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37961         (ENTRY_2) [!ASSEMBLER]: Use it.
37962         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37963         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37964         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37965         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37966         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37968         Use PPC64_LOAD_FUNCPTR.
37970         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37972 2013-12-04  Alan Modra  <amodra@gmail.com>
37974         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37975         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37976         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37977         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37980         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37981         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37982         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37983         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37984         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37986 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37989         (__makecontext): Fix incorrect CFI when backtracing out of
37990         context created via makecontext.
37991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37992         (__setcontext): Fix incorrect CFI during switch to new context.
37993         (__novec_setcontext): Likewise.
37995 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37997         [BZ #4772]
37998         * time/strptime_l.c (__strptime_internal): Allow modifiers
37999         in strptime.
38000         * time/tst-strptime.c (day_tests): Add testcase.
38002 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38004         * scripts/bench.pl: Skip over blank lines.
38006 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
38008         [BZ #926]
38009         * manual/time.texi (Calendar Time): Clarify what timezone functions
38010         use.
38012 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38016 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38018         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
38019         implementation.
38020         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
38021         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
38022         * debug/memset_chk.c (__memset_chk): Likewise.
38023         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
38024         * debug/strncpy_chk.c: Likewise.
38026 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38028         [BZ #15268]
38029         [BZ #15425]
38030         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
38031         (__ieee754_exp): For possibly underflowing results, check size of
38032         result and force underflow exception if required.
38033         * math/auto-libm-test-in: Add more tests of exp.
38034         * math/auto-libm-test-out: Regenerated.
38035         * sysdeps/i386/fpu/libm-test-ulps: Update.
38036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38038         [BZ #16283]
38039         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
38040         * math/w_exp2f.c (__exp2f): Likewise.
38041         * math/w_exp2l.c (__exp2l): Likewise.
38042         * math/auto-libm-test-in: Do not allow missing errno on exp2
38043         underflow.
38044         * math/auto-libm-test-out: Regenerated.
38046 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
38048         [BZ #16274]
38049         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
38050         handle filename validation.
38051         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
38052         (do_open): Delete.
38054 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38056         [BZ #6786]
38057         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
38058         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
38059         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
38060         <float.h>.
38061         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
38062         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
38063         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38064         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
38065         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38066         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
38067         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38068         * math/auto-libm-test-in: Don't allow missing errno from erfc.
38069         Add more erfc tests.
38070         * math/auto-libm-test-out: Regenerated.
38071         * sysdeps/i386/fpu/libm-test-ulps: Update.
38072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38074         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
38075         exp2, expm1, j0 and j1.
38076         * math/auto-libm-test-out: Regenerated.
38077         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
38078         (erfc_test_data): Likewise.
38079         (exp_test_data): Likewise.
38080         (exp_tonearest_test_data): Likewise.
38081         (exp_towardzero_test_data): Likewise.
38082         (exp_downward_test_data): Likewise.
38083         (exp_upward_test_data): Likewise.
38084         (exp10_test_data): Likewise.
38085         (exp2_test_data): Likewise.
38086         (expm1_test_data): Likewise.
38087         (j0_test_data): Likewise.
38088         (j1_test_data): Likewise.
38089         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
38090         (input_flag_type): Add flag_xfail_rounding.
38091         (input_flags): Add xfail-rounding.
38092         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
38093         (output_for_one_input_case): Handle flag_xfail_rounding.
38094         * sysdeps/i386/fpu/libm-test-ulps: Update.
38095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38097 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
38099         [BZ #16289]
38100         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
38101         division by 0.
38103 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38105         [BZ #16195]
38106         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
38107         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
38108         (STAP_PROBE0): New macro.
38109         (STAP_PROBE1): Likewise.
38110         (STAP_PROBE2): Likewise.
38111         (STAP_PROBE3): Likewise.
38112         (STAP_PROBE4): Likewise.
38114 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
38116         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
38118 2013-12-02  Steve Ellcey  <sellcey@mips.com>
38120         * benchtests/Makefile (bench): Add sqrt.
38121         (LDLIBS-bench-sqrt): New.
38122         * benchtests/sqrt-input: New.
38124 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
38126         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
38127         (GAIH_EAI): Likewise.
38128         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
38129         (gaih_inet): Likewise.
38130         (getaddrinfo): Don't use GAIH_EAI.
38132         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
38133         (struct gaih): Remove definition.
38135 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38137         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
38138         Use HERRNOP directly.
38140 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38144 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
38146         * math/gen-auto-libm-tests.c (test_functions): Add more
38147         single-argument functions.
38148         (special_fill_pi_2): New function.
38149         (special_fill_minus_pi_2): Likewise.
38150         (special_fill_pi_6): Likewise.
38151         (special_fill_minus_pi_6): Likewise.
38152         (special_fill_pi_3): Likewise.
38153         (special_fill_2pi_3): Likewise.
38154         (special_fill_e): Likewise.
38155         (special_fill_1_e): Likewise.
38156         (special_fill_e_minus_1): Likewise.
38157         (special_real_inputs): Add more special inputs.
38158         (output_for_one_input_case): Do not require ERANGE on underflow to
38159         zero if round-to-nearest result does not underflow to zero, unless
38160         exact results required.
38161         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
38162         atan, atanh, cbrt, cos and cosh.
38163         * math/auto-libm-test-out: Regenerated.
38164         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
38165         (acos_tonearest_test_data): Likewise.
38166         (acos_towardzero_test_data): Likewise.
38167         (acos_downward_test_data): Likewise.
38168         (acos_upward_test_data): Likewise.
38169         (acosh_test_data): Likewise.
38170         (asin_test_data): Likewise.
38171         (asin_tonearest_test_data): Likewise.
38172         (asin_towardzero_test_data): Likewise.
38173         (asin_upward_test_data): Likewise.
38174         (asinh_test_data): Likewise.
38175         (atan_test_data): Likewise.
38176         (atanh_test_data): Likewise.
38177         (cbrt_test_data): Likewise.
38178         (cos_test_data): Likewise.
38179         (cos_tonearest_test_data): Likewise.
38180         (cos_towardzero_test_data): Likewise.
38181         (cos_downward_test_data): Likewise.
38182         (cos_upward_test_data): Likewise.
38183         (cosh_test_data): Likewise.
38184         (cosh_tonearest_test_data): Likewise.
38185         (cosh_towardzero_test_data): Likewise.
38186         (cosh_downward_test_data): Likewise.
38187         (cosh_upward_test_data): Likewise.
38188         * sysdeps/i386/fpu/libm-test-ulps: Update.
38189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38191 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
38193         [BZ #6787]
38194         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
38195         * math/w_exp10f.c (__exp10f): Likewise.
38196         * math/w_exp10l.c (__exp10l): Likewise.
38197         * math/libm-test.inc (exp10_test_data): Add more tests and expect
38198         errno settings in existing tests.
38200         [BZ #14032]
38201         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
38202         precision control set to double precision.
38203         * sysdeps/i386/fpu/w_sqrt.c: New file.
38204         * math/auto-libm-test-in: Add more tests.
38205         * math/auto-libm-test-out: Update.
38207         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
38208         (sqrt_test_tonearest): New function.
38209         (sqrt_towardzero_test_data): New variable.
38210         (sqrt_test_towardzero): New function.
38211         (sqrt_downward_test_data): New variable.
38212         (sqrt_test_downward): New function.
38213         (sqrt_upward_test_data): New variable.
38214         (sqrt_test_upward): New function.
38215         (main): Call the new functions.
38217         * math/gen-auto-libm-tests.c: New file.
38218         * math/auto-libm-test-in: Likewise.
38219         * math/auto-libm-test-out: New generated file.
38220         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
38221         variables.
38222         (%beautify): Add generated representations of zero.
38223         (top level): Set $auto_input and call parse_auto_input.
38224         (beautify): Remove trailing "f" from hex float constants.
38225         (parse_args): Handle XFAIL_TEST.
38226         (convert_condition): New function.
38227         (or_value): Likewise.
38228         (or_cond_value): Likewise.
38229         (generate_testfile): Handle AUTO_TESTS_* lines.
38230         (parse_auto_input): New function.
38231         * math/libm-test.inc (XFAIL_TEST): New macro.
38232         (ERRNO_UNCHANGED): Update value.
38233         (ERRNO_EDOM): Likewise.
38234         (ERRNO_ERANGE): Likewise.
38235         (IGNORE_RESULT): Likewise.
38236         (TEST_COND_flt_32): New macro.
38237         (TEST_COND_dbl_64): Likewise.
38238         (TEST_COND_ldbl_96_intel): Likewise.
38239         (TEST_COND_ldbl_96_m68k): Likewise.
38240         (TEST_COND_ldbl_128): Likewise.
38241         (TEST_COND_ldbl_128ibm): Likewise.
38242         (TEST_COND_long32): Likewise.
38243         (TEST_COND_long64): Likewise.
38244         (TEST_COND_before_rounding): Likewise.
38245         (TEST_COND_after_rounding): Likewise.
38246         (enable_test): Handle XFAIL_TEST flag.
38247         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
38248         with finite results.
38249         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
38250         auto-libm-test-out.
38252 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38253             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38255         [BZ #16214]
38256         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
38257         __tls_get_addr_internal instead of __tls_get_offset in order to
38258         avoid GOT pointer dependency.  Make rtld export
38259         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
38260         __tls_get_addr since we are a __tls_get_offset platform.
38261         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
38262         GOT pointer being set up before.
38263         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
38265 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
38267         * manual/math.texi (Errors in Math Functions): Document accuracy
38268         goals.
38270         [BZ #15004]
38271         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
38272         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
38273         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38274         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38275         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38276         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38277         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38278         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38279         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38280         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38281         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38282         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38283         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38284         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38285         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38286         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38288         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
38289         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
38290         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
38291         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
38292         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
38293         Likewise.
38294         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
38295         Likewise.
38296         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
38297         Likewise.
38298         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
38299         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
38300         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
38301         atomic-feupdateenv and flt-rounds.
38302         * sysdeps/powerpc/nofpu/Versions (libc): Add
38303         __atomic_feholdexcept, __atomic_feclearexcept,
38304         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
38305         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
38306         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
38307         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
38308         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
38309         here.
38310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38311         Update.
38313         * manual/arith.texi (FP Exceptions): Document that exceptions may
38314         not be raised when matherr is used.
38315         (Math Error Reporting): Document overflow in directed rounding
38316         modes.  Document that errno may not be set when finite values are
38317         returned on overflow.  Document intent to set errno on underflow
38318         only for underflow to zero.
38320         [BZ #16271]
38321         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38322         round-to-nearest then adjust result for other rounding modes.
38323         * include/fenv.h (fegetround): Use libm_hidden_proto.
38324         * math/fegetround.c (fegetround): Use libm_hidden_def.
38325         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38326         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38327         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38328         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38329         Likewise.
38330         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38331         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38332         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38333         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38335 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38337         [BZ #16077]
38338         * nss/Versions (libnss_files): Add
38339         _nss_files_gethostbyname3_r.
38340         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38341         New function.
38342         (HOST_DB_LOOKUP): Remove macro.
38343         (_nss_files_gethostbyname_r): Implement function without the
38344         HOST_DB_LOOKUP macro.
38345         (_nss_files_gethostbyname2_r): Likewise.
38347 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
38349         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38351 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
38353         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38354         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38355         warning.
38357 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38359         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38360         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38361         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38362         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38363         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
38364         __fe_nomask_env_priv and attribute_hidden.
38365         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
38366         (libc_feupdateenv_test_ppc): Likewise.
38367         (libc_feresetround_ppc): Likewise.
38368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38369         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
38370         compat_symbol macro.
38371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38372         (__fe_nomask_env): Likewise.
38373         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
38375 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38377         * string/Makefile: Remove ifunc tests.
38378         * string/test-string.h: Define TEST_IFUNC.
38379         * string/test-bcopy-ifunc.c: Remove.
38380         * string/test-bzero-ifunc.c: Likewise.
38381         * string/test-memccpy-ifunc.c: Likewise.
38382         * string/test-memchr-ifunc.c: Likewise.
38383         * string/test-memcmp-ifunc.c: Likewise.
38384         * string/test-memcpy-ifunc.c: Likewise.
38385         * string/test-memmem-ifunc.c: Likewise.
38386         * string/test-memmove-ifunc.c: Likewise.
38387         * string/test-mempcpy-ifunc.c: Likewise.
38388         * string/test-memrchr-ifunc.c: Likewise.
38389         * string/test-memset-ifunc.c: Likewise.
38390         * string/test-rawmemchr-ifunc.c: Likewise.
38391         * string/test-stpcpy-ifunc.c: Likewise.
38392         * string/test-stpncpy-ifunc.c: Likewise.
38393         * string/test-strcasecmp-ifunc.c: Likewise.
38394         * string/test-strcasestr-ifunc.c: Likewise.
38395         * string/test-strcat-ifunc.c: Likewise.
38396         * string/test-strchr-ifunc.c: Likewise.
38397         * string/test-strchrnul-ifunc.c: Likewise.
38398         * string/test-strcmp-ifunc.c: Likewise.
38399         * string/test-strcpy-ifunc.c: Likewise.
38400         * string/test-strcspn-ifunc.c: Likewise.
38401         * string/test-strlen-ifunc.c: Likewise.
38402         * string/test-strncasecmp-ifunc.c: Likewise.
38403         * string/test-strncat-ifunc.c: Likewise.
38404         * string/test-strncmp-ifunc.c: Likewise.
38405         * string/test-strncpy-ifunc.c: Likewise.
38406         * string/test-strnlen-ifunc.c: Likewise.
38407         * string/test-strpbrk-ifunc.c: Likewise.
38408         * string/test-strrchr-ifunc.c: Likewise.
38409         * string/test-strspn-ifunc.c: Likewise.
38410         * string/test-strstr-ifunc.c: Likewise.
38412 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38414         * benchtests/Makefile: Remove ifunc tests.
38415         * benchtests/bench-string.h: Define TEST_IFUNC.
38416         * benchtests/bench-bcopy-ifunc.c: Remove.
38417         * benchtests/bench-bzero-ifunc.c: Likewise.
38418         * benchtests/bench-memccpy-ifunc.c: Likewise.
38419         * benchtests/bench-memchr-ifunc.c: Likewise.
38420         * benchtests/bench-memcmp-ifunc.c: Likewise.
38421         * benchtests/bench-memcpy-ifunc.c: Likewise.
38422         * benchtests/bench-memmem-ifunc.c: Likewise.
38423         * benchtests/bench-memmove-ifunc.c: Likewise.
38424         * benchtests/bench-mempcpy-ifunc.c: Likewise.
38425         * benchtests/bench-memrchr-ifunc.c: Likewise.
38426         * benchtests/bench-memset-ifunc.c: Likewise.
38427         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38428         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38429         * benchtests/bench-stpcpy-ifunc.c: Likewise.
38430         * benchtests/bench-stpncpy-ifunc.c: Likewise.
38431         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38432         * benchtests/bench-strcasestr-ifunc.c: Likewise.
38433         * benchtests/bench-strcat-ifunc.c: Likewise.
38434         * benchtests/bench-strchr-ifunc.c: Likewise.
38435         * benchtests/bench-strchrnul-ifunc.c: Likewise.
38436         * benchtests/bench-strcmp-ifunc.c: Likewise.
38437         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38438         * benchtests/bench-strcpy-ifunc.c: Likewise.
38439         * benchtests/bench-strcspn-ifunc.c: Likewise.
38440         * benchtests/bench-strlen-ifunc.c: Likewise.
38441         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38442         * benchtests/bench-strncat-ifunc.c: Likewise.
38443         * benchtests/bench-strncmp-ifunc.c: Likewise.
38444         * benchtests/bench-strncpy-ifunc.c: Likewise.
38445         * benchtests/bench-strnlen-ifunc.c: Likewise.
38446         * benchtests/bench-strpbrk-ifunc.c: Likewise.
38447         * benchtests/bench-strrchr-ifunc.c: Likewise.
38448         * benchtests/bench-strsep-ifunc.c: Likewise.
38449         * benchtests/bench-strspn-ifunc.c: Likewise.
38450         * benchtests/bench-strstr-ifunc.c: Likewise.
38452 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38454         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38456 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38458         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38459         * rt/aio.h: Likewise.
38460         * sysdeps/gnu/bits/utmp.h: Likewise.
38461         * sysdeps/gnu/bits/utmpx.h: Likewise.
38462         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38463         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38464         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38465         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38466         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38467         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38468         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38469         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38470         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38471         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38472         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38473         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38474         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38476         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38477         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38478         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38479         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38480         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38481         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38482         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38483         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38484         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38485         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38486         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38487         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38488         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38489         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38490         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38491         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38492         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38493         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38494         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38495         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38496         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38497         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38498         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38499         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38500         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38501         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38502         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38503         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38505 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38507         [BZ #16245]
38508         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38509         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38511 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38513         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38514         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38515         Likewise.
38517 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38519         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38520         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38521         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38522         (__fesetround): Remove define.
38523         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38524         rounding and exceptions handling.
38525         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38526         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38527         (__fe_nomask_env): Likewise.
38528         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38529         __fegetround instead of fegetround.
38530         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38531         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38533 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38535         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38536         it's there.
38538         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38540 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38542         [BZ #11157]
38543         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38544         (encrypt_r): Likewise.
38545         * malloc/obstack.h (obstack_free): Likewise.
38546         * posix/unistd.h (encrypt): Likewise.
38548 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38550         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38551         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38552         DL_CALL_DT_FINI() that call the functions directly.
38553         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38554         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38555         * elf/dl-fini.c: Likewise.
38557 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38559         * malloc/hooks.c (memalign_check): Add alignment rounding.
38560         * malloc/malloc.c (_mid_memalign): New function.
38561         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38562         Implement by calling _mid_memalign.
38563         * manual/probes.texi (Memory Allocation Probes): Remove
38564         memory_valloc_retry and memory_pvalloc_retry.
38566 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38568         * locale/programs/locarchive.c (open_archive): Add const
38569         qualifier to ARCHIVEFNAME and copy default fname to
38570         DEFAULT_FNAME.
38572         [BZ #15601]
38573         * libio/tst-widetext.input: Rename Oriya to Odia.
38574         * locale/iso-639.def: Likewise.
38576         * manual/probes.texi (Mathematical Function Probes): Add
38577         documentation for sin, cos, asin and acos probes.
38578         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38579         (__sin32): Add slowasin probe.
38580         (__cos32): Add slowacos probe.
38581         (__mpsin): Add slowsin probe.
38582         (__mpcos): Add slowcos probe.
38584 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38586         [BZ #15483]
38587         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38588         thread-local __sim_exceptions_thread and global
38589         __sim_exceptions_global.
38590         (__sim_disabled_exceptions): Change to thread-local
38591         __sim_disabled_exceptions_thread and global
38592         __sim_disabled_exceptions_global.
38593         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38594         and global __sim_round_mode_global.
38595         (__simulate_exceptions): Use thread-local floating-point state and
38596         set global state from it as needed.
38597         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38598         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38599         __sim_round_mode_thread.
38600         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38601         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38602         and global __sim_exceptions_global.
38603         (__sim_disabled_exceptions): Change to thread-local
38604         __sim_disabled_exceptions_thread and global
38605         __sim_disabled_exceptions_global.
38606         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38607         and global __sim_round_mode_global.
38608         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38609         (SIM_SET_GLOBAL): Likewise.
38610         * sysdeps/powerpc/soft-fp/sfp-machine.h
38611         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38612         __sim_round_mode_thread.
38613         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38614         __sim_disabled_exceptions_thread.
38615         (__sim_exceptions): Change to __sim_exceptions_thread.
38616         (__sim_disabled_exceptions): Change to
38617         __sim_disabled_exceptions_thread.
38618         (__sim_round_mode): Change to __sim_round_mode_thread.
38619         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38620         thread-local floating-point state and set global state from it as
38621         needed.
38622         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38623         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38624         (__sim_disabled_exceptions): Remove extern declaration.
38625         (feenableexcept): Use thread-local floating-point state and set
38626         global state from it as needed.
38627         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38628         extern declaration.
38629         (__sim_disabled_exceptions): Likewise.
38630         (__sim_round_mode): Likewise.
38631         (__fegetenv): Use thread-local floating-point state.
38632         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38633         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38634         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38635         floating-point state and set global state from it as needed.
38636         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38637         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38638         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38639         Likewise.
38640         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38641         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38642         Likewise.
38643         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38644         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38645         Use __sim_round_mode_thread.
38646         * math/test-fenv-tls.c: New file.
38647         * math/Makefile (tests): Add test-fenv-tls.
38648         ($(objpfx)test-fenv-tls): Depend on
38649         $(common-objpfx)nptl/libpthread.so.
38651 2013-11-19  Andreas Schwab  <schwab@suse.de>
38653         * locale/programs/locale.c (show_info): Decode wordarray elements.
38654         * locale/categories.def (LC_MONETARY): Add element for
38655         _NL_MONETARY_CRNCYSTR.
38656         * locale/C-monetary.c (conversion_rate): New variable.
38657         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38658         element.
38660 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38662         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38663         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38665 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38667         * elf/Makefile (tst-auxv): New test.
38668         * elf/tst-auxv.c: New
38669         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38671 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38673         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38674         (hidden_proto): Caller changed.
38675         (hidden_tls_proto): New macro.
38676         (libc_hidden_tls_proto): Likewise.
38677         (rtld_hidden_tls_proto): Likewise.
38678         (libm_hidden_tls_proto): Likewise.
38679         (libresolv_hidden_tls_proto): Likewise.
38680         (librt_hidden_tls_proto): Likewise.
38681         (libdl_hidden_tls_proto): Likewise.
38682         (libnss_files_hidden_tls_proto): Likewise.
38683         (libnsl_hidden_tls_proto): Likewise.
38684         (libnss_nisplus_hidden_tls_proto): Likewise.
38685         (libutil_hidden_tls_proto): Likewise.
38687 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38689         [BZ #10253]
38690         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38691         (decompose_rpath): Defer expansion to fillin_rpath.
38692         (_dl_init_paths): Pass linkmap to fillin_rpath.
38694 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38696         * benchtests/Makefile: Add strsep.
38697         * benchtests/bench-strsep.c: New file: strsep benchtest.
38698         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38700 2013-11-18  Andreas Schwab  <schwab@suse.de>
38702         * locale/programs/locale.c (show_info) [case byte]: Check for
38703         '\377' instead of '\177'.
38704         * locale/C-monetary.c (not_available): Always use "\377".
38705         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38706         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38707         detect unavailable sign_posn locale elements.
38708         * locale/localeconv.c (__localeconv): For grouping and
38709         mon_grouping handle "\177" and "\377" like no grouping.
38710         (INT_ELEM): New macro.  Use it to set all numeric members.
38711         * locale/programs/ld-monetary.c (monetary_read)
38712         <tok_mon_grouping>: Normalize single -1 to the empty string.
38713         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38714         Likewise.
38716 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38718         [BZ #16055]
38719         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38720         when we match (nil).
38721         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38723 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38725         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38726         (NO_TEST_INLINE): Update value.
38727         (ERRNO_UNCHANGED): Likewise.
38728         (ERRNO_EDOM): Likewise.
38729         (ERRNO_ERANGE): Likewise.
38730         (IGNORE_RESULT): Likewise.
38731         (check_float_internal): Check signs of NaN results if
38732         TEST_NAN_SIGN used.
38733         (check_complex): Pass TEST_NAN_SIGN flag through to second
38734         check_float_internal call.
38735         (copysign_test_data): Add tests with quiet NaNs as second
38736         argument.  Use TEST_NAN_SIGN.
38737         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38738         TEST_NAN_SIGN.
38739         (signbit_test_data): Add tests of quiet NaN argument.
38740         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38742         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38743         $ignore_result.
38744         (parse_args): Handle function results specified as IGNORE.
38745         * math/libm-test.inc (IGNORE_RESULT): New macro.
38746         (check_float_internal): Do not check numerical result if flag
38747         IGNORE_RESULT set.
38748         (check_complex): Pass through IGNORE_RESULT to second
38749         check_float_internal call.
38750         (check_int): Do not check numerical result if flag IGNORE_RESULT
38751         set.
38752         (check_long): Likewise.
38753         (check_bool): Likewise.
38754         (check_longlong): Likewise.
38755         (lrint_test_data): Add tests of infinite and NaN arguments.
38756         (lrint_tonearest_test_data): Likewise.
38757         (lrint_towardzero_test_data): Likewise.
38758         (lrint_downward_test_data): Likewise.
38759         (lrint_upward_test_data): Likewise.
38760         (llrint_test_data): Likewise.
38761         (llrint_tonearest_test_data): Likewise.
38762         (llrint_towardzero_test_data): Likewise.
38763         (llrint_downward_test_data): Likewise.
38764         (llrint_upward_test_data): Likewise.
38765         (lround_test_data): Likewise.
38766         (llround_test_data): Likewise.
38768         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38769         (ERRNO_UNCHANGED): Update value.
38770         (ERRNO_EDOM): Likewise.
38771         (ERRNO_ERANGE): Likewise.
38772         (NO_TEST_INLINE_FLOAT): New macro.
38773         (NO_TEST_INLINE_DOUBLE): Likewise.
38774         (enable_test): New function.
38775         (RUN_TEST_f_f): Check enable_test before running test.
38776         (RUN_TEST_2_f): Likewise.
38777         (RUN_TEST_fff_f): Likewise.
38778         (RUN_TEST_c_f): Likewise.
38779         (RUN_TEST_f_f1): Likewise.
38780         (RUN_TEST_fF_f1): Likewise.
38781         (RUN_TEST_fI_f1): Likewise.
38782         (RUN_TEST_ffI_f1): Likewise.
38783         (RUN_TEST_c_c): Likewise.
38784         (RUN_TEST_cc_c): Likewise.
38785         (RUN_TEST_f_i): Likewise.
38786         (RUN_TEST_f_i_tg): Likewise.
38787         (RUN_TEST_ff_i_tg): Likewise.
38788         (RUN_TEST_f_b): Likewise.
38789         (RUN_TEST_f_b_tg): Likewise.
38790         (RUN_TEST_f_l): Likewise.
38791         (RUN_TEST_f_L): Likewise.
38792         (RUN_TEST_fFF_11): Likewise.
38793         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38794         conditionals.
38795         (cosh_test_data): Likewise.
38796         (exp_test_data): Likewise.
38797         (expm1_test_data): Likewise.
38798         (hypot_test_data): Likewise.
38799         (pow_test_data): Likewise.
38800         (sinh_test_data): Likewise.
38801         (tanh_test_data): Likewise.
38802         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38803         flags argument.
38805         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38806         tests with quiet NaN input and output.
38807         (acosh_test_data): Likewise.
38808         (asin_test_data): Likewise.
38809         (asinh_test_data): Likewise.
38810         (atan_test_data): Likewise.
38811         (atanh_test_data): Likewise.
38812         (atan2_test_data): Likewise.
38813         (cbrt_test_data): Likewise.
38814         (cos_test_data): Likewise.
38815         (cosh_test_data): Likewise.
38816         (erf_test_data): Likewise.
38817         (erfc_test_data): Likewise.
38818         (exp_test_data): Likewise.
38819         (exp10_test_data): Likewise.
38820         (exp2_test_data): Likewise.
38821         (expm1_test_data): Likewise.
38822         (hypot_test_data): Likewise.
38823         (j0_test_data): Likewise.
38824         (j1_test_data): Likewise.
38825         (jn_test_data): Likewise.
38826         (lgamma_test_data): Likewise.
38827         (log_test_data): Likewise.
38828         (log10_test_data): Likewise.
38829         (log1p_test_data): Likewise.
38830         (log2_test_data): Likewise.
38831         (pow_test_data): Likewise.
38832         (scalb_test_data): Likewise.
38833         (sin_test_data): Likewise.
38834         (sincos_test_data): Likewise.
38835         (sinh_test_data): Likewise.
38836         (tan_test_data): Likewise.
38837         (tanh_test_data): Likewise.
38838         (tgamma_test_data): Likewise.
38839         (y0_test_data): Likewise.
38840         (y1_test_data): Likewise.
38841         (yn_test_data): Likewise.
38843         [BZ #16167]
38844         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38845         argument being NaN and avoid computations with second argument in
38846         that case.
38847         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38848         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38849         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38851 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38853         * locale/iso-639.def: Add Chitwani Tharu (the).
38855 2013-11-14  Andreas Schwab  <schwab@suse.de>
38857         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38858         word instead of empty string.
38860 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38863         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38865         (__fe_nomask_env): Likewise.
38867 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38869         * benchtests/bench-timing.h: Include time.h.
38871 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38873         [BZ #15997]
38874         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38875         to 3.4.0 for x32.
38876         * sysdeps/unix/sysv/linux/configure: Regenerated.
38878 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38880         [BZ #16151]
38881         * stdlib/strtod_l.c (round_and_return): Do not consider
38882         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38883         exponent one less than half the least subnormal exponent.
38884         * stdlib/test-strtod-round-data: Add more tests.
38885         * stdlib/tst-strtod-round.c (tests): Regenerated.
38887 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38889         [BZ #14143]
38890         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38891         (__fe_mask_env): Likewise.
38892         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38893         libm_hidden_proto and add function prototype.
38894         (__fe_mask_env): Add function prototype.
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38896         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38898         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38900         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38902 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38904         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38905         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38907 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38909         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38910         of htab_find_slot().
38912 2013-11-11  David S. Miller  <davem@davemloft.net>
38914         [BZ #16150]
38915         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38916         symbol in the non-vis3 case in static builds.
38917         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38918         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38919         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38920         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38922 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38924         [BZ #387]
38925         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38926         it is empty.
38928 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38930         * benchtests/Makefile: Add bench-strtod.
38931         * benchtests/bench-strtod.c: New file: strtod benchtest
38933 2013-11-11  Andreas Schwab  <schwab@suse.de>
38935         [BZ #16153]
38936         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38937         terminating NUL in key length.
38939 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38941         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38942         Add artificial ODP entry for vDSO symbol for PPC64.
38943         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38944         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38946 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38948         [BZ #15374]
38949         * nss/getent.c (services_keys): Recognize services starting with digit.
38951 2013-11-06  David S. Miller  <davem@davemloft.net>
38953         [BZ #15985]
38954         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38955         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38957 2013-11-06  Will Newton  <will.newton@linaro.org>
38959         * manual/memory.texi (Malloc Examples): Remove register
38960         keyword from examples.
38962 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38964         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38966 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38968         [BZ #6981]
38969         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38970         depending on [__GCC_IEC_559 > 0].
38971         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38972         depending on [__GCC_IEC_559_COMPLEX > 0].
38974 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38976         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38977         to iso-639.def.
38979 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38981         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38983 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38985         [BZ #16112]
38986         * malloc/malloc (malloc_info): Do not handle first bin as
38987         special case.
38989 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38991         * locale/iso-639.def: Add Central Nahuatl (nhn).
38993 2013-11-01  Bruno Haible  <bruno@clisp.org>
38995         [BZ #7003]
38996         * manual/math.texi (BSD Random): Specify range upper bound as
38997         in POSIX.
38999 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
39001         * locale/iso-639.def: Add Meadow Mari (mhr).
39003 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
39005         [BZ #14752], [BZ #15763]
39006         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
39007         Validate name.
39008         * rt/tst_shm.c: Add test for escaping directory.
39010 2013-10-31  Andreas Schwab  <schwab@suse.de>
39012         [BZ #15917]
39013         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
39014         followed by 'x' as part of digit sequence.
39015         * stdio-common/tst-sscanf.c (double_tests2): New tests.
39017 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
39019         [BZ #16037]
39020         * configure.ac: allow GNU Make 4.0 and greater.
39021         * configure: Regenerated.
39023 2013-10-30  Will Newton  <will.newton@linaro.org>
39025         [BZ #16038]
39026         * malloc/hooks.c (memalign_check): Limit alignment to the
39027         maximum representable power of two.
39028         * malloc/malloc.c (__libc_memalign): Likewise.
39029         * malloc/tst-memalign.c (do_test): Add test for very
39030         large alignment values.
39031         * malloc/tst-posix_memalign.c (do_test): Likewise.
39033 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39035         [BZ #11087]
39036         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
39037         (munmap_chunk): Likewise.
39038         (mremap_chunk): Likewise.
39040 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39042         [BZ #15799]
39043         * stdlib/div.c (div): Remove obsolete code.
39044         * stdlib/ldiv.c (ldiv): Likewise.
39045         * stdlib/lldiv.c (lldiv): Likewise.
39047 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39049         [BZ #16071]
39050         * nss/nss_files/files-XXX.c (get_contents_ret): New
39051         enumerator.
39052         (get_contents): New function.
39053         (internal_getent): Use it.  Expand size of LINEBUFLEN.
39055 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
39057         * configure.in: Moved to ...
39058         * configure.ac: ... here. Change reference to configure.in
39059         to configure.ac.
39060         * sysdeps/arm/preconfigure.ac: ... here.
39061         configure.in to configure.ac.
39062         * sysdeps/gnu/configure.in: Moved to ...
39063         * sysdeps/gnu/configure.ac: ... here.
39064         * sysdeps/i386/configure.in: Moved to ...
39065         * sysdeps/i386/configure.ac: ... here.
39066         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
39067         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
39068         * sysdeps/mach/configure.in: Moved to ...
39069         * sysdeps/mach/configure.ac: ... here.
39070         * sysdeps/mach/hurd/configure.in: Moved to ...
39071         * sysdeps/mach/hurd/configure.ac: ... here.
39072         * sysdeps/powerpc/configure.in: Moved to ...
39073         * sysdeps/powerpc/configure.ac: ... here.
39074         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
39075         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
39076         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
39077         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
39078         * sysdeps/s390/s390-32/configure.in: Moved to ...
39079         * sysdeps/s390/s390-32/configure.ac: ... here.
39080         * sysdeps/s390/s390-64/configure.in: Moved to ...
39081         * sysdeps/s390/s390-64/configure.ac: ... here.
39082         * sysdeps/sh/configure.in: Moved to ...
39083         * sysdeps/sh/configure.ac: ... here.
39084         * sysdeps/sparc/configure.in: Moved to ...
39085         * sysdeps/sparc/configure.ac: ... here.
39086         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
39087         * sysdeps/unix/sysv/linux/configure.ac: ... here.
39088         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
39089         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
39090         * sysdeps/x86_64/configure.in: Moved to ...
39091         * sysdeps/x86_64/configure.ac: ... here.
39092         * sysdeps/x86_64/preconfigure.in: Moved to ...
39093         * sysdeps/x86_64/preconfigure.ac: ... here.
39094         * aclocal.m4: Change reference to configure.in to configure.ac.
39095         * config.h.in: Likewise.
39096         * manual/install.texi: Likewise.
39097         * manual/maint.texi: Likewise.
39098         * Makefile: Likewise.
39099         * malloc/Makefile: Likewise.
39100         * nscd/Makefile: Likewise.
39101         * Makeconfig: Change reference to configure.in and
39102         preconfigure.in to configure.ac and preconfigure.ac
39103         respectively.
39104         * INSTALL: Regenerated.
39105         * configure: Likewise.
39106         * sysdeps/gnu/configure: Likewise.
39107         * sysdeps/i386/configure: Likewise.
39108         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
39109         * sysdeps/mach/configure: Likewise.
39110         * sysdeps/mach/hurd/configure: Likewise.
39111         * sysdeps/powerpc/configure: Likewise.
39112         * sysdeps/powerpc/powerpc32/configure: Likewise.
39113         * sysdeps/powerpc/powerpc64/configure: Likewise.
39114         * sysdeps/s390/s390-32/configure: Likewise.
39115         * sysdeps/s390/s390-64/configure: Likewise.
39116         * sysdeps/sh/configure: Likewise.
39117         * sysdeps/sparc/configure: Likewise.
39118         * sysdeps/unix/sysv/linux/configure: Likewise.
39119         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
39120         * sysdeps/x86_64/configure: Likewise.
39121         * sysdeps/x86_64/preconfigure: Likewise.
39123 2013-10-29  Andreas Schwab  <schwab@suse.de>
39125         * stdio-common/Makefile (tst-swscanf-ENV): Define.
39127 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39129         * benchtests/pow-inputs: Add new inputs.
39131         * benchtests/exp-inputs: Add new inputs.
39133         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
39134         conditional check for return value.
39135         (__cos32): Likewise.
39137 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39139         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
39140         to provide a boost for large inputs with word alignment.
39141         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
39142         implementation based on optimized PPC64 strcpy.
39143         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
39144         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
39145         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
39146         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
39148 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39150         [BZ #2801]
39151         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
39153 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39155         [BZ #14876]
39156         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
39157         * time/tst-strptime.c (day_tests): Add testcase.
39159 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39161         [BZ #14029]
39162         * manual/pattern.texi: Acknowledge that fnmatch can fail.
39164 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
39166         [BZ #16074]
39167         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
39168         MAP_FAILED on error.
39170 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39172         [BZ #16072]
39173         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
39174         heap for large requests.
39176 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
39178         [BZ #9954]
39179         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
39180         result if the result has no associated interface.
39181         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
39182         interface for all 127.X.Y.Z addresses.
39184 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
39186         * locale/iso-639.def: Add Ligurian (lij)
39188 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
39190         [BZ #15825]
39191         * sunrpc/rpc_main.c: Document rpcgen -5.
39193 2013-10-19  Michael Stahl  <mstahl@redhat.com>
39195         * elf/rtld.c (do_preload): Print the reason why preloading failed.
39197 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39199         [BZ #10278]
39200         * posix/glob.c: Match only directories when trailing slash is present.
39201         * posix/tst-gnuglob.c (my_opendir): Do not open files.
39202         (main): Add testcase.
39204 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39206         [BZ #15670]
39207         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
39209 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
39211         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
39212         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
39213         AUTH_DES and cindex for FIPS 140-2.
39214         (DES Encryption): Add cindex FIPS 46-3.
39216         * locale/locarchive.h (struct locarhandle): Add fname.
39217         * locale/programs/localedef.c (main): Pass ARGV[remaining]
39218         if an optional argument was specified to --list-archive,
39219         otherwise NULL.
39220         * locale/programs/locarchive.c (show_archive_content): Take new
39221         argument fname and pass it via ah.fname to open_archive.
39222         * locale/programs/localedef.h: Update decl.
39223         (open_archive): If AH->fname is non-null, open that file
39224         rather than the default file name, and don't ignore ENOENT.
39225         (create_archive): Set AH.fname to NULL.
39226         (delete_locales_from_archive): Likewise.
39227         (add_locales_to_archive): Likewise.
39228         * locale/programs/locfile.c (write_all_categories): Likewise.
39230 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
39231             Aldy Hernandez  <aldyh@redhat.com>
39233         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
39234         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
39235         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
39236         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
39237         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
39238         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
39239         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
39240         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
39241         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
39242         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
39243         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
39244         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
39245         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
39246         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
39247         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
39248         Likewise.
39249         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
39250         Likewise.
39251         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
39252         Likewise.
39253         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
39254         Likewise.
39255         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
39256         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
39257         Likewise.
39258         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
39259         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
39260         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
39261         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
39262         Likewise.
39263         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
39264         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
39265         * sysdeps/powerpc/preconfigure: Likewise.
39266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
39267         Likewise.
39268         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
39269         Replace contents of file by #include of <fenv_libc.h>.
39270         * sysdeps/powerpc/soft-fp/sfp-machine.h
39271         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
39272         and <sys/prctl.h>.
39273         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
39274         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
39275         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
39276         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
39277         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
39278         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
39279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
39280         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
39281         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
39282         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
39283         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
39284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
39285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39286         Allow copysignl PLT reference to be missing.
39288 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
39289             Joseph Myers  <joseph@codesourcery.com
39291         [BZ #15948]
39292         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
39293         single character.
39294         (add_to_tablewc): Assert sequence of wide characters is nonempty.
39296 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39298         * elf/tst-tls-dlinfo.c: Don't include tls.h.
39299         * elf/tst-tls1.c: Likewise.
39300         * elf/tst-tls10.h: Likewise.
39301         * elf/tst-tls14.c: Likewise.
39302         * elf/tst-tls2.c: Likewise.
39303         * elf/tst-tls3.c: Likewise.
39304         * elf/tst-tls4.c: Likewise.
39305         * elf/tst-tls5.c: Likewise.
39306         * elf/tst-tls6.c: Likewise.
39307         * elf/tst-tls7.c: Likewise.
39308         * elf/tst-tls8.c: Likewise.
39309         * elf/tst-tls9.c: Likewise.
39310         * elf/tst-tlsmod1.c: Likewise.
39311         * elf/tst-tlsmod13.c: Likewise.
39312         * elf/tst-tlsmod13a.c: Likewise.
39313         * elf/tst-tlsmod14a.c: Likewise.
39314         * elf/tst-tlsmod16a.c: Likewise.
39315         * elf/tst-tlsmod16b.c: Likewise.
39316         * elf/tst-tlsmod2.c: Likewise.
39317         * elf/tst-tlsmod3.c: Likewise.
39318         * elf/tst-tlsmod4.c: Likewise.
39319         * elf/tst-tlsmod5.c: Likewise.
39320         * elf/tst-tlsmod6.c: Likewise.
39322 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
39324         [BZ #12486]
39325         * malloc/malloc.c: remove checks for statistics.
39327 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39329         [BZ #15277]
39330         * inet/inet_net.c (inet_network): Detect additional invalid strings.
39331         * inet/tst-network.c: Add testcase.
39333 2013-10-17  Andreas Schwab  <schwab@suse.de>
39335         [BZ #15218]
39336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39337         to determine canonical name.
39339 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39341         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39342         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39344         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39345         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39346         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39347         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39348         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39349         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39350         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39351         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39352         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39353         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39354         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39355         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39356         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39358         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39359         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39360         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39361         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39362         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39363         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39364         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
39365         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
39366         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39367         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39368         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
39369         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39370         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39371         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39372         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39373         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39374         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39375         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39376         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39377         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39378         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39379         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39380         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39381         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39382         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39383         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39384         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39385         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39386         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39387         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39388         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39389         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39390         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39391         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39392         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39393         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39394         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39395         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39396         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39397         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39398         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39400 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
39402         [BZ #16041]
39403         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
39404         make result into a quiet NaN.
39406 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
39408         * soft-fp/adddf3.c: Fix horizontal whitespace.
39409         * soft-fp/addsf3.c: Likewise.
39410         * soft-fp/addtf3.c: Likewise.
39411         * soft-fp/divdf3.c: Likewise.
39412         * soft-fp/divsf3.c: Likewise.
39413         * soft-fp/divtf3.c: Likewise.
39414         * soft-fp/double.h: Likewise.
39415         * soft-fp/eqdf2.c: Likewise.
39416         * soft-fp/eqsf2.c: Likewise.
39417         * soft-fp/eqtf2.c: Likewise.
39418         * soft-fp/extenddftf2.c: Likewise.
39419         * soft-fp/extended.h: Likewise.
39420         * soft-fp/extendsfdf2.c: Likewise.
39421         * soft-fp/extendsftf2.c: Likewise.
39422         * soft-fp/extendxftf2.c: Likewise.
39423         * soft-fp/fixdfdi.c: Likewise.
39424         * soft-fp/fixdfsi.c: Likewise.
39425         * soft-fp/fixdfti.c: Likewise.
39426         * soft-fp/fixsfdi.c: Likewise.
39427         * soft-fp/fixsfsi.c: Likewise.
39428         * soft-fp/fixsfti.c: Likewise.
39429         * soft-fp/fixtfdi.c: Likewise.
39430         * soft-fp/fixtfsi.c: Likewise.
39431         * soft-fp/fixtfti.c: Likewise.
39432         * soft-fp/fixunsdfdi.c: Likewise.
39433         * soft-fp/fixunsdfsi.c: Likewise.
39434         * soft-fp/fixunsdfti.c: Likewise.
39435         * soft-fp/fixunssfdi.c: Likewise.
39436         * soft-fp/fixunssfsi.c: Likewise.
39437         * soft-fp/fixunssfti.c: Likewise.
39438         * soft-fp/fixunstfdi.c: Likewise.
39439         * soft-fp/fixunstfsi.c: Likewise.
39440         * soft-fp/fixunstfti.c: Likewise.
39441         * soft-fp/floatdidf.c: Likewise.
39442         * soft-fp/floatdisf.c: Likewise.
39443         * soft-fp/floatditf.c: Likewise.
39444         * soft-fp/floatsidf.c: Likewise.
39445         * soft-fp/floatsisf.c: Likewise.
39446         * soft-fp/floatsitf.c: Likewise.
39447         * soft-fp/floattidf.c: Likewise.
39448         * soft-fp/floattisf.c: Likewise.
39449         * soft-fp/floattitf.c: Likewise.
39450         * soft-fp/floatundidf.c: Likewise.
39451         * soft-fp/floatundisf.c: Likewise.
39452         * soft-fp/floatunditf.c: Likewise.
39453         * soft-fp/floatunsidf.c: Likewise.
39454         * soft-fp/floatunsisf.c: Likewise.
39455         * soft-fp/floatunsitf.c: Likewise.
39456         * soft-fp/floatuntidf.c: Likewise.
39457         * soft-fp/floatuntisf.c: Likewise.
39458         * soft-fp/floatuntitf.c: Likewise.
39459         * soft-fp/fmadf4.c: Likewise.
39460         * soft-fp/fmasf4.c: Likewise.
39461         * soft-fp/fmatf4.c: Likewise.
39462         * soft-fp/gedf2.c: Likewise.
39463         * soft-fp/gesf2.c: Likewise.
39464         * soft-fp/getf2.c: Likewise.
39465         * soft-fp/ledf2.c: Likewise.
39466         * soft-fp/lesf2.c: Likewise.
39467         * soft-fp/letf2.c: Likewise.
39468         * soft-fp/muldf3.c: Likewise.
39469         * soft-fp/mulsf3.c: Likewise.
39470         * soft-fp/multf3.c: Likewise.
39471         * soft-fp/negdf2.c: Likewise.
39472         * soft-fp/negsf2.c: Likewise.
39473         * soft-fp/negtf2.c: Likewise.
39474         * soft-fp/op-1.h: Likewise.
39475         * soft-fp/op-2.h: Likewise.
39476         * soft-fp/op-4.h: Likewise.
39477         * soft-fp/op-8.h: Likewise.
39478         * soft-fp/op-common.h: Likewise.
39479         * soft-fp/quad.h: Likewise.
39480         * soft-fp/single.h: Likewise.
39481         * soft-fp/soft-fp.h: Likewise.
39482         * soft-fp/sqrtdf2.c: Likewise.
39483         * soft-fp/sqrtsf2.c: Likewise.
39484         * soft-fp/sqrttf2.c: Likewise.
39485         * soft-fp/subdf3.c: Likewise.
39486         * soft-fp/subsf3.c: Likewise.
39487         * soft-fp/subtf3.c: Likewise.
39488         * soft-fp/truncdfsf2.c: Likewise.
39489         * soft-fp/trunctfdf2.c: Likewise.
39490         * soft-fp/trunctfsf2.c: Likewise.
39491         * soft-fp/trunctfxf2.c: Likewise.
39492         * soft-fp/unorddf2.c: Likewise.
39493         * soft-fp/unordsf2.c: Likewise.
39494         * soft-fp/unordtf2.c: Likewise.
39496 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39498         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39499         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39501 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39503         * elf/dl-libc.c: Clear initfini list after freeing.
39505 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39507         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39508         * soft-fp/addsf3.c: Likewise.
39509         * soft-fp/addtf3.c: Likewise.
39510         * soft-fp/divdf3.c: Likewise.
39511         * soft-fp/divsf3.c: Likewise.
39512         * soft-fp/divtf3.c: Likewise.
39513         * soft-fp/double.h: Likewise.
39514         * soft-fp/eqdf2.c: Likewise.
39515         * soft-fp/eqsf2.c: Likewise.
39516         * soft-fp/eqtf2.c: Likewise.
39517         * soft-fp/extenddftf2.c: Likewise.
39518         * soft-fp/extended.h: Likewise.
39519         * soft-fp/extendsfdf2.c: Likewise.
39520         * soft-fp/extendsftf2.c: Likewise.
39521         * soft-fp/extendxftf2.c: Likewise.
39522         * soft-fp/fixdfdi.c: Likewise.
39523         * soft-fp/fixdfsi.c: Likewise.
39524         * soft-fp/fixdfti.c: Likewise.
39525         * soft-fp/fixsfdi.c: Likewise.
39526         * soft-fp/fixsfsi.c: Likewise.
39527         * soft-fp/fixsfti.c: Likewise.
39528         * soft-fp/fixtfdi.c: Likewise.
39529         * soft-fp/fixtfsi.c: Likewise.
39530         * soft-fp/fixtfti.c: Likewise.
39531         * soft-fp/fixunsdfdi.c: Likewise.
39532         * soft-fp/fixunsdfsi.c: Likewise.
39533         * soft-fp/fixunsdfti.c: Likewise.
39534         * soft-fp/fixunssfdi.c: Likewise.
39535         * soft-fp/fixunssfsi.c: Likewise.
39536         * soft-fp/fixunssfti.c: Likewise.
39537         * soft-fp/fixunstfdi.c: Likewise.
39538         * soft-fp/fixunstfsi.c: Likewise.
39539         * soft-fp/fixunstfti.c: Likewise.
39540         * soft-fp/floatdidf.c: Likewise.
39541         * soft-fp/floatdisf.c: Likewise.
39542         * soft-fp/floatditf.c: Likewise.
39543         * soft-fp/floatsidf.c: Likewise.
39544         * soft-fp/floatsisf.c: Likewise.
39545         * soft-fp/floatsitf.c: Likewise.
39546         * soft-fp/floattidf.c: Likewise.
39547         * soft-fp/floattisf.c: Likewise.
39548         * soft-fp/floattitf.c: Likewise.
39549         * soft-fp/floatundidf.c: Likewise.
39550         * soft-fp/floatundisf.c: Likewise.
39551         * soft-fp/floatunsidf.c: Likewise.
39552         * soft-fp/floatunsisf.c: Likewise.
39553         * soft-fp/floatuntidf.c: Likewise.
39554         * soft-fp/floatuntisf.c: Likewise.
39555         * soft-fp/floatuntitf.c: Likewise.
39556         * soft-fp/fmadf4.c: Likewise.
39557         * soft-fp/fmasf4.c: Likewise.
39558         * soft-fp/fmatf4.c: Likewise.
39559         * soft-fp/gedf2.c: Likewise.
39560         * soft-fp/gesf2.c: Likewise.
39561         * soft-fp/getf2.c: Likewise.
39562         * soft-fp/ledf2.c: Likewise.
39563         * soft-fp/lesf2.c: Likewise.
39564         * soft-fp/letf2.c: Likewise.
39565         * soft-fp/muldf3.c: Likewise.
39566         * soft-fp/mulsf3.c: Likewise.
39567         * soft-fp/multf3.c: Likewise.
39568         * soft-fp/negdf2.c: Likewise.
39569         * soft-fp/negsf2.c: Likewise.
39570         * soft-fp/negtf2.c: Likewise.
39571         * soft-fp/op-1.h: Likewise.
39572         * soft-fp/op-2.h: Likewise.
39573         * soft-fp/op-4.h: Likewise.
39574         * soft-fp/op-8.h: Likewise.
39575         * soft-fp/op-common.h: Likewise.
39576         * soft-fp/quad.h: Likewise.
39577         * soft-fp/single.h: Likewise.
39578         * soft-fp/soft-fp.h: Likewise.
39579         * soft-fp/sqrtdf2.c: Likewise.
39580         * soft-fp/sqrtsf2.c: Likewise.
39581         * soft-fp/sqrttf2.c: Likewise.
39582         * soft-fp/subdf3.c: Likewise.
39583         * soft-fp/subsf3.c: Likewise.
39584         * soft-fp/subtf3.c: Likewise.
39585         * soft-fp/truncdfsf2.c: Likewise.
39586         * soft-fp/trunctfdf2.c: Likewise.
39587         * soft-fp/trunctfsf2.c: Likewise.
39588         * soft-fp/trunctfxf2.c: Likewise.
39589         * soft-fp/unorddf2.c: Likewise.
39590         * soft-fp/unordsf2.c: Likewise.
39591         * soft-fp/unordtf2.c: Likewise.
39593 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39595         [BZ #15672]
39596         * misc/error.c (error_tail): Fix possible buffer overflow.
39598 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39600         [BZ #13028]
39601         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39602         address.
39604 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39606         [BZ #832]
39607         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39608         testing pipefail option.
39610 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39612         * soft-fp/double.h: Indent preprocessor directives inside #if.
39613         * soft-fp/extended.h: Likewise.
39614         * soft-fp/op-2.h: Likewise.
39615         * soft-fp/op-4.h: Likewise.
39616         * soft-fp/op-common.h: Likewise.
39617         * soft-fp/quad.h: Likewise.
39618         * soft-fp/single.h: Likewise.
39619         * soft-fp/soft-fp.h: Likewise.
39621 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39623         * iconv/iconv_prog.c: Fix typos.
39624         * stdio-common/psiginfo-data.h: Likewise.
39626 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39628         [BZ #15764]
39629         * locale/setlocale.c: Fix typo.
39631 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39633         [BZ #16036]
39634         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39635         signaling NaN arguments.
39636         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39637         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39639         [BZ #14910]
39640         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39641         unordered operands.
39642         * soft-fp/gesf2.c (__gesf2): Likewise.
39643         * soft-fp/getf2.c (__getf2): Likewise.
39644         * soft-fp/ledf2.c (__ledf2): Likewise.
39645         * soft-fp/lesf2.c (__lesf2): Likewise.
39646         * soft-fp/letf2.c (__letf2): Likewise.
39648         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39649         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39650         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39651         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39652         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39653         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39654         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39655         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39656         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39657         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39658         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39659         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39660         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39661         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39662         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39663         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39664         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39665         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39666         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39667         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39668         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39669         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39670         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39671         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39672         * soft-fp/floattidf.c (__floattidf): Likewise.
39673         * soft-fp/floattisf.c (__floattisf): Likewise.
39674         * soft-fp/floattitf.c (__floattitf): Likewise.
39675         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39676         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39677         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39678         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39679         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39680         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39681         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39682         * soft-fp/gesf2.c (__gesf2): Likewise.
39683         * soft-fp/getf2.c (__getf2): Likewise.
39684         * soft-fp/ledf2.c (__ledf2): Likewise.
39685         * soft-fp/lesf2.c (__lesf2): Likewise.
39686         * soft-fp/letf2.c (__letf2): Likewise.
39688         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39689         Undefine and redefine.
39690         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39691         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39692         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39693         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39694         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39695         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39696         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39697         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39698         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39699         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39700         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39701         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39702         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39703         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39704         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39706         [BZ #16032]
39707         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39708         without decrementing exponent if mantissa >= that for the
39709         denominator, not >.
39710         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39711         denominator, not >.  Decrement exponent in < case instead of
39712         incrementing in >= case.
39713         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39714         without decrementing exponent if mantissa >= that for the
39715         denominator, not >.
39717         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39718         computing saturated result for unsigned overflow.
39720 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39721             Jeff Law  <law@redhat.com>
39723         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39724         (atan2Mp): Add systemtap probe marker.
39725         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39726         (__ieee754_log): Add systemtap probe marker.
39727         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39728         (atanMp): Add systemtap probe marker.
39729         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39730         (tanMp): Add systemtap probe marker.
39731         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39732         (__slowexp): Add systemtap probe marker.
39733         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39734         (__slowpow): Add systemtap probe marker.
39735         * manual/probes.texi: Document probes.
39737 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39739         [BZ #15362]
39740         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39741         written.
39742         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39743         written.
39744         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39745         written to buffer but not flushed.
39746         * libio/iofwrite_u.c:  Likewise.
39747         * libio/iopadn.c:  Return bytes returned even if EOF was
39748         encountered.
39749         * libio/iowpadn.c:  Likewise.
39750         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39751         if _IO_padn does not write the whole buffer.
39752         [!COMPILE_WPRINTF] (PAD): Likewise.
39754 2013-10-10  David S. Miller  <davem@davemloft.net>
39756         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39757         directory block.
39759 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39761         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39762         instead of FSF address.
39763         * soft-fp/fixdfti.c: Likewise.
39764         * soft-fp/fixsfti.c: Likewise.
39765         * soft-fp/fixtfti.c: Likewise.
39766         * soft-fp/fixunsdfti.c: Likewise.
39767         * soft-fp/fixunssfti.c: Likewise.
39768         * soft-fp/fixunstfti.c: Likewise.
39769         * soft-fp/floattidf.c: Likewise.
39770         * soft-fp/floattisf.c: Likewise.
39771         * soft-fp/floattitf.c: Likewise.
39772         * soft-fp/floatuntidf.c: Likewise.
39773         * soft-fp/floatuntisf.c: Likewise.
39774         * soft-fp/floatuntitf.c: Likewise.
39775         * soft-fp/trunctfxf2.c: Likewise.
39777         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39778         * soft-fp/fixdfti.c: Likewise.
39779         * soft-fp/fixsfti.c: Likewise.
39780         * soft-fp/fixtfti.c: Likewise.
39781         * soft-fp/fixunsdfti.c: Likewise.
39782         * soft-fp/fixunssfti.c: Likewise.
39783         * soft-fp/fixunstfti.c: Likewise.
39784         * soft-fp/floattidf.c: Likewise.
39785         * soft-fp/floattisf.c: Likewise.
39786         * soft-fp/floattitf.c: Likewise.
39787         * soft-fp/floatuntidf.c: Likewise.
39788         * soft-fp/floatuntisf.c: Likewise.
39789         * soft-fp/floatuntitf.c: Likewise.
39790         * soft-fp/trunctfxf2.c: Likewise.
39792 2013-10-10  David S. Miller  <davem@davemloft.net>
39794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39796 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39798         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39799         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39800         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39801         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39802         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39803         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39804         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39806         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39807         for NaNs before doing comparisons on argument.
39808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39809         Likewise.
39811 2013-10-10  Will Newton  <will.newton@linaro.org>
39813         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39814         passed to _int_memalign does not overflow.
39816 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39818         * scripts/bench.pl: Add include-sources directive.
39819         * benchtests/README: Update documentation.
39821 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39823         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39824         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39825         instead of FP_INIT_ROUNDMODE.
39826         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39827         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39829         [BZ #16034]
39830         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39831         copy class of input value.
39832         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39833         not handle exceptions.
39834         * soft-fp/negsf2.c (__negsf2): Likewise.
39835         * soft-fp/negtf2.c (__negtf2): Likewise.
39836         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39838 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39840         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39841         semicolon.  From Linux kernel.
39843 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39845         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39847 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39849         [BZ #156]
39850         * manual/socket.texi: Added statement about buffer
39851         for gethostbyname2_r.
39853 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39855         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39856         Use .p2align directive instead, throughout.
39857         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39858         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39859         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39860         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39861         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39862         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39863         * sysdeps/x86_64/strchr.S: Likewise.
39864         * sysdeps/x86_64/strrchr.S: Likewise.
39866 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39868         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39870         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39872         * sysdeps/generic/math_private.h (__mpsin1): Remove
39873         declaration.
39874         (__mpcos1): Likewise.
39875         (__mpsin): New argument __range_reduce.
39876         (__mpcos): Likewise.
39877         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39878         (slow): Use __mpsin and __mpcos.
39879         (slow1): Likewise.
39880         (slow2): Likewise.
39881         (sloww): Likewise.
39882         (sloww1): Likewise.
39883         (sloww2): Likewise.
39884         (bsloww): Likewise.
39885         (bsloww1): Likewise.
39886         (bsloww2): Likewise.
39887         (cslow2): Likewise.
39888         (csloww): Likewise.
39889         (csloww1): Likewise.
39890         (csloww2): Likewise.
39891         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39892         range_reduce.  Merge in __mpsin1.
39893         (__mpcos): Likewise.
39894         (__mpsin1): Remove.
39895         (__mpcos1): Likewise.
39897 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39899         * locale/loadlocale.c (_nl_intern_locale_data): Use
39900         LOCFILE_ALIGNED_P.
39901         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39902         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39903         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39904         obstack data is appropriately aligned.
39905         (obstack_int32_grow_fast): Likewise.
39906         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39907         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39908         (add_locale_uint32_array): Likewise.
39910 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39912         * benchtests/Makefile: Remove ARGLIST and RET variables.
39913         ($(objpfx)bench-%.c): Pass only function name to the script.
39914         * benchtests/README: Update documentation.
39915         * benchtests/acos-inputs: Add new directives.
39916         * benchtests/acosh-inputs: Likewise.
39917         * benchtests/asin-inputs: Likewise.
39918         * benchtests/asinh-inputs: Likewise.
39919         * benchtests/atan-inputs: Likewise.
39920         * benchtests/atanh-inputs: Likewise.
39921         * benchtests/cos-inputs: Likewise.
39922         * benchtests/cosh-inputs: Likewise.
39923         * benchtests/exp-inputs: Likewise.
39924         * benchtests/log-inputs: Likewise.
39925         * benchtests/pow-inputs: Likewise.
39926         * benchtests/rint-inputs: Likewise.
39927         * benchtests/sin-inputs: Likewise.
39928         * benchtests/sinh-inputs: Likewise.
39929         * benchtests/tan-inputs: Likewise.
39930         * benchtests/tanh-inputs: Likewise.
39931         * scripts/bench.pl: Add support for new directives.
39933 2013-10-07  Alan Modra  <amodra@gmail.com>
39935         * README: Fix careless merge.
39937 2013-10-05  Alan Modra  <amodra@gmail.com>
39939         * NEWS: Mention powerpc64le support and bugs fixed.
39940         * README: Both big-endian and little-endian powerpc64 supported.
39942 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39944         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39945         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39946         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39947         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39949 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39951         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39952         match prototype.
39954 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39956         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39957         Move -mhard-float appending from
39958         ports/sysdeps/powerpc/powerpc32/Makefile.
39959         [$(with-fp) = yes] (ASFLAGS): Likewise.
39960         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39961         * sysdeps/powerpc/nofpu: Move directory from
39962         ports/sysdeps/powerpc/nofpu.
39963         * sysdeps/powerpc/soft-fp: Move directory from
39964         ports/sysdeps/powerpc/soft-fp.
39965         * sysdeps/powerpc/powerpc32/405: Move directory from
39966         ports/sysdeps/powerpc/powerpc32/405.
39967         * sysdeps/powerpc/powerpc32/440: Move directory from
39968         ports/sysdeps/powerpc/powerpc32/440.
39969         * sysdeps/powerpc/powerpc32/464: Move directory from
39970         ports/sysdeps/powerpc/powerpc32/464.
39971         * sysdeps/powerpc/powerpc32/476: Move directory from
39972         ports/sysdeps/powerpc/powerpc32/476.
39973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39974         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39976         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39978         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39980         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39982         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39983         * README: Update for powerpc-*-linux-gnu software floating point
39984         support in libc.
39986         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39987         case to powerpc/powerpc32*.
39988         * sysdeps/unix/sysv/linux/configure: Regenerated.
39990         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39991         (_FPU_MASK_OM): Define as 0x04.
39992         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39994         0x00c10080.
39995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39996         0x0000003c.
39997         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
40000         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40001         getcontext_e500.
40002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
40003         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40004         setcontext_e500.
40005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
40006         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
40007         and setcontext_e500.
40009 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
40011         * locale/iso-3166.def: Update iso-1366.def and related occurrences
40013 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40015         * manual/threads.texi (Default Thread Attributes): Fix typo.
40017 2013-10-04  Will Newton  <will.newton@linaro.org>
40019         * malloc/Makefile: Add tst-memalign.
40020         * malloc/tst-memalign.c: New file.
40022         * malloc/tst-posix_memalign.c: Add comments.
40023         (do_test): Add comments and call free on all potentially
40024         allocated pointers. Add space after cast.
40026         * malloc/tst-pvalloc.c: Add comments.
40027         (do_test): Add comments and call free on all potentially
40028         allocated pointers. Remove duplicate check for NULL pointer.
40029         Add space after cast.
40031         * malloc/tst-valloc.c: Add comments.
40032         (do_test): Add comments and call free on all potentially
40033         allocated pointers. Remove duplicate check for NULL pointer.
40034         Add space after cast.
40036 2013-10-04  Alan Modra  <amodra@gmail.com>
40038         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40039         Use stdint types in rather than __attribute__((mode())).
40040         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40042 2013-10-04  Alan Modra  <amodra@gmail.com>
40044         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40045         Correct handling of unaligned relocs for little-endian.
40046         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40048 2013-10-04  Alan Modra  <amodra@gmail.com>
40050         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
40051         * configure: Regenerate.
40052         * nptl/shlib-versions: Powerpc*le starts at 2.18.
40053         * shlib-versions: Likewise.
40055 2013-10-04  Alan Modra  <amodra@gmail.com>
40057         * string/tester.c (test_memrchr): Increment reported test cycle.
40059 2013-10-04  Alan Modra  <amodra@gmail.com>
40061         * string/test-memcpy.c (do_one_test): When reporting errors, print
40062         string address and don't overrun end of string.
40064 2013-10-04  Alan Modra  <amodra@gmail.com>
40066         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
40067         insrdi.  Make better use of reg selection to speed exit slightly.
40068         Schedule entry path a little better.  Remove useless "are we done"
40069         checks on entry to main loop.  Handle wrapping around zero address.
40070         Correct main loop count.  Handle single left-over word from main
40071         loop inline rather than by using loop_small.  Remove extra word
40072         case in loop_small caused by wrong loop count.  Add little-endian
40073         support.
40074         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40075         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
40076         cache hint.
40077         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40078         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
40079         support.  Avoid rlwimi.
40080         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
40082 2013-10-04  Alan Modra  <amodra@gmail.com>
40084         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
40085         insrdi.  Formatting.
40086         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
40087         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40088         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40089         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40090         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40091         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
40093 2013-10-04  Alan Modra  <amodra@gmail.com>
40095         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
40096         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40097         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40098         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
40099         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40100         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40101         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40102         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40103         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
40104         use of regs.  Use power7 mtocrf.  Tidy function tails.
40106 2013-10-04  Alan Modra  <amodra@gmail.com>
40108         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
40109         Formatting.  Consistently use rXXX register defines or rN defines.
40110         Use early exit labels that avoid restoring unused non-volatile regs.
40111         Make cr field use more consistent with rWORDn compares.  Rename
40112         regs used as shift registers for unaligned loop, using rN defines
40113         for short lifetime/multiple use regs.
40114         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40115         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
40116         addi 1,1,64 to pop stack frame.  Simplify return value code.
40117         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40119 2013-10-04  Alan Modra  <amodra@gmail.com>
40121         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
40122         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
40123         rather than rlwimi.
40124         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
40125         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
40126         little-endian support.  Correct typos.
40127         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
40128         rather than rlwimi.
40129         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
40130         in loop and entry code to keep "and." results.
40131         (strchr): Add little-endian support.  Comment.  Move cntlzd
40132         earlier in tail.
40133         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
40135 2013-10-04  Alan Modra  <amodra@gmail.com>
40137         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
40138         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
40139         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
40140         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
40142 2013-10-04  Alan Modra  <amodra@gmail.com>
40144         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
40145         (rTMP): Define as r11.
40146         (strcmp): Add little-endian support.  Optimise tail.
40147         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
40148         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40149         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40150         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40151         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40152         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40153         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40155 2013-10-04  Alan Modra  <amodra@gmail.com>
40157         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
40158         little-endian support.  Remove unnecessary "are we done" tests.
40159         Handle "s" wrapping around zero and extremely large "size".
40160         Correct main loop count.  Handle single left-over word from main
40161         loop inline rather than by using small_loop.  Correct comments.
40162         Delete "zero" tail, use "end_max" instead.
40163         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
40165 2013-10-04  Alan Modra  <amodra@gmail.com>
40167         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
40168         support.  Don't branch over align.
40169         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
40170         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
40171         support.  Rearrange tmp reg use to suit.  Comment.
40172         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
40174 2013-10-04  Alan Modra  <amodra@gmail.com>
40176         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
40178 2013-10-04  Alan Modra  <amodra@gmail.com>
40180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
40181         conditional form of branch and link when obtaining pc.
40182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40184 2013-10-04  Alan Modra  <amodra@gmail.com>
40186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
40187         HIWORD/LOWORD.
40188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
40189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
40191 2013-10-04  Alan Modra  <amodra@gmail.com>
40193         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
40194         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
40195         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40196         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
40197         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40198         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40199         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
40200         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40201         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40202         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
40204 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40205             Alistair Popple <alistair@ozlabs.au.ibm.com>
40206             Alan Modra <amodra@gmail.com>
40208         [BZ #15723]
40209         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
40210         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
40211         _dl_hwcap access for little-endian.
40212         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
40213         destroy vmx regs when saving unaligned.
40214         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
40215         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
40216         destroy vmx regs when saving unaligned.
40218 2013-10-04  Alan Modra  <amodra@gmail.com>
40220         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
40221         Don't use a union to pack hi/low value.
40223 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40225         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
40226         for little-endian.
40227         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40228         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
40229         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40230         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40231         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40233 2013-10-04  Alan Modra  <amodra@gmail.com>
40235         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
40236         constants to usual value for .cst8 section, and remove redundant
40237         high address load.
40238         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
40239         constant for 0x1p52.  Load little-endian words of double from
40240         correct stack offsets.
40242 2013-10-04  Alan Modra  <amodra@gmail.com>
40244         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
40245         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
40246         words of double from correct stack offsets.
40247         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40248         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
40249         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40250         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40251         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40252         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40253         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40254         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40255         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40256         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40257         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40258         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40259         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40260         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40261         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40262         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
40263         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40265 2013-10-04  Alan Modra  <amodra@gmail.com>
40267         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
40268         64-bit int/double union.
40269         (_FPU_SETCW): Likewise.
40270         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
40271         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
40273 2013-10-04  Alan Modra  <amodra@gmail.com>
40275         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
40276         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
40278 2013-10-04  Alan Modra  <amodra@gmail.com>
40280         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
40281         use vector int constants.
40282         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
40284 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40286         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
40287         array with long long.
40288         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
40289         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
40290         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
40291         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
40292         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
40293         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
40294         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
40295         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
40296         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
40297         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
40298         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
40299         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
40300         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
40302 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40304         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
40305         (__signbit): Likewise.  Correct for little-endian.
40306         (__signbitl): Call __signbit.
40307         (lrint): Correct for little-endian.
40308         (lrintf): Call lrint.
40310 2013-10-04  Alan Modra  <amodra@gmail.com>
40312         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
40313         union 32-bit int array member with 64-bit int array.
40314         (t515, tm256): Double rather than long double.
40315         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
40317 2013-10-04  Alan Modra  <amodra@gmail.com>
40319         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40320         Delete.
40321         (IEEE854_LONG_DOUBLE_BIAS): Delete.
40322         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40323         version of math_ldbl.h.
40325 2013-10-04  Alan Modra  <amodra@gmail.com>
40327         [BZ #15734], [BZ #15735]
40328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40329         all uses of ieee875 long double macros and unions.  Simplify test
40330         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
40331         ldbl_extract_mantissa value for ix,iy exponents.  Properly
40332         normalize after ldbl_extract_mantissa, and don't add hidden bit
40333         already handled.  Don't treat low word of ieee854 mantissa like
40334         low word of IBM long double and mask off bit when testing for
40335         zero.
40336         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40337         all uses of ieee875 long double macros and unions.  Simplify tests
40338         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
40339         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
40340         two1022, instead use their values.  Recognise that tests for large
40341         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
40342         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40343         Rewrite all uses of ieee875 long double macros and unions.  Simplify
40344         test for 0.0L and nan.  Correct negation.
40345         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40346         ieee875 long double macros and unions.  Correct output for large
40347         magnitude x.  Correct absolute value calculation.
40348         (__erfcl): Likewise.
40349         * math/libm-test.inc: Add tests for errors discovered in IBM long
40350         double versions of fmodl, remainderl, erfl and erfcl.
40352 2013-10-04  Alan Modra  <amodra@gmail.com>
40354         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40355         all uses of ieee854 long double macros and unions.  Simplify tests
40356         for long doubles that are fully specified by the high double.
40357         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40358         Likewise.
40359         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40360         Remove dead code too.
40361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40362         (__ieee754_ynl): Likewise.
40363         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40364         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
40365         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
40366         Remove dead code too.
40367         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
40368         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
40369         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
40370         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
40371         Simplify.
40372         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
40373         Simplify.
40374         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
40375         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
40376         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
40377         Comment on variable precision.
40378         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
40379         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40380         Likewise.
40381         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
40382         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40383         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40384         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
40385         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
40387 2013-10-04  Alan Modra  <amodra@gmail.com>
40389         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
40390         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40391         all uses of ieee854 long double macros and unions.
40392         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
40393         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40394         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
40395         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
40396         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
40397         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40398         Likewise.
40399         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
40400         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40401         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
40402         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40403         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
40404         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
40405         Simplify sign and nan test too.
40406         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40407         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40408         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40409         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40410         Likewise.
40411         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40412         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40413         Likewise.
40414         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40415         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40416         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40417         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40418         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40419         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40421 2013-10-04  Alan Modra  <amodra@gmail.com>
40423         * stdio-common/printf_size.c (__printf_size): Don't use
40424         union ieee854_long_double in fpnum union.
40425         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
40426         signbit macro to retrieve sign from long double.
40427         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40428         retrieve sign from long double.
40429         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40430         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40431         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40432         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40433         * math/test-misc.c (main): Don't use union ieee854_long_double.
40435 2013-10-04  Alan Modra  <amodra@gmail.com>
40437         [BZ #15680]
40438         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40439         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40440         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40441         calculation.  Remove unnecessary test for denormal exponent.
40442         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40443         Correct handling of denormals.  Avoid undefined shift behaviour.
40444         Correct normalisation of low mantissa when low double is denormal.
40445         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40446         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
40447         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40448         Correct normalisation of low mantissa.  Test for overflow of high
40449         mantissa and normalise.
40450         (ldbl_nearbyint): Use more readable constant for two52.
40451         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40452         (__mpn_construct_long_double): Fix test for overflow of high
40453         mantissa and correct normalisation.  Avoid undefined shift.
40455 2013-10-04  Alan Modra  <amodra@gmail.com>
40457         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40458         (union ibm_extended_long_double): Define as an array of ieee754_double.
40459         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40460         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40461         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40462         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40463         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40464         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40465         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40466         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40467         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40468         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40469         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40471 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40473         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40474         page size instead of calling getpagesize.
40476         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40477         (LOCFILE_ALIGN_MASK): Likewise.
40478         (LOCFILE_ALIGN_UP): Likewise.
40479         (LOCFILE_ALIGNED_P): Likewise.
40480         * locale/programs/ld-collate.c (collate_output): Use the new
40481         macros instead of __alignof__ (int32_t).
40482         * locale/weight.h (findidx): Likewise.
40484 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40486         [BZ #431]
40487         * manual/string.texi: Fix strncat and wcsncat.
40489 2013-10-03  Brooks Moses  <bmoses@google.com>
40491         [BZ #15915]
40492         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40493         * Makerules: ...here, and adjust associated comments.
40495 2013-10-02  Will Newton  <will.newton@linaro.org>
40497         * malloc/Makefile: Add tst-pvalloc.
40498         * malloc/tst-pvalloc.c: New file.
40500 2013-10-02  Will Newton  <will.newton@linaro.org>
40502         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40503         improve test coverage.
40505 2013-10-02  Will Newton  <will.newton@linaro.org>
40507         * malloc/Makefile: Add tst-posix_memalign.
40508         * malloc/tst-posix_memalign.c: New file.
40510 2013-10-01  Eric Blake  <eblake@redhat.com>
40512         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40513         Use __THROWNL rather than __THROW on static functions.
40515 2013-09-30  Petr Machata  <pmachata@redhat.com>
40517         * elf/elf.h (R_AARCH64_ABS16): New macro.
40518         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40519         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40520         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40521         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40522         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40523         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40524         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40525         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40526         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40527         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40528         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40529         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40530         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40531         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40532         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40533         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40534         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40535         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40536         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40537         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40538         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40539         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40540         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40541         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40542         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40543         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40544         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40545         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40546         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40547         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40548         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40549         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40550         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40551         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40552         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40553         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40554         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40555         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40556         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40557         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40558         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40559         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40560         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40561         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40562         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40563         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40564         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40565         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40566         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40567         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40568         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40569         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40570         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40571         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40572         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40573         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40574         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40575         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40576         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40577         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40578         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40579         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40580         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40581         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40582         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40583         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40584         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40585         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40586         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40587         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40588         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40589         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40590         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40591         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40592         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40593         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40594         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40595         (R_AARCH64_TLSDESC_LDR): Likewise.
40596         (R_AARCH64_TLSDESC_ADD): Likewise.
40597         (R_AARCH64_TLSDESC_CALL): Likewise.
40599 2013-09-30  Andreas Schwab  <schwab@suse.de>
40601         [BZ #15048]
40602         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40603         the nss database lookup.
40604         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40607 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40609         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40611 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40613         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40614         ${Bash-specific parameter/pattern/string} parameter expansion.
40615         * sysdeps/unix/make-syscalls.sh: Likewise.
40617 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40619         * sysdeps/sh/stackguard-macros.h: New file.
40621 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40625         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40626         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40627         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40628         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40630 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40632         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40633         Fix thread ID register.
40635 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40637         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40638         [POSIX || UNIX98]: Require rather than permitting all symbols from
40639         <time.h>.
40640         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40641         element of struct sched_param.
40642         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40643         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40644         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40645         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40646         constant.
40648 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40650         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40651         argument calculation.
40653 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40655         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40656         Expect macro.
40657         [POSIX] (pthread_attr_t): Do not require type.
40658         [POSIX] (pthread_cond_t): Likewise.
40659         [POSIX] (pthread_condattr_t): Likewise.
40660         [POSIX] (pthread_key_t): Likewise.
40661         [POSIX] (pthread_mutex_t): Likewise.
40662         [POSIX] (pthread_mutexattr_t): Likewise.
40663         [POSIX] (pthread_once_t): Likewise.
40664         [POSIX] (pthread_t): Likewise.
40665         [POSIX-based standards] (pthread_atfork): Expect function.
40667 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40668             Richard Sandiford  <richard@codesourcery.com>
40670         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40671         (swap_endianness_p): New extern variable.
40672         (set_big_endian): New inline function.
40673         (maybe_swap_uint32): Likewise.
40674         (maybe_swap_uint32_array): Likewise.
40675         (maybe_swap_uint32_obstack): Likewise.
40676         * locale/programs/locfile.c: Include <stdbool.h>.
40677         (swap_endianness_p): New variable.
40678         (add_locale_uint32): Call maybe_swap_uint32.
40679         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40680         (write_locale_data): Call maybe_swap_uint32_array.
40681         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40682         maybe_swap_uint32.
40683         (obstack_int32_grow_fast): Likewise.
40684         (output_weightwc): Call maybe_swap_uint32_obstack.
40685         (collate_output): Likewise.
40686         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40687         (OPT_LITTLE_ENDIAN): Likewise.
40688         (options): Add --little-endian and --big-endian options.
40689         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40690         * locale/programs/locarchive.c: Include "locfile.h".
40691         (GET): New macro.
40692         (SET): Likewise.
40693         (INC): Likewise.
40694         (create_archive): Use the new macros to access fields of
40695         structures directly mapped from or written to locale archives.
40696         (oldlocrecentcmp): Likewise.
40697         (enlarge_archive): Likewise.
40698         (insert_name): Likewise.
40699         (add_alias): Likewise.
40700         (add_locale): Likewise.
40701         (delete_locales_from_archive): Likewise.
40702         (show_archive_content): Likewise.
40703         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40704         locale data.
40706 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40708         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40709         http://www.gnu.org/doc/freemanuals.texi.
40710         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40712 2013-09-24  Will Newton  <will.newton@linaro.org>
40714         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40715         macro.
40717 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40719         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40720         unsigned char.
40722 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40724         * manual/threads.texi (POSIX Threads): Fix a typo.
40726 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40728         [BZ #14547]
40729         * string/tst-strcoll-overflow.c: New test case.
40730         * string/Makefile (xtests): Add tst-strcoll-overflow.
40731         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40732         cache if string sizes may cause integer overflow.
40734         [BZ #14547]
40735         * string/strcoll_l.c (coll_seq): New members rule, idx,
40736         save_idx and back_us.
40737         (get_next_seq_nocache): New function.
40738         (do_compare_nocache): New function.
40739         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40740         when malloc fails.
40742 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40744         [BZ #15754]
40745         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40746         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40747         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40749         [BZ #15754]
40750         * elf/Makefile (tests): Add tst-ptrguard1.
40751         (tests-static): Add tst-ptrguard1-static.
40752         (tst-ptrguard1-ARGS): Define.
40753         (tst-ptrguard1-static-ARGS): Define.
40754         * elf/tst-ptrguard1.c: New file.
40755         * elf/tst-ptrguard1-static.c: New file.
40756         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40757         * sysdeps/i386/stackguard-macros.h: Likewise.
40758         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40759         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40760         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40761         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40762         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40763         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40765 2013-09-23  Hector Marco  <hecmargi@upv.es>
40766             Ismael Ripoll  <iripoll@disca.upv.es>
40767             Carlos O'Donell  <carlos@redhat.com>
40769         [BZ #15754]
40770         * sysdeps/generic/stackguard-macros.h: Define
40771         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40772         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40773         Define __pointer_chk_guard_local.
40774         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40775         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40777 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40779         [BZ #15859]
40780         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40782 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40784         * include/string.h (__ffs): Declare as hidden.
40785         * string/ffs.c (__ffs): Define as hidden.
40786         * sysdeps/i386/ffs.c (__ffs): Likewise.
40787         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40788         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40789         * sysdeps/s390/ffs.c (__ffs): Likewise.
40790         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40792 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40794         * NEWS: Mention malloc probes.
40796         * malloc/arena.c (new_heap): New memory_heap_new probe.
40797         (grow_heap): New memory_heap_more probe.
40798         (shrink_heap): New memory_heap_less probe.
40799         (heap_trim): New memory_heap_free probe.
40800         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40801         (systrim): New memory_sbrk_less probe.
40802         * manual/probes.texi: Document them.
40804         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40805         * manual/probes.texi: Document it.
40807         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40808         (__libc_realloc): Add memory_realloc_retry probe.
40809         (__libc_memalign): Add memory_memalign_retry probe.
40810         (__libc_valloc): Add memory_valloc_retry probe.
40811         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40812         (__libc_calloc): Add memory_calloc_retry probe.
40813         * manual/probes.texi: Document them.
40815         * malloc/arena.c (get_free_list): Add probe
40816         memory_arena_reuse_free_list.
40817         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40818         and memory_arena_reuse.
40819         (arena_get2) [!PER_THREAD]: Likewise.
40820         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40821         memory_arena_reuse_realloc.
40822         * manual/probes.texi: Document them.
40824         * malloc/malloc.c (__libc_free): Add
40825         memory_mallopt_free_dyn_thresholds probe.
40826         (__libc_mallopt): Add multiple memory_mallopt probes.
40827         * manual/probes.texi: Document them.
40829         * malloc/malloc.c: Include stap-probe.h.
40830         (__libc_mallopt): Add memory_mallopt probe.
40831         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40832         * manual/probes.texi: New.
40833         * manual/Makefile (chapters): Add probes.
40834         * manual/threads.texi: Set next node.
40836 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40838         [BZ #15963, #13985]
40839         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40840         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40841         Add `Chinese' to `nan' entry name.
40843 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40845         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40846         (POLYNOMIAL): Likewise.
40847         (TAYLOR_SINCOS): Likewise.
40848         (TAYLOR_SLOW): Likewise.
40849         (__sin): Use TAYLOR_SINCOS.
40850         (__cos): Likewise.
40851         (slow): Use TAYLOR_SLOW.
40852         (sloww): Likewise.
40853         (bsloww): Likewise.
40854         (csloww): Likewise.
40856 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40858         * stdlib/strtod_l.c: Fix buffer overrun.
40860 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40862         * benchtests/Makefile (bench): Add sincos.
40863         * benchtests/bench-sincos.c: New file.
40865         * math/libm-test.inc (cos_test_data): New test inputs.
40866         (sin_test_data): Likewise.
40868         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40869         macro.
40870         (__sin): Use it.
40871         (__cos): Likewise.
40872         (slow1): Likewise.
40873         (slow2): Likewise.
40874         (sloww1): Likewise.
40875         (sloww2): Likewise.
40876         (bsloww1): Likewise.
40877         (bsloww2): Likewise.
40878         (cslow2): Likewise.
40879         (csloww1): Likewise.
40880         (csloww2): Likewise.
40882         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40883         function.
40884         (__sin): Use it.
40885         (__cos): Likewise.
40887         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40888         gotos.
40889         (__cos): Likewise.
40891 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40893         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40894         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40895         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40896         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40897         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40898         * elf/cache.c (print_entry): Handle the new cache flags.
40900 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40901             Aldy Hernandez  <aldyh@redhat.com>
40903         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40904         Change condition to [_SOFT_FLOAT].
40905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40917         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40920         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40921         declaration.
40923 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40925         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40926         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40927         (__longjmp): Use LOAD_GP to load saved GPRs.
40928         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40929         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40930         (__sigsetjmp): Use SAVE_GP to save GPRs.
40932         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40933         Do not append -msoft-float.
40934         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40936 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40938         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40940 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40942         [BZ #15966]
40943         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40944         (_FPU_GETCW): Use initial "__" on variable and field names but not
40945         on macro parameter name.
40946         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40947         parentheses around reference to macro parameter.
40949 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40951         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40952         prototype.
40953         (ctype_startup): Use uint32_t in cast and sizeof for
40954         ctype->charnames.
40956 2013-09-11  Jia Liu  <proljc@gmail.com>
40958         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40959         __daddr_t_defined.
40960         [__FreeBSD__]: Likewise.
40962 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40965         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40966         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40967         (strchr): Remove __strchr_sse42 ifunc selection.
40968         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40969         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40971 2013-09-11  Will Newton  <will.newton@linaro.org>
40973         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40974         parameter to RES. Remove hardcoded 1000 value.
40975         * benchtests/bench-skeleton.c (main): Pass RES parameter
40976         to TIMING_INIT and multiply result by 1000.
40978 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40982 2013-09-11  Andreas Schwab  <schwab@suse.de>
40984         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40985         if not defined.
40986         (O_TMPFILE) [__USE_GNU]: Define.
40987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40988         Define.
40990 2013-09-11  Will Newton  <will.newton@linaro.org>
40992         [BZ #15857]
40993         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40994         does not overflow.
40996 2013-09-11  Will Newton  <will.newton@linaro.org>
40998         [BZ #15856]
40999         * malloc/malloc.c (__libc_valloc): Check the value of bytes
41000         does not overflow.
41002 2013-09-11  Will Newton  <will.newton@linaro.org>
41004         [BZ #15855]
41005         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
41006         does not overflow.
41008 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
41010         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
41011         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41012         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41013         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41014         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41016 2013-09-10  Allan McRae  <allan@archlinux.org>
41018         [BZ #15748]
41019         * manual/arith.texi (Parsing of Floats): Clarify
41020         cross-reference.
41022         [BZ #15849]
41023         * manual/install.texi (Running make install): Mention
41024         --enable-pt-chown.
41025         * INSTALL: Regenerated.
41027 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
41029         * csu/init-first.c (_init): Remove the !SHARED condition around
41030         FPU control word initialization.
41031         * elf/dl-support.c (_dl_fpu_control): New variable.
41032         (_dl_aux_init) <AT_FPUCW>: Initialize it.
41033         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
41034         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
41035         * math/test-fpucw-static.c: New file.
41036         * math/test-fpucw-ieee.c: New file.
41037         * math/test-fpucw-ieee-static.c: New file.
41038         * math/Makefile (tests): Add `test-fpucw-ieee' and
41039         `$(tests-static)'.
41040         (tests-static): New variable.
41041         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
41042         dependency to...
41043         [($(build-shared),yes)]
41044         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41045         ... this.
41046         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
41047         New dependency.
41049 2013-09-09  Allan McRae  <allan@archlinux.org>
41051         [BZ #15939]
41052         * manual/string.texi (Collation Functions): Fix typo in
41053         strcoll example.
41054         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
41056         [BZ #15893]
41057         * stdlib/isomac.c (get_null_defines): Fix memory leak.
41059         [BZ #15892]
41060         * libio/memstream.c (open_memstream): Fix memory leak.
41061         * libio/wmemstream.c (open_wmemstream): Likewise.
41063         [BZ #15895]
41064         * nscd/netgroupcache.c: Fix nesting of ifdefs.
41066 2013-09-09  Will Newton  <will.newton@linaro.org>
41068         * malloc/Makefile: Add tst-realloc to tests.
41069         * malloc/tst-realloc.c: New file.
41071 2013-09-09  Allan McRae  <allan@archlinux.org>
41073         [BZ #15844]
41074         * COPYING: Update from GNU website to fix FSF address.
41075         * COPYING.LIB: Likewise.
41077 2013-09-06  David S. Miller  <davem@davemloft.net>
41079         * po/zh_TW.po: Update Chinese (traditional) translation from
41080         translation project.
41082 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
41083             Joseph Myers  <joseph@codesourcery.com>
41085         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
41086         "localeinfo.h".
41087         (obstack_chunk_alloc): New macro.
41088         (obstack_chunk_free): Likewise.
41089         (record_offset): New function.
41090         (init_locale_data): Likewise.
41091         (align_locale_data): Likewise.
41092         (add_locale_empty): Likewise.
41093         (add_locale_raw_data): Likewise.
41094         (add_locale_raw_obstack): Likewise.
41095         (add_locale_string): Likewise.
41096         (add_locale_wstring): Likewise.
41097         (add_locale_uint32): Likewise.
41098         (add_locale_uint32_array): Likewise.
41099         (add_locale_char): Likewise.
41100         (start_locale_structure): Likewise.
41101         (end_locale_structure): Likewise.
41102         (start_locale_prelude): Likewise.
41103         (end_locale_prelude): Likewise.
41104         (write_locale_data): Take locale_file structure rather than an
41105         iovec.
41106         * locale/programs/locfile.h: Include "obstack.h".
41107         (struct locale_file): Change to store locale file contents instead
41108         of header.
41109         (init_locale_data): New prototype.
41110         (align_locale_data): Likewise.
41111         (add_locale_empty): Likewise.
41112         (add_locale_raw_data): Likewise.
41113         (add_locale_raw_obstack): Likewise.
41114         (add_locale_string): Likewise.
41115         (add_locale_wstring): Likewise.
41116         (add_locale_uint32): Likewise.
41117         (add_locale_uint32_array): Likewise.
41118         (add_locale_char): Likewise.
41119         (start_locale_structure): Likewise.
41120         (end_locale_structure): Likewise.
41121         (start_locale_prelude): Likewise.
41122         (end_locale_prelude): Likewise.
41123         (write_locale_data): Update prototype.
41124         * locale/programs/3level.h (struct TABLE): Remove result field.
41125         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
41126         Use new locale_file interface.
41127         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
41128         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
41129         * locale/programs/ld-address.c (address_output): Use new
41130         locale_file interface.
41131         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
41132         NO_ADD_LOCALE.
41133         (collate_finish): Don't call collseq_table_finalize.
41134         (collate_output): Use new locale_file interface.
41135         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
41136         in file.
41137         (NO_FINALIZE): Change to NO_ADD_LOCALE.
41138         (TABLE): Move defines earlier in file.
41139         (ELEMENT): Likewise.
41140         (DEFAULT): Likewise.
41141         (wctrans_table_add): Move macro and inline function earlier in
41142         file.
41143         (struct wctype_table): Move type earlier in file.
41144         (add_locale_wctype_table): New static prototype.
41145         (struct locale_ctype_t): Use logical types instead of struct iovec
41146         pointers for members.
41147         (ctype_output): Use new locale_file interface.
41148         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
41149         new locale_file interface.
41150         (allocate_arrays): Update for use of new locale_file interface.
41151         * locale/programs/ld-identification.c (identification_output): Use
41152         new locale_file interface.
41153         * locale/programs/ld-measurement.c (measurement_output): Likewise.
41154         * locale/programs/ld-messages.c (messages_output): Likewise.
41155         * locale/programs/ld-monetary.c (monetary_output): Likewise.
41156         * locale/programs/ld-name.c (name_output): Likewise.
41157         * locale/programs/ld-numeric.c (numeric_output): Likewise.
41158         * locale/programs/ld-paper.c (paper_output): Likewise.
41159         * locale/programs/ld-telephone.c (telephone_output): Likewise.
41160         * locale/programs/ld-time.c (time_output): Likewise.
41162 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41164         * benchtests/Makefile: Add memrchr benchmark.
41165         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
41166         benchmark as memrchr.
41167         * benchtests/bench-memrchr-ifunc.c: New file.
41168         * benchtests/bench-memrchr.c: New file.
41170 2013-09-06   Will Newton  <will.newton@linaro.org>
41172         * benchtests/Makefile (string-bench): Add memcpy.
41174 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
41175             Cong Wang  <amwang@redhat.com>
41177         [BZ #15850]
41178         * sysdeps/unix/sysv/linux/bits/in.h
41179         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
41180         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
41181         before __USE_KERNEL_IPV6_DEFS uses.
41182         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
41183         IPPROTO_BEETPH.
41184         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
41185         sockaddr_in6, or ipv6_mreq.
41187 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41189         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
41190         memory access for final bytes in some large inputs.
41191         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
41193 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41195         * string/test-memrchr.c: New file.
41196         * string/test-memrchr-ifunc.c: New file.
41197         * string/Makefile: Add new memrchr testcase.
41199 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
41201         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
41202         fanotify_init returns EPERM.
41204 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41206         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
41207         errors.
41208         (top level): Treat second token from macro or constant entries for
41209         allowed headers as allowed.
41210         * include/complex.h: Condition internal declarations on
41211         [!_ISOMAC].
41212         * include/fenv.h: Condition include of <stdbool.h> and internal
41213         declarations on [!_ISOMAC].
41215 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
41217         [BZ #15923]
41218         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
41220 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41222         * configure.in (--enable-versioning): Remove configure option.
41223         (libc_cv_asm_symver_directive): Remove configure test.
41224         (libc_cv_ld_version_script_option): Likewise.
41225         (VERSIONING): Remove variable and AC_SUBST.
41226         (DO_VERSIONING): Remove AC_DEFINE.
41227         * configure: Regenerated.
41228         * config.h.in (DO_VERSIONING): Remove macro.
41229         * Makerules [$(versioning) = yes]: Change conditionals to
41230         [$(build-shared) = yes].
41231         * config.make.in (versioning): Remove variable.
41232         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
41233         [$(build-shared) = yes].
41234         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
41235         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
41236         * elf/Makefile [$(versioning) = yes]: Change conditionals to
41237         [$(build-shared) = yes].
41238         * extra-lib.mk [$(versioning) = yes]: Likewise.
41239         * hurd/Makefile [$(versioning) = yes]: Likewise.
41240         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
41241         [SHARED].
41242         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
41243         [SHARED].
41244         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41245         [SHARED && !NO_HIDDEN].
41246         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
41247         [SHARED].
41248         [SHARED && DO_VERSIONING]: Likewise..
41249         * libio/Makefile [$(versioning) = yes]: Change conditionals to
41250         [$(build-shared) = yes].
41251         * manual/install.texi (--disable-versioning): Remove
41252         documentation.
41253         * INSTALL: Regenerated.
41254         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
41255         to [SHARED].
41256         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
41257         [$(build-shared) = yes].
41258         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
41259         * sysdeps/i386/i686/multiarch/strstr-c.c
41260         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41261         [SHARED && !NO_HIDDEN].
41262         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
41263         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
41264         * sysdeps/powerpc/powerpc32/dl-machine.c
41265         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
41266         * sysdeps/powerpc/powerpc32/sysdep.h
41267         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
41268         to [SHARED && PIC && !NO_HIDDEN].
41269         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
41270         conditional to [SHARED].
41272 2013-09-04   Will Newton  <will.newton@linaro.org>
41274         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
41275         * benchtests/bench-string.h: Include bench-timing.h instead
41276         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
41277         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
41278         call to HP_TIMING_DIFF_INIT.
41279         * benchtests/bench-memccpy.c: Use bench-timing.h macros
41280         instead of hp-timing.h macros.
41281         * benchtests/bench-memchr.c: Likewise.
41282         * benchtests/bench-memcmp.c: Likewise.
41283         * benchtests/bench-memcpy.c: Likewise.
41284         * benchtests/bench-memmem.c: Likewise.
41285         * benchtests/bench-memmove.c: Likewise.
41286         * benchtests/bench-memset.c: Likewise.
41287         * benchtests/bench-rawmemchr.c: Likewise.
41288         * benchtests/bench-strcasecmp.c: Likewise.
41289         * benchtests/bench-strcasestr.c: Likewise.
41290         * benchtests/bench-strcat.c: Likewise.
41291         * benchtests/bench-strchr.c: Likewise.
41292         * benchtests/bench-strcmp.c: Likewise.
41293         * benchtests/bench-strcpy.c: Likewise.
41294         * benchtests/bench-strcpy_chk.c: Likewise.
41295         * benchtests/bench-strlen.c: Likewise.
41296         * benchtests/bench-strncasecmp.c: Likewise.
41297         * benchtests/bench-strncat.c: Likewise.
41298         * benchtests/bench-strncmp.c: Likewise.
41299         * benchtests/bench-strncpy.c: Likewise.
41300         * benchtests/bench-strnlen.c: Likewise.
41301         * benchtests/bench-strpbrk.c: Likewise.
41302         * benchtests/bench-strrchr.c: Likewise.
41303         * benchtests/bench-strspn.c: Likewise.
41304         * benchtests/bench-strstr.c: Likewise.
41306 2013-09-04  Will Newton  <will.newton@linaro.org>
41308         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
41310 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
41312         [BZ #15427]
41313         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
41314         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
41315         * math/libm-test.inc (lgamma_test_data): Add more tests.
41316         * sysdeps/i386/fpu/libm-test-ulps: Update.
41317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41319 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
41321         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41323         Add ifunc.
41324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41325         Add strcmp-sse2-unaligned
41326         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41328 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41330         * Versions.def (libc): Add GLIBC_2.19.
41332 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41334         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41335         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41337 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
41339         [BZ #14155]
41340         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41341         intermediate calculations in recurrence.
41342         (__ieee754_ynf): Likewise.
41343         * math/libm-test.inc (jn_test_data): Do not allow spurious
41344         underflow exception.  Add more tests.
41345         (yn_test_data): Add more tests.
41346         * sysdeps/i386/fpu/libm-test-ulps: Update.
41347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41349 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
41351         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41353 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41355         * csu/init-first.c: Fix then/than typos.
41356         * locale/programs/ld-collate.c: Likewise.
41357         * locale/programs/linereader.h: Likewise.
41358         * manual/charset.texi: Likewise.
41359         * manual/filesys.texi: Likewise.
41360         * manual/stdio.texi: Likewise.
41361         * manual/string.texi: Likewise.
41362         * stdlib/fmtmsg.c: Likewise.
41363         * sysdeps/i386/stpncpy.S: Likewise.
41364         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41365         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41366         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41367         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41369 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41371         * elf/dl-open.c: Fix typos.
41372         * iconvdata/gbbig5.c: Likewise.
41373         * iconvdata/iso-2022-jp.c: Likewise.
41374         * iconv/gconv_int.h: Likewise.
41375         * iconv/loop.c: Likewise.
41376         * nis/rpcsvc/nis.h: Likewise.
41377         * resolv/ns_name.c: Likewise.
41378         * stdio-common/vfscanf.c: Likewise.
41379         * streams/stropts.h: Likewise.
41380         * sunrpc/rpc_thread.c: Likewise.
41381         * sysdeps/i386/strpbrk.S: Likewise.
41382         * sysdeps/ieee754/k_standard.c: Likewise.
41383         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41384         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41385         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
41386         * sysdeps/mach/hurd/profil.c: Likewise.
41387         * sysdeps/s390/dl-procinfo.h: Likewise.
41388         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
41389         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41390         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
41391         * sysdeps/x86_64/dl-trampoline.S: Likewise.
41392         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41394 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
41396         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
41397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
41399 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
41401         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
41402         aix specific files.
41403         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
41404         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
41405         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
41406         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41407         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41408         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41409         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41410         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41412 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41413             Roland McGrath  <roland@hack.frob.com>
41415         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41416         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41418 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41420         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41421         __executable_start symbol instead of _start.
41423 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41425         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41426         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41427         Move macros to...
41428         * sysdeps/gnu/ldsodefs.h: ... this new file.
41430         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41431         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41432         instead of ELFOSABI_LINUX.
41434         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41435         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41436         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41437         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41438         Likewise.
41439         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41440         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41441         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41442         Likewise.
41443         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41444         (ibm_extended_long_double): Add ieee_nan member.
41445         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41446         (do_test): New function.
41448         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41449         TEST_TRUNC.
41450         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41451         functions, renamed from truncdfsf_test, trunctfsf_test,
41452         trunctfdf_test.
41453         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41454         functions.
41455         (do_test): Run all these.
41457 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41459         * argp/argp-help.c: Fix typos.
41460         * argp/argp-parse.c: Likewise.
41461         * debug/backtracesyms.c: Likewise.
41462         * elf/elf.h: Likewise.
41463         * malloc/malloc.c: Likewise.
41464         * nis/nis_print.c: Likewise.
41465         * resolv/res_comp.c: Likewise.
41466         * stdlib/stdlib.h: Likewise.
41467         * sunrpc/clnt_tcp.c: Likewise.
41468         * sunrpc/clnt_udp.c: Likewise.
41469         * sunrpc/clnt_unix.c: Likewise.
41470         * sysdeps/unix/bsd/ptsname.c: Likewise.
41471         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41472         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41474         Likewise.
41475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41476         Likewise.
41477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41478         Likewise.
41479         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41481 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41483         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41484         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41486 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41488         [BZ #15897]
41489         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41490         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41491         ($(objpfx)bug-dl-leaf): New rule.
41492         ($(objpfx)bug-dl-leaf.so): Likewise.
41493         ($(objpfx)bug-dl-leaf.out): Likewise.
41494         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41495         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41496         * dlfcn/bug-dl-leaf.c: New test.
41497         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41498         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41499         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41500         (dlclose): Likewise.
41501         (dlmopen): Likewise.
41503 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41505         * include/netdb.h [!_ISOMAC]:
41506         Don't include <tls.h>.
41507         (h_errno, __libc_h_errno): Move declaration and macros out of
41508         [_LIBC_REENTRANT].
41510         * include/resolv.h [_RESOLV_H_]:
41511         Don't include <tls.h>.
41512         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41513         * resolv/res_libc.c: Don't include <tls.h>.
41514         (_res): Use __attribute__ ((nocommon)) in place of
41515         __attribute__ ((section (".bss"))).
41517         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41518         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41520         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41522         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41523         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41525         * resolv/res_mkquery.c: Include <sys/time.h>.
41527         * inet/ifreq.c: Moved to ...
41528         * sysdeps/unix/ifreq.c: ... here.
41529         * inet/ifreq.c: New file, true stub version.
41531         * socket/sa_len.c: New file.
41532         * socket/Makefile (aux): Add it.
41533         * sysdeps/unix/sysv/linux/Makefile
41534         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41535         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41536         and #include <socket/sa_len.c>.
41537         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41538         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41540         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41541         * bits/socket.h: ... here.
41543         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41544         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41545         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41547 2013-08-27  Andreas Schwab  <schwab@suse.de>
41549         [BZ #15736]
41550         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41551         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41552         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41553         * string/test-strcasecmp.c (test_main): Run tests in several
41554         locales.
41555         * string/test-strncasecmp.c (test_main): Likewise.
41557         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41558         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41559         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41560         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41561         (__strncasecmp_ssse3) [PIC]: Likewise.
41563 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41565         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41567         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41568         instead of explicitly declaring xdecrypt.
41569         * nis/nss_nis/nis-publickey.c: Likewise.
41571 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41573         [BZ #15890]
41574         * nscd/aicache.c: Include res_hconf.h.
41575         (addhstaiX): Initialize res_hconf.
41577 2013-08-26  Andreas Schwab  <schwab@suse.de>
41579         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41580         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41582 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41584         * nscd/aicache.c (addhstaiX): Fix indentation.
41586 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41588         * configure.ac: Quote $build_pt_chown test.
41589         * configure: Regenerated.
41591 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41593         [BZ #15532]
41594         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41595         * math/s_cexpf.c (__cexpf): Likewise.
41596         * math/s_cexpl.c (__cexpl): Likewise.
41597         * math/libm-test.inc (cexp_test_data): Correct expected return
41598         value for NaN + i0.  Add another test.
41600 2013-08-22  David S. Miller  <davem@davemloft.net>
41602         * po/ca.po: Update Catalan translation from translation project.
41603         * po/uk.po: Add Ukrainian translations from translation project.
41605 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41607         [BZ #15797]
41608         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41609         is infinite, not alongside NaN test.
41610         * math/s_fdimf.c (__fdimf): Likewise.
41611         * math/s_fdiml.c (__fdiml): Likewise.
41612         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41613         errno is unchanged.
41615 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41617         * argp/argp-help.c: Fix typos.
41618         * crypt/speeds.c: Likewise.
41619         * csu/check_fds.c: Likewise.
41620         * elf/dl-load.c: Likewise.
41621         * elf/dl-open.c: Likewise.
41622         * elf/reldep3.c: Likewise.
41623         * elf/reldep.c: Likewise.
41624         * elf/sprof.c: Likewise.
41625         * iconv/iconv_charmap.c: Likewise.
41626         * iconv/skeleton.c: Likewise.
41627         * iconv/strtab.c: Likewise.
41628         * io/lockf64.c: Likewise.
41629         * libio/libioP.h: Likewise.
41630         * resolv/gai_notify.c: Likewise.
41631         * resolv/ns_name.c: Likewise.
41632         * resolv/ns_samedomain.c: Likewise.
41633         * resolv/res_send.c: Likewise.
41634         * stdlib/random.c: Likewise.
41635         * sunrpc/rpc/xdr.h: Likewise.
41636         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41637         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41638         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41639         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41640         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41641         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41642         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41643         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41644         * sysdeps/mach/hurd/check_fds.c: Likewise.
41645         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41646         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41648         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41649         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41650         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41651         * sysdeps/pthread/aio_notify.c: Likewise.
41652         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41653         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41654         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41655         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41656         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41658 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41660         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41661         version if bit_Slow_SSE4_2 is set.
41662         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41663         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41665 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41667         [BZ #15867]
41668         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41669         trampoline stack frame information.
41670         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41671         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41672         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41673         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41674         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41675         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41676         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41677         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41678         sa_flags value.
41679         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41680         interrupting a syscall and set with option SA_SIGINFO.
41682 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41684         [BZ #15531]
41685         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41686         argument is infinite.
41687         * math/s_cprojf.c (__cprojf): Likewise.
41688         * math/s_cprojl.c (__cprojl): Likewise.
41689         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41690         * math/libm-test.inc (cproj_test_data): Add more tests.
41692         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41694         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41695         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41696         size.  Use __ffs to determine corresponding shift.
41698 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41699             Roland McGrath  <roland@hack.frob.com>
41701         * Makefile (INSTALL): Remove trailing blank lines from output of
41702         makeinfo.
41704 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41706         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41707         Align 32 bit compat elf_greg to 8 bytes.
41709 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41711         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41713 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41715         * string/strcoll_l.c (coll_seq): New structure.
41716         (get_next_seq_cached): New function.
41717         (get_next_seq): New function.
41718         (do_compare): New function.
41719         (STRCOLL): Use GNU style definition.  Simplify implementation
41720         by using get_next_seq, get_next_seq_cached and do_compare.
41722 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41724         [BZ #14699]
41725         CVE-2013-4237
41726         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41727         member.
41728         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41729         member.
41730         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41731         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41732         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41733         conditional.
41734         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41735         GETDENTS_64BIT_ALIGNED.
41736         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41737         * manual/filesys.texi (Reading/Closing Directory): Document
41738         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41739         strongly.
41740         * manual/conf.texi (Limits for Files): Add portability note to
41741         NAME_MAX, PATH_MAX.
41742         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41744 2013-08-13  Andreas Schwab  <schwab@suse.de>
41746         [BZ #15749]
41747         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41748         of fabs.
41749         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41750         LDBL_MAX_EXP >= 16384]: Add tests for it.
41752 2013-08-12  David S. Miller  <davem@davemloft.net>
41754         * version.h (RELEASE): Set to "development".
41755         (VERSION): Set to "2.18.90".
41756         * NEWS: Add 2.19 section.
41758 2013-08-03  David S. Miller  <davem@davemloft.net>
41760         * po/ko.po: Update Korean translation from translation project.
41762 2013-08-01  David S. Miller  <davem@davemloft.net>
41764         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41765         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41766         Bilka.
41768 2013-07-30  David S. Miller  <davem@davemloft.net>
41770         * po/fr.po: Update French translation from translation project.
41772 2013-07-28  David S. Miller  <davem@davemloft.net>
41774         * po/cs.po: Update Czech translation from translation project.
41776         * po/sv.po: Update Swedish translation from translation project.
41778 2013-07-27  David S. Miller  <davem@davemloft.net>
41780         * po/eo.po: Update Esperanto translation from translation project.
41782         * po/vi.po: Update Vietnamese translation from translation project.
41784         * po/de.po: Update German translation from translation project.
41786 2013-07-26  David S. Miller  <davem@davemloft.net>
41788         * po/bg.po: Update Bulgarian translation from translation project.
41790         * po/nl.po: Update Dutch translation from translation project.
41791         * po/pl.po: Update Polish translation from translation project.
41792         * po/ru.po: Update Russian translation from translation project.
41794 2013-07-24  David S. Miller  <davem@davemloft.net>
41796         * po/libc.pot: Update.
41798 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41800         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41801         variable page size.
41802         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41803         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41804         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41806 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41808         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41810 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41811             Andreas Schwab  <schwab@suse.de>
41812             Roland McGrath  <roland@hack.frob.com>
41813             Joseph Myers  <joseph@codesourcery.com>
41814             Carlos O'Donell  <carlos@redhat.com>
41816         [BZ #15755]
41817         * config.h.in: Define HAVE_PT_CHOWN.
41818         * config.make.in (build-pt-chown): New variable.
41819         * configure.in (--enable-pt_chown): New configure option.
41820         * configure: Regenerate.
41821         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41822         build-pt-chown is enabled.
41823         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41824         pt_chown to fix pty ownership.
41825         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41826         CLOSE_ALL_FDS.
41827         * manual/install.texi (Configuring and compiling): Mention
41828         --enable-pt_chown. Add @findex for grantpt.
41829         * INSTALL: Regenerate.
41831 2013-07-20  David S. Miller  <davem@davemloft.net>
41833         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41834         difference between 32-bit and 64-bit.
41836 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41838         [BZ #15711]
41839         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41840         Avoid system header dependency with -ffreestanding.
41841         ($(objpfx)bits/syscall%d): Likewise.
41843 2013-07-13  David S. Miller  <davem@davemloft.net>
41845         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41846         underflows from atanl/atan2l due to bug 15319.
41847         (casinh_test_data): Likewise.
41849 2013-07-07  David S. Miller  <davem@davemloft.net>
41851         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41853 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41855         * sysdeps/i386/fpu/libm-test-ulps: Update.
41856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41858 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41860         * configure.in (--enable-lock-elision): Fix message text.
41861         * INSTALL: Regenerate.
41862         * configure: Regenerate.
41864 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41868 2013-07-03  Andreas Jaeger  <aj@suse.de>
41870         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41871         define.
41872         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41873         (ptrace_peeksiginfo_args): Add.
41874         (__ptrace_peeksiginfo_flags): Add.
41875         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41876         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41877         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41879 2013-07-03  Allan McRae  <allan@archlinux.org>
41881         * sysdeps/i386/fpu/libm-test-ulps: Update.
41883 2013-07-02  David S. Miller  <davem@davemloft.net>
41885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41887 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41891 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41893         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41896 2013-07-02  Andi Kleen <ak@linux.intel.com>
41898         * config.h.in (ENABLE_LOCK_ELISION): Add.
41899         * configure.in (--enable-lock-elision): Add option.
41900         * manual/install.texi: Document --enable lock elision.
41901         * configure: Regenerate
41902         * INSTALL: Regenerate.
41904 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41906         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41907         SSE4.2 strcasecmp for libc.a.
41908         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41910 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41912         [BZ #13304]
41913         * soft-fp/op-common.h (_FP_FMA): New macro.
41914         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41915         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41916         (_FP_MUL_MEAT_1_imm): ... here.
41917         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41918         (_FP_MUL_MEAT_1_wide): ... here.
41919         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41920         (_FP_MUL_MEAT_1_hard): ... here.
41921         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41922         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41923         (_FP_MUL_MEAT_2_wide): ... here.
41924         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41925         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41926         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41927         (_FP_MUL_MEAT_2_gmp): ... here.
41928         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41929         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41930         (_FP_MUL_MEAT_4_wide): ... here.
41931         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41932         (_FP_MUL_MEAT_4_gmp): ... here.
41933         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41934         (_FP_WFRACBITS_DW_S): Likewise.
41935         (_FP_WFRACXBITS_DW_S): Likewise.
41936         (_FP_HIGHBIT_DW_S): Likewise.
41937         (FP_FMA_S): Likewise.
41938         (_FP_FRAC_HIGH_DW_S): Likewise.
41939         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41940         (_FP_WFRACBITS_DW_D): Likewise.
41941         (_FP_WFRACXBITS_DW_D): Likewise.
41942         (_FP_HIGHBIT_DW_D): Likewise.
41943         (FP_FMA_D): Likewise.
41944         (_FP_FRAC_HIGH_DW_D): Likewise.
41945         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41946         (_FP_WFRACBITS_DW_E): Likewise.
41947         (_FP_WFRACXBITS_DW_E): Likewise.
41948         (_FP_HIGHBIT_DW_E): Likewise.
41949         (FP_FMA_E): Likewise.
41950         (_FP_FRAC_HIGH_DW_E): Likewise.
41951         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41952         (_FP_WFRACBITS_DW_Q): Likewise.
41953         (_FP_WFRACXBITS_DW_Q): Likewise.
41954         (_FP_HIGHBIT_DW_Q): Likewise.
41955         (FP_FMA_Q): Likewise.
41956         (_FP_FRAC_HIGH_DW_Q): Likewise.
41957         * soft-fp/fmasf4.c: New file.
41958         * soft-fp/fmadf4.c: Likewise.
41959         * soft-fp/fmatf4.c: Likewise.
41961 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41964         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41965         Silvermont.
41966         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41967         macro.
41968         (index_Slow_SSE4_2): Likewise.
41969         (index_Prefer_PMINUB_for_stringop): Likewise.
41970         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41971         bit_Slow_SSE4_2 is set.
41972         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41973         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41975 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41977         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41978         rtld_global._dl_hwcap2.
41979         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41980         POWER8.
41981         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41982         POWER8 feature descriptions defined in _dl_hwcap2.
41983         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41984         string handling for POWER8 feature bits.
41985         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41986         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41987         _dl_powerpc_cap_flags.
41988         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41989         * sysdeps/powerpc/rtld-global-offsets.sym
41990         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41991         _dl_hwcap2 in the rtld_global_ro structure.
41993 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41995         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41996         hardware capabilities in support of AT_HWCAP2.
41997         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41998         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41999         GLRO(dl_hwcap2).
42000         (_dl_show_auxv): Add support for calling _dl_procinfo to display
42001         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
42002         explicitly the unknown a_type display mechanism is used.
42003         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
42004         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
42005         struct member.
42006         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
42007         to macro prototype for AT_HWCAP2 support.
42008         * sysdeps/i386/dl-procinfo.h: Likewise.
42009         * sysdeps/s390/dl-procinfo.h: Likewise.
42010         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
42011         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
42012         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
42013         return -1 for unknown a_type display fallback.
42014         * sysdeps/sparc/dl-procinfo.h: Likewise.
42015         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
42016         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
42018 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
42020         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
42021         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
42023 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
42025         [BZ #12492]
42026         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
42027         mprotect making __stack_prot writable.
42029 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
42030             Joseph Myers  <joseph@codesourcery.com>
42032         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
42033         as being properly aligned.
42035 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
42037         * dlfcn/modstatic5.c: New file.
42038         * dlfcn/tststatic5.c: New file.
42039         * dlfcn/Makefile (tests): Add tststatic5.
42040         (tests-static): Likewise.
42041         (modules-names): Add modstatic5.
42042         (tststatic5-ENV): New variable.
42043         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
42045         [BZ #15022]
42046         * elf/dl-support.c (_dl_main_map): New variable.
42047         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
42048         (_dl_nns, _dl_load_adds): Set to 1.
42049         (_dl_initial_searchlist): Refer to _dl_main_map.
42050         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
42051         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
42052         call to _dl_get_origin.
42053         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
42054         around call_map.
42055         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
42056         * dlfcn/modstatic3.c: New file.
42057         * dlfcn/tststatic3.c: New file.
42058         * dlfcn/tststatic4.c: New file.
42059         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
42060         (tests-static): Likewise.
42061         (modules-names): Add modstatic3.
42062         (tststatic3-ENV, tststatic4-ENV): New variables.
42063         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
42064         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
42066 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
42068         * configure.in (CC): Require GCC version 4.4 or later.
42069         * configure: Regenerated.
42070         * manual/install.texi (Tools for Compilation): Update GCC version
42071         requirement.
42072         * INSTALL: Regenerated.
42074 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42076         [BZ #15674]
42077         * string/test-memcmp.c (check2): New.
42078         (main): Call check2.
42080         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
42082 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
42084         [BZ #15022]
42085         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
42086         over to...
42087         (dl_open_worker) [!SHARED]: ... here.
42089 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42091         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
42093 2013-06-25  Richard Henderson  <rth@redhat.com>
42095         * locale/programs/locarchive.c: Include <libc-internal.h>
42097 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
42099         * manual/texinfo.tex: Update to version 2013-06-21.17, with
42100         trailing whitespace removed.
42102 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42104         [BZ #10283]
42105         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
42106         * locale/programs/locarchive.c: Include libc-mmap.h.
42107         (prepare_address_space): Take two new outputs (the mmap base and len).
42108         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
42109         values.
42110         (create_archive): Declare new mmap base and len values for
42111         prepare_address_space, and store the result in ah.
42112         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
42113         (enlarge_archive): If ah->mmap_base is not NULL, use that and
42114         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42115         Declare new mmap base and len values for
42116         prepare_address_space, and store the result in new_ah.
42117         (open_archive): Declare new mmap base and len values for
42118         prepare_address_space, and store the result in ah.
42119         (close_archive): If ah->mmap_base is not NULL, use that and
42120         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42121         * sysdeps/generic/libc-mmap.h: New file.
42123 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42125         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
42126         (ALIGN_UP): Likewise.
42127         (PTR_ALIGN_DOWN): Likewise.
42128         (PTR_ALIGN_UP): Likewise.
42130 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42132         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
42133         entry mapped to PPC_PLATFORM_POWER8.
42134         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
42135         POWER8.
42136         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
42137         (_dl_string_platform): Add case for exporting platform position for
42138         POWER8.
42139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
42140         search path to sysdeps/powerpc/powerpc32/power8 directory.
42141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
42142         search path to sysdeps/powerpc/powerpc64/power8 directory.
42143         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
42144         power7 directories.
42145         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
42146         power7 directories.
42148 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42150         * INSTALL: Regenerate.
42152         * nscd/connections.c (nscd_init): Fix comment.
42154 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
42156         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
42158         [BZ #15667]
42159         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
42160         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
42162 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42164         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
42165         DL_DST_REQ_STATIC.
42166         (DL_DST_REQ_STATIC): Remove macro.
42168 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
42170         [BZ #7006]
42171         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
42172         with a shift of 0 bits.
42174 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42176         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
42177         $(tststatic-ENV).
42179 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42181         [BZ #15655]
42182         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
42184 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42186         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
42187         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
42188         accepts -fno-tree-loop-distribute-patterns.
42189         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
42190         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
42191         recursive call.
42192         * string/memset.c (memset): Likewise.
42193         * string/test-memmove.c (simple_memmove): Disable loop transformation
42194         to library calls.
42195         * string/test-memset.c (simple_memset): Likewise.
42196         * benchtests/bench-memmove.c (simple_memmove): Likewise.
42197         * benchtests/bench-memset.c (simple_memset): Likewise.
42198         * configure: Regenerated.
42200 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
42202         * math/test-misc.c (main): Ignore fesetround failure when failures
42203         of subsequent rounding tests would be ignored.
42205         [BZ #15654]
42206         * math/fedisblxcpt.c (fedisableexcept): Return 0.
42207         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
42208         * math/fegetenv.c (__fegetenv): Return 0.
42209         * math/fegetexcept.c (fegetexcept): Return 0.
42210         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
42211         FE_TONEAREST.
42212         * math/feholdexcpt.c (feholdexcept): Return 0.
42213         * math/fesetenv.c (__fesetenv): Return 0.
42214         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
42215         argument FE_TONEAREST.
42216         * math/feupdateenv.c (__feupdateenv): Return 0.
42217         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
42219 2013-06-18  Roland McGrath  <roland@hack.frob.com>
42221         * elf/rtld-Rules (rtld-compile-command.S): New variable.
42222         (rtld-compile-command.s, rtld-compile-command.c): New variables.
42223         ($(objpfx)rtld-%.os rules): Use them.
42225 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42227         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
42228         fields.
42230 2013-06-17  Roland McGrath  <roland@hack.frob.com>
42232         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
42233         length of target pattern, then descending length of dependency pattern.
42234         * configure.in (AWK): Require gawk 3.1.2 or newer.
42235         * manual/install.texi (Tools for Compilation): Say that we do.
42236         * configure: Regenerated.
42238         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
42239         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
42240         * scripts/sysd-rules.awk: ... this new script.
42241         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
42242         than a glob-style pattern.
42244 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
42246         * math/test-misc.c (main): Do not treat incorrectly rounded
42247         conversions as failure unless ROUNDING_TESTS passes.
42249 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
42251         [BZ #15631]
42252         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
42253         restore exception state around main square root computation, then
42254         check for inexactness explicitly.
42256         * math/libm-test.inc (fma_test_data): Add another test.
42258 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42260         * manual/threads.texi (Non-POSIX Extensions): New document
42261         node.  Document pthread_getattr_default_np and
42262         pthread_setattr_default_np.
42264         * Versions.def (libpthread): Add GLIBC_2.18.
42265         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
42266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42267         Likewise.
42268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42269         Likewise.
42270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42271         Likewise.
42272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42273         Likewise.
42274         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
42275         Likewise.
42276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42277         Likewise.
42278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42279         Likewise.
42280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42281         Likewise.
42282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42283         Likewise.
42285 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42288         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
42290 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42291             H.J. Lu  <hjl.tools@gmail.com>
42293         [BZ #15627]
42294         * sysdeps/x86_64/rtld-memset.c: Remove file.
42295         * sysdeps/x86_64/rtld-memset.S: New file.
42297 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
42299         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
42300         (test_in_one_mode): Take arguments for whether the rounding mode
42301         is supported for each floating-point type.
42302         (do_test): Pass new arguments to test_in_one_mode using
42303         ROUNDING_TESTS.
42305 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42307         * posix/tst-waitid.c (do_test): Distinguish different instances of
42308         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
42309         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
42310         before entering the kernel for waitpid.
42312 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42314         * NEWS: Fix note on clock function precision.  Text by Roland
42315         McGrath.
42317 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42319         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
42320         it into place only when and if the sanity check passes.
42322 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
42324         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42325         output for whether conversion result is exact.  Take argument
42326         indicating whether type is IBM long double.
42327         (round_for_all): Change need_exact field to ibm_ld.
42328         * stdlib/tst-strtod-round.c (struct exactness): New type.
42329         (struct test): Change bool ld_ok field to struct exactness exact.
42330         (TEST): Update all definitions for change to field.
42331         (tests): Regenerate array contents.
42332         (test_in_one_mode): Take pointer to new field instead of old ld_ok
42333         field value.  Check for IBM long double here.
42334         (do_test): Update calls to test_in_one_mode.
42336 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42338         [BZ #12515]
42339         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42340         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42342 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42344         [BZ #15605]
42345         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42346         generated by the compiler on loop optimizations.
42347         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42348         general definitions.
42350 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
42352         * math/bug-nextafter.c: Include <math-tests.h>.
42353         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42354         the relevant type.
42355         * math/bug-nexttoward.c: Include <math-tests.h>.
42356         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42357         the relevant type.
42358         * math/test-misc.c: Include <math-tests.h>.
42359         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42360         the relevant type.
42362 2013-06-12  Andreas Jaeger  <aj@suse.de>
42364         * po/ia.po: Update Interlingua translation from translation
42365         project.
42367 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42369         * include/fenv.h: Include stdbool.h.
42370         (struct rm_ctx): New structure.
42371         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
42372         Define macro.
42373         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
42374         (SET_RESTORE_ROUNDF): Likewise.
42375         (SET_RESTORE_ROUNDL): Likewise.
42376         (SET_RESTORE_ROUND_NOEX): Likewise.
42377         (SET_RESTORE_ROUND_NOEXF): Likewise.
42378         (SET_RESTORE_ROUND_NOEXL): Likewise.
42379         (SET_RESTORE_ROUND_53BIT): Likewise.
42380         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
42381         (libc_feresetround_noexf_ctx): Likewise.
42382         (libc_feresetround_noexl_ctx): Likewise.
42383         (libc_feholdsetround_53bit_ctx): Likewise.
42384         (libc_feresetround_53bit_ctx): Likewise.
42385         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
42386         (libc_feholdexcept_setround_sse_ctx): New function.
42387         (libc_fesetenv_sse_ctx): Likewise.
42388         (libc_feupdateenv_sse_ctx): Likewise.
42389         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
42390         (libc_feholdexcept_setround_387_ctx): Likewise.
42391         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
42392         (libc_feholdsetround_387_prec_ctx): Likewise.
42393         (libc_feholdsetround_387_ctx): Likewise.
42394         (libc_feholdsetround_387_53bit_ctx): Likewise.
42395         (libc_feholdsetround_sse_ctx): Likewise.
42396         (libc_feresetround_sse_ctx): Likewise.
42397         (libc_feresetround_387_ctx): Likewise.
42398         (libc_feupdateenv_387_ctx): Likewise.
42399         (libc_feholdexcept_setroundf_ctx): Define macro.
42400         (libc_fesetenvf_ctx): Likewise.
42401         (libc_feupdateenvf_ctx): Likewise.
42402         (libc_feholdsetroundf_ctx): Likewise.
42403         (libc_feresetroundf_ctx): Likewise.
42404         (libc_feholdexcept_setround_ctx): Likewise.
42405         (libc_fesetenv_ctx): Likewise.
42406         (libc_feupdateenv_ctx): Likewise.
42407         (libc_feholdsetround_ctx): Likewise.
42408         (libc_feresetround_ctx): Likewise.
42409         (libc_feholdexcept_setroundl_ctx): Likewise.
42410         (libc_feupdateenvl_ctx): Likewise.
42411         (libc_feholdsetroundl_ctx): Likewise.
42412         (libc_feresetroundl_ctx): Likewise.
42413         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42414         (libc_feresetround_53bit_ctx): Likewise.
42416 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42418         * locale/iso-639.def: Convert to UTF-8.
42420 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
42422         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42423         (EXCEPTION_TESTS_double): Likewise.
42424         (EXCEPTION_TESTS_long_double): Likewise.
42425         (EXCEPTION_TESTS): Likewise.
42426         * math/libm-test.inc (test_exceptions): Only test exceptions if
42427         EXCEPTION_TESTS (FLOAT).
42429 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42431         * benchtests/Makefile (string-bench): Add strcpy_chk and
42432         stpcpy_chk.
42433         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42434         * benchtests/bench-stpcpy_chk.c: New file.
42435         * benchtests/bench-strcpy_chk-ifunc.c: New file.
42436         * benchtests/bench-strcpy_chk.c: New file.
42437         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42438         code.
42439         (do_test): Likewise.
42441 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42443         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42444         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42445         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42446         with tabs where appropriate.
42447         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42448         dl-procinfo.h.
42449         [PPC_PLATFORM_PPC440]: Likewise.
42450         [PPC_PLATFORM_PPC464]: Likewise.
42451         [PPC_PLATFORM_PPC476]: Likewise.
42452         (_dl_string_platform): Add support for detecting ppc405, ppc440,
42453         ppc464, and ppc476 platform strings merging from ports/
42454         dl-procinfo.h.
42456 2013-06-11  Andreas Schwab  <schwab@suse.de>
42458         [BZ #14991]
42459         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42460         (from_ucs4_idx): Regenerate.
42461         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42462         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42463         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42464         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42465         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42466         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42467         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42468         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42469         from FROM_LOOP and TO_LOOP specific macros.
42470         (BODY): Handle combining characters.
42471         * iconvdata/BIG5HKSCS.irreversible: Update.
42472         * iconvdata/BIG5HKSCS.precomposed: New file.
42473         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42474         characters.
42475         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42477 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42479         * include/sys/time.h: Fix indentation and add copyright header.
42481         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42482         (do_test): Likewise.
42483         * string/test-memchr.c (do_one_test): Likewise.
42484         (do_test): Likewise.
42485         * string/test-memcmp.c (do_one_test): Likewise.
42486         (do_test): Likewise.
42487         * string/test-memcpy.c (do_one_test): Likewise.
42488         (do_test): Likewise.
42489         * string/test-memmem.c (do_one_test): Likewise.
42490         (do_test): Likewise.
42491         (do_random_tests): Likewise.
42492         * string/test-memmove.c (do_one_test): Likewise.
42493         (do_test): Likewise.
42494         * string/test-memset.c (do_one_test): Likewise.
42495         (do_test): Likewise.
42496         * string/test-rawmemchr.c (do_one_test): Likewise.
42497         (do_test): Likewise.
42498         * string/test-strcasecmp.c (do_one_test): Likewise.
42499         (do_test): Likewise.
42500         * string/test-strcasestr.c (do_one_test): Likewise.
42501         (do_test): Likewise.
42502         * string/test-strcat.c (do_one_test): Likewise.
42503         (do_test): Likewise.
42504         * string/test-strchr.c (do_one_test): Likewise.
42505         (do_test): Likewise.
42506         * string/test-strcmp.c (do_one_test): Likewise.
42507         (do_test): Likewise.
42508         * string/test-strcpy.c (do_one_test): Likewise.
42509         (do_test): Likewise.
42510         * string/test-string.h: Likewise.
42511         (test_init): Likewise.
42512         * string/test-strlen.c (do_one_test): Likewise.
42513         (do_test): Likewise.
42514         * string/test-strncasecmp.c (do_one_test): Likewise.
42515         (do_test): Likewise.
42516         * string/test-strncat.c (do_one_test): Likewise.
42517         (do_test): Likewise.
42518         * string/test-strncmp.c (do_one_test): Likewise.
42519         (do_test_limit): Likewise.
42520         (do_test): Likewise.
42521         * string/test-strncpy.c (do_one_test): Likewise.
42522         (do_test): Likewise.
42523         * string/test-strnlen.c (do_one_test): Likewise.
42524         (do_test): Likewise.
42525         * string/test-strpbrk.c (do_one_test): Likewise.
42526         (do_test): Likewise.
42527         * string/test-strrchr.c (do_one_test): Likewise.
42528         (do_test): Likewise.
42529         * string/test-strspn.c (do_one_test): Likewise.
42530         (do_test): Likewise.
42531         * string/test-strstr.c (do_one_test): Likewise.
42532         (do_test): Likewise.
42534         * benchtests/Makefile (string-bench): Add string benchmarks.
42535         * benchtests/bench-bcopy-ifunc.c: New file.
42536         * benchtests/bench-bcopy.c: New file.
42537         * benchtests/bench-bzero-ifunc.c: New file.
42538         * benchtests/bench-bzero.c: New file.
42539         * benchtests/bench-memccpy-ifunc.c: New file.
42540         * benchtests/bench-memccpy.c: New file.
42541         * benchtests/bench-memchr-ifunc.c: New file.
42542         * benchtests/bench-memchr.c: New file.
42543         * benchtests/bench-memcmp-ifunc.c: New file.
42544         * benchtests/bench-memcmp.c: New file.
42545         * benchtests/bench-memmem-ifunc.c: New file.
42546         * benchtests/bench-memmem.c: New file.
42547         * benchtests/bench-memmove-ifunc.c: New file.
42548         * benchtests/bench-memmove.c: New file.
42549         * benchtests/bench-mempcpy-ifunc.c: New file.
42550         * benchtests/bench-mempcpy.c: New file.
42551         * benchtests/bench-memset-ifunc.c: New file.
42552         * benchtests/bench-memset.c: New file.
42553         * benchtests/bench-rawmemchr-ifunc.c: New file.
42554         * benchtests/bench-rawmemchr.c: New file.
42555         * benchtests/bench-stpcpy-ifunc.c: New file.
42556         * benchtests/bench-stpcpy.c: New file.
42557         * benchtests/bench-stpncpy-ifunc.c: New file.
42558         * benchtests/bench-stpncpy.c: New file.
42559         * benchtests/bench-strcasecmp-ifunc.c: New file.
42560         * benchtests/bench-strcasecmp.c: New file.
42561         * benchtests/bench-strcasestr-ifunc.c: New file.
42562         * benchtests/bench-strcasestr.c: New file.
42563         * benchtests/bench-strcat-ifunc.c: New file.
42564         * benchtests/bench-strcat.c: New file.
42565         * benchtests/bench-strchr-ifunc.c: New file.
42566         * benchtests/bench-strchr.c: New file.
42567         * benchtests/bench-strchrnul-ifunc.c: New file.
42568         * benchtests/bench-strchrnul.c: New file.
42569         * benchtests/bench-strcmp-ifunc.c: New file.
42570         * benchtests/bench-strcmp.c: New file.
42571         * benchtests/bench-strcpy-ifunc.c: New file.
42572         * benchtests/bench-strcpy.c: New file.
42573         * benchtests/bench-strcspn-ifunc.c: New file.
42574         * benchtests/bench-strcspn.c: New file.
42575         * benchtests/bench-strlen-ifunc.c: New file.
42576         * benchtests/bench-strlen.c: New file.
42577         * benchtests/bench-strncasecmp-ifunc.c: New file.
42578         * benchtests/bench-strncasecmp.c: New file.
42579         * benchtests/bench-strncat-ifunc.c: New file.
42580         * benchtests/bench-strncat.c: New file.
42581         * benchtests/bench-strncmp-ifunc.c: New file.
42582         * benchtests/bench-strncmp.c: New file.
42583         * benchtests/bench-strncpy-ifunc.c: New file.
42584         * benchtests/bench-strncpy.c: New file.
42585         * benchtests/bench-strnlen-ifunc.c: New file.
42586         * benchtests/bench-strnlen.c: New file.
42587         * benchtests/bench-strpbrk-ifunc.c: New file.
42588         * benchtests/bench-strpbrk.c: New file.
42589         * benchtests/bench-strrchr-ifunc.c: New file.
42590         * benchtests/bench-strrchr.c: New file.
42591         * benchtests/bench-strspn-ifunc.c: New file.
42592         * benchtests/bench-strspn.c: New file.
42593         * benchtests/bench-strstr-ifunc.c: New file.
42594         * benchtests/bench-strstr.c: New file.
42596         * benchtests/Makefile: Disable parallel execution of targets.
42597         (string-bench): Add memcpy.
42598         (benchset): New variable to store a list of benchmark sets.
42599         (bench-func): Renamed from bench.
42600         (bench-set): New target.
42601         (bench): Depend on bench-func and bench-set.
42602         * benchtests/README: Add section on benchmark sets.
42603         * benchtests/bench-memcpy-ifunc.c: New file.
42604         * benchtests/bench-memcpy.c: New file.
42605         * benchtests/bench-string.h: New file.
42607 2013-06-11  Andreas Schwab  <schwab@suse.de>
42609         [BZ #15577]
42610         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42611         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42612         values in the triple.
42613         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42614         terminator in the group key.
42616 2013-06-11  Andreas Jaeger  <aj@suse.de>
42618         * po/zh_TW.po: Update Chinese (traditional) translation from
42619         translation project.
42621 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42623         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42624         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42625         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42626         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42627         (clock_getcpuclockid): Likewise.
42628         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42629         Add weak_alias and libc_hidden_def.
42630         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42631         * rt/clock_gettime.c (clock_gettime): Rename to
42632         __clock_gettime.  Add weak_alias and libc_hidden_def.
42633         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42634         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42635         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42636         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42637         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42638         Likewise.
42639         * rt/clock_settime.c (clock_settime): Rename to
42640         __clock_settime.  Add weak_alias and libc_hidden_def.
42641         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42643 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42645         * mach/err_boot.sub: Remove trailing whitespace.
42646         * mach/err_ipc.sub: Likewise.
42647         * mach/err_mach.sub: Likewise.
42649         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42650         (ROUNDING_TESTS_double): Likewise.
42651         (ROUNDING_TESTS_long_double): Likewise.
42652         (ROUNDING_TESTS): Likewise.
42653         * math/libm-test.inc: Include <math-tests.h>.
42654         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42655         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42656         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42657         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42659 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42661         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42662         of assigning.
42664 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42666         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42667         otherwise empty TRANS lines.
42668         * sysdeps/gnu/errlist.c: Regenerated.
42670         * catgets/gencat.c (error_print): Use (void) in function
42671         definition.
42672         * crypt/crypt_util.c (__init_des): Likewise.
42673         * crypt/speeds.c (Stop): Likewise.
42674         (main): Likewise.
42675         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42676         * inet/ruserpass.c (token): Likewise.
42677         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42678         * intl/localealias.c (extend_alias_table): Likewise.
42679         * intl/plural-exp.c (init_germanic_plural): Likewise.
42680         * libio/fcloseall.c (__fcloseall): Likewise.
42681         * libio/genops.c (_IO_flush_all): Likewise.
42682         (_IO_flush_all_linebuffered): Likewise.
42683         (_IO_cleanup): Likewise.
42684         (_IO_iter_begin): Likewise.
42685         (_IO_iter_end): Likewise.
42686         (_IO_list_lock): Likewise.
42687         (_IO_list_unlock): Likewise.
42688         (_IO_list_resetlock): Likewise.
42689         * libio/getchar.c (getchar): Likewise.
42690         * libio/getchar_u.c (getchar_unlocked): Likewise.
42691         * libio/getwchar.c (getwchar): Likewise.
42692         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42693         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42694         * login/getpt.c (__getpt): Likewise.
42695         * login/tst-utmp.c (main): Likewise.
42696         * malloc/hooks.c (__malloc_check_init): Likewise.
42697         * malloc/malloc.c (__malloc_stats): Likewise.
42698         * malloc/mtrace.c (tr_break): Likewise.
42699         (mtrace): Likewise.
42700         (muntrace): Likewise.
42701         * misc/fstab.c (endfsent): Likewise.
42702         * misc/getclktck.c (__getclktck): Likewise.
42703         * misc/getdtsz.c (__getdtablesize): Likewise.
42704         * misc/gethostid.c (gethostid): Likewise.
42705         * misc/getpagesize.c (__getpagesize): Likewise.
42706         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42707         (__get_nprocs): Likewise.
42708         (__get_phys_pages): Likewise.
42709         (__get_avphys_pages): Likewise.
42710         * misc/getttyent.c (getttyent): Likewise.
42711         (setttyent): Likewise.
42712         (endttyent): Likewise.
42713         * misc/getusershell.c (getusershell): Likewise.
42714         (endusershell): Likewise.
42715         (setusershell): Likewise.
42716         (initshells): Likewise.
42717         * misc/hsearch.c (__hdestroy): Likewise.
42718         * misc/sync.c (sync): Likewise.
42719         * misc/syslog.c (closelog_internal): Likewise.
42720         (closelog): Likewise.
42721         * misc/ttyslot.c (ttyslot): Likewise.
42722         * misc/vhangup.c (vhangup): Likewise.
42723         * posix/fork.c (__fork): Likewise.
42724         * posix/getegid.c (__getegid): Likewise.
42725         * posix/geteuid.c (__geteuid): Likewise.
42726         * posix/getgid.c (__getgid): Likewise.
42727         * posix/getpid.c (__getpid): Likewise.
42728         * posix/getppid.c (__getppid): Likewise.
42729         * posix/getuid.c (__getuid): Likewise.
42730         * posix/pause.c (pause): Likewise.
42731         * posix/setpgrp.c (setpgrp): Likewise.
42732         * posix/setsid.c (__setsid): Likewise.
42733         * posix/test-vfork.c (noop): Likewise.
42734         * resolv/gethnamaddr.c (_endhtent): Likewise.
42735         (_gethtent): Likewise.
42736         (ht_endhostent): Likewise.
42737         (gethostent): Likewise.
42738         (dns_service): Likewise.
42739         * stdlib/drand48.c (drand48): Likewise.
42740         * stdlib/lrand48.c (lrand48): Likewise.
42741         * stdlib/mrand48.c (mrand48): Likewise.
42742         * stdlib/rand.c (rand): Likewise.
42743         * stdlib/random.c (__random): Likewise.
42744         * stdlib/setenv.c (clearenv): Likewise.
42745         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42746         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42747         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42748         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42749         (__get_nprocs): Likewise.
42750         (__get_phys_pages): Likewise.
42751         (__get_avphys_pages): Likewise.
42752         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42753         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42754         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42755         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42756         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42757         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42758         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42759         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42760         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42761         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42762         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42763         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42764         * sysdeps/posix/clock.c (clock): Likewise.
42765         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42766         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42767         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42768         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42769         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42770         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42771         (__get_nprocs_conf): Likewise.
42772         (__get_phys_pages): Likewise.
42773         (__get_avphys_pages): Likewise.
42774         * time/clock.c (clock): Likewise.
42775         * time/tzset.c (__tzname_max): Likewise.
42777 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42779         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42780         (__bswap_32): Do not use "register".
42781         * crypt/crypt.c (_ufc_doit_r): Likewise.
42782         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42783         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42784         * gmon/gmon.c (__monstartup): Likewise.
42785         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42786         * hurd/hurdmalloc.c (more_memory): Likewise.
42787         (malloc): Likewise.
42788         (free): Likewise.
42789         (realloc): Likewise.
42790         (malloc_fork_prepare): Likewise.
42791         (malloc_fork_parent): Likewise.
42792         (malloc_fork_child): Likewise.
42793         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42794         (_svcauth_des): Likewise.
42795         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42796         * inet/inet_net.c (inet_network): Likewise.
42797         * inet/inet_netof.c (inet_netof): Likewise.
42798         * inet/rcmd.c (__validuser2_sa): Likewise.
42799         * io/fts.c (fts_open): Likewise.
42800         (fts_load): Likewise.
42801         (fts_close): Likewise.
42802         (fts_read): Likewise.
42803         (fts_children): Likewise.
42804         (fts_build): Likewise.
42805         (fts_stat): Likewise.
42806         (fts_sort): Likewise.
42807         (fts_alloc): Likewise.
42808         (fts_lfree): Likewise.
42809         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42810         (_IO_file_xsgetn): Likewise.
42811         (_IO_file_xsgetn_mmap): Likewise.
42812         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42813         (_IO_cookie_write): Likewise.
42814         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42815         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42816         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42817         * malloc/obstack.c (_obstack_begin): Likewise.
42818         (_obstack_begin_1): Likewise.
42819         (_obstack_newchunk): Likewise.
42820         (_obstack_allocated_p): Likewise.
42821         (obstack_free): Likewise.
42822         (_obstack_memory_used): Likewise.
42823         * misc/getttyent.c (getttynam): Likewise.
42824         (getttyent): Likewise.
42825         (skip): Likewise.
42826         (value): Likewise.
42827         * misc/getusershell.c (initshells): Likewise.
42828         * misc/syslog.c (__vsyslog_chk): Likewise.
42829         * misc/ttyslot.c (ttyslot): Likewise.
42830         * nis/nis_hash.c (__nis_hash): Likewise.
42831         * posix/fnmatch_loop.c (FCT): Likewise.
42832         * posix/getconf.c (print_all): Likewise.
42833         (main): Likewise.
42834         * posix/getopt.c (exchange): Likewise.
42835         * posix/glob.c (globfree): Likewise.
42836         (prefix_array): Likewise.
42837         (__glob_pattern_type): Likewise.
42838         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42839         (NS_GET32): Likewise.
42840         (NS_PUT16): Likewise.
42841         (NS_PUT32): Likewise.
42842         * resolv/gethnamaddr.c (getanswer): Likewise.
42843         (gethostbyname2): Likewise.
42844         (gethostbyaddr): Likewise.
42845         (_gethtent): Likewise.
42846         (_gethtbyname2): Likewise.
42847         (_gethtbyaddr): Likewise.
42848         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42849         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42850         * resolv/res_init.c (__res_vinit): Likewise.
42851         (net_mask): Likewise.
42852         * resolv/res_mkquery.c (outchar): Likewise.
42853         (PRINT): Likewise.
42854         * stdio-common/printf_fp.c (outchar): Likewise.
42855         (PRINT): Likewise.
42856         * stdio-common/printf_fphex.c (outchar): Likewise.
42857         (PRINT): Likewise.
42858         * stdio-common/printf_size.c (outchar): Likewise.
42859         (PRINT): Likewise.
42860         * stdio-common/test_rdwr.c (main): Likewise.
42861         * stdio-common/tfformat.c (matches): Likewise.
42862         * stdio-common/vfprintf.c (outchar): Likewise.
42863         (printf_unknown): Likewise.
42864         (buffered_vfprintf): Likewise.
42865         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42866         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42867         (ReadFile): Likewise.
42868         * stdlib/qsort.c (SWAP): Likewise.
42869         (_quicksort): Likewise.
42870         * stdlib/setenv.c (__add_to_environ): Likewise.
42871         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42872         * stdlib/strtol_l.c (__strtol_l): Likewise.
42873         * stdlib/tst-strtod.c (main): Likewise.
42874         * stdlib/tst-strtol.c (main): Likewise.
42875         * stdlib/tst-strtoll.c (main): Likewise.
42876         * string/bits/string2.h (__strcmp_cc): Likewise.
42877         (__strcmp_cg): Likewise.
42878         (__strcspn_c1): Likewise.
42879         (__strcspn_c2): Likewise.
42880         (__strcspn_c3): Likewise.
42881         (__strspn_c1): Likewise.
42882         (__strspn_c2): Likewise.
42883         (__strspn_c3): Likewise.
42884         (__strsep_1c): Likewise.
42885         (__strsep_2c): Likewise.
42886         (__strsep_3c): Likewise.
42887         * string/memccpy.c (__memccpy): Likewise.
42888         * string/stpcpy.c (__stpcpy): Likewise.
42889         * string/strcmp.c (strcmp): Likewise.
42890         * string/strrchr.c (strrchr): Likewise.
42891         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42892         Likewise.
42893         * sysdeps/mach/hurd/getcwd.c
42894         (_hurd_canonicalize_directory_name_internal): Likewise.
42895         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42896         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42897         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42898         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42899         Likewise, in both definitions.
42900         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42901         definitions.
42902         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42903         64] (__bswap_64): Likewise.
42904         * time/test_time.c (main): Likewise.
42905         * time/tzfile.c (__tzfile_read): Likewise.
42906         (__tzfile_compute): Likewise.
42907         * time/tzset.c (__tzset_parse_tz): Likewise.
42908         (tzset_internal): Likewise.
42909         (compute_change): Likewise.
42910         * wcsmbs/wcscat.c (__wcscat): Likewise.
42911         * wcsmbs/wcschr.c (wcschr): Likewise.
42912         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42913         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42914         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42915         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42916         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42917         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42918         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42919         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42920         * wcsmbs/wmemset.c (wmemset): Likewise.
42922 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42924         * scripts/config.guess: Update to version 2013-05-16.
42925         * scripts/config.sub: Update to version 2013-04-24.
42926         * scripts/install-sh: Update to version 2011-11-20.07.
42927         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42928         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42930 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42932         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42933         * elf/sln.c: Likewise.
42934         * hurd/hurd/ioctl.h: Likewise.
42935         * hurd/hurdmalloc.c: Likewise.
42936         * hurd/xattr.c: Likewise.
42937         * include/shlib-compat.h: Likewise.
42938         * inet/ruserpass.c: Likewise.
42939         * libio/iofgets_u.c: Likewise.
42940         * libio/iofgetws_u.c: Likewise.
42941         * locale/programs/ld-identification.c: Likewise.
42942         * locale/programs/ld-time.c: Likewise.
42943         * mach/msg-destroy.c: Likewise.
42944         * nss/nss_files/files-netgrp.c: Likewise.
42945         * resolv/res_data.c: Likewise.
42946         * soft-fp/op-1.h: Likewise.
42947         * soft-fp/op-2.h: Likewise.
42948         * soft-fp/op-4.h: Likewise.
42949         * soft-fp/op-common.h: Likewise.
42950         * stdio-common/printf_fphex.c: Likewise.
42951         * stdlib/strtod_l.c: Likewise.
42952         * sunrpc/rpc/clnt.h: Likewise.
42953         * sysdeps/generic/framestate.c: Likewise.
42954         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42955         * sysdeps/i386/bsd-setjmp.S: Likewise.
42956         * sysdeps/i386/__longjmp.S: Likewise.
42957         * sysdeps/i386/setjmp.S: Likewise.
42958         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42959         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42960         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42961         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42962         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42963         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42964         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42965         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42966         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42967         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42968         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42969         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42970         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42971         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42972         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42973         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42974         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42975         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42976         * sysdeps/ieee754/support.c: Likewise.
42977         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42978         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42979         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42980         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42981         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42982         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42983         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42984         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42985         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42986         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42987         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42988         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42989         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42990         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42991         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42992         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42993         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42996 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42998         * posix/transbug.c: Remove executable mode.
43000 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
43002         * crypt/speeds.c: Remove trailing whitespace.
43003         * dlfcn/default.c: Likewise.
43004         * elf/ifuncdep2.c: Likewise.
43005         * elf/ifuncmain1.c: Likewise.
43006         * elf/ifuncmain1vis.c: Likewise.
43007         * elf/testobj.h: Likewise.
43008         * elf/tst-stackguard1.c: Likewise.
43009         * gmon/sys/gmon.h: Likewise.
43010         * hurd/hurdmsg.c: Likewise.
43011         * hurd/new-fd.c: Likewise.
43012         * hurd/ports-get.c: Likewise.
43013         * iconvdata/ibm1008_420.c: Likewise.
43014         * inet/tst-getni1.c: Likewise.
43015         * inet/tst-getni2.c: Likewise.
43016         * libio/ioungetc.c: Likewise.
43017         * libio/wfiledoalloc.c: Likewise.
43018         * manual/libm-err-tab.pl: Likewise.
43019         * math/w_dremf.c: Likewise.
43020         * misc/ftruncate.c: Likewise.
43021         * posix/bug-glob2.c: Likewise.
43022         * posix/tst-pcre.c: Likewise.
43023         * posix/wait4.c: Likewise.
43024         * resolv/README: Likewise.
43025         * resolv/res_debug.h: Likewise.
43026         * resolv/tst-inet_ntop.c: Likewise.
43027         * setjmp/bug269-setjmp.c: Likewise.
43028         * soft-fp/extended.h: Likewise.
43029         * soft-fp/op-1.h: Likewise.
43030         * soft-fp/op-2.h: Likewise.
43031         * soft-fp/op-4.h: Likewise.
43032         * soft-fp/op-8.h: Likewise.
43033         * soft-fp/testit.c: Likewise.
43034         * stdio-common/bug16.c: Likewise.
43035         * stdlib/random.c: Likewise.
43036         * sunrpc/rpcsvc/rquota.x: Likewise.
43037         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43038         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43039         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43040         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43041         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43042         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43043         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43044         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43045         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43046         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43047         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43048         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43049         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43050         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43051         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43052         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43053         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43054         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43055         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43056         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43057         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43058         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43059         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
43060         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43061         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43062         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43063         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43064         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43065         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43066         * sysdeps/ieee754/s_lib_version.c: Likewise.
43067         * sysdeps/mach/hurd/check_fds.c: Likewise.
43068         * sysdeps/mach/hurd/getsockname.c: Likewise.
43069         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
43070         * sysdeps/mach/hurd/recvfrom.c: Likewise.
43071         * sysdeps/powerpc/bits/link.h: Likewise.
43072         * sysdeps/powerpc/dl-procinfo.c: Likewise.
43073         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
43074         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
43075         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
43076         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43077         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43078         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
43079         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43080         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
43081         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43082         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43083         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43084         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
43085         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43086         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43087         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43088         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43089         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43090         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43091         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43092         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43093         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
43094         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43095         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43096         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
43097         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43098         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43099         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43100         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43101         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43102         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43103         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43104         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43105         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43106         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
43107         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43108         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
43109         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43110         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43111         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
43112         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
43113         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
43114         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
43115         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
43116         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43117         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
43118         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
43119         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43120         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
43121         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
43122         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43123         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43124         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43125         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43126         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
43127         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43128         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43129         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43130         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
43131         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43132         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
43133         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
43134         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
43135         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43136         * sysdeps/powerpc/sysdep.h: Likewise.
43137         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43138         * sysdeps/s390/s390-64/sub_n.S: Likewise.
43139         * sysdeps/sh/dl-trampoline.S: Likewise.
43140         * sysdeps/sh/memset.S: Likewise.
43141         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
43142         * sysdeps/sh/strlen.S: Likewise.
43143         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
43144         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
43145         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
43146         * sysdeps/sparc/sparc32/rem.S: Likewise.
43147         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
43148         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
43149         * sysdeps/sparc/sparc32/strchr.S: Likewise.
43150         * sysdeps/sparc/sparc32/udiv.S: Likewise.
43151         * sysdeps/sparc/sparc32/urem.S: Likewise.
43152         * sysdeps/sparc/sparc64/add_n.S: Likewise.
43153         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43154         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
43155         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
43156         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
43157         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
43158         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
43159         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
43160         * sysdeps/unix/bsd/times.c: Likewise.
43161         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
43162         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
43163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43166         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
43167         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43168         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
43169         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
43170         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
43171         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
43172         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43173         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
43174         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43175         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43176         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
43177         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43178         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
43179         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
43180         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
43181         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
43182         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
43183         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43184         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
43185         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
43186         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43187         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
43188         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43189         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
43190         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
43191         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
43192         * sysdeps/x86_64/strcspn.S: Likewise.
43194 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43196         * locale/C-translit.h: Revert #include <stdint.h> because this is a
43197         generated file.  Regenerate properly from gen-translit.pl.
43198         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
43199         locale/C-translit.h.
43201 2013-06-05  Andreas Schwab  <schwab@suse.de>
43203         [BZ #15100]
43204         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
43205         week as 6 instead of -1.
43206         * time/tst-strptime.c (day_tests): Add test case.
43208 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43210         * sysdeps/generic/math_private.h
43211         (libc_feholdexcept_setround_53bit): Replace with
43212         libc_feholdsetround_53bit.
43213         (libc_feupdateenv_53bit): Replace with
43214         libc_feresetround_53bit.
43215         (SET_RESTORE_ROUND_53BIT): Adjust.
43217 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43219         * string/test-strchrnul.c: Add copyright header.
43221         * posix/tst-getaddrinfo4.c: Increase test timeout.
43223 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
43225         [BZ #15536]
43226         * math/libm-test.inc (MAX_EXP): Remove
43227         (MIN_EXP): Define.
43228         (ulp): Use MIN_EXP - MANT_DIG.
43229         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
43231 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
43233         * po/be.po: Revert last change.
43234         * po/zh_CN.po: Likewise.
43235         * po/header.pot: Likewise.
43237 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
43239         * Makefile ($(common-objpfx)linkobj/libc.so): Define
43240         link-libc-deps to empty as target-specific variable.
43241         * Makerules (link-libc-args): New variable.
43242         (libc-for-link): Likewise.
43243         (link-libc-deps): Likewise.
43244         (lib%.so): Depend on $(link-libc-deps).  Link with
43245         $(link-libc-args).
43246         (build-module): Link with $(link-libc-args).
43247         (build-module-asneeded): Likewise.
43248         (build-module-helper-objlist): Filter out $(link-libc-deps) from
43249         list of objects.
43250         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
43251         target-specific variable.
43252         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
43253         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
43254         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
43255         libc.
43256         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
43257         libc and ld.so.
43258         ($(objpfx)libpcprofile.so): Likewise.
43259         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
43260         libc_nonshared.a.
43261         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
43262         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
43263         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
43264         $(link-libc-deps).
43265         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
43266         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
43267         * login/Makefile ($(objpfx)libutil.so): Likewise.
43268         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
43269         * math/Makefile ($(objpfx)libm.so): Likewise.
43270         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
43271         $(objpfx)libnsl.so): Define libc-for-link as target-specific
43272         variable instead of depending directly on libc.
43273         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
43274         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
43275         $(link-libc-deps).
43276         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
43277         libc.
43278         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
43279         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
43280         ($(objpfx)libanl.so): Likewise.
43281         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
43282         ld.so.
43283         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
43284         $(link-libc-deps).
43285         * sysdeps/i386/fpu/Makefile: Remove file.
43286         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
43287         ($(objpfx)libm.so): Remove dependency on ld.so.
43289 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
43291         [BZ # 15553]
43292         * nis/yp_xdr.c (XDRMAXNAME): Define.
43293         (XDRMAXRECORD): Define.
43294         (xdr_domainname): Use XDRMAXNAME.
43295         (xdr_mapname): Likewise.
43296         (xdr_peername): Likewise.
43297         (xdr_keydat): Use XDRMAXRECORD.
43298         (xdr_valdat): Likewise.
43300 2013-05-30  Jeff Law  <law@redhat.com>
43302         [BZ #14256]
43303         * manual/errno.texi (ESTALE): Update to account for more than
43304         just NFS file systems.
43305         * sysdeps/gnu/errlist.c: Regenerated.
43307 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43309         [BZ #15465]
43310         * elf/Makefile (tests): Add tst-null-argv.
43311         (modules-names):  Add tst-null-argv-lib.
43312         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
43313         (tst-null-argv-ENV): Set environment for tst-null-argv.
43314         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
43315         (RTLD_PROGNAME): New macro.
43316         * elf/tst-null-argv.c: New test case.
43317         * elf/tst-null-argv-lib.c: Library for test case.
43318         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
43319         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
43320         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43321         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43322         * elf/dl-init.c (call_init): Likewise.
43323         (_dl_init): Likewise.
43324         * elf/dl-load.c (print_search_path): Likewise.
43325         (_dl_map_object): Likewise.
43326         * elf/dl-lookup.c (do_lookup_x): Likewise.
43327         (add_dependency): Likewise.
43328         (_dl_lookup_symbol_x): Likewise.
43329         (_dl_debug_bindings): Likewise.
43330         * elf/dl-open.c (_dl_show_scope): Likewise.
43331         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43332         * elf/dl-version.c (match_symbol): Likewise.
43333         (_dl_check_map_versions): Likewise.
43334         * elf/rtld.c (dl_main): Likewise.
43335         (print_unresolved): Use RTLD_PROGNAME.
43336         (print_missing_version): Likewise.
43337         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43338         (elf_machine_rela): Likewise.
43339         * sysdeps/powerpc/powerpc32/dl-machine.c
43340         (__process_machine_rela): Likewise.
43341         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43342         Likewise.
43343         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43344         Likewise.
43345         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43346         Likewise.
43347         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43348         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43349         Likewise.
43350         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43351         Likewise.
43352         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43354 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
43356         * po/be.po: Add descriptive title.
43357         * po/zh_CN.po: Likewise.
43358         * po/header.pot: Likewise.
43360 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
43362         * locale/programs/locarchive.c (create_archive): Inlucde fname in
43363         error message.
43364         (enlarge_archive): Likewise.
43366 2013-05-28  Ben North  <ben@redfrontdoor.org>
43368         * manual/arith.texi (frexp): It is the magnitude of the return
43369         value which lies in [0.5, 1), not the return value itself.
43371 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43375 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
43377         * stdio-common/bug26.c (main): Correct fscanf template.
43379         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
43380         declare _dl_skip_args.
43382         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
43383         Don't declare.
43385         * manual/platform.texi: Add missing @end deftypefun.
43387 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43389         [BZ #15529]
43390         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
43391         bit of mantissa of 2^16382.
43392         * math/libm-test.inc (hypot_test_data): Add more tests.
43394         * math/libm-test.inc: Add drem and pow10 to list of tested
43395         functions.
43396         (pow10_test): New function.
43397         (drem_test): Likewise.
43398         (drem_test_tonearest): Likewise.
43399         (drem_test_towardzero): Likewise.
43400         (drem_test_downward): Likewise.
43401         (drem_test_upward): Likewise.
43402         (main): Call the new functions.
43404         * math/libm-test.inc (finite_test_data): Remove.
43405         (finite_test): Run tests from isfinite_test_data.
43406         (gamma_test_data): Remove.
43407         (gamma_test): Run tests from lgamma_test_data.
43408         * sysdeps/i386/fpu/libm-test-ulps: Update.
43409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43411 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43413         * manual/platform.texi: Add PowerPC PPR function set documentation.
43414         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43415         implementation.
43417 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
43419         * math/libm-test.inc (MAX_EXP): Define.
43420         (ULPDIFF): Define.
43421         (ulp): New function.
43422         (check_float_internal): Use ULPDIFF.
43423         (cpow_test): Disable failing test.
43424         (check_ulp): Test ulp() implemetnation.
43425         (main): Call check_ulp before starting tests.
43427 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43429         * math/gen-libm-test.pl (generate_testfile): Do not handle
43430         START_DATA and END_DATA.
43431         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43432         END_DATA.
43433         (acos_tonearest_test_data): Likewise.
43434         (acos_towardzero_test_data): Likewise.
43435         (acos_downward_test_data): Likewise.
43436         (acos_upward_test_data): Likewise.
43437         (acosh_test_data): Likewise.
43438         (asin_test_data): Likewise.
43439         (asin_tonearest_test_data): Likewise.
43440         (asin_towardzero_test_data): Likewise.
43441         (asin_downward_test_data): Likewise.
43442         (asin_upward_test_data): Likewise.
43443         (asinh_test_data): Likewise.
43444         (atan_test_data): Likewise.
43445         (atanh_test_data): Likewise.
43446         (atan2_test_data): Likewise.
43447         (cabs_test_data): Likewise.
43448         (cacos_test_data): Likewise.
43449         (cacosh_test_data): Likewise.
43450         (carg_test_data): Likewise.
43451         (casin_test_data): Likewise.
43452         (casinh_test_data): Likewise.
43453         (catan_test_data): Likewise.
43454         (catanh_test_data): Likewise.
43455         (cbrt_test_data): Likewise.
43456         (ccos_test_data): Likewise.
43457         (ccosh_test_data): Likewise.
43458         (ceil_test_data): Likewise.
43459         (cexp_test_data): Likewise.
43460         (cimag_test_data): Likewise.
43461         (clog_test_data): Likewise.
43462         (clog10_test_data): Likewise.
43463         (conj_test_data): Likewise.
43464         (copysign_test_data): Likewise.
43465         (cos_test_data): Likewise.
43466         (cos_tonearest_test_data): Likewise.
43467         (cos_towardzero_test_data): Likewise.
43468         (cos_downward_test_data): Likewise.
43469         (cos_upward_test_data): Likewise.
43470         (cosh_test_data): Likewise.
43471         (cosh_tonearest_test_data): Likewise.
43472         (cosh_towardzero_test_data): Likewise.
43473         (cosh_downward_test_data): Likewise.
43474         (cosh_upward_test_data): Likewise.
43475         (cpow_test_data): Likewise.
43476         (cproj_test_data): Likewise.
43477         (creal_test_data): Likewise.
43478         (csin_test_data): Likewise.
43479         (csinh_test_data): Likewise.
43480         (csqrt_test_data): Likewise.
43481         (ctan_test_data): Likewise.
43482         (ctan_tonearest_test_data): Likewise.
43483         (ctan_towardzero_test_data): Likewise.
43484         (ctan_downward_test_data): Likewise.
43485         (ctan_upward_test_data): Likewise.
43486         (ctanh_test_data): Likewise.
43487         (ctanh_tonearest_test_data): Likewise.
43488         (ctanh_towardzero_test_data): Likewise.
43489         (ctanh_downward_test_data): Likewise.
43490         (ctanh_upward_test_data): Likewise.
43491         (erf_test_data): Likewise.
43492         (erfc_test_data): Likewise.
43493         (exp_test_data): Likewise.
43494         (exp_tonearest_test_data): Likewise.
43495         (exp_towardzero_test_data): Likewise.
43496         (exp_downward_test_data): Likewise.
43497         (exp_upward_test_data): Likewise.
43498         (exp10_test_data): Likewise.
43499         (exp2_test_data): Likewise.
43500         (expm1_test_data): Likewise.
43501         (fabs_test_data): Likewise.
43502         (fdim_test_data): Likewise.
43503         (finite_test_data): Likewise.
43504         (floor_test_data): Likewise.
43505         (fma_test_data): Likewise.
43506         (fma_towardzero_test_data): Likewise.
43507         (fma_downward_test_data): Likewise.
43508         (fma_upward_test_data): Likewise.
43509         (fmax_test_data): Likewise.
43510         (fmin_test_data): Likewise.
43511         (fmod_test_data): Likewise.
43512         (fpclassify_test_data): Likewise.
43513         (frexp_test_data): Likewise.
43514         (gamma_test_data): Likewise.
43515         (hypot_test_data): Likewise.
43516         (ilogb_test_data): Likewise.
43517         (isfinite_test_data): Likewise.
43518         (isgreater_test_data): Likewise.
43519         (isgreaterequal_test_data): Likewise.
43520         (isinf_test_data): Likewise.
43521         (isless_test_data): Likewise.
43522         (islessequal_test_data): Likewise.
43523         (islessgreater_test_data): Likewise.
43524         (isnan_test_data): Likewise.
43525         (isnormal_test_data): Likewise.
43526         (issignaling_test_data): Likewise.
43527         (isunordered_test_data): Likewise.
43528         (j0_test_data): Likewise.
43529         (j1_test_data): Likewise.
43530         (jn_test_data): Likewise.
43531         (ldexp_test_data): Likewise.
43532         (lgamma_test_data): Likewise.
43533         (lrint_test_data): Likewise.
43534         (lrint_tonearest_test_data): Likewise.
43535         (lrint_towardzero_test_data): Likewise.
43536         (lrint_downward_test_data): Likewise.
43537         (lrint_upward_test_data): Likewise.
43538         (llrint_test_data): Likewise.
43539         (llrint_tonearest_test_data): Likewise.
43540         (llrint_towardzero_test_data): Likewise.
43541         (llrint_downward_test_data): Likewise.
43542         (llrint_upward_test_data): Likewise.
43543         (log_test_data): Likewise.
43544         (log10_test_data): Likewise.
43545         (log1p_test_data): Likewise.
43546         (log2_test_data): Likewise.
43547         (logb_test_data): Likewise.
43548         (logb_downward_test_data): Likewise.
43549         (lround_test_data): Likewise.
43550         (llround_test_data): Likewise.
43551         (modf_test_data): Likewise.
43552         (nearbyint_test_data): Likewise.
43553         (nextafter_test_data): Likewise.
43554         (nexttoward_test_data): Likewise.
43555         (pow_test_data): Likewise.
43556         (pow_tonearest_test_data): Likewise.
43557         (pow_towardzero_test_data): Likewise.
43558         (pow_downward_test_data): Likewise.
43559         (pow_upward_test_data): Likewise.
43560         (remainder_test_data): Likewise.
43561         (remainder_tonearest_test_data): Likewise.
43562         (remainder_towardzero_test_data): Likewise.
43563         (remainder_downward_test_data): Likewise.
43564         (remainder_upward_test_data): Likewise.
43565         (remquo_test_data): Likewise.
43566         (rint_test_data): Likewise.
43567         (rint_tonearest_test_data): Likewise.
43568         (rint_towardzero_test_data): Likewise.
43569         (rint_downward_test_data): Likewise.
43570         (rint_upward_test_data): Likewise.
43571         (round_test_data): Likewise.
43572         (scalb_test_data): Likewise.
43573         (scalbn_test_data): Likewise.
43574         (scalbln_test_data): Likewise.
43575         (signbit_test_data): Likewise.
43576         (sin_test_data): Likewise.
43577         (sin_tonearest_test_data): Likewise.
43578         (sin_towardzero_test_data): Likewise.
43579         (sin_downward_test_data): Likewise.
43580         (sin_upward_test_data): Likewise.
43581         (sincos_test_data): Likewise.
43582         (sinh_test_data): Likewise.
43583         (sinh_tonearest_test_data): Likewise.
43584         (sinh_towardzero_test_data): Likewise.
43585         (sinh_downward_test_data): Likewise.
43586         (sinh_upward_test_data): Likewise.
43587         (sqrt_test_data): Likewise.
43588         (tan_test_data): Likewise.
43589         (tan_tonearest_test_data): Likewise.
43590         (tan_towardzero_test_data): Likewise.
43591         (tan_downward_test_data): Likewise.
43592         (tan_upward_test_data): Likewise.
43593         (tanh_test_data): Likewise.
43594         (tgamma_test_data): Likewise.
43595         (trunc_test_data): Likewise.
43596         (y0_test_data): Likewise.
43597         (y1_test_data): Likewise.
43598         (yn_test_data): Likewise.
43599         (significand_test_data): Likewise.
43601         * math/gen-libm-test.pl (@functions): Remove variable.
43602         (generate_testfile): Don't handle START and END lines.
43603         * math/libm-test.inc (START): New macro.
43604         (END): Likewise.
43605         (END_COMPLEX): Likewise.
43606         (acos_test): Use END macro without arguments.
43607         (acos_test_tonearest): Likewise.
43608         (acos_test_towardzero): Likewise.
43609         (acos_test_downward): Likewise.
43610         (acos_test_upward): Likewise.
43611         (acosh_test): Likewise.
43612         (asin_test): Likewise.
43613         (asin_test_tonearest): Likewise.
43614         (asin_test_towardzero): Likewise.
43615         (asin_test_downward): Likewise.
43616         (asin_test_upward): Likewise.
43617         (asinh_test): Likewise.
43618         (atan_test): Likewise.
43619         (atanh_test): Likewise.
43620         (atan2_test): Likewise.
43621         (cabs_test): Likewise.
43622         (cacos_test): Use END_COMPLEX macro without arguments.
43623         (cacosh_test): Likewise.
43624         (carg_test): Use END macro without arguments.
43625         (casin_test): Use END_COMPLEX macro without arguments.
43626         (casinh_test): Likewise.
43627         (catan_test): Likewise.
43628         (catanh_test): Likewise.
43629         (cbrt_test): Use END macro without arguments.
43630         (ccos_test): Use END_COMPLEX macro without arguments.
43631         (ccosh_test): Likewise.
43632         (ceil_test): Use END macro without arguments.
43633         (cexp_test): Use END_COMPLEX macro without arguments.
43634         (cimag_test): Use END macro without arguments.
43635         (clog_test): Use END_COMPLEX macro without arguments.
43636         (clog10_test): Likewise.
43637         (conj_test): Likewise.
43638         (copysign_test): Use END macro without arguments.
43639         (cos_test): Likewise.
43640         (cos_test_tonearest): Likewise.
43641         (cos_test_towardzero): Likewise.
43642         (cos_test_downward): Likewise.
43643         (cos_test_upward): Likewise.
43644         (cosh_test): Likewise.
43645         (cosh_test_tonearest): Likewise.
43646         (cosh_test_towardzero): Likewise.
43647         (cosh_test_downward): Likewise.
43648         (cosh_test_upward): Likewise.
43649         (cpow_test): Use END_COMPLEX macro without arguments.
43650         (cproj_test): Likewise.
43651         (creal_test): Use END macro without arguments.
43652         (csin_test): Use END_COMPLEX macro without arguments.
43653         (csinh_test): Likewise.
43654         (csqrt_test): Likewise.
43655         (ctan_test): Likewise.
43656         (ctan_test_tonearest): Likewise.
43657         (ctan_test_towardzero): Likewise.
43658         (ctan_test_downward): Likewise.
43659         (ctan_test_upward): Likewise.
43660         (ctanh_test): Likewise.
43661         (ctanh_test_tonearest): Likewise.
43662         (ctanh_test_towardzero): Likewise.
43663         (ctanh_test_downward): Likewise.
43664         (ctanh_test_upward): Likewise.
43665         (erf_test): Use END macro without arguments.
43666         (erfc_test): Likewise.
43667         (exp_test): Likewise.
43668         (exp_test_tonearest): Likewise.
43669         (exp_test_towardzero): Likewise.
43670         (exp_test_downward): Likewise.
43671         (exp_test_upward): Likewise.
43672         (exp10_test): Likewise.
43673         (exp2_test): Likewise.
43674         (expm1_test): Likewise.
43675         (fabs_test): Likewise.
43676         (fdim_test): Likewise.
43677         (finite_test): Likewise.
43678         (floor_test): Likewise.
43679         (fma_test): Likewise.
43680         (fma_test_towardzero): Likewise.
43681         (fma_test_downward): Likewise.
43682         (fma_test_upward): Likewise.
43683         (fmax_test): Likewise.
43684         (fmin_test): Likewise.
43685         (fmod_test): Likewise.
43686         (fpclassify_test): Likewise.
43687         (frexp_test): Likewise.
43688         (gamma_test): Likewise.
43689         (hypot_test): Likewise.
43690         (ilogb_test): Likewise.
43691         (isfinite_test): Likewise.
43692         (isgreater_test): Likewise.
43693         (isgreaterequal_test): Likewise.
43694         (isinf_test): Likewise.
43695         (isless_test): Likewise.
43696         (islessequal_test): Likewise.
43697         (islessgreater_test): Likewise.
43698         (isnan_test): Likewise.
43699         (isnormal_test): Likewise.
43700         (issignaling_test): Likewise.
43701         (isunordered_test): Likewise.
43702         (j0_test): Likewise.
43703         (j1_test): Likewise.
43704         (jn_test): Likewise.
43705         (ldexp_test): Likewise.
43706         (lgamma_test): Likewise.
43707         (lrint_test): Likewise.
43708         (lrint_test_tonearest): Likewise.
43709         (lrint_test_towardzero): Likewise.
43710         (lrint_test_downward): Likewise.
43711         (lrint_test_upward): Likewise.
43712         (llrint_test): Likewise.
43713         (llrint_test_tonearest): Likewise.
43714         (llrint_test_towardzero): Likewise.
43715         (llrint_test_downward): Likewise.
43716         (llrint_test_upward): Likewise.
43717         (log_test): Likewise.
43718         (log10_test): Likewise.
43719         (log1p_test): Likewise.
43720         (log2_test): Likewise.
43721         (logb_test): Likewise.
43722         (logb_test_downward): Likewise.
43723         (lround_test): Likewise.
43724         (llround_test): Likewise.
43725         (modf_test): Likewise.
43726         (nearbyint_test): Likewise.
43727         (nextafter_test): Likewise.
43728         (nexttoward_test): Likewise.
43729         (pow_test): Likewise.
43730         (pow_test_tonearest): Likewise.
43731         (pow_test_towardzero): Likewise.
43732         (pow_test_downward): Likewise.
43733         (pow_test_upward): Likewise.
43734         (remainder_test): Likewise.
43735         (remainder_test_tonearest): Likewise.
43736         (remainder_test_towardzero): Likewise.
43737         (remainder_test_downward): Likewise.
43738         (remainder_test_upward): Likewise.
43739         (remquo_test): Likewise.
43740         (rint_test): Likewise.
43741         (rint_test_tonearest): Likewise.
43742         (rint_test_towardzero): Likewise.
43743         (rint_test_downward): Likewise.
43744         (rint_test_upward): Likewise.
43745         (round_test): Likewise.
43746         (scalb_test): Likewise.
43747         (scalbn_test): Likewise.
43748         (scalbln_test): Likewise.
43749         (signbit_test): Likewise.
43750         (sin_test): Likewise.
43751         (sin_test_tonearest): Likewise.
43752         (sin_test_towardzero): Likewise.
43753         (sin_test_downward): Likewise.
43754         (sin_test_upward): Likewise.
43755         (sincos_test): Likewise.
43756         (sinh_test): Likewise.
43757         (sinh_test_tonearest): Likewise.
43758         (sinh_test_towardzero): Likewise.
43759         (sinh_test_downward): Likewise.
43760         (sinh_test_upward): Likewise.
43761         (sqrt_test): Likewise.
43762         (tan_test): Likewise.
43763         (tan_test_tonearest): Likewise.
43764         (tan_test_towardzero): Likewise.
43765         (tan_test_downward): Likewise.
43766         (tan_test_upward): Likewise.
43767         (tanh_test): Likewise.
43768         (tgamma_test): Likewise.
43769         (trunc_test): Likewise.
43770         (y0_test): Likewise.
43771         (y1_test): Likewise.
43772         (yn_test): Likewise.
43773         (significand_test): Likewise.
43775 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43777         [BZ #15381]
43778         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43780 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43782         [BZ #14894]
43783         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43784         __ppc_mdoio and __ppc_mdoom.
43785         * manual/platform.texi: Document new functions __ppc_yield,
43786         __ppc_mdoio and __ppc_mdoom.
43788 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43790         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43791         (main): Mention "tls" pseudo-hwcap is legacy.
43792         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43794 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43796         * math/gen-libm-test.pl (parse_args): Output only string of
43797         arguments as text for test name, not full call or descriptions of
43798         tests for extra outputs.
43799         (generate_testfile): Do not pass function name to parse_args.
43800         Generate this_func variable from START.
43801         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43802         field to arg_str.
43803         (struct test_ff_f_data): Likewise.
43804         (test_ff_f_data_nexttoward): Likewise.
43805         (struct test_fi_f_data): Likewise.
43806         (struct test_fl_f_data): Likewise.
43807         (struct test_if_f_data): Likewise.
43808         (struct test_fff_f_data): Likewise.
43809         (struct test_c_f_data): Likewise.
43810         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43811         (struct test_fF_f1_data): Likewise.
43812         (struct test_ffI_f1_data): Likewise.
43813         (struct test_c_c_data): Rename test_name field to arg_str.
43814         (struct test_cc_c_data): Likewise.
43815         (struct test_f_i_data): Likewise.
43816         (struct test_ff_i_data): Likewise.
43817         (struct test_f_l_data): Likewise.
43818         (struct test_f_L_data): Likewise.
43819         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43820         and extra2_name.
43821         (COMMON_TEST_SETUP): New macro.
43822         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43823         (COMMON_TEST_CLEANUP): Likewise.
43824         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43825         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43826         macros.
43827         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43828         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43829         macros.
43830         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43831         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43832         cleanup macros.
43833         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43834         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43835         macros.
43836         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43837         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43838         macros.
43839         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43840         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43841         cleanup macros.
43842         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43843         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43844         cleanup macros.
43845         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43846         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43847         cleanup macros.
43848         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43849         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43850         macros.
43851         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43852         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43853         macros.
43854         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43855         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43856         macros.
43857         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43858         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43859         cleanup macros.
43860         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43861         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43862         cleanup macros.
43863         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43864         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43865         macros.
43866         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43867         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43868         cleanup macros.
43869         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43870         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43871         macros.
43872         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43873         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43874         macros.
43875         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43876         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43877         cleanup macros.
43878         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43880 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43882         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43883         to _sifields.sigfault.
43884         (si_addr_lsb): Define new macro.
43885         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43886         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43887         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43889 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43891         [BZ #15441]
43892         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43893         returns -1.
43894         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43895         null return -1.
43896         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43897         loading the domain.
43899 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43901         * math/gen-libm-test.pl (parse_args): Do not include expected
43902         result in test name.
43903         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43904         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43905         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43906         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43907         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43910 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43912         * benchtests/Makefile: Sort function entries.
43914         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43915         tanh, asinh, acosh, atanh.
43916         * benchtests/acos-inputs: New file.
43917         * benchtests/acosh-inputs: New file.
43918         * benchtests/asin-inputs: New file.
43919         * benchtests/asinh-inputs: New file.
43920         * benchtests/atanh-inputs: New file.
43921         * benchtests/cosh-inputs: New file.
43922         * benchtests/log-inputs: New file.
43923         * benchtests/sinh-inputs: New file.
43924         * benchtests/tanh-inputs: New file.
43926 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43928         [BZ #15339]
43929         * posix/tst-getaddrinfo4.c: New test.
43930         * posix/Makefile (tests): Add it.
43932 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43934         [BZ #15339]
43935         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43936         when no services were used.
43937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43938         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43940 2013-05-21  Andreas Schwab  <schwab@suse.de>
43942         [BZ #15014]
43943         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43944         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43945         successful.
43946         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43947         redundant variable declarations and reallocation of buffer when
43948         parsing as IPv6 address.  Always set NSS status when called from
43949         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43950         buffer too small.  Correct computation of needed size.
43951         * nss/Makefile (tests): Add test-digits-dots.
43952         * nss/test-digits-dots.c: New test.
43954 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43956         * benchtests/Makefile: Remove instructions for adding
43957         benchmark tests.
43958         * benchtests/README: New file to explain how to execute and
43959         enhance the benchmark tests.
43961 2013-05-21  Andreas Schwab  <schwab@suse.de>
43963         [BZ #15493]
43964         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43965         * setjmp/tst-sigsetjmp.c: New test.
43967 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43969         * sysdeps/x86_64/memset.S (memset): New implementation.
43970         (__bzero): Likewise.
43971         (__memset_tail): New function.
43973 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43975         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43976         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43977         __memcpy_sse2_unaligned ifunc selection.
43978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43979         Add memcpy-sse2-unaligned.S.
43980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43981         Add: __memcpy_sse2_unaligned.
43983 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43985         [BZ #15490]
43986         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43987         math_force_eval before restoring floating-point envrionment.
43988         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43989         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43990         Likewise.
43991         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43992         <math_private.h>.
43993         (__nearbyintl): Use math_force_eval before restoring
43994         floating-point environment.
43995         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43997         * math/gen-libm-test.pl (special_functions): Remove.
43998         (parse_args): Don't handle TEST_extra.  Handle functions with no
43999         return value.
44000         * math/libm-test.inc (struct test_sincos_data): Replace with
44001         struct test_fFF_11_data.
44002         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
44003         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
44004         (sincos_test_data): Change element type to struct
44005         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
44006         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
44007         RUN_TEST_LOOP_sincos.
44008         * math/README.libm-test: Don't mention special handling of
44009         individual functions.
44010         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
44011         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44012         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44013         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44014         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44017         * math/gen-libm-test.pl (get_variable): Remove function.
44018         (parse_args): Don't show pointer parameters to call in test
44019         names.  Use "extra output N" in test names for extra outputs
44020         rather than naming variables.
44022 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
44024         [BZ #15488]
44025         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
44026         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
44027         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
44028         double tests.
44029         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
44030         disable.
44031         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
44032         check_long_double.
44034         * math/gen-libm-test.pl (@tests): Remove variable.
44035         ($count): Likewise.
44036         (new_test): Remove function.
44037         (show_exceptions): New function.
44038         (special_functions): Use show_exceptions instead of new_test.
44039         (parse_args): Likewise.
44040         (generate_testfile): Pass only function name in generated call to
44041         print_max_error or print_complex_max_error.
44042         (get_ulps): Do not handle complex tests specially.
44043         (output_test): Rename to ...
44044         (get_all_ulps_for_test): ... this.  Return a string rather than
44045         printing to a file.  Require ulps to be present.
44046         (output_ulps): Generate arrays rather than #defines.
44047         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
44048         (struct ulp_data): New type.
44049         (BUILD_COMPLEX_ULP): Remove macro.
44050         (compare_ulp_data): New function.
44051         (find_ulps): Likewise.
44052         (find_test_ulps): Likewise.
44053         (find_function_ulps): Likewise.
44054         (find_complex_function_ulps): Likewise.
44055         (print_max_error): Determine allowed ulps using
44056         find_function_ulps.
44057         (print_complex_max_error): Determine allowed ulps using
44058         find_complex_function_ulps.
44059         (check_float_internal): Determine max ulps using find_test_ulps.
44060         (check_float): Do not take max_ulp parameter.  Update call to
44061         check_float_internal.
44062         (check_complex): Likewise.
44063         (check_int): Do not take max_ulp parameter.
44064         (check_long): Likewise.
44065         (check_bool): Likewise.
44066         (check_longlong): Likewise.
44067         (struct test_f_f_data): Remove max_ulp field.
44068         (struct test_ff_f_data): Likewise.
44069         (struct test_ff_f_data_nexttoward): Likewise.
44070         (struct test_fi_f_data): Likewise.
44071         (struct test_fl_f_data): Likewise.
44072         (struct test_if_f_data): Likewise.
44073         (struct test_fff_f_data): Likewise.
44074         (struct test_c_f_data): Likewise.
44075         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
44076         (struct test_fF_f1_data): Likewise.
44077         (struct test_ffI_f1_data): Likewise.
44078         (struct test_c_c_data): Remove max_ulp field.
44079         (struct test_cc_c_data): Likewise.
44080         (struct test_f_i_data): Likewise.
44081         (struct test_ff_i_data): Likewise.
44082         (struct test_f_l_data): Likewise.
44083         (struct test_f_L_data): Likewise.
44084         (struct test_sincos_data): Likewise.
44085         (RUN_TEST_f_f): Do not handle ulps.
44086         (RUN_TEST_LOOP_f_f): Likewise.
44087         (RUN_TEST_2_f): Likewise.
44088         (RUN_TEST_LOOP_2_f): Likewise.
44089         (RUN_TEST_fff_f): Likewise.
44090         (RUN_TEST_LOOP_fff_f): Likewise.
44091         (RUN_TEST_c_f): Likewise.
44092         (RUN_TEST_LOOP_c_f): Likewise.
44093         (RUN_TEST_f_f1): Likewise.
44094         (RUN_TEST_LOOP_f_f1): Likewise.
44095         (RUN_TEST_fF_f1): Likewise.
44096         (RUN_TEST_LOOP_fF_f1): Likewise.
44097         (RUN_TEST_fI_f1): Likewise.
44098         (RUN_TEST_LOOP_fI_f1): Likewise.
44099         (RUN_TEST_ffI_f1): Likewise.
44100         (RUN_TEST_LOOP_ffI_f1): Likewise.
44101         (RUN_TEST_c_c): Likewise.
44102         (RUN_TEST_LOOP_c_c): Likewise.
44103         (RUN_TEST_cc_c): Likewise.
44104         (RUN_TEST_LOOP_cc_c): Likewise.
44105         (RUN_TEST_f_i): Likewise.
44106         (RUN_TEST_LOOP_f_i): Likewise.
44107         (RUN_TEST_f_i_tg): Likewise.
44108         (RUN_TEST_LOOP_f_i_tg): Likewise.
44109         (RUN_TEST_ff_i_tg): Likewise.
44110         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44111         (RUN_TEST_f_b): Likewise.
44112         (RUN_TEST_LOOP_f_b): Likewise.
44113         (RUN_TEST_f_b_tg): Likewise.
44114         (RUN_TEST_LOOP_f_b_tg): Likewise.
44115         (RUN_TEST_f_l): Likewise.
44116         (RUN_TEST_LOOP_f_l): Likewise.
44117         (RUN_TEST_f_L): Likewise.
44118         (RUN_TEST_LOOP_f_L): Likewise.
44119         (RUN_TEST_sincos): Likewise.
44120         (RUN_TEST_LOOP_sincos): Likewise.
44122 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
44124         [BZ #15480]
44125         [BZ #15485]
44126         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
44127         main case of finite arguments, set rounding mode to FE_TONEAREST
44128         and discard exceptions.
44129         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
44130         exceptions.
44131         (remainder_tonearest_test_data): New variable.
44132         (remainder_test_tonearest): New function.
44133         (remainder_towardzero_test_data): New variable.
44134         (remainder_test_towardzero): New function.
44135         (remainder_downward_test_data): New variable.
44136         (remainder_test_downward): New function.
44137         (remainder_upward_test_data): New variable.
44138         (remainder_test_upward): New function.
44139         (main): Call the new test functions.
44141         * math/libm-test.inc (struct test_f_f1_data): Remove field
44142         extra_init.
44143         (struct test_fF_f1_data): Likewise.
44144         (struct test_ffI_f1_data): Likewise.
44145         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
44146         based on value of EXTRA_EXPECTED.
44147         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44148         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
44149         EXTRA_VAR based on value of EXTRA_EXPECTED.
44150         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44151         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
44152         EXTRA_VAR based on value of EXTRA_EXPECTED.
44153         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44154         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
44155         EXTRA_VAR based on value of EXTRA_EXPECTED.
44156         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44157         * math/gen-libm-test.pl (parse_args): Don't output initializers
44158         for extra output values.
44160         * math/libm-test.inc (check_int): Expect result to be exactly
44161         equal to expected value and do not handle ulps.
44162         (check_long): Likewise.
44163         (check_longlong): Likewise.
44165         * math/libm-test.inc (ceil_test_data): Test for "inexact"
44166         exceptions.
44167         (cimag_test_data): Likewise.
44168         (conj_test_data): Likewise.
44169         (copysign_test_data): Likewise.
44170         (cproj_test_data): Likewise.
44171         (creal_test_data): Likewise.
44172         (fabs_test_data): Likewise.
44173         (fdim_test_data): Likewise.
44174         (finite_test_data): Likewise.
44175         (floor_test_data): Likewise.
44176         (fmax_test_data): Likewise.
44177         (fmin_test_data): Likewise.
44178         (fmod_test_data): Likewise.
44179         (fpclassify_test_data): Likewise.
44180         (frexp_test_data): Likewise.
44181         (ilogb_test_data): Likewise.
44182         (isfinite_test_data): Likewise.
44183         (isgreater_test_data): Likewise.
44184         (isgreaterequal_test_data): Likewise.
44185         (isinf_test_data): Likewise.
44186         (isless_test_data): Likewise.
44187         (islessequal_test_data): Likewise.
44188         (islessgreater_test_data): Likewise.
44189         (isnan_test_data): Likewise.
44190         (isnormal_test_data): Likewise.
44191         (issignaling_test_data): Likewise.
44192         (isunordered_test_data): Likewise.
44193         (ldexp_test_data): Likewise.
44194         (lrint_test_data): Likewise.
44195         (lrint_test_data) [TEST_FLOAT]: Disable one test.
44196         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
44197         (lrint_tonearest_test_data): Test for "inexact" exceptions.
44198         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44199         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
44200         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44201         test input.
44202         (lrint_towardzero_test_data): Test for "inexact" exceptions.
44203         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44204         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
44205         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
44206         that test input.
44207         (lrint_downward_test_data): Test for "inexact" exceptions.
44208         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44209         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
44210         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44211         test input.
44212         (lrint_upward_test_data): Test for "inexact" exceptions.
44213         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
44214         test input.
44215         (llrint_test_data): Test for "inexact" exceptions.
44216         (llrint_test_data) [TEST_FLOAT]: Disable one test.
44217         (llrint_tonearest_test_data): Test for "inexact" exceptions.
44218         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44219         (llrint_towardzero_test_data): Test for "inexact" exceptions.
44220         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44221         (llrint_downward_test_data): Test for "inexact" exceptions.
44222         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44223         (llrint_upward_test_data): Test for "inexact" exceptions.
44224         (logb_test_data): Likewise.
44225         (logb_downward_test_data): Likewise.
44226         (nextafter_test_data): Likewise.
44227         (nexttoward_test_data): Likewise.
44228         (remainder_test_data): Likewise.
44229         (remquo_test_data): Likewise.
44230         (scalbn_test_data): Likewise.
44231         (scalbln_test_data): Likewise.
44232         (signbit_test_data): Likewise.
44233         (sqrt_test_data): Likewise.
44234         (significand_test_data): Likewise.
44236 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44238         [BZ #15424]
44239         * benchtests/bench-modf.c (struct args): Mark arg0 as
44240         volatile.
44241         * scripts/bench.pl: Mark members of struct args as volatile.
44243 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44245         [BZ # 15497]
44246         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
44247         negative infinity on POWER6 or lower.
44248         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
44250 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44252         [BZ #15442]
44253         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
44254         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
44255         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
44256         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
44257         (_FP_SETQNAN): New macro.
44258         (_FP_SETQNAN_SEMIRAW): Likewise.
44259         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
44260         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
44261         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
44262         (FP_EXTEND): Use _FP_FRAC_SNANP.
44263         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
44264         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
44265         into account.
44266         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44267         New macro.
44268         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44269         Likewise.
44271 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44273         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
44274         with DIVIDE_BY_ZERO_EXCEPTION.
44275         (gamma_test_data): Likewise.
44276         (lgamma_test_data): Likewise.
44277         (log_test_data): Likewise.
44278         (log10_test_data): Likewise.
44279         (log2_test_data): Likewise.
44280         (tgamma_test_data): Likewise.
44282         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
44283         (acos_test_tonearest): Likewise.
44284         (acos_test_towardzero): Likewise.
44285         (acos_test_downward): Likewise.
44286         (acos_test_upward): Likewise.
44287         (acosh_test): Likewise.
44288         (asin_test): Likewise.
44289         (asin_test_tonearest): Likewise.
44290         (asin_test_towardzero): Likewise.
44291         (asin_test_downward): Likewise.
44292         (asin_test_upward): Likewise.
44293         (asinh_test): Likewise.
44294         (atan_test): Likewise.
44295         (atanh_test): Likewise.
44296         (atan2_test): Likewise.
44297         (cabs_test): Likewise.
44298         (cacos_test): Likewise.
44299         (cacosh_test): Likewise.
44300         (casin_test): Likewise.
44301         (casinh_test): Likewise.
44302         (catan_test): Likewise.
44303         (catanh_test): Likewise.
44304         (cbrt_test): Likewise.
44305         (ccos_test): Likewise.
44306         (ccosh_test): Likewise.
44307         (cexp_test): Likewise.
44308         (clog_test): Likewise.
44309         (clog10_test): Likewise.
44310         (cos_test): Likewise.
44311         (cos_test_tonearest): Likewise.
44312         (cos_test_towardzero): Likewise.
44313         (cos_test_downward): Likewise.
44314         (cos_test_upward): Likewise.
44315         (cosh_test): Likewise.
44316         (cosh_test_tonearest): Likewise.
44317         (cosh_test_towardzero): Likewise.
44318         (cosh_test_downward): Likewise.
44319         (cosh_test_upward): Likewise.
44320         (cpow_test): Likewise.
44321         (csin_test): Likewise.
44322         (csinh_test): Likewise.
44323         (csqrt_test): Likewise.
44324         (ctan_test): Likewise.
44325         (ctan_test_tonearest): Likewise.
44326         (ctan_test_towardzero): Likewise.
44327         (ctan_test_downward): Likewise.
44328         (ctan_test_upward): Likewise.
44329         (ctanh_test): Likewise.
44330         (ctanh_test_tonearest): Likewise.
44331         (ctanh_test_towardzero): Likewise.
44332         (ctanh_test_downward): Likewise.
44333         (ctanh_test_upward): Likewise.
44334         (erf_test): Likewise.
44335         (erfc_test): Likewise.
44336         (exp_test): Likewise.
44337         (exp_test_tonearest): Likewise.
44338         (exp_test_towardzero): Likewise.
44339         (exp_test_downward): Likewise.
44340         (exp_test_upward): Likewise.
44341         (exp10_test): Likewise.
44342         (exp2_test): Likewise.
44343         (expm1_test): Likewise.
44344         (fmod_test): Likewise.
44345         (gamma_test): Likewise.
44346         (hypot_test): Likewise.
44347         (j0_test): Likewise.
44348         (j1_test): Likewise.
44349         (jn_test): Likewise.
44350         (lgamma_test): Likewise.
44351         (log_test): Likewise.
44352         (log10_test): Likewise.
44353         (log1p_test): Likewise.
44354         (log2_test): Likewise.
44355         (logb_test_downward): Likewise.
44356         (pow_test): Likewise.
44357         (pow_test_tonearest): Likewise.
44358         (pow_test_towardzero): Likewise.
44359         (pow_test_downward): Likewise.
44360         (pow_test_upward): Likewise.
44361         (remainder_test): Likewise.
44362         (remquo_test): Likewise.
44363         (sin_test): Likewise.
44364         (sin_test_tonearest): Likewise.
44365         (sin_test_towardzero): Likewise.
44366         (sin_test_downward): Likewise.
44367         (sin_test_upward): Likewise.
44368         (sincos_test): Likewise.
44369         (sinh_test): Likewise.
44370         (sinh_test_tonearest): Likewise.
44371         (sinh_test_towardzero): Likewise.
44372         (sinh_test_downward): Likewise.
44373         (sinh_test_upward): Likewise.
44374         (sqrt_test): Likewise.
44375         (tan_test): Likewise.
44376         (tan_test_tonearest): Likewise.
44377         (tan_test_towardzero): Likewise.
44378         (tan_test_downward): Likewise.
44379         (tan_test_upward): Likewise.
44380         (tanh_test): Likewise.
44381         (tgamma_test): Likewise.
44382         (y0_test): Likewise.
44383         (y1_test): Likewise.
44384         (yn_test): Likewise.
44386         * math/gen-libm-test.pl (adjust_arg): Remove function.
44387         (special_function): Remove argument $in_func.  Only handle
44388         generating output for tables of tests, not inside functions.
44389         (parse_args): Likewise.
44390         (generate_testfile): Remove variable $in_func.  Update call to
44391         parse_args.
44392         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
44393         (MINUS_ZERO_INIT): Rename macro to minus_zero.
44394         (PLUS_INFTY_INIT): Rename macro to plus_infty.
44395         (MINUS_INFTY_INIT): Rename macro to minus_infty.
44396         (QNAN_VALUE_INIT): Rename macro to qnan_value.
44397         (MAX_VALUE_INIT): Rename macro to max_value.
44398         (MIN_VALUE_INIT): Rename macro to min_value.
44399         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
44400         (plus_zero): Remove variable.
44401         (minus_zero): Likewise.
44402         (plus_infty): Likewise.
44403         (minus_infty): Likewise.
44404         (qnan_value): Likewise.
44405         (max_value): Likewise.
44406         (min_value): Likewise.
44407         (min_subnorm_value): Likewise.
44409 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44411         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44412         uint64_t or uint32_t usage.
44413         * crypt/sha256-block.c: Likewise.
44414         * crypt/sha256-crypt.c: Likewise.
44415         * crypt/sha256.c: Likewise.
44416         * crypt/sha512-block.c: Likewise.
44417         * crypt/sha512-crypt.c: Likewise.
44418         * crypt/sha512.c: Likewise.
44419         * debug/backtrace-tst.c: Likewise.
44420         * debug/pcprofiledump.c: Likewise.
44421         * elf/cache.c: Likewise.
44422         * elf/dl-cache.c: Likewise.
44423         * elf/dl-misc.c: Likewise.
44424         * elf/dl-profile.c: Likewise.
44425         * elf/dl-support.c: Likewise.
44426         * elf/ldconfig.c: Likewise.
44427         * elf/sprof.c: Likewise.
44428         * iconv/dummy-repertoire.c: Likewise.
44429         * iconv/iconv_charmap.c: Likewise.
44430         * iconv/skeleton.c: Likewise.
44431         * iconvdata/8bit-generic.c: Likewise.
44432         * iconvdata/cp737.h: Likewise.
44433         * iconvdata/cp775.h: Likewise.
44434         * iconvdata/ibm1008.h: Likewise.
44435         * iconvdata/ibm1025.h: Likewise.
44436         * iconvdata/ibm1046.h: Likewise.
44437         * iconvdata/ibm1097.h: Likewise.
44438         * iconvdata/ibm1112.h: Likewise.
44439         * iconvdata/ibm1122.h: Likewise.
44440         * iconvdata/ibm1123.h: Likewise.
44441         * iconvdata/ibm1124.h: Likewise.
44442         * iconvdata/ibm1129.h: Likewise.
44443         * iconvdata/ibm1130.h: Likewise.
44444         * iconvdata/ibm1132.h: Likewise.
44445         * iconvdata/ibm1133.h: Likewise.
44446         * iconvdata/ibm1137.h: Likewise.
44447         * iconvdata/ibm1140.h: Likewise.
44448         * iconvdata/ibm1141.h: Likewise.
44449         * iconvdata/ibm1142.h: Likewise.
44450         * iconvdata/ibm1143.h: Likewise.
44451         * iconvdata/ibm1144.h: Likewise.
44452         * iconvdata/ibm1145.h: Likewise.
44453         * iconvdata/ibm1146.h: Likewise.
44454         * iconvdata/ibm1147.h: Likewise.
44455         * iconvdata/ibm1148.h: Likewise.
44456         * iconvdata/ibm1149.h: Likewise.
44457         * iconvdata/ibm1153.h: Likewise.
44458         * iconvdata/ibm1154.h: Likewise.
44459         * iconvdata/ibm1155.h: Likewise.
44460         * iconvdata/ibm1156.h: Likewise.
44461         * iconvdata/ibm1157.h: Likewise.
44462         * iconvdata/ibm1158.h: Likewise.
44463         * iconvdata/ibm1160.h: Likewise.
44464         * iconvdata/ibm1161.h: Likewise.
44465         * iconvdata/ibm1162.h: Likewise.
44466         * iconvdata/ibm1163.h: Likewise.
44467         * iconvdata/ibm1164.h: Likewise.
44468         * iconvdata/ibm1166.h: Likewise.
44469         * iconvdata/ibm1167.h: Likewise.
44470         * iconvdata/ibm12712.h: Likewise.
44471         * iconvdata/ibm1390.h: Likewise.
44472         * iconvdata/ibm1399.h: Likewise.
44473         * iconvdata/ibm16804.h: Likewise.
44474         * iconvdata/ibm4517.h: Likewise.
44475         * iconvdata/ibm4899.h: Likewise.
44476         * iconvdata/ibm4909.h: Likewise.
44477         * iconvdata/ibm4971.h: Likewise.
44478         * iconvdata/ibm5347.h: Likewise.
44479         * iconvdata/ibm803.h: Likewise.
44480         * iconvdata/ibm856.h: Likewise.
44481         * iconvdata/ibm901.h: Likewise.
44482         * iconvdata/ibm902.h: Likewise.
44483         * iconvdata/ibm9030.h: Likewise.
44484         * iconvdata/ibm9066.h: Likewise.
44485         * iconvdata/ibm921.h: Likewise.
44486         * iconvdata/ibm922.h: Likewise.
44487         * iconvdata/ibm9448.h: Likewise.
44488         * iconvdata/isiri-3342.h: Likewise.
44489         * iconvdata/jis0201.h: Likewise.
44490         * include/link.h: Likewise.
44491         * include/netdb.h: Likewise.
44492         * inet/check_native.c: Likewise.
44493         * inet/check_pf.c: Likewise.
44494         * inet/getipv4sourcefilter.c: Likewise.
44495         * inet/getnameinfo.c: Likewise.
44496         * inet/getsourcefilter.c: Likewise.
44497         * inet/htonl.c: Likewise.
44498         * inet/setipv4sourcefilter.c: Likewise.
44499         * inet/setsourcefilter.c: Likewise.
44500         * inet/test-inet6_opt.c: Likewise.
44501         * inet/tst-network.c: Likewise.
44502         * locale/C-collate.c: Likewise.
44503         * locale/C-ctype.c: Likewise.
44504         * locale/C-time.c: Likewise.
44505         * locale/C-translit.h: Likewise.
44506         * locale/loadarchive.c: Likewise.
44507         * locale/programs/3level.h: Likewise.
44508         * locale/programs/charmap.c: Likewise.
44509         * locale/programs/charmap.h: Likewise.
44510         * locale/programs/ld-address.c: Likewise.
44511         * locale/programs/ld-collate.c: Likewise.
44512         * locale/programs/ld-ctype.c: Likewise.
44513         * locale/programs/ld-identification.c: Likewise.
44514         * locale/programs/ld-measurement.c: Likewise.
44515         * locale/programs/ld-messages.c: Likewise.
44516         * locale/programs/ld-monetary.c: Likewise.
44517         * locale/programs/ld-name.c: Likewise.
44518         * locale/programs/ld-numeric.c: Likewise.
44519         * locale/programs/ld-paper.c: Likewise.
44520         * locale/programs/ld-telephone.c: Likewise.
44521         * locale/programs/ld-time.c: Likewise.
44522         * locale/programs/linereader.c: Likewise.
44523         * locale/programs/locale.c: Likewise.
44524         * locale/programs/locarchive.c: Likewise.
44525         * locale/programs/locfile.h: Likewise.
44526         * locale/programs/repertoire.c: Likewise.
44527         * locale/programs/simple-hash.c: Likewise.
44528         * locale/programs/simple-hash.h: Likewise.
44529         * malloc/memusage.c: Likewise.
44530         * malloc/memusagestat.c: Likewise.
44531         * nis/nis_defaults.c: Likewise.
44532         * nis/nis_hash.c: Likewise.
44533         * nis/nis_print.c: Likewise.
44534         * nis/nis_xdr.c: Likewise.
44535         * nscd/connections.c: Likewise.
44536         * nscd/hstcache.c: Likewise.
44537         * nscd/nscd_gethst_r.c: Likewise.
44538         * nscd/nscd_getserv_r.c: Likewise.
44539         * nscd/nscd_helper.c: Likewise.
44540         * nscd/servicescache.c: Likewise.
44541         * nss/makedb.c: Likewise.
44542         * nss/nss_db/db-XXX.c: Likewise.
44543         * nss/nss_db/db-initgroups.c: Likewise.
44544         * nss/nss_db/db-netgrp.c: Likewise.
44545         * nss/nss_files/files-network.c: Likewise.
44546         * nss/nss_files/files-parse.c: Likewise.
44547         * posix/bug-regex5.c: Likewise.
44548         * posix/fnmatch_loop.c: Likewise.
44549         * posix/regcomp.c: Likewise.
44550         * posix/regexec.c: Likewise.
44551         * posix/tst-rfc3484-2.c: Likewise.
44552         * posix/tst-rfc3484-3.c: Likewise.
44553         * posix/tst-rfc3484.c: Likewise.
44554         * resolv/nss_dns/dns-canon.c: Likewise.
44555         * resolv/nss_dns/dns-network.c: Likewise.
44556         * resolv/res_init.c: Likewise.
44557         * resolv/res_mkquery.c: Likewise.
44558         * resolv/tst-aton.c: Likewise.
44559         * stdlib/cxa_atexit.c: Likewise.
44560         * stdlib/cxa_finalize.c: Likewise.
44561         * stdlib/gen-fpioconst.c: Likewise.
44562         * stdlib/strtol_l.c: Likewise.
44563         * string/tst-endian.c: Likewise.
44564         * sunrpc/auth_des.c: Likewise.
44565         * sunrpc/clnt_udp.c: Likewise.
44566         * sunrpc/rtime.c: Likewise.
44567         * sunrpc/svcauth_des.c: Likewise.
44568         * sunrpc/xdr.c: Likewise.
44569         * sunrpc/xdr_intXX_t.c: Likewise.
44570         * sunrpc/xdr_rec.c: Likewise.
44571         * sysdeps/generic/ldconfig.h: Likewise.
44572         * sysdeps/generic/ldsodefs.h: Likewise.
44573         * sysdeps/generic/memusage.h: Likewise.
44574         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44575         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44576         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44577         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44578         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44579         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44580         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44581         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44582         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44583         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44584         * sysdeps/posix/getaddrinfo.c: Likewise.
44585         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44586         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44587         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44588         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44589         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44590         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44591         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44592         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44593         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44594         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44595         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44596         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44597         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44598         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44599         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44600         * sysdeps/x86_64/dl-tls.h: Likewise.
44601         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44602         * time/alt_digit.c: Likewise.
44603         * time/era.c: Likewise.
44604         * wcsmbs/tst-c16c32-1.c: Likewise.
44606 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44608         * math/libm-test.inc (struct test_sincos_data): New type.
44609         (RUN_TEST_LOOP_sincos): New macro.
44610         (sincos_test_data): New variable.
44611         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44613 2013-05-16  Richard Henderson  <rth@redhat.com>
44615         * math/atest-exp2.c (LIMB64): New macro.
44616         (CONSTSZ): New macro.
44617         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44618         (hexdig): Move ...
44619         (print_mpn_fp): ... to function scope.
44620         (read_mpn_hex): Remove.
44621         (get_log2): Remove.
44622         (exp2_mpn): Use mp_log2.
44623         (main): Use mp_exp1.
44625 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44627         * math/libm-test.inc: Remove comment about not testing "inexact"
44628         exceptions.
44629         (INEXACT_EXCEPTION): New macro.
44630         (NO_INEXACT_EXCEPTION): Likewise.
44631         (INVALID_EXCEPTION_OK): Update value.
44632         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44633         (OVERFLOW_EXCEPTION_OK): Likewise.
44634         (UNDERFLOW_EXCEPTION_OK): Likewise.
44635         (IGNORE_ZERO_INF_SIGN): Likewise.
44636         (ERRNO_UNCHANGED): Likewise.
44637         (ERRNO_EDOM): Likewise.
44638         (ERRNO_ERANGE): Likewise.
44639         (test_exceptions): Handle testing "inexact" exceptions.
44640         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44641         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44642         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44643         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44644         INEXACT_EXCEPTION.
44645         (rint_towardzero_test_data): Likewise.
44646         (rint_downward_test_data): Likewise.
44647         (rint_upward_test_data): Likewise.
44649         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44650         with OVERFLOW_EXCEPTION.
44651         (exp10_test_data): Likewise.
44652         (exp2_test_data): Likewise.
44653         (expm1_test_data): Likewise.
44654         (lgamma_test_data): Likewise.
44655         (pow_test_data): Likewise.
44656         (tgamma_test_data): Likewise.
44657         (yn_test_data): Remove duplicate test of overflow.
44659         * math/libm-test.inc (struct test_cc_c_data): New type.
44660         (RUN_TEST_LOOP_cc_c): New macro.
44661         (cpow_test_data): New variable.
44662         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44664         * math/libm-test.inc (struct test_f_L_data): New type.
44665         (RUN_TEST_LOOP_f_L): New macro.
44666         (llrint_test_data): New variable.
44667         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44668         (llrint_tonearest_test_data): New variable.
44669         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44670         (llrint_towardzero_test_data): New variable.
44671         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44672         (llrint_downward_test_data): New variable.
44673         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44674         (llrint_upward_test_data): New variable.
44675         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44676         (llround_test_data): New variable.
44677         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44679 2013-05-13  Peter Collingbourne  <pcc@google.com>
44681         * math/atest-exp2.c (get_log2): Remove const attribute.
44683 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44685         * math/libm-test.inc (struct test_f_l_data): New type.
44686         (RUN_TEST_LOOP_f_l): New macro.
44687         (lrint_test_data): New variable.
44688         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44689         (lrint_tonearest_test_data): New variable.
44690         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44691         (lrint_towardzero_test_data): New variable.
44692         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44693         (lrint_downward_test_data): New variable.
44694         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44695         (lrint_upward_test_data): New variable.
44696         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44697         (lround_test_data): New variable.
44698         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44700 2013-05-15  Peter Collingbourne  <pcc@google.com>
44702         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44703         (EXTRACT_WORDS64) Use where appropriate.
44704         (INSERT_WORDS64) Likewise.
44706         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44707         constraints with x constraints.
44708         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44710         * malloc/obstack.c (_obstack_compat): Add initializer.
44712 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44714         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44715         si_trapno and add si_addr_lsb to _sifields.sigfault.
44716         (si_trapno): Remove macro.
44717         (si_addr_lsb): Define new macro.
44718         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44720 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44722         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44723         instead of TEST_f_l.
44724         (llrint_test_tonearest): Likewise.
44725         (llrint_test_towardzero): Likewise.
44726         (llrint_test_downward): Likewise.
44727         (llrint_test_upward): Likewise.
44728         (llround_test): Likewise.
44730         * math/libm-test.inc (struct test_f_i_data): Add comment.
44731         (RUN_TEST_LOOP_f_b): New macro.
44732         (RUN_TEST_LOOP_f_b_tg): Likewise.
44733         (finite_test_data): New variable.
44734         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44735         (isfinite_test_data): New variable.
44736         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44737         (isinf_test_data): New variable.
44738         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44739         (isnan_test_data): New variable.
44740         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44741         (isnormal_test_data): New variable.
44742         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44743         (issignaling_test_data): New variable.
44744         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44745         (signbit_test_data): New variable.
44746         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44748         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44749         with INVALID_EXCEPTION.
44750         (acosh_test_data): Likewise.
44751         (asin_test_data): Likewise.
44752         (atanh_test_data): Likewise.
44753         (fmod_test_data): Likewise.
44754         (log_test_data): Likewise.
44755         (log10_test_data): Likewise.
44756         (log2_test_data): Likewise.
44757         (pow_test_data): Likewise.
44758         (sqrt_test_data): Likewise.
44759         (y0_test_data): Likewise.
44760         (y1_test_data): Likewise.
44761         (yn_test_data): Likewise.
44763         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44764         function contents.
44766         * math/libm-test.inc (struct test_ff_i_data): New type.
44767         (RUN_TEST_LOOP_ff_i_tg): New macro.
44768         (isgreater_test_data): New variable.
44769         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44770         (isgreaterequal_test_data): New variable.
44771         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44772         (isless_test_data): New variable.
44773         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44774         (islessequal_test_data): New variable.
44775         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44776         (islessgreater_test_data): New variable.
44777         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44778         (isunordered_test_data): New variable.
44779         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44781 2013-05-14  David S. Miller  <davem@davemloft.net>
44783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44785 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44787         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44789         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44790         extra_test to int.
44791         (struct test_f_i_data): Change type of max_ulp to int.
44793         * math/libm-test.inc (test_ffI_f1_data): New type.
44794         (RUN_TEST_LOOP_ffI_f1): New macro.
44795         (remquo_test_data): New variable.
44796         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44798         * setjmp/tst-setjmp-fp.c: New file.
44799         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44800         (link-libm): New variable.
44801         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44803         * math/libm-test.inc (struct test_f_i_data): New type.
44804         (RUN_TEST_LOOP_f_i): New macro.
44805         (RUN_TEST_LOOP_f_i_tg): Likewise.
44806         (fpclassify_test_data): New variable.
44807         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44808         (ilogb_test_data): New variable.
44809         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44811         * math/libm-test.inc (scalbln_test): Correct function name in END
44812         call.
44814         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44815         (RUN_TEST_LOOP_fI_f1): New macro.
44816         (frexp_test_data): New variable.
44817         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44819         * math/libm-test.inc (struct test_fF_f1_data): New type.
44820         (RUN_TEST_LOOP_fF_f1): New macro.
44821         (modf_test_data): New variable.
44822         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44824         * math/libm-test.inc (struct test_f_f1_data): New type.
44825         (RUN_TEST_LOOP_f_f1): New macro.
44826         (gamma_test_data): New variable.
44827         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44828         (lgamma_test_data): New variable.
44829         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44831 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44833         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44834         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44835         (main): Comment "tls" pseudo-hwcap.
44837 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44839         * math/libm-test.inc (struct test_fl_f_data): New type.
44840         (RUN_TEST_LOOP_fl_f): New variable.
44841         (scalbln_test_data): New variable.
44842         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44844         * math/libm-test.inc (struct test_fi_f_data): New type.
44845         (RUN_TEST_LOOP_fi_f): New macro.
44846         (ldexp_test_data): New variable.
44847         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44848         (scalbn_test_data): New variable.
44849         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44851         * math/libm-test.inc (struct test_c_f_data): New type.
44852         (RUN_TEST_LOOP_c_f): New macro.
44853         (cabs_test_data): New variable.
44854         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44855         (carg_test_data): New variable.
44856         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44857         (cimag_test_data): New variable.
44858         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44859         (creal_test_data): New variable.
44860         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44862         * math/libm-test.inc (struct test_if_f_data): New type.
44863         (RUN_TEST_LOOP_if_f): New macro.
44864         (jn_test_data): New variable.
44865         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44866         (yn_test_data): New variable.
44867         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44869         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44871 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44873         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44874         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44876 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44878         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44879         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44880         (bench-deps): Add bench-timing.h.
44881         * benchtests-bench-skeleton.c: Include bench-timing.h.
44882         (main): Use TIMING_* macros instead of clock_gettime.
44883         * benchtests/bench-timing.h: New file.
44885         [BZ #14582]
44886         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44887         Renamed from _LIB_VERSION.
44888         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44890 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44892         * math/libm-test.inc (struct test_fff_f_data): New type.
44893         (RUN_TEST_LOOP_fff_f): New macro.
44894         (fma_test_data): New variable.
44895         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44896         (fma_towardzero_test_data): New variable.
44897         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44898         (fma_downward_test_data): New variable.
44899         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44900         (fma_upward_test_data): New variable.
44901         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44903         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44904         (struct test_c_c_data): New type.
44905         (RUN_TEST_LOOP_c_c): New macro.
44906         (cacos_test_data): New variable.
44907         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44908         (cacosh_test_data): New variable.
44909         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44910         (casin_test_data): New variable.
44911         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44912         (casinh_test_data): New variable.
44913         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44914         (catan_test_data): New variable.
44915         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44916         (catanh_test_data): New variable.
44917         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44918         (ccos_test_data): New variable.
44919         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44920         (ccosh_test_data): New variable.
44921         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44922         (cexp_test_data): New variable.
44923         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44924         (clog_test_data): New variable.
44925         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44926         (clog10_test_data): New variable.
44927         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44928         (conj_test_data): New variable.
44929         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44930         (cproj_test_data): New variable.
44931         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44932         (csin_test_data): New variable.
44933         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44934         (csinh_test_data): New variable.
44935         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44936         (csqrt_test_data): New variable.
44937         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44938         (ctan_test_data): New variable.
44939         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44940         (ctan_tonearest_test_data): New variable.
44941         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44942         (ctan_towardzero_test_data): New variable.
44943         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44944         (ctan_downward_test_data): New variable.
44945         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44946         (ctan_upward_test_data): New variable.
44947         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44948         (ctanh_test_data): New variable.
44949         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44950         (ctanh_tonearest_test_data): New variable.
44951         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44952         (ctanh_towardzero_test_data): New variable.
44953         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44954         (ctanh_downward_test_data): New variable.
44955         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44956         (ctanh_upward_test_data): New variable.
44957         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44958         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44959         of BUILD_COMPLEX.
44961         * math/libm-test.inc (struct test_ff_f_data): New type.
44962         (struct test_ff_f_data_nexttoward): Likewise.
44963         (RUN_TEST_LOOP_2_f): New macro.
44964         (RUN_TEST_LOOP_ff_f): Likewise.
44965         (atan2_test_data): New variable.
44966         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44967         (copysign_test_data): New variable.
44968         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44969         (fdim_test_data): New variable.
44970         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44971         (fmax_test_data): New variable.
44972         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44973         (fmin_test_data): New variable.
44974         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44975         (fmod_test_data): New variable.
44976         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44977         (hypot_test_data): New variable.
44978         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44979         (nextafter_test_data): New variable.
44980         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44981         (nexttoward_test_data): New variable.
44982         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44983         (pow_test_data): New variable.
44984         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44985         (pow_tonearest_test_data): New variable.
44986         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44987         (pow_towardzero_test_data): New variable.
44988         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44989         (pow_downward_test_data): New variable.
44990         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44991         (pow_upward_test_data): New variable.
44992         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44993         (remainder_test_data): New variable.
44994         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44995         (scalb_test_data): New variable.
44996         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44997         * sysdeps/i386/fpu/libm-test-ulps: Update.
44999 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
45001         * math/libm-test.inc (fma_test): Use max_value instead of local
45002         variable fltmax.
45003         (nextafter_test): Likewise.
45005         * math/libm-test.inc (acos_towardzero_test_data): New variable.
45006         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45007         (acos_downward_test_data): New variable.
45008         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45009         (acos_upward_test_data): New variable.
45010         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45011         (acosh_test_data): New variable.
45012         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
45013         (asin_test_data): New variable.
45014         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
45015         (asin_tonearest_test_data): New variable.
45016         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45017         (asin_towardzero_test_data): New variable.
45018         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45019         (asin_downward_test_data): New variable.
45020         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45021         (asin_upward_test_data): New variable.
45022         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45023         (asinh_test_data): New variable.
45024         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
45025         (atan_test_data): New variable.
45026         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
45027         (atanh_test_data): New variable.
45028         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
45029         (cbrt_test_data): New variable.
45030         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
45031         (ceil_test_data): New variable.
45032         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
45033         (cos_test_data): New variable.
45034         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
45035         (cos_tonearest_test_data): New variable.
45036         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45037         (cos_towardzero_test_data): New variable.
45038         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45039         (cos_downward_test_data): New variable.
45040         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45041         (cos_upward_test_data): New variable.
45042         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45043         (cosh_test_data): New variable.
45044         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
45045         (cosh_tonearest_test_data): New variable.
45046         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45047         (cosh_towardzero_test_data): New variable.
45048         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45049         (cosh_downward_test_data): New variable.
45050         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45051         (cosh_upward_test_data): New variable.
45052         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45053         (erf_test_data): New variable.
45054         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
45055         (erfc_test_data): New variable.
45056         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
45057         (exp_test_data): New variable.
45058         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
45059         (exp_tonearest_test_data): New variable.
45060         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45061         (exp_towardzero_test_data): New variable.
45062         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45063         (exp_downward_test_data): New variable.
45064         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45065         (exp_upward_test_data): New variable.
45066         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45067         (exp10_test_data): New variable.
45068         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
45069         (exp2_test_data): New variable.
45070         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
45071         (expm1_test_data): New variable.
45072         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
45073         (fabs_test_data): New variable.
45074         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
45075         (floor_test_data): New variable.
45076         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
45077         (j0_test_data): New variable.
45078         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
45079         (j1_test_data): New variable.
45080         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
45081         (log_test_data): New variable.
45082         (log_test): Run tests with RUN_TEST_LOOP_f_f.
45083         (log10_test_data): New variable.
45084         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
45085         (log1p_test_data): New variable.
45086         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
45087         (log2_test_data): New variable.
45088         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
45089         (logb_test_data): New variable.
45090         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
45091         (logb_downward_test_data): New variable.
45092         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45093         (nearbyint_test_data): New variable.
45094         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
45095         (rint_test_data): New variable.
45096         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
45097         (rint_tonearest_test_data): New variable.
45098         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45099         (rint_towardzero_test_data): New variable.
45100         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45101         (rint_downward_test_data): New variable.
45102         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45103         (rint_upward_test_data): New variable.
45104         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45105         (round_test_data): New variable.
45106         (round_test): Run tests with RUN_TEST_LOOP_f_f.
45107         (sin_test_data): New variable.
45108         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
45109         (sin_tonearest_test_data): New variable.
45110         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45111         (sin_towardzero_test_data): New variable.
45112         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45113         (sin_downward_test_data): New variable.
45114         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45115         (sin_upward_test_data): New variable.
45116         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45117         (sinh_test_data): New variable.
45118         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
45119         (sinh_tonearest_test_data): New variable.
45120         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45121         (sinh_towardzero_test_data): New variable.
45122         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45123         (sinh_downward_test_data): New variable.
45124         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45125         (sinh_upward_test_data): New variable.
45126         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45127         (sqrt_test_data): New variable.
45128         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
45129         (tan_test_data): New variable.
45130         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
45131         (tan_tonearest_test_data): New variable.
45132         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45133         (tan_towardzero_test_data): New variable.
45134         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45135         (tan_downward_test_data): New variable.
45136         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45137         (tan_upward_test_data): New variable.
45138         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45139         (tanh_test_data): New variable.
45140         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
45141         (tgamma_test_data): New variable.
45142         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
45143         (trunc_test_data): New variable.
45144         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
45145         (y0_test_data): New variable.
45146         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
45147         (y1_test_data): New variable.
45148         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
45149         (significand_test_data): New variable.
45150         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
45152 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
45154         [BZ #12387]
45155         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
45157 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45159         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
45161 2013-05-10  Andreas Jaeger  <aj@suse.de>
45163         [BZ #15448]
45164         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
45165         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
45167 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45169         * math/gen-libm-test.pl (adjust_arg): New function.
45170         (special_functions): Handle generating output in both functions
45171         and arrays.
45172         (parse_args): Likewise.
45173         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
45174         $in_func argument to parse_args.
45175         * math/libm-test.inc (struct test_f_f_data): New type.
45176         (IF_ROUND_INIT_): New macro.
45177         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
45178         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45179         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45180         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45181         (ROUND_RESTORE_): Likewise.
45182         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
45183         (ROUND_RESTORE_FE_TONEAREST): Likewise.
45184         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
45185         (ROUND_RESTORE_FE_UPWARD): Likewise.
45186         (RUN_TEST_LOOP_f_f): New macro.
45187         (acos_test_data): New variable.
45188         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
45189         (acos_tonearest_test_data): New variable.
45190         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45192 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45194         * benchtests/bench-skeleton.c (startup): Fix coding style.
45196 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45198         [BZ #6809]
45199         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
45200         negative infinity argument.
45201         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
45202         negative infinity argument.
45203         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
45204         negative infinity argument.
45205         * math/libm-test.inc (tgamma_test): Expect errno to be set for
45206         domain errors.
45208 2013-05-10  Florian Weimer  <fweimer@redhat.com>
45210         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45211         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
45212         * iconv/iconv_prog.c (main): Likewise.
45213         * locale/programs/charmap-dir.c (charmap_readdir)
45214         (fopen_uncompressed): Likewise.
45215         * locale/programs/locfile.c (siblings_uncached)
45216         (write_locale_data): Use lstat64 instead of lstat.
45217         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
45218         stat.
45220 2013-05-10  Andreas Jaeger  <aj@suse.de>
45222         [BZ #15395]
45223         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
45224         localization.
45225         Include <locale.h>.
45227 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
45229         * elf/dl-close.c (_dl_close_worker): Add comments.
45231 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
45233         [BZ #15359]
45234         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
45235         high part of pi/2.
45236         (__ieee754_rem_pio2l): Update comments.
45238         [BZ #15429]
45239         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
45240         high part of pi/2.
45241         (__ieee754_rem_pio2l): Update comments.
45243         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
45244         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
45246         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
45247         M_PI_4l.
45249         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
45250         (M_PI_34_LOG10El): Likewise.
45251         (M_PI2_LOG10El): Likewise.
45252         (M_PI4_LOG10El): Likewise.
45253         (M_PI_LOG10El): Likewise.
45255 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45259 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
45261         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
45262         (MINUS_ZERO_INIT): Likewise.
45263         (PLUS_INFTY_INIT): Likewise.
45264         (MINUS_INFTY_INIT): Likewise.
45265         (QNAN_VALUE_INIT): Likewise.
45266         (MAX_VALUE_INIT): Likewise.
45267         (MIN_VALUE_INIT): Likewise.
45268         (MIN_SUBNORM_VALUE_INIT): Likewise.
45269         (plus_zero): Initialize with PLUS_ZERO_INIT.
45270         (minus_zero): Initialize with MINUS_ZERO_INIT.
45271         (plus_infty): Initialize with PLUS_INFTY_INIT.
45272         (minus_infty): Initialize with MINUS_INFTY_INIT.
45273         (qnan_value): Initialize with QNAN_VALUE_INIT.
45274         (max_value): Initialize with MAX_VALUE_INIT.
45275         (min_value): Initialize with MIN_VALUE_INIT.
45276         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
45278         * math/libm-test.inc (RUN_TEST_if_f): New macro.
45279         (jn_test): Use TEST_if_f instead of TEST_ff_f.
45280         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
45281         (yn_test): Use TEST_if_f instead of TEST_ff_f.
45283         * math/libm-test.inc (RUN_TEST_f_f): New macro.
45284         (RUN_TEST_2_f): Likewise.
45285         (RUN_TEST_ff_f): Likewise.
45286         (RUN_TEST_fi_f): Likewise.
45287         (RUN_TEST_fl_f): Likewise.
45288         (RUN_TEST_fff_f): Likewise.
45289         (RUN_TEST_c_f): Likewise.
45290         (RUN_TEST_f_f1): Likewise.
45291         (RUN_TEST_fF_f1): Likewise.
45292         (RUN_TEST_fI_f1): Likewise.
45293         (RUN_TEST_ffI_f1): Likewise.
45294         (RUN_TEST_c_c): Likewise.
45295         (RUN_TEST_cc_c): Likewise.
45296         (RUN_TEST_f_i): Likewise.
45297         (RUN_TEST_f_i_tg): Likewise.
45298         (RUN_TEST_ff_i_tg): Likewise.
45299         (RUN_TEST_f_b): Likewise.
45300         (RUN_TEST_f_b_tg): Likewise.
45301         (RUN_TEST_f_l): Likewise.
45302         (RUN_TEST_f_L): Likewise.
45303         (RUN_TEST_sincos): Likewise.
45304         * math/gen-libm-test.pl (new_test): Take new argument to indicate
45305         whether to show exceptions.  Do not include ");\n" in return
45306         value.
45307         (special_functions): Output call to RUN_TEST_sincos instead of
45308         check_float calls.  Update calls to new_test.
45309         (parse_args): Output call to single RUN_TEST_* macro instead of
45310         check_* calls and other assignments.  Update calls to new_test.
45312         [BZ #2546]
45313         [BZ #2560]
45314         [BZ #5159]
45315         [BZ #15426]
45316         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
45317         input to result for tgamma overflow.
45318         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
45319         (gamma_coeff): New variable.
45320         (NCOEFF): New macro.
45321         (gamma_positive): New function.
45322         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45323         underflow here.  Use gamma_positive instead of exp (lgamma) for
45324         other arguments.
45325         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45326         (gamma_coeff): New variable.
45327         (NCOEFF): New macro.
45328         (gammaf_positive): New function.
45329         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45330         underflow here.  Use gamma_positive instead of exp (lgamma) for
45331         other arguments.
45332         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45333         (gamma_coeff): New variable.
45334         (NCOEFF): New macro.
45335         (gammal_positive): New function.
45336         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45337         underflow here.  Use gamma_positive instead of exp (lgamma) for
45338         other arguments.
45339         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45340         (gamma_coeff): New variable.
45341         (NCOEFF): New macro.
45342         (gammal_positive): New function.
45343         (__ieee754_gammal_r): Handle positive infinity, overflow and
45344         underflow here.  Handle NaN the same as positive infinity.  Remove
45345         check x < 0xffffffff for negative integers.  Use gamma_positive
45346         instead of exp (lgamma) for other arguments.
45347         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45348         (gamma_coeff): New variable.
45349         (NCOEFF): New macro.
45350         (gammal_positive): New function.
45351         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45352         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45353         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45354         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45355         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45356         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45357         * sysdeps/generic/math_private.h (__gamma_productf): New
45358         prototype.
45359         (__gamma_product): Likewise.
45360         (__gamma_productl): Likewise.
45361         * math/Makefile (libm-calls): Add gamma_product.
45362         * math/libm-test.inc (tgamma_test): Add more tests.
45363         * sysdeps/i386/fpu/libm-test-ulps: Update.
45364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45366 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
45368         * benchtests/bench-skeleton.c (main): Preheat CPU.
45370 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
45372         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
45374 2013-05-07  Roland McGrath  <roland@hack.frob.com>
45376         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
45377         and _dl_skip_args_internal.
45379 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
45381         * manual/message.texi (Message Translation): Talk about users.
45382         Message to key mapping impacts design.
45384 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45386         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
45388         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
45390         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
45391         * sysdeps/wordsize-64/glob64.c: ... here.
45393         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
45394         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
45395         New macros.
45397         * debug/getlogin_r_chk.c: Moved to ...
45398         * login/getlogin_r_chk.c: ... here.
45399         * debug/Makefile (routines): Move getlogin_r_chk to ...
45400         * login/Makefile (routines): ... here.
45401         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
45402         * login/Versions (libc: GLIBC_2.4): ... here.
45404         * io/poll.c (__poll): Renamed from poll.
45405         Add libc_hidden_def.
45406         (poll): Define as weak alias.
45408         * debug/ptsname_r_chk.c: Moved to ...
45409         * login/ptsname_r_chk.c: ... here.
45410         * debug/Makefile (routines): Move ptsname_r_chk to ...
45411         * login/Makefile (routines): ... here.
45412         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45413         * login/Versions (libc: GLIBC_2.4): ... here.
45415         * posix/getlogin.c: Moved to ...
45416         * login/getlogin.c: ... here.
45417         * posix/getlogin_r.c: Moved to ...
45418         * login/getlogin_r.c: ... here.
45419         * posix/getlogin_r.c: Moved to ...
45420         * login/getlogin_r.c: ... here.
45421         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45422         * login/Makefile (routines): ... here.
45423         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45424         * login/Versions (libc: GLIBC_2.0): ... here.
45426         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45427         (setrlimit): Define as weak alias.
45429         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45430         Call __ names for open, ftruncate, and close.
45431         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45432         (truncate): Define as weak alias.
45434 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
45436         * math/gen-libm-test.pl (parse_args): Initialize x before each
45437         test of frexp, modf and remquo.
45439         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45440         test signgam value.
45442 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45444         [BZ #15418]
45445         [BZ #15419]
45446         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45447         internal tests.
45448         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45450 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45452         * elf/dl-writev.h: New file.
45453         * elf/dl-misc.c: Include it.
45454         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45455         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45457 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45459         * math/libm-test.inc (noXFails): Remove variable.
45460         (noXPasses): Likewise.
45461         (BUILD_COMPLEX_INT): Remove macro.
45462         (print_screen): Remove xfail argument.
45463         (print_screen_max_error): Likewise.
45464         (update_stats): Likewise.
45465         (print_max_error): Likewise.  Update calls to other affected
45466         functions.
45467         (print_complex_max_error): Likewise.
45468         (test_single_exception): Update calls to print_screen.
45469         (test_single_errno): Likewise.
45470         (check_float_internal): Remove xfail argument.  Update calls to
45471         other affected functions.
45472         (check_float): Likewise.
45473         (check_complex): Likewise.
45474         (check_int): Likewise.
45475         (check_long): Likewise.
45476         (check_bool): Likewise.
45477         (check_longlong): Likewise.
45478         (main): Don't print noXFails and noXPasses.
45479         * math/gen-libm-test.pl (top level): Don't mention expected
45480         failure handling in comment.
45481         (new_test): Don't handle expected failures.
45482         (parse_args): Don't mention expected failure handling in comment.
45483         (generate_testfile): Don't handle expected failures.
45484         (parse_ulps): Likewise.
45485         (print_ulps_file): Likewise.
45486         (get_failure): Remove function.
45487         (output_test): Don't handle expected failures.
45488         * make/README.libm-test: Don't mention expected failure handling.
45490         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45491         (minus_zero): Likewise.
45492         (plus_infty): Likewise.
45493         (minus_infty): Likewise.
45494         (qnan_value): Likewise.
45495         (max_value): Likewise.
45496         (min_value): Likewise.
45497         (min_subnorm_value): Likewise.
45498         (initialize): Do not initialize those variables dynamically.
45500 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45502         * io/open.c (__open_2): Moved to ...
45503         * io/open_2.c: ... this new file.
45504         * io/open64.c (__open64_2): Moved to ...
45505         * io/open64_2.c: ... this new file.
45506         * io/openat.c (__openat_2): Moved to ...
45507         * io/openat_2.c: ... this new file.
45508         * io/openat64.c (__openat64_2): Moved to ...
45509         * io/openat64_2.c: ... this new file.
45510         * io/Makefile (routines): Add them.
45511         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45512         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45513         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45514         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45515         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45516         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45517         (__openat64): Add hidden_ver.
45518         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45519         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45521         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45522         Separately conditionalize setting of GLRO(dl_sysinfo) so
45523         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45524         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45526 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45528         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45529         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45530         definition.
45531         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45532         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45533         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45534         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45535         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45537 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45539         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45540         test signgam value.
45542         * math/libm-test.inc (hypot_test): Do not use
45543         IGNORE_ZERO_INF_SIGN.
45545 2013-05-03  Andreas Jaeger  <aj@suse.de>
45547         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45548         Linux 3.9.
45549         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45550         (PF_MAX): Adjust for VSOCK change.
45552 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45556 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45558         [BZ #15264]
45559         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45560         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45561         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45563 2013-05-02  David S. Miller  <davem@davemloft.net>
45565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45567 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45569         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45571 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45573         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45575 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45577         [BZ #14952]
45578         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45579         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45580         Use __attribute__ ((__gnu_inline__)).
45581         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45582         Don't use __attribute__ ((__gnu_inline__)).
45584 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45586         [BZ #15423]
45587         * math/s_catan.c (__catan): Handle small real or imaginary part of
45588         input specially to avoid spurious underflow.
45589         * math/s_catanf.c (__catanf): Likewise.
45590         * math/s_catanh.c (__catanh): Likewise.
45591         * math/s_catanhf.c (__catanhf): Likewise.
45592         * math/s_catanhl.c (__catanhl): Likewise.
45593         * math/s_catanl.c (__catanl): Likewise.
45594         * math/libm-test.inc (catan_test): Add more tests.
45595         (catanh_test): Likewise.
45596         * sysdeps/i386/fpu/libm-test-ulps: Update.
45597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45599 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45603 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45605         [BZ #15416]
45606         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45607         accurately for denominator in atan2.
45608         * math/s_catanf.c (__catanf): Likewise.
45609         * math/s_catanh.c (__catanh): Likewise.
45610         * math/s_catanhf.c (__catanhf): Likewise.
45611         * math/s_catanhl.c (__catanhl): Likewise.
45612         * math/s_catanl.c (__catanl): Likewise.
45613         * math/libm-test.inc (catan_test): Add more tests.
45614         (catanh_test): Likewise.
45615         * sysdeps/i386/fpu/libm-test-ulps: Update.
45616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45618 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45620         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45622         * benchtests/Makefile (bench): Remove slow benchmarks.
45623         * benchtests/atan-inputs: Add slow benchmark inputs.
45624         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45625         (BENCH_FUNC): Accept variant offset.
45626         (VARIANT): Define.
45627         * benchtests/bench-skeleton.c (main): Run benchmark for each
45628         variant.
45629         * benchtests/cos-inputs: Add slow benchmark inputs.
45630         * benchtests/exp-inputs: Likewise.
45631         * benchtests/pow-inputs: Likewise.
45632         * benchtests/sin-inputs: Likewise.
45633         * benchtests/slowatan-inputs: Remove.
45634         * benchtests/slowatan.c: Remove.
45635         * benchtests/slowcos-inputs: Remove.
45636         * benchtests/slowcos.c: Remove.
45637         * benchtests/slowexp-inputs: Remove.
45638         * benchtests/slowexp.c: Remove.
45639         * benchtests/slowpow-inputs: Remove.
45640         * benchtests/slowpow.c: Remove.
45641         * benchtests/slowsin-inputs: Remove.
45642         * benchtests/slowsin.c: Remove.
45643         * benchtests/slowtan-inputs: Remove.
45644         * benchtests/slowtan.c: Remove.
45645         * benchtests/tan-inputs: Add slow benchmark inputs.
45646         * scripts/bench.pl: Parse comments and directives.
45648         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45649         in CPPFLAGS.
45650         ($(objpfx)bench-%.c): Remove *-ITER.
45651         * benchtests/bench-modf.c: Remove definition of ITER.
45652         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45653         (main): Loop for DURATION seconds instead of fixed number of
45654         iterations.
45655         * scripts/bench.pl: Don't expect iterations in parameters.
45657 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45659         * io/fchdir.c (__fchdir): Renamed from fchdir.
45660         (fchdir): Define as weak alias.
45662 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45664         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45665         (ERRNO_EDOM): Likewise.
45666         (ERRNO_ERANGE): Likewise.
45667         (noErrnoTests): New variable.
45668         (init_max_error): Set errno to 0.
45669         (test_single_errno): New function.
45670         (test_errno): Likewise.
45671         (check_float_internal): Call test_errno.  Set errno to 0.
45672         (check_complex): Refer to errno tests in comment.
45673         (check_int): Call test_errno.  Set errno to 0.
45674         (check_long): Likewise.
45675         (check_bool): Likewise.
45676         (check_longlong): Likewise.
45677         (cos_test): Use ERRNO_* flags for errno tests instead of
45678         check_int.
45679         (expm1_test): Likewise.
45680         (fmod_test): Likewise.
45681         (ilogb_test): Likewise.
45682         (lgamma_test): Likewise.
45683         (pow_test): Likewise.
45684         (remainder_test): Likewise.
45685         (sin_test): Likewise.
45686         (tan_test): Likewise.
45687         (yn_test): Likewise.
45688         (initialize): Set errno to 0.
45689         (main): Print number of errno tests.
45690         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45692 2013-04-29  Andreas Jaeger  <aj@suse.de>
45694         [BZ #15084]
45695         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45696         and RES_USEVC.
45698         [BZ #15085]
45699         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45700         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45701         unimplemented.
45703         [BZ #15380]
45704         * stdlib/random.c (__initstate): Return NULL if
45705         __initstate fails.
45707         [BZ #15086]
45708         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45709         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45710         RES_SNGLKUPREOP.
45712 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45716 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45718         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45719         of individual tests.
45720         (casin_test): Likewise.
45721         (casinh_test): Likewise.
45723 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45725         [BZ #15409]
45726         * math/s_catan.c (__catan): Handle arguments with large real or
45727         imaginary part separately without squaring.
45728         * math/s_catanf.c (__catanf): Likewise.
45729         * math/s_catanh.c (__catanh): Likewise.
45730         * math/s_catanhf.c (__catanhf): Likewise.
45731         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45732         and redefine.
45733         (__catanhl): Handle arguments with large real or imaginary part
45734         separately without squaring.
45735         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45736         and redefine.
45737         (__catanl): Handle arguments with large real or imaginary part
45738         separately without squaring.
45739         * math/libm-test.inc (catan_test): Add more tests.
45740         (catanh_test): Likewise.
45741         * sysdeps/i386/fpu/libm-test-ulps: Update.
45742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45744 2013-04-27  Andreas Jaeger  <aj@suse.de>
45746         [BZ #15007]
45747         * stdlib/stdlib.h: Update guards for qecvt.
45748         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45749         <stdlib.h>.
45751 2013-04-27  Allan McRae  <allan@archlinux.org>
45753         * sysdeps/i386/fpu/libm-test-ulps: Update.
45755 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45757         [BZ #15406]
45758         * math/s_catan.c: Include <float.h>.
45759         (__catan): Ensure underflow exception occurs for underflowed
45760         result.
45761         * math/s_catanf.c: Include <float.h>.
45762         (__catanf): Ensure underflow exception occurs for underflowed
45763         result.
45764         * math/s_catanh.c: Include <float.h>.
45765         (__catanh): Ensure underflow exception occurs for underflowed
45766         result.
45767         * math/s_catanhf.c: Include <float.h>.
45768         (__catanhf): Ensure underflow exception occurs for underflowed
45769         result.
45770         * math/s_catanhl.c: Include <float.h>.
45771         (__catanhl): Ensure underflow exception occurs for underflowed
45772         result.
45773         * math/s_catanl.c: Include <float.h>.
45774         (__catanl): Ensure underflow exception occurs for underflowed
45775         result.
45776         * math/libm-test.inc (catan_test): Add more tests.
45777         (catanh_test): Likewise.
45779         [BZ #15405]
45780         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45781         underflowed result.
45782         * math/s_ccoshf.c (__ccoshf): Likewise.
45783         * math/s_ccoshl.c (__ccoshl): Likewise.
45784         * math/s_csin.c (__csin): Likewise.
45785         * math/s_csinf.c (__csinf): Likewise.
45786         * math/s_csinh.c (__csinh): Likewise.
45787         * math/s_csinhf.c (__csinhf): Likewise.
45788         * math/s_csinhl.c (__csinhl): Likewise.
45789         * math/s_csinl.c (__csinl): Likewise.
45790         * math/libm-test.inc (ccos_test): Add more tests.
45791         (ccosh_test): Likewise.
45792         (csin_test): Likewise.
45793         (csinh_test): Likewise.
45795 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45797         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45798         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45799         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45800         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45801         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45802         powerpc/power5+/fpu folders.
45803         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45806 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45810 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45812         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45813         additions to variable.
45814         [$(config-machine) = x86_64] (modules-names): Likewise.
45815         ($(objpfx)tst-audit3): Remove dependency.
45816         ($(objpfx)tst-audit3.out): Likewise.
45817         ($(objpfx)tst-audit4): Likewise.
45818         ($(objpfx)tst-audit4.out): Likewise.
45819         ($(objpfx)tst-audit5): Likewise.
45820         ($(objpfx)tst-audit5.out): Likewise.
45821         ($(objpfx)tst-audit6): Likewise.
45822         ($(objpfx)tst-audit6.out): Likewise.
45823         ($(objpfx)tst-audit7): Likewise.
45824         ($(objpfx)tst-audit7.out): Likewise.
45825         (tst-audit3-ENV): Remove variable.
45826         (tst-audit4-ENV): Likewise.
45827         (tst-audit5-ENV): Likewise.
45828         (tst-audit6-ENV): Likewise.
45829         (tst-audit7-ENV): Likewise.
45830         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45831         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45832         addition to variable.
45833         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45834         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45835         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45836         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45837         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45838         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45839         tst-audit3, tst-audit4 and tst-audit5.
45840         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45841         tst-audit6 and tst-audit7.
45842         [$(subdir) = elf] (modules-names): Add audit modules for those
45843         tests.
45844         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45845         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45846         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45847         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45848         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45849         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45850         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45851         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45852         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45853         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45854         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45855         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45856         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45857         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45858         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45859         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45860         Likewise.
45861         [$(subdir) = elf && $(config-cflags-avx) = yes]
45862         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45863         [$(subdir) = elf && $(config-cflags-avx) = yes]
45864         (CFLAGS-tst-auditmod4a.c): Likewise.
45865         [$(subdir) = elf && $(config-cflags-avx) = yes]
45866         (CFLAGS-tst-auditmod4b.c): Likewise.
45867         [$(subdir) = elf && $(config-cflags-avx) = yes]
45868         (CFLAGS-tst-auditmod6b.c): Likewise.
45869         [$(subdir) = elf && $(config-cflags-avx) = yes]
45870         (CFLAGS-tst-auditmod6c.c): Likewise.
45871         [$(subdir) = elf && $(config-cflags-avx) = yes]
45872         (CFLAGS-tst-auditmod7b.c): Likewise.
45873         * elf/tst-audit3.c: Move to ...
45874         * sysdeps/x86_64/tst-audit3.c: ... here.
45875         * elf/tst-audit4.c: Move to ...
45876         * sysdeps/x86_64/tst-audit4.c: ... here.
45877         * elf/tst-audit5.c: Move to ...
45878         * sysdeps/x86_64/tst-audit5.c: ... here.
45879         * elf/tst-audit6.c: Move to ...
45880         * sysdeps/x86_64/tst-audit6.c: ... here.
45881         * elf/tst-audit7.c: Move to ...
45882         * sysdeps/x86_64/tst-audit7.c: ... here.
45883         * elf/tst-auditmod3a.c: Move to ...
45884         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45885         * elf/tst-auditmod3b.c: Move to ...
45886         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45887         * elf/tst-auditmod4a.c: Move to ...
45888         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45889         * elf/tst-auditmod4b.c: Move to ...
45890         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45891         * elf/tst-auditmod5a.c: Move to ...
45892         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45893         * elf/tst-auditmod5b.c: Move to ...
45894         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45895         * elf/tst-auditmod6a.c: Move to ...
45896         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45897         * elf/tst-auditmod6b.c: Move to ...
45898         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45899         * elf/tst-auditmod6c.c: Move to ...
45900         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45901         * elf/tst-auditmod7a.c: Move to ...
45902         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45903         * elf/tst-auditmod7b.c: Move to ...
45904         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45906 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45908         [BZ #15366]
45909         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45910         define unconditionally.
45911         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45912         define unconditionally.
45913         (INT8_C, INT16_C, etc.): Likewise.
45915 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45917         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45918         __ehdr_start with hidden visibility.
45920         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45922 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45924         * math/libm-test.inc (cos_test): Use accurate hex constants.
45925         (sincost_test): Likewise.
45927 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45929         * math/libm-test.inc (catan_test): Add more tests.
45930         (catanh_test): Likewise.
45932         * math/s_catanf.c (__catanf): Use suffixed floating-point
45933         constants.
45934         * math/s_catanhf.c (__catanhf): Likewise.
45935         * math/s_catanhl.c (__catanhl): Likewise.
45936         * math/s_catanl.c (__catanl): Likewise.
45938         [BZ #15394]
45939         * math/s_catan.c (__catan): Calculate imaginary part of result
45940         with log1p not log unless computing log of number close to 0.
45941         * math/s_catanf.c (__catanf): Likewise.
45942         * math/s_catanl.c (__catanl): Likewise.
45943         * math/s_catanh.c (__catanh): Calculate real part of result with
45944         log1p not log unless computing log of number close to 0.
45945         * math/s_catanhf.c (__catanhf): Likewise.
45946         * math/s_catanhl.c (__catanhl): Likewise.
45947         * math/libm-test.inc (catan_test): Add more tests.
45948         (catanh_test): Likewise.
45949         * sysdeps/i386/fpu/libm-test-ulps: Update.
45950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45952 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45954         * benchtests/Makefile: Mention files in which fast and slow
45955         paths of math functions are implemented.
45957 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45959         * sysdeps/posix/timespec_get.c: New file.
45961 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45963         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45964         POWER.
45965         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45966         for POWER.
45967         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45968         powerpc/power5/fpu folders.
45969         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45970         * benchtests/Makefile: Add modf testcase.
45971         * benchtests/bench-modf.c: New file: Benchmark test for mo
45973 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45975         [BZ #14888]
45976         * time/Makefile (tests): Add tst-strptime-whitespace.
45977         * time/strptime_l.c (get_number): Use ISSPACE.
45978         (__strptime_internal): Likewise.
45979         * time/tst-strptime-whitespace.c: New test case.
45981 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45983         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45984         member.
45985         (_nss_files_init): Set it here.
45987 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45989         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45990         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45991         unsigned.
45993 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45995         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45997 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45999         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
46000         size just once.
46002 2013-04-21  David S. Miller  <davem@davemloft.net>
46004         * po/ru.po: Update Russion translation from translation project.
46006 2013-04-17  Adam Conrad  <adconrad@0c3.net>
46008         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
46009         and setfsgid.
46011 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
46013         * configure.in: Remove i386 configure warning. Remove i386 case.
46014         * configure: Regenerate.
46015         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
46016         Add example to error message.
46017         * sysdeps/i386/configure: Regenerate.
46019 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46021         * benchtests/Makefile (bench): Add cos, tan, slowcos and
46022         slowtan.
46023         * benchtests/cos-inputs: New file.
46024         * benchtests/slowcos-inputs: New file.
46025         * benchtests/slowcos.c: New file.
46026         * benchtests/slowtan-inputs: New file.
46027         * benchtests/slowtan.c: New file.
46028         * benchtests/tan-inputs: New file.
46030 2013-04-16  Roland McGrath  <roland@hack.frob.com>
46032         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
46033         considered kosher.
46035 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46037         * benchtests/Makefile: Include cppflags-iterator.mk to add
46038         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
46040         * Makefile.in (bench-clean): New target.
46041         * benchtests/Makefile (bench-clean): Likewise.
46043 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
46045         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
46047 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
46049         * stdio-common/tstdiomisc.c: Fix coding-style violation.
46051 2013-04-15  Andreas Schwab  <schwab@suse.de>
46053         * nscd/grpcache.c (cache_addgr): Properly check for short write.
46054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46055         * nscd/pwdcache.c (cache_addpw): Likewise.
46056         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
46057         more than recsize.
46059 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46061         * benchtests/Makefile (bench): Write all output to
46062         bench-out.tmp together.
46064 2013-04-15  Andreas Schwab  <schwab@suse.de>
46066         * nscd/nscd.c (main): Don't fork again after closing files.
46068 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46070         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
46072         * benchtests/Rules (bench-deps): Collect dependencies into a
46073         single variable.  Add Makefile to dependencies.
46074         ($(objpfx)bench-%.c): Depend on bench-deps.
46076 2013-04-12  Roland McGrath  <roland@hack.frob.com>
46077             Xavier Roche  <roche+kml2@exalead.com>
46079         [BZ #15361]
46080         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
46081         just that it's a file descriptor.
46082         * manual/llio.texi (Synchronizing AIO Operations): Update description
46083         for EBADF error from aio_fsync.
46085 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46087         * Rules (bench): Move target definition...
46088         * benchtests/Makefile: ... here.
46090 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
46092         * math/libm-test.inc (cos_test): Fix PI/2 test.
46093         (sincos_test): Likewise.
46094         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46095         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
46097 2013-04-11  Andreas Schwab  <schwab@suse.de>
46099         [BZ #13988]
46100         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
46101         accept exponent character only when digits were seen.
46102         * stdio-common/Makefile (tests): Add bug26.
46103         * stdio-common/bug26.c: New file.
46105         [BZ #14293]
46106         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
46107         non-freeable.
46109 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46111         * Makeconfig (rtld-prefix): Define built linker prefix.
46112         * Rules (run-bench): Use it.
46113         * math/Makefile (run-regen-ulps): Likewise.
46115         * Rules (bench): Remove eval.
46117 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46118             Roland McGrath  <roland@hack.frob.com>
46119             Ondrej Bilka  <neleai@seznam.cz>
46121         [BZ #15346]
46122         * time/getdate.c: Include ctype.h and alloca.h.
46123         (__getdate_r): Trim leading and trailing spaces of input.
46124         * time/tst-getdate.c (tests): Add tests with leading and
46125         trailing spaces.
46127 2013-04-08  Roland McGrath  <roland@hack.frob.com>
46129         [BZ #14280]
46130         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
46131         when computing value.
46133 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46135         * math/README.libm-test (How can I generate "libm-test-ulps"?):
46136         Use testrun.sh to run libm tests.
46138         [BZ #15309]
46139         * elf/dl-open.c (dl_open_worker): memset all of seen array.
46141 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
46143         [BZ #15264]
46144         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
46146 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46148         * Makefile.in (regen-ulps): New target.
46149         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
46150         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
46151         [ifneq (no,$(PERL)] (regen-ulps): New target.
46152         [ifeq (no,$(PERL)] (regen-ulps): New target.
46153         * math/libm-test.inc (ulps_file_name): Define.
46154         (output_dir): New variable.
46155         (options): Add "output-dir" option.
46156         (parse_opt): Handle 'o' case.
46157         (main): If output_dir is non-NULL use it as a prefix
46158         otherwise use "".
46159         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
46161 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46163         [BZ #10060, #10062]
46164         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
46165         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
46166         fail configure if __sync_val_compare_and_swap is not inlined.
46167         * sysdeps/i386/configure: Regenerate.
46168         * configure.in: Build for i686 when configured for i386.
46169         * configure: Regenerate.
46170         * README: Remove i386 reference.
46172 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46174         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
46175         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46177 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46179         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
46180         (lmsnanval): New variables.
46181         (F): Add conversion tests.
46182         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
46183         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
46185         * stdio-common/tstdiomisc.c (F): Properly collect individual
46186         tests' results.
46188         [BZ #14686, #15336]
46189         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
46190         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
46191         Instead, use input NaN values or generate a qNaN by arithmetic
46192         operation.  Also fix bugs to comply with the standard.
46193         * math/libm-test.inc (remainder_test): Add more tests.
46195         [BZ #15335, #15342]
46196         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
46197         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
46198         input NaN values or generate a qNaN by arithmetic operation.
46200         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
46201         unreachable code.
46203         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
46204         definitions.
46206 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
46208         [BZ #14478]
46209         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
46210         underflowed result.
46211         * math/s_cexpf.c (__cexpf): Likewise.
46212         * math/s_cexpl.c (__cexpl): Likewise.
46213         * math/libm-test.inc (cexp_test): Add more tests.
46215 2013-04-03  Andreas Schwab  <schwab@suse.de>
46217         [BZ #15330]
46218         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
46219         order arrays from heap if bigger than alloca cutoff.
46221 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
46223         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
46224         (SNAN_TESTS_double): Refer to GCC PR56831.
46225         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
46226         GCC PR56828.
46228 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46230         * Rules (bench): Move bench.out after the run is complete.
46232         * Rules (bench): Echo currently running benchmark.
46234         * benchtests/Makefile (bench): Add atan and slowatan.
46235         * benchtests/atan-inputs: New file.
46236         * benchtests/slowatan-inputs: New file.
46237         * benchtests/slowatan.c: New file.
46239         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
46240         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
46241         its value.
46243         [BZ #15305]
46244         * sysdeps/unix/sysv/linux/kernel-features.h
46245         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
46246         __ASSUME_XFS_RESTRICTED_CHOWN.
46247         * sysdeps/unix/sysv/linux/pathconf.c
46248         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46249         Save and restore errno.
46251 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
46253         [BZ #15327]
46254         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
46255         arguments using __kernel_casinh.
46256         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
46257         arguments using __kernel_casinhf.
46258         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
46259         arguments using __kernel_casinhl.
46260         * math/libm-test.inc (cacosh_test): Add more tests.
46261         * sysdeps/i386/fpu/libm-test-ulps: Update.
46262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46264 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46266         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
46267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
46269         * bench/Makefile (bench): Add sin and slowsin.
46270         * benchtests/sin-inputs: New file.
46271         * benchtests/slowsin-inputs: New file.
46272         * benchtests/slowsin.c: New file.
46274         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
46275         (bench): Add slowexp and slowpow.
46276         (exp-ITER): Increase iterations.
46277         (pow-ITER): Likewise.
46278         * benchtests/exp-inputs: Change input.
46279         * benchtests/pow-inputs: Likewise.
46280         * benchtests/slowexp-inputs: New file.
46281         * benchtests/slowexp.c: New file.
46282         * benchtests/slowpow-inputs: New file.
46283         * benchtests/slowpow.c: New file.
46285 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46287         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
46288         instructions.
46289         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46290         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
46291         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46292         * benchtests/Makefile: Add rint benchtest.
46293         * benchtests/rint-inputs: Input for rint benchtest.
46295 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46297         * Versions.def (libm): Add GLIBC_2.18.
46298         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
46299         hidden libm prototypes.
46300         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
46301         * math/Makefile (libm-calls): Add s_issignaling.
46302         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
46303         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
46304         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
46305         declaration.
46306         * math/math.h [__USE_GNU] (issignaling): New macro.
46307         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
46308         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46309         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
46310         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
46311         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
46312         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
46313         * manual/arith.texi (issignaling): New section.
46314         * manual/libm-err-tab.pl (@all_functions): Update comment.
46315         * math/gen-libm-test.pl (parse_args): Apply special handling for
46316         issignaling.
46317         * math/libm-test.inc (print_float, issignaling_test): New
46318         functions.
46319         (check_float_internal): Add issignaling checks.
46320         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46321         default definition.
46322         * sysdeps/powerpc/math-tests.h: New file.
46323         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46324         tests.
46325         * math/test-snan.c (TEST_FUNC): Likewise.
46327 2013-03-30  David S. Miller  <davem@davemloft.net>
46329         * po/de.po: Update from translation team.
46331 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
46333         [BZ #10357]
46334         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46335         imaginary part less than 1.0 and real part less than 0.5
46336         specially.
46337         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46338         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46339         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46340         (cacos_test): Add more tests.
46341         (casin_test): Likewise.
46342         (casinh_test): Likewise.
46343         * sysdeps/i386/fpu/libm-test-ulps: Update.
46344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46346 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46348         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46349         ONE with its value.
46351         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46352         (__pow_mp): Replace ONE and MONE with their values.
46353         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46354         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46355         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46356         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46357         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46358         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46360         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46362         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46363         (__pow_mp): Replace ZERO and MZERO with their values.
46364         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46365         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46366         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46368         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46369         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
46370         (__sqr): Likewise.
46372         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
46374         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46376 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46378         * include/stdlib.h [!SHARED] (__call_tls_dtors):
46379         Declare with __attribute__ ((weak)).
46380         * stdlib/exit.c (__libc_atexit) [!SHARED]:
46381         Call __call_tls_dtors only if it's not NULL.
46383 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46385         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
46386         didn't do it already, then set _dl_phdr and _dl_phnum based on the
46387         magic __ehdr_start linker symbol if it's defined.
46388         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
46389         them up here if it was already done.
46391         * elf/dl-support.c (_dl_phdr): Make pointer to const.
46392         (_dl_aux_init): Use const in cast when setting it.
46393         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
46394         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
46395         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
46397         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
46398         Declare them here.
46399         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
46400         * csu/libc-tls.c: Nor here.
46401         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
46403         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
46404         (__libc_message): Never call vsyslog.
46406 2013-03-28  Alan Modra  <amodra@gmail.com>
46408         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46409         Define as empty.
46410         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46411         Likewise.
46413 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46415         [BZ #15214]
46416         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46417         underflow.
46418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46420 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46422         [BZ #15304]
46423         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46424         Don't add gid passed as argument.
46426         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46428 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
46430         [BZ #15307]
46431         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46432         imaginary part between 1.0 and 1.5 and real part less than 0.5
46433         specially.
46434         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46435         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46436         * math/libm-test.inc (cacos_test): Add more tests.
46437         (casin_test): Likewise.
46438         (casinh_test): Likewise.
46439         * sysdeps/i386/fpu/libm-test-ulps: Update.
46440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46442 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46444         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46445         constants.
46446         (norm): Likewise.
46447         (denorm): Likewise.
46448         (__dbl_mp): Likewise.
46449         (add_magnitudes): Likewise.
46450         (sub_magnitudes): Likewise.
46451         (__add): Likewise.
46452         (__sub): Likewise.
46453         (__mul): Likewise.
46454         (__sqr): Likewise.
46455         (__inv): Likewise.
46456         (__dvd): Likewise.
46458         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46459         commented code.
46460         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46461         (__dubcos): Likewise.
46462         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46463         (__ieee754_acos): Likewise.
46464         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46465         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46466         (__exp1): Likewise.
46467         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46469         (log1): Likewise.
46470         (my_log2): Likewise.
46471         (checkint): Likewise.
46472         * sysdeps/ieee754/dbl-64/e_remainder.c
46473         (__ieee754_remainder): Likewise.
46474         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46475         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46476         (bsloww): Likewise.
46477         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46479         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46480         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46481         MANTISSA_STORE_T to store computations on mantissa.  Use
46482         macros for rounding and division.
46483         (denorm): Likewise.
46484         (__dbl_mp): Likewise.
46485         (add_magnitudes): Likewise.
46486         (sub_magnitudes): Likewise.
46487         (__mul): Likewise.
46488         (__sqr): Likewise.
46489         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46490         powers of two in terms of TWOPOW macro.
46491         (mp_no): Make type of mantissa as MANTISSA_T.
46492         [!RADIXI]: Define RADIXI.
46493         [!TWO52]: Define TWO52.
46494         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46496 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46498         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46499         llroundl symbol when building for PPC32.
46501 2013-03-24  Mark H Weaver  <mhw@netris.org>
46503         * manual/arith.texi (Normalization Functions): Fix prototypes for
46504         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46506 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46508         [BZ #13889]
46509         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46510         high value to check if expl overflow.
46511         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46512         to check for underflow and overflow.
46513         * math/libm-test.inc: Add exp test.
46515 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46517         [BZ #11120]
46518         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46519         with NOT_IN_libc.
46521 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46523         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46524         symbol.
46526 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46528         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46529         wrap blocks consisting of several statements.
46531         * sysdeps/generic/math-tests.h: New file.
46532         * sysdeps/i386/fpu/math-tests.h: Likewise.
46533         * math/test-snan.c: Include it.
46534         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46536 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46538         [BZ #15285]
46539         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46540         (__ieee754_j0l): Do not improve calculations using cos of twice
46541         input for inputs above LDBL_MAX / 2.0L.
46542         (__ieee754_y0l): Likewise.
46543         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46544         (__ieee754_j1l): Do not improve calculations using cos of twice
46545         input for inputs above LDBL_MAX / 2.0L.
46546         (__ieee754_y1l): Likewise.
46547         * math/libm-test.inc (j0_test): Add another test.
46548         (j1_test): Likewise.
46549         (y0_test): Likewise.
46550         (y1_test): Likewise.
46551         * sysdeps/i386/fpu/libm-test-ulps: Update.
46553 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46555         * Rules ($(objpfx)bench-%.c): Include code from a C source
46556         file.
46558 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46560         [BZ #15287]
46561         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46562         imaginary part 1.0 and real part less than 0.5 specially.
46563         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46564         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46565         * math/libm-test.inc (cacos_test): Add more tests.
46566         (casin_test): Likewise.
46567         (casinh_test): Likewise.
46568         * sysdeps/i386/fpu/libm-test-ulps: Update.
46569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46571 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46573         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46574         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46576 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46578         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46579         * config.make.in (config-cflags-sse4): Remove variable.
46580         (config-cflags-avx): Likewise.
46581         (config-cflags-sse2avx): Likewise.
46582         (config-cflags-novzeroupper): Likewise.
46583         (config-asflags-i686): Likewise.
46584         (have-mfma4): Likewise.
46585         (have-as-vis3): Likewise.
46586         (MIG): Likewise.
46587         * configure.in (MIG): Do not AC_SUBST.
46588         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46589         (libc_cv_cc_sse4): Do not AC_SUBST.
46590         (libc_cv_cc_avx): Likewise.
46591         (libc_cv_cc_sse2avx): Likewise.
46592         (libc_cv_cc_novzeroupper): Likewise.
46593         (libc_cv_cc_fma4): Likewise.
46594         (libc_cv_as_i686): Likewise.
46595         (libc_cv_sparc_as_vis3): Likewise.
46596         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46597         LIBC_CONFIG_VAR.
46598         (config-asflags-i686): Likewise.
46599         (config-cflags-avx): Likewise.
46600         (config-cflags-sse2avx): Likewise.
46601         (have-mfma4): Likewise.
46602         (config-cflags-novzeroupper): Likewise.
46603         * sysdeps/mach/configure.in (MIG): Likewise.
46604         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46605         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46606         LIBC_CONFIG_VAR.
46607         (config-cflags-avx): Likewise.
46608         (config-cflags-sse2avx): Likewise.
46609         (have-mfma4): Likewise.
46610         (config-cflags-novzeroupper): Likewise.
46611         * configure: Regenerated.
46612         * sysdeps/i386/configure: Likewise.
46613         * sysdeps/mach/configure: Likewise.
46614         * sysdeps/sparc/configure: Likewise.
46615         * sysdeps/x86_64/configure: Likewise.
46617 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46619         [BZ #14812]
46620         * locale/programs/localedef.c (options): Put N_ translation marker
46621         on argument names, not just descriptions.
46623 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46625         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46627 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46629         [BZ #14176]
46630         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46632 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46634         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46635         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46636         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46637         [!BEFORE_ABORT] (before_abort): New function.
46638         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46639         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46640         (writev_for_fatal): New function.
46641         (WRITEV_FOR_FATAL): New macro; call that.
46642         (backtrace_and_maps): New function.
46643         (BEFORE_ABORT): New macro; call that.
46644         (struct str_list): Type removed.
46645         (__libc_message, __libc_fatal): Functions removed.
46646         Include <sysdeps/posix/libc_fatal.c> instead.
46648 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46650         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46651         constants.
46652         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46653         double constants.
46655 2013-03-19  Andreas Schwab  <schwab@suse.de>
46657         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46658         * sysdeps/gnu/configure: Regenerate.
46660         * configure.in: Substitute libc_cv_rtlddir.
46661         * configure: Regenerate.
46662         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46663         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46664         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46665         * elf/Makefile (install-others, CFLAGS-interp.c)
46666         (ldso_install, common-ldd-rewrite): Likewise.
46667         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46668         $(inst_slibdir)/$(rtld-installed-name).
46669         * scripts/rellns-sh: Add -p option.
46670         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46671         for source.
46673 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46675         * manual/nptl.texi: Renamed to ...
46676         * manual/threads.texi: ... this.
46677         * manual/Makefile (chapters): Update.
46679 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46681         [BZ #14812]
46682         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46683         on argument names, not just descriptions.
46684         * malloc/memusagestat.c (options): Likewise.
46685         * nss/getent.c (options): Likewise.
46687 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46689         [BZ #14812]
46690         * iconv/iconv_prog.c (options): Put N_ translation marker
46691         on argument names, not just descriptions.
46692         * iconv/iconvconfig.c (options): Likewise.
46694 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46696         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46697         implementation which is faster on all x86_64 architectures.
46698         Tested on AMD, Intel Nehalem, SNB, IVB.
46699         * sysdeps/x86_64/strnlen.S: Likewise.
46701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46702         Remove all multiarch strlen and strnlen versions.
46703         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46704         Remove strlen and strnlen related parts.
46706         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46707         Inline strlen part.
46708         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46710         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46711         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46712         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46713         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46714         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46715         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46717 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46719         * manual/memory.texi (Malloc Tunable Parameters):
46720         Sort parameters alphabetically. Add comments for missing entries.
46722 2013-03-17  David S. Miller  <davem@davemloft.net>
46724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46726 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46728         [BZ #15283]
46729         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46730         for arguments at most half maximum finite value.
46731         * math/libm-test.inc (j0_test): Add more tests.
46732         (j1_test): Likewise.
46733         (y0_test): Likewise.
46734         (y1_test): Likewise.
46735         * sysdeps/i386/fpu/libm-test-ulps: Update.
46736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46738         [BZ #14155]
46739         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46740         1 / x and functions P and Q for arguments above 0x1p256L.
46741         (__ieee754_y0l): Likewise.
46742         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46743         (__ieee754_y1l): Likewise.
46744         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46745         (j1_test): Likewise.
46746         (y0_test): Likewise.
46747         (y1_test): Likewise.
46749 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46751         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46752         variable.
46754 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46756         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46757         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46758         zero since it's initialized to EXEC_PAGESIZE.
46760         * sysdeps/unix/sysv/linux/ldsodefs.h
46761         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46762         * sysdeps/generic/ldsodefs.h: ... here.
46764 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46766         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46768         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46769         math/test-snan.c.
46770         * math/test-snan.c: Renamed from
46771         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46772         * math/Makefile (tests): Add test-snan.
46773         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46774         test-powerpc-snan.
46776         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46777         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46778         functions.
46779         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46780         __builtin_nan family of functions.
46781         * math/libm-test.inc (initialize): Initialize qnan_value with
46782         __builtin_nan family of functions.
46783         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46784         Remove variables.
46785         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46786         Remove functions.
46787         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46788         storage class.  Initialize qNaN_var and sNaN_var with
46789         __builtin_nan and __builtin_nans families of functions,
46790         respectively.
46792         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46793         (sqrt_test): Remove duplicate test with qNaN input.
46794         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46795         (round_test, signbit_test, significand_test): Note missing +/-Inf
46796         as well as qNaN tests.
46798         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46799         qNaN_var.  Fix a few strings, too.
46800         * math/libm-test.inc (nan_value): Rename to qnan_value.
46801         * math/gen-libm-test.pl (%beautify): Adjust to that.
46802         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46803         * math/test-misc.c (main): Likewise.
46804         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46805         to __qnan_bytes, and __qnan_union, respectively.
46806         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46807         Likewise.
46808         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46809         and lqnanval, respectively.
46810         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46811         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46812         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46813         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46815         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46816         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46817         doubles.
46819         * math/test-misc.c (main): Fix copy'n'pastos.
46820         * misc/tst-efgcvt.c (special): Likewise.
46822         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46823         Remove declarations.
46825 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46827         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46828         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46829         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46830         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46832 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46834         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46835         macro to return vdso values correctly in IFUNC implementations.
46836         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46837         Optimization by using IFUNC.
46839 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46840             Richard Henderson  <rth@redhat.com>
46841             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46843         * Makefile.in (bench): New target.
46844         * NEWS: Mention the benchmark framework.
46845         * Rules (bench): Likewise.
46846         (binaries-bench): Generate binaries for functions to
46847         benchmark.
46848         * benchtests/Makefile: New makefile for benchmark tests.
46849         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46850         programs.
46851         * benchtests/exp-inputs: New input file for EXP function.
46852         * benchtests/pow-inputs: New input file for POW function.
46853         * scripts/bench.pl: New script to generate source files for
46854         benchmark programs.
46856 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46858         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46859         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46860         computations on mantissa.  Use macros for rounding and
46861         division.
46862         (denorm): Likewise.
46863         (__dbl_mp): Likewise.
46864         (add_magnitudes): Likewise.
46865         (sub_magnitudes): Likewise.
46866         (__mul): Likewise.
46867         (__sqr): Likewise.
46868         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46869         powers of two in terms of TWOPOW macro.
46870         (mp_no): Make type of mantissa as MANTISSA_T.
46871         [!RADIXI]: Define RADIXI.
46872         [!TWO52]: Define TWO52.
46873         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46875         * manual/nptl.texi (cindex): Modify threads to pthreads.
46877 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46879         * sysdeps/x86_64/preconfigure: Regenerated.
46881 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46883         [BZ #14155]
46884         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46885         0x1p28 and above.
46886         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46887         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46888         0x1p28 and above.
46889         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46890         * math/libm-test.inc (j0_test): Do not allow one spurious
46891         underflow exception.
46892         (y1_test): Likewise.
46894 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46896         * manual/Makefile (chapters): Add nptl.
46897         * manual/debug.texi (Debugging Support): Add link to Threads
46898         chapter.
46899         * manual/nptl.texi: New file.
46901         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46903 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46905         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46906         for non-NULL pointer before the memory validity test. Pointed
46907         out by Holger Brunck <holger.brunck@keymile.com>.
46909 2013-03-13  Andreas Schwab  <schwab@suse.de>
46911         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46912         instead of .os.
46914 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46916         * timezone/zic.c: Update from tzcode 2013b.
46918 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46920         * manual/install.texi (Configuring and compiling):
46921         Mention i686 and i586.
46922         * INSTALL: Regenerate.
46924 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46926         * sysdeps/init_array/elf-init.c: New file.
46927         * csu/elf-init.c
46928         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46929         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46931         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46932         __gmon_start__ as global, but as static with a .preinit_array pointer.
46933         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46934         * sysdeps/init_array/crti.S: New file, empty except for comments.
46935         * sysdeps/init_array/crtn.S: Likewise.
46937 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46939         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46940         definining bcopy.
46941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46942         Remove Prefer_SSE_for_memop.
46943         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46944         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46945         HAS_PREFER_SSE_FOR_MEMOP.
46946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46947         memset-x86-64.
46948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46949         Remove bzero, memset ifunc support.
46950         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46951         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46952         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46953         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46955 2013-03-11  Andreas Schwab  <schwab@suse.de>
46957         [BZ #15234]
46958         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46959         by SHLIB_COMPAT.
46960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46961         (GLIBC_2.16): Remove pthread_atfork.
46963 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46965         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46966         (ptestcases.h): Likewise.
46968 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46970         * Makeconfig ($(common-objpfx)config.status): Depend on
46971         sysdeps/*/preconfigure{,.in} too.
46973 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46975         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46976         (__free_hook): Use void * instead of __malloc_ptr_t.
46977         (__malloc_hook): Likewise.
46978         (__realloc_hook): Likewise.
46979         (__memalign_hook): Likewise.
46980         (__after_morecore_hook): Likewise.
46981         * malloc/arena.c (save_malloc_hook): Likewise.
46982         (save_free_hook): Likewise.
46983         * malloc/hooks.c (malloc_hook_ini): Likewise.
46984         (realloc_hook_ini): Likewise.
46985         (memalign_hook_ini): Likewise.
46986         * malloc/malloc.c (malloc_hook_ini): Likewise.
46987         (realloc_hook_ini): Likewise.
46988         (memalign_hook_ini): Likewise.
46989         (__free_hook): Likewise.
46990         (__malloc_hook): Likewise.
46991         (__realloc_hook): Likewise.
46992         (__memalign_hook): Likewise.
46993         (__libc_malloc): Likewise.
46994         (__libc_free): Likewise.
46995         (__libc_realloc): Likewise.
46996         (__libc_memalign): Likewise.
46997         (__libc_valloc): Likewise.
46998         (__libc_pvalloc): Likewise.
46999         (__libc_calloc): Likewise.
47000         (__posix_memalign): Likewise.
47001         * malloc/morecore.c (__sbrk): Likewise.
47002         (__default_morecore): Likewise.
47004         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
47006         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
47007         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
47008         __malloc_ptrdiff_t.
47010         * malloc/malloc.h (__malloc_size_t): Remove macro.
47011         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
47012         __malloc_size_t.
47013         (old_memalign_hook): Likewise.
47014         (old_realloc_hook): Likewise.
47015         (struct hdr): Likewise.
47016         (flood): Likewise.
47017         (mallochook): Likewise.
47018         (memalignhook): Likewise.
47019         (reallochook): Likewise.
47020         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
47021         (tr_old_realloc_hook): Likewise.
47022         (tr_old_memalign_hook): Likewise.
47023         (tr_mallochook): Likewise.
47024         (tr_reallochook): Likewise.
47025         (tr_memalignhook): Likewise.
47027 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
47030         default_ldbl_pack and using as default implementation.
47031         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
47032         implementation.
47033         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
47034         redundant definition.
47035         (ldbl_insert_mantissa): Likewise.
47036         (ldbl_canonicalize): Likewise.
47037         (ldbl_nearbyint): Likewise.
47038         (ldbl_pack): Rename to ldbl_pack_ppc.
47039         (ldbl_unpack): Rename to ldbl_unpack_ppc.
47040         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
47041         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
47043 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
47046         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
47047         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
47048         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
47049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
47050         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
47051         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
47052         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
47054 2013-03-07  Andreas Jaeger  <aj@suse.de>
47056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47057         bits/mman-linux.h.
47059 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47061         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
47062         Include mpa.h and declare __MPEXP.
47063         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
47064         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47065         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47066         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
47067         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47068         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47069         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
47071         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
47072         (__slowpow): Use long double EXPL and LOGL functions to
47073         compute POW.
47074         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47075         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47076         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
47077         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47078         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47079         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
47081         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
47082         intermediate variable to calculate exponent.
47083         (__sqr): Likewise.
47084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47085         Likewise.
47086         (__sqr): Likewise.
47088         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
47089         [!NO__SQR]: Define __sqr.
47090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
47091         and NO__SQR.  Remove all code except __mul and __sqr.  Include
47092         sysdeps/ieee754/dbl-64/mpa.c.
47093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47095         [BZ #12723]
47096         * posix/Makefile (tests): Add tst-pathconf.
47097         * posix/tst-pathconf.c: New test case.
47098         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
47099         _PC_PIPE_BUF.
47100         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
47102 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
47104         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
47106 2013-03-06  Andreas Jaeger  <aj@suse.de>
47108         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
47109         definition via __MAP_ANONYMOUS.
47111         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
47112         it's not part of Linux headers.
47114         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
47115         (MAP_HUGE_MASK): Define.
47117         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47118         Define.
47119         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47120         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47121         Define.
47122         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47123         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47124         Define.
47125         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47126         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
47127         Define.
47128         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47130         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
47131         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
47132         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
47133         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
47134         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
47135         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
47137         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47138         Handle f2fs.
47140         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47141         Handle f2fs and efivarfs.
47143         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
47144         f2fs.
47146         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
47147         (EFIVARFS_MAGIC): Add.
47148         (F2FS_LINK_MAX): Add.
47150 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47152         * stdio-common/vfprintf.c: Replace __builtin_expect with
47153         __glibc_unlikely.
47155 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
47157         [BZ #13550]
47158         * sysdeps/generic/bp-sym.h: Remove file.
47159         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
47160         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
47161         <bp-sym.h> and <bp-asm.h>.
47162         (__longjmp): Don't use BP_SYM.
47163         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
47164         and <bp-asm.h>.
47165         (memcpy): Don't use BP_SYM.
47166         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
47167         <bp-sym.h> and <bp-asm.h>.
47168         (memcpy): Don't use BP_SYM.
47169         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
47170         <bp-asm.h>.
47171         (memcpy): Don't use BP_SYM.
47172         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
47173         <bp-asm.h>.
47174         (memset): Don't use BP_SYM.
47175         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47176         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47177         (__bzero): Don't use BP_SYM.
47178         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47179         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47180         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
47181         <bp-sym.h> and <bp-asm.h>.
47182         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47183         pointers.
47184         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
47185         <bp-sym.h> and <bp-asm.h>.
47186         (memcpy): Don't use BP_SYM.
47187         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
47188         <bp-sym.h> and <bp-asm.h>.
47189         (memset): Don't use BP_SYM.
47190         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47191         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47192         (__bzero): Don't use BP_SYM.
47193         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47194         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47195         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
47196         <bp-sym.h> and <bp-asm.h>.
47197         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47198         pointers.
47199         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
47200         <bp-sym.h> and <bp-asm.h>.
47201         (memcpy): Don't use BP_SYM.
47202         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
47203         <bp-sym.h> and <bp-asm.h>.
47204         (memset): Don't use BP_SYM.
47205         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47206         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47207         (__bzero): Don't use BP_SYM.
47208         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47209         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47210         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
47211         <bp-sym.h> and <bp-asm.h>.
47212         (__memchr): Don't use BP_SYM.
47213         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
47214         <bp-sym.h> and <bp-asm.h>.
47215         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47216         pointers.
47217         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
47218         <bp-sym.h> and <bp-asm.h>.
47219         (memcpy): Don't use BP_SYM.
47220         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
47221         <bp-sym.h> and <bp-asm.h>.
47222         (__mempcpy): Don't use BP_SYM.
47223         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
47224         <bp-sym.h> and <bp-asm.h>.
47225         (__memrchr): Don't use BP_SYM.
47226         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
47227         <bp-sym.h> and <bp-asm.h>.
47228         (memset): Don't use BP_SYM.
47229         (__bzero): Likewise.
47230         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
47231         <bp-sym.h> and <bp-asm.h>.
47232         (__rawmemchr): Don't use BP_SYM.
47233         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
47234         <bp-sym.h> and <bp-asm.h>.
47235         (__STRCMP): Don't use BP_SYM.
47236         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
47237         <bp-sym.h> and <bp-asm.h>.
47238         (strchr): Don't use BP_SYM.
47239         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
47240         <bp-sym.h> and <bp-asm.h>.
47241         (__strchrnul): Don't use BP_SYM.
47242         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
47243         <bp-sym.h> and <bp-asm.h>.
47244         (strlen): Don't use BP_SYM.
47245         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
47246         <bp-sym.h> and <bp-asm.h>.
47247         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47248         pointers.
47249         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
47250         <bp-sym.h> and <bp-asm.h>.
47251         (__strnlen): Don't use BP_SYM.
47252         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
47253         <bp-sym.h> and <bp-asm.h>.
47254         (__GI__setjmp): Don't use BP_SYM.
47255         (_setjmp): Likewise.
47256         (__sigsetjmp): Likewise.
47257         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
47258         (L(start_addresses)): Don't use BP_SYM.
47259         (_start): Likewise.
47260         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
47261         <bp-asm.h>.
47262         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
47263         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
47264         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47265         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47266         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
47267         <bp-asm.h>.
47268         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
47269         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
47270         about bounded pointers.
47271         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47272         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47273         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
47274         <bp-asm.h>.
47275         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47276         about bounded pointers.  Remove GKM FIXME comments.
47277         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47278         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
47279         <bp-asm.h>.
47280         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
47281         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
47282         Remove GKM FIXME comments.
47283         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47284         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47285         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
47286         <bp-asm.h>.
47287         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47288         about bounded pointers.  Remove GKM FIXME comment.
47289         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
47290         and <bp-asm.h>.
47291         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47292         pointers.
47293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
47294         <bp-sym.h> and <bp-asm.h>.
47295         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
47297         <bp-sym.h> and <bp-asm.h>.
47298         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47299         comment.
47301 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47303         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
47304         call free(NULL).
47306 2013-03-05  David S. Miller  <davem@davemloft.net>
47308         * po/es.po: Update from translation team.
47310 2013-03-05  Andreas Jaeger  <aj@suse.de>
47312         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
47313         <bits/mman-linux.h>.
47314         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47315         is fine.
47316         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
47317         <bits/mman-linux.h> to end of file.
47318         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47319         is fine.
47320         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47321         <bits/mman-linux.h> to end of file.
47322         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47323         is fine.
47324         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47325         <bits/mman-linux.h> to end of file.
47327         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47328         (MCL_CURRENT, MCL_FUTURE): Define here.
47330 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47332         [BZ #15232]
47333         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47334         attribute_hidden.
47335         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47337 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47339         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47340         fourth parameter needed for rt_sigprocmask syscall.
47341         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47342         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47343         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47344         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47345         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47346         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47348 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
47350         [BZ #13550]
47351         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47352         comment about bounded pointers.
47353         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47354         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47356 2013-03-04  Andreas Jaeger  <aj@suse.de>
47358         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47359         common definitions.
47361         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47362         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47363         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
47364         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47365         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47366         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47368 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47370         [BZ #15055]
47371         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
47372         __ieee754_sqrl instead of __sqrl.
47374 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
47376         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
47377         * sysdeps/powerpc/fpu_control.h: ... here.
47378         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
47379         * sysdeps/powerpc/bits/fenvinline.h: ... here.
47380         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
47381         * sysdeps/powerpc/bits/mathinline.h: ... here.
47383 2013-03-01  Roland McGrath  <roland@hack.frob.com>
47385         * elf/dl-hwcaps.c (_dl_important_hwcaps):
47386         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
47387         to just [NEED_DL_SYSINFO_DSO].
47388         * elf/dl-support.c: Likewise.
47389         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
47390         * elf/rtld.c (dl_main): Likewise.
47391         * elf/setup-vdso.h (setup_vdso): Likewise.
47392         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
47393         * sysdeps/unix/sysv/linux/dl-sysdep.c
47394         (_dl_discover_osversion): Likewise.
47396 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
47398         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
47399         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47401 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47403         * NEWS: Mention libm performance improvements and non-x86 PI
47404         futex support.
47406         * csu/libc-start.c (__pthread_initialize_minimal): Change
47407         function arguments.
47408         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47410 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
47412         [BZ #13550]
47413         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47414         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47415         <bp-sym.h> and <bp-asm.h>.
47416         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47417         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47418         and <bp-asm.h>.
47419         (memcpy): Don't use BP_SYM.
47420         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47421         <bp-asm.h>.
47422         (__mpn_add_n): Don't use BP_SYM.
47423         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47424         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47425         and <bp-asm.h>.
47426         (__mpn_addmul_1): Don't use BP_SYM.
47427         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47428         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47429         <bp-sym.h>.
47430         (_setjmp): Don't use BP_SYM.
47431         (__novmx_setjmp): Likewise.
47432         (__GI__setjmp): Likewise.
47433         (__vmx_setjmp): Likewise.
47434         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47435         <bp-sym.h>.
47436         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47437         (__bzero): Don't use BP_SYM.
47438         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47439         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47440         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47441         <bp-sym.h> and <bp-asm.h>.
47442         (memcpy): Don't use BP_SYM.
47443         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47444         <bp-sym.h> and <bp-asm.h>.
47445         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47446         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47447         <bp-sym.h> and <bp-asm.h>.
47448         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47449         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47450         <bp-asm.h>.
47451         (__mpn_lshift): Don't use BP_SYM.
47452         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47453         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47454         <bp-asm.h>.
47455         (memset): Don't use BP_SYM.
47456         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47457         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47458         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47459         <bp-asm.h>.
47460         (__mpn_mul_1): Don't use BP_SYM.
47461         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47462         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47463         <bp-sym.h> and <bp-asm.h>.
47464         (memcmp): Don't use BP_SYM.
47465         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47466         <bp-sym.h> and <bp-asm.h>.
47467         (memcpy): Don't use BP_SYM.
47468         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47469         <bp-sym.h> and <bp-asm.h>.
47470         (memset): Don't use BP_SYM.
47471         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47472         <bp-sym.h> and <bp-asm.h>.
47473         (strncmp): Don't use BP_SYM.
47474         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47475         <bp-sym.h> and <bp-asm.h>.
47476         (memcpy): Don't use BP_SYM.
47477         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47478         <bp-sym.h> and <bp-asm.h>.
47479         (memset): Don't use BP_SYM.
47480         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47481         <bp-sym.h> and <bp-asm.h>.
47482         (__memchr): Don't use BP_SYM.
47483         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47484         <bp-sym.h> and <bp-asm.h>.
47485         (memcmp): Don't use BP_SYM.
47486         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47487         <bp-sym.h> and <bp-asm.h>.
47488         (memcpy): Don't use BP_SYM.
47489         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47490         <bp-sym.h> and <bp-asm.h>.
47491         (__mempcpy): Don't use BP_SYM.
47492         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47493         <bp-sym.h> and <bp-asm.h>.
47494         (__memrchr): Don't use BP_SYM.
47495         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47496         <bp-sym.h> and <bp-asm.h>.
47497         (memset): Don't use BP_SYM.
47498         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47499         <bp-sym.h> and <bp-asm.h>.
47500         (__rawmemchr): Don't use BP_SYM.
47501         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47502         <bp-sym.h> and <bp-asm.h>.
47503         (__STRCMP): Don't use BP_SYM.
47504         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47505         <bp-sym.h> and <bp-asm.h>.
47506         (strchr): Don't use BP_SYM.
47507         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47508         <bp-sym.h> and <bp-asm.h>.
47509         (__strchrnul): Don't use BP_SYM.
47510         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47511         <bp-sym.h> and <bp-asm.h>.
47512         (strlen): Don't use BP_SYM.
47513         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47514         <bp-sym.h> and <bp-asm.h>.
47515         (strncmp): Don't use BP_SYM.
47516         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47517         <bp-sym.h> and <bp-asm.h>.
47518         (__strnlen): Don't use BP_SYM.
47519         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47520         <bp-asm.h>.
47521         (__mpn_rshift): Don't use BP_SYM.
47522         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47523         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47524         <bp-sym.h> and <bp-asm.h>.
47525         (__sigsetjmp): Don't use BP_SYM.
47526         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47527         (L(start_addresses)): Don't use BP_SYM.
47528         (_start): Likewise.
47529         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47530         <bp-asm.h>.
47531         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47532         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47533         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47534         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47535         <bp-asm.h>.
47536         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47537         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47538         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47539         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47540         <bp-asm.h>.
47541         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47542         comments.
47543         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47544         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47545         <bp-asm.h>.
47546         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47547         FIXME comments.
47548         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47549         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47550         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47551         <bp-asm.h>.
47552         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47553         comment.
47554         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47555         and <bp-asm.h>.
47556         (strncmp): Don't use BP_SYM,
47557         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47558         <bp-asm.h>.
47559         (__mpn_sub_n): Don't use BP_SYM.
47560         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47561         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47562         and <bp-asm.h>.
47563         (__mpn_submul_1): Don't use BP_SYM.
47564         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47566         <bp-sym.h> and <bp-asm.h>.
47567         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47569         <bp-sym.h> and <bp-asm.h>.
47570         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47571         comment.
47573 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47576         Use ZK to minimize writes to Z.
47577         (sub_magnitudes): Simplify code a bit.
47578         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47579         Use ZK to minimize writes to Z.
47580         (sub_magnitudes): Simplify code a bit.
47582 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47584         * csu/gmon-start.c: Add special exception to license text.
47586 2013-02-27  Richard Henderson  <rth@redhat.com>
47588         * scripts/config.guess: Update from config.git.
47589         * scripts/config.sub: Likewise.
47591 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47593         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47595         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47597         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47599         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47601         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47603 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47605         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47606         [$(build-shared = yes].
47608 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47610         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47611         (__mul): Reduce iterations for calculating mantissa.
47613         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47614         MPTWO.
47615         (__mpranred): Likewise.
47617         [BZ #15160]
47618         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47619         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47621 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47623         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47624         Define __attribute__.
47626 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47628         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47629         unused.
47630         * posix/regex_internal.h (__attribute): Remove.
47631         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47632         (re_string_context_at): Likewise.
47633         (bitset_not): Use __attribute__ and mark function as possibly
47634         unused.
47635         (bitset_merge): Likewise.
47636         (bitset_mask): Likewise.
47637         (re_string_char_size_at): Likewise.
47638         (re_string_wchar_at): Likewise.
47639         (re_string_elem_size_at): Likewise.
47641 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47643         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47644         code.
47645         (cc32): Likewise.
47647         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47648         (__acr): Likewise.
47649         (__cpy): Likewise.
47650         (norm): Likewise.
47651         (denorm): Likewise.
47652         (__dbl_mp): Likewise.
47653         (add_magnitudes): Likewise.
47654         (sub_magnitudes): Likewise.
47655         (__mul): Likewise.
47656         (__inv): Likewise.
47658         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47659         style.
47661         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47662         style.
47664         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47665         code.
47667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47668         up changes with default code.
47669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47670         Likewise.
47672 2013-02-24  Allan McRae  <allan@archlinux.org>
47674         * manual/socket.texi (The Internet Namespace): Order menu items
47675         to match that in the file.
47677         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47678         node listing of the info page menu.
47680 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47682         [BZ #13550]
47683         * sysdeps/i386/bp-asm.h: Remove file.
47684         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47685         (PARMS): Do not use macros from bp-asm.h.
47686         (S1): Likewise.
47687         (S2): Likewise.
47688         (SIZE): Likewise.
47689         (__mpn_add_n): Do not use BP_SYM
47690         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47691         "bp-asm.h".
47692         (PARMS): Do not use macros from bp-asm.h.
47693         (S1): Likewise.
47694         (SIZE): Likewise.
47695         (__mpn_addmul_1): Do not use BP_SYM
47696         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47697         "bp-asm.h".
47698         (PARMS): Do not use macros from bp-asm.h.
47699         (SIGMSK): Likewise.
47700         (_setjmp): Likewise.  Do not use BP_SYM.
47701         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47702         "bp-asm.h".
47703         (PARMS): Do not use macros from bp-asm.h.
47704         (SIGMSK): Likewise.
47705         (setjmp): Likewise.  Do not use BP_SYM.
47706         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47707         "bp-asm.h".
47708         (PARMS): Do not use macros from bp-asm.h.
47709         (__frexp): Do not use BP_SYM.
47710         (frexp): Likewise.
47711         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47712         "bp-asm.h".
47713         (PARMS): Do not use macros from bp-asm.h.
47714         (__frexpf): Do not use BP_SYM.
47715         (frexpf): Likewise.
47716         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47717         "bp-asm.h".
47718         (PARMS): Do not use macros from bp-asm.h.
47719         (__frexpl): Do not use BP_SYM.
47720         (frexpl): Likewise.
47721         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47722         "bp-asm.h".
47723         (PARMS): Do not use macros from bp-asm.h.
47724         (__remquo): Do not use BP_SYM.
47725         (remquo): Likewise.
47726         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47727         "bp-asm.h".
47728         (PARMS): Do not use macros from bp-asm.h.
47729         (__remquof): Do not use BP_SYM.
47730         (remquof): Likewise.
47731         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47732         "bp-asm.h".
47733         (PARMS): Do not use macros from bp-asm.h.
47734         (__remquol): Do not use BP_SYM.
47735         (remquol): Likewise.
47736         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47737         "bp-asm.h".
47738         (PARMS): Do not use macros from bp-asm.h.
47739         (DEST): Likewise.
47740         (SRC): Likewise.
47741         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47742         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47743         "bp-asm.h".
47744         (PARMS): Do not use macros from bp-asm.h.
47745         (strlen): Do not use BP_SYM.
47746         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47747         "bp-asm.h".
47748         (PARMS): Do not use macros from bp-asm.h.
47749         (S1): Likewise.
47750         (S2): Likewise.
47751         (SIZE): Likewise.
47752         (__mpn_add_n): Do not use BP_SYM.
47753         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47754         "bp-asm.h".
47755         (PARMS): Do not use macros from bp-asm.h.
47756         (S1): Likewise.
47757         (SIZE): Likewise.
47758         (__mpn_addmul_1): Do not use BP_SYM.
47759         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47760         weak_alias.
47761         (bzero): Likewise.
47762         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47763         "bp-asm.h".
47764         (PARMS): Do not use macros from bp-asm.h.
47765         (S): Likewise.
47766         (SIZE): Likewise.
47767         (__mpn_lshift): Do not use BP_SYM.
47768         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47769         "bp-asm.h".
47770         (PARMS): Do not use macros from bp-asm.h.
47771         (DEST): Likewise.
47772         (SRC): Likewise.
47773         (LEN): Likewise.
47774         (memcpy): Likewise.  Do not use BP_SYM.
47775         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47776         libc_hidden_def and weak_alias.
47777         (mempcpy): Do not use BP_SYM in weak_alias.
47778         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47779         "bp-asm.h".
47780         (PARMS): Do not use macros from bp-asm.h.
47781         (DEST): Likewise.
47782         (LEN): Likewise.
47783         [!BZERO_P] (CHR): Likewise.
47784         (memset): Likewise.  Do not use BP_SYM.
47785         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47786         "bp-asm.h".
47787         (PARMS): Do not use macros from bp-asm.h.
47788         (S1): Likewise.
47789         (SIZE): Likewise.
47790         (__mpn_mul_1): Do not use BP_SYM.
47791         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47792         "bp-asm.h".
47793         (PARMS): Do not use macros from bp-asm.h.
47794         (S): Likewise.
47795         (SIZE): Likewise.
47796         (__mpn_rshift): Do not use BP_SYM.
47797         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47798         "bp-asm.h".
47799         (PARMS): Do not use macros from bp-asm.h.
47800         (STR): Likewise.
47801         (CHR): Likewise.
47802         (strchr): Likewise.  Do not use BP_SYM.
47803         (index): Do not use BP_SYM in weak_alias.
47804         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47805         "bp-asm.h".
47806         (PARMS): Do not use macros from bp-asm.h.
47807         (DEST): Likewise.
47808         (SRC): Likewise.
47809         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47810         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47811         "bp-asm.h".
47812         (PARMS): Do not use macros from bp-asm.h.
47813         (strlen): Do not use BP_SYM.
47814         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47815         "bp-asm.h".
47816         (PARMS): Do not use macros from bp-asm.h.
47817         (S1): Likewise.
47818         (S2): Likewise.
47819         (SIZE): Likewise.
47820         (__mpn_sub_n): Do not use BP_SYM.
47821         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47822         "bp-asm.h".
47823         (PARMS): Do not use macros from bp-asm.h.
47824         (S1): Likewise.
47825         (SIZE): Likewise.
47826         (__mpn_submul_1): Do not use BP_SYM.
47827         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47828         "bp-asm.h".
47829         (PARMS): Do not use macros from bp-asm.h.
47830         (S1): Likewise.
47831         (S2): Likewise.
47832         (SIZE): Likewise.
47833         (__mpn_add_n): Do not use BP_SYM.
47834         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47835         weak_alias.
47836         (bzero): Likewise.
47837         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47838         "bp-asm.h".
47839         (PARMS): Do not use macros from bp-asm.h.
47840         (BLK2): Likewise.
47841         (LEN): Likewise.
47842         (memcmp): Do not use BP_SYM.
47843         (bcmp): Do not use BP_SYM in weak_alias.
47844         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47845         "bp-asm.h".
47846         (PARMS): Do not use macros from bp-asm.h.
47847         (DEST): Likewise.
47848         (SRC): Likewise.
47849         (LEN): Likewise.
47850         (memcpy): Likewise.  Do not use BP_SYM.
47851         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47852         "bp-asm.h".
47853         (PARMS): Do not use macros from bp-asm.h.
47854         (DEST): Likewise.
47855         (SRC): Likewise.
47856         (LEN): Likewise.
47857         (memmove): Likewise.  Do not use BP_SYM.
47858         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47859         "bp-asm.h".
47860         (PARMS): Do not use macros from bp-asm.h.
47861         (DEST): Likewise.
47862         (SRC): Likewise.
47863         (LEN): Likewise.
47864         (__mempcpy): Likewise.  Do not use BP_SYM.
47865         (mempcpy): Do not use BP_SYM in weak_alias.
47866         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47867         "bp-asm.h".
47868         (PARMS): Do not use macros from bp-asm.h.
47869         (DEST): Likewise.
47870         (LEN): Likewise.
47871         [!BZERO_P] (CHR): Likewise.
47872         (memset): Likewise.  Do not use BP_SYM.
47873         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47874         "bp-asm.h".
47875         (PARMS): Do not use macros from bp-asm.h.
47876         (STR2): Likewise.
47877         (strcmp): Do not use BP_SYM.
47878         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47879         "bp-asm.h".
47880         (PARMS): Do not use macros from bp-asm.h.
47881         (STR): Likewise.
47882         (DELIM): Likewise.
47883         [USE_AS_STRTOK_R] (SAVE): Likewise.
47884         (FUNCTION): Likewise.  Do not use BP_SYM.
47885         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47886         aliases.
47887         (strtok_r): Likewise.
47888         (__GI___strtok_r): Likewise.
47889         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47890         (PARMS): Do not use macros from bp-asm.h.
47891         (S): Likewise.
47892         (SIZE): Likewise.
47893         (__mpn_lshift): Do not use BP_SYM.
47894         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47895         (PARMS): Do not use macros from bp-asm.h.
47896         (STR): Likewise.
47897         (CHR): Likewise.
47898         (__memchr): Do not use BP_SYM.
47899         (memchr): Do not use BP_SYM in weak_alias.
47900         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47901         (PARMS): Do not use macros from bp-asm.h.
47902         (BLK2): Likewise.
47903         (LEN): Likewise.
47904         (memcmp): Do not use BP_SYM.
47905         (bcmp): Do not use BP_SYM in weak_alias.
47906         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47907         (PARMS): Do not use macros from bp-asm.h.
47908         (S1): Likewise.
47909         (SIZE): Likewise.
47910         (__mpn_mul_1): Do not use BP_SYM.
47911         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47912         "bp-asm.h".
47913         (PARMS): Do not use macros from bp-asm.h.
47914         (STR): Likewise.
47915         (CHR): Likewise.
47916         (__rawmemchr): Do not use BP_SYM.
47917         (rawmemchr): Do not use BP_SYM in weak_alias.
47918         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47919         (PARMS): Do not use macros from bp-asm.h.
47920         (S): Likewise.
47921         (SIZE): Likewise.
47922         (__mpn_rshift): Do not use BP_SYM.
47923         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47924         (PARMS): Do not use macros from bp-asm.h.
47925         (SIGMSK): Likewise.
47926         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47927         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47928         (_start): Do not use BP_SYM.
47929         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47930         (PARMS): Do not use macros from bp-asm.h.
47931         (DEST): Likewise.
47932         (SRC): Likewise.
47933         (__stpcpy): Likewise.  Do not use BP_SYM.
47934         (stpcpy): Do not use BP_SYM in weak_alias.
47935         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47936         "bp-asm.h".
47937         (PARMS): Do not use macros from bp-asm.h.
47938         (DEST): Likewise.
47939         (SRC): Likewise.
47940         (LEN): Likewise.
47941         (__stpncpy): Likewise.  Do not use BP_SYM.
47942         (stpncpy): Do not use BP_SYM in weak_alias.
47943         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47944         (PARMS): Do not use macros from bp-asm.h.
47945         (STR): Likewise.
47946         (CHR): Likewise.
47947         (strchr): Likewise.  Do not use BP_SYM.
47948         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47949         "bp-asm.h".
47950         (PARMS): Do not use macros from bp-asm.h.
47951         (STR): Likewise.
47952         (CHR): Likewise.
47953         (__strchrnul): Likewise.  Do not use BP_SYM.
47954         (strchrnul): Do not use BP_SYM in weak_alias.
47955         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47956         "bp-asm.h".
47957         (PARMS): Do not use macros from bp-asm.h.
47958         (STOP): Likewise.
47959         (strcspn): Do not use BP_SYM.
47960         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47961         "bp-asm.h".
47962         (PARMS): Do not use macros from bp-asm.h.
47963         (STR): Likewise.
47964         (STOP): Likewise.
47965         (strpbrk): Likewise.  Do not use BP_SYM.
47966         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47967         "bp-asm.h".
47968         (PARMS): Do not use macros from bp-asm.h.
47969         (STR): Likewise.
47970         (CHR): Likewise.
47971         (strrchr): Likewise.  Do not use BP_SYM.
47972         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47973         (PARMS): Do not use macros from bp-asm.h.
47974         (SKIP): Likewise.
47975         (strspn): Do not use BP_SYM.
47976         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47977         (PARMS): Do not use macros from bp-asm.h.
47978         (STR): Likewise.
47979         (DELIM): Likewise.
47980         (SAVE): Likewise.
47981         (FUNCTION): Likewise.  Do not use BP_SYM.
47982         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47983         aliases.
47984         (strtok_r): Likewise.
47985         (__GI___strtok_r): Likewise.
47986         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47987         (PARMS): Do not use macros from bp-asm.h.
47988         (S1): Likewise.
47989         (S2): Likewise.
47990         (SIZE): Likewise.
47991         (__mpn_sub_n): Do not use BP_SYM.
47992         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47993         "bp-asm.h".
47994         (PARMS): Do not use macros from bp-asm.h.
47995         (S1): Likewise.
47996         (SIZE): Likewise.
47997         (__mpn_submul_1): Do not use BP_SYM.
47998         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47999         <bp-sym.h>.
48000         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
48001         and <bp-asm.h>.
48002         (PARMS): Do not use macros from bp-asm.h.
48003         (FLAGS): Likewise.
48004         (PTID): Likewise.
48005         (TLS): Likewise.
48006         (CTID): Likewise.
48007         (__clone): Do not use BP_SYM.
48008         (clone): Do not use BP_SYM in weak_alias.
48009         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
48010         and <bp-asm.h>.
48011         (PARMS): Do not use macros from bp-asm.h.
48012         (LEN): Likewise.
48013         (__mmap64): Do not use BP_SYM.
48014         (mmap64): Do not use BP_SYM in weak_alias.
48015         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48016         <bp-sym.h> and <bp-asm.h>.
48017         (PARMS): Do not use macros from bp-asm.h.
48018         (__posix_fadvise64_l64): Do not use BP_SYM.
48019         * sysdeps/unix/sysv/linux/i386/semtimedop.S
48020         (PARMS): Do not use macros from bp-asm.h.
48021         (NSOPS): Likewise.
48022         (semtimedop): Do not use BP_SYM.
48023         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
48024         and <bp-asm.h>.
48026 2013-02-21  Allan McRae  <allan@archlinux.org>
48028         * manual/message.texi (Charset conversion in gettext):
48029         Move @end statement to beginning of line.
48031 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
48034         static.
48035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48036         Likewise.
48038         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
48039         (denorm): Likewise.
48040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
48041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
48043 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48045         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
48046         tail-call to the resolved function if pltexit isn't needed.
48048 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
48051         or Y being zero as being unlikely.
48052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48053         Likewise.
48055 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
48057         * manual/nss.texi (System Databases and Name Service Switch):
48058         Remove frobnicate @pxref.
48060 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48062         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48063         __attribute__ ((unused)) to __attribute__ ((__unused__)).
48065 2013-02-20  Petr Machata  <pmachata@redhat.com>
48067         * elf/elf.h (R_ARM_TARGET1): New macro.
48068         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
48069         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
48070         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
48071         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
48072         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
48073         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
48074         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
48075         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
48076         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
48077         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
48078         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
48079         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
48080         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
48081         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
48082         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
48083         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
48084         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
48085         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
48086         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
48087         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
48088         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
48089         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
48090         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
48091         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
48092         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
48093         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
48094         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
48095         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
48096         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
48097         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
48098         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
48099         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
48100         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
48101         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
48102         (R_ARM_THM_GOT_BREL12): Likewise.
48103         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
48104         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
48105         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
48106         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
48107         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
48108         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
48109         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
48110         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
48111         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
48113 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48115         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48116         __attribute_used__ to __attribute__ ((unused)).
48118 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48120         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
48121         powerpc mpa.c.
48122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
48123         comment formatting.
48124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
48126 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
48128         [BZ #13550]
48129         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
48130         Remove macro.
48131         (ENTER): Remove both macro definitions.
48132         (LEAVE): Likewise.
48133         (CHECK_BOUNDS_LOW): Likewise.
48134         (CHECK_BOUNDS_HIGH): Likewise.
48135         (CHECK_BOUNDS_BOTH): Likewise.
48136         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
48137         (RETURN_BOUNDED_POINTER): Likewise.
48138         (RETURN_NULL_BOUNDED_POINTER): Likewise.
48139         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
48140         (POP_ERRNO_LOCATION_RETURN): Likewise.
48141         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
48142         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48143         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
48144         macros.
48145         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48146         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
48147         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
48148         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
48149         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
48150         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
48151         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
48152         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
48153         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
48154         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
48155         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
48156         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
48157         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48158         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
48159         removed macros.
48160         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48161         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
48162         macros.
48163         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48164         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
48165         * sysdeps/i386/i586/memset.S (memset): Likewise.
48166         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
48167         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48168         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
48169         macros.
48170         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48171         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
48172         Change uses of L(2) to L(out).
48173         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
48174         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
48175         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
48176         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48177         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
48178         removed macros.
48179         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48180         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
48181         macros.
48182         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48183         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
48184         (RETURN): Do not use macro LEAVE.
48185         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
48186         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
48187         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
48188         * sysdeps/i386/i686/memset.S (memset): Likewise.
48189         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
48190         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
48191         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48192         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
48193         Likewise.
48194         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48195         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
48196         L(1_2) and L(1_3) into L(1).
48197         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48198         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
48199         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48200         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
48201         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48202         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
48203         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
48204         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48205         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
48206         macros.
48207         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
48208         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48209         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
48210         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
48211         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
48212         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48213         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
48214         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
48215         * sysdeps/i386/strcspn.S (strcspn): Likewise.
48216         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
48217         * sysdeps/i386/strrchr.S (strrchr): Likewise.
48218         * sysdeps/i386/strspn.S (strspn): Likewise.
48219         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
48220         conditional code.
48221         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48222         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
48223         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48224         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
48225         L(1_3) into L(1_1).
48226         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
48227         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48228         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
48229         macros.
48230         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48232 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
48234         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
48235         macro.
48237 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48239         * math/atest-exp.c (exp_mpn): Remove ROUND.
48240         * math/atest-exp2.c (exp_mpn): Likewise.
48241         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
48243         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
48244         * stdlib/tst-tls-atexit-lib.c: Likewise.
48245         * stdlib/tst-tls-atexit.c: Likewise.
48247 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48249         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
48250         and __attribute_alloc_size__.
48252 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48254         * include/programs/xmalloc.h: Change __attribute_alloc_size to
48255         __attribute_alloc_size__.
48256         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
48257         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
48259 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48261         * include/programs/xmalloc.h: New file.
48262         * catgets/gencat.c: Include it.
48263         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
48264         * elf/pldd.c: Likewise.
48265         * iconv/iconv_charmap.c: Likewise.
48266         * iconv/iconvconfig.c: Likewise.
48267         * iconv/strtab.c: Likewise.
48268         * locale/programs/locale.c: Likewise.
48269         * locale/programs/localedef.h: Likewise.
48270         * locale/programs/simple-hash.c: Likewise.
48271         * nscd/nscd.h: Likewise.
48272         * nss/makedb.c: Likewise.
48273         * sysdeps/generic/ldconfig.h: Likewise.
48275 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48277         * Versions.def: Add GLIBC_2.18.
48278         * include/link.h (struct link_map): New member l_tls_dtor_count.
48279         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
48280         (__call_tls_dtors): Likewise.
48281         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
48282         __cxa_thread_atexit_impl.
48283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48284         Likewise.
48285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48286         Likewise.
48287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48288         Likewise.
48289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48290         Likewise.
48291         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
48293         Likewise.
48294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
48295         Likewise.
48296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48298         Likewise.
48299         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
48300         (tests): Add test case tst-tls-atexit.
48301         (modules-names): Add shared library for tst-tls-atexit.
48302         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
48303         (GLIBC_PRIVATE): Add __call_tls_dtors.
48304         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
48305         for libstdc++.
48306         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
48307         * stdlib/tst-tls-atexit.c: New test case.
48308         * stdlib/tst-tls-atexit-lib.c: New test case.
48310         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
48312         * elf/Versions (ld): Add _dl_find_dso_for_object.
48313         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
48314         * elf/dl-open.c (_dl_find_dso_for_object): New function.
48315         (dl_open_worker): Use _dl_find_dso_for_object.
48316         * elf/dl-sym.c (do_sym): Likewise.
48317         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
48319 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48321         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48322         Syntactic changes only.
48323         (_dl_runtime_profile): Do a tail-call to the resolved function.
48325 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
48327         [BZ #13550]
48328         * sysdeps/x86_64/bp-asm.h: Remove file.
48329         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48330         <bp-sym.h> and <bp-asm.h>.
48331         (__clone): Do not use BP_SYM.
48332         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48333         <bp-sym.h> and <bp-asm.h>.
48334         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48335         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48336         "bp-asm.h".
48337         (_setjmp): Do not use BP_SYM.
48338         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48339         "bp-asm.h".
48340         (setjmp): Do not use BP_SYM.
48341         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48342         libc_hidden_def.
48343         (mempcpy): Do not use BP_SYM in weak_alias.
48344         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48345         "bp-asm.h".
48346         (strchr): Do not use BP_SYM.
48347         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48348         "bp-asm.h".
48349         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48350         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48351         (_start): Do not use BP_SYM.
48352         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48353         "bp-asm.h".
48354         (strcat): Do not use BP_SYM.
48355         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48356         "bp-asm.h".
48357         (STRCMP): Do not use BP_SYM.
48358         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48359         "bp-asm.h".
48360         (STRCPY): Do not use BP_SYM.
48361         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48362         "bp-asm.h".
48363         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
48364         "bp-asm.h".
48365         (FUNCTION): Do not use BP_SYM.
48366         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
48367         weak_alias.
48368         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
48370 2013-02-17  Andreas Jaeger  <aj@suse.de>
48372         * time/Versions: Sort entries.
48373         * string/Versions: Likewise.
48374         * resolv/Versions: Likewise.
48375         * posix/Versions: Likewise.
48376         * iconv/Versions: Likewise.
48377         * elf/Versions: Likewise.
48378         * wcsmbs/Versions: Likewise.
48380 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48382         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
48383         loop termination condition.
48385         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
48386         variable to calculate EZ.
48387         (__sqr): Likewise.
48389         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
48390         the lower precision input.
48392 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
48394         [BZ #13550]
48395         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
48396         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
48397         (run-via-rtld-prefix): Do not handle %-bp tests.
48398         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
48399         (all-object-suffixes): Remove .ob.
48400         (bppfx): Remove variable.
48401         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
48402         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
48403         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
48404         [$(build-bounded) = yes] (libtype.ob): Likewise.
48405         * Makerules (elide-routines.ob): Remove variable.
48406         (do-tests-clean): Do not handle *-bp.out.
48407         (common-mostlyclean): Do not handle *-bp and *-bp.out.
48408         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48409         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48410         (tests): Do not include $(tests-bp.out).
48411         (xtests): Do not include $(xtests-bp.out).
48412         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48413         [$(build-bounded) = yes] ($(addprefix
48414         $(objpfx),$(binaries-bounded))): Remove rule.
48415         ($(objpfx)%-bp.out): Remove rule.
48416         * config.make.in (build-bounded): Remove variable.
48417         * crypt/Makefile [$(build-bounded) = yes]
48418         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48419         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48420         append to variable.
48421         [$(build-bounded) = yes] (install-lib): Likewise.
48422         [$(build-bounded) = yes] (generated): Likewise.
48423         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48424         Remove rule.
48425         * intl/Makefile [$(build-bounded) = yes]
48426         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48427         * math/Makefile [$(build-bounded) = yes]
48428         ($(tests:%=$(objpfx)%-bp): Likewise.
48429         * misc/Makefile [$(build-bounded) = yes]
48430         ($(objpfx)tst-tsearch-bp): Likewise.
48431         * nptl/Makeconfig (bounded-thread-library): Remove variable.
48432         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48433         Remove dependency.
48434         * string/Makefile (o-objects.ob): Remove variable.
48435         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48436         (CFLAGS-.ob): Remove variable.
48437         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48438         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48439         both definitions of variable.
48440         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48441         (ASFLAGS-.ob): Remove variable.
48443 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
48445         [BZ #13550]
48446         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48447         Remove __BOUNDED_POINTERS__ from condition.
48448         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48449         * string/bits/string2.h [!__NO_STRING_INLINES &&
48450         !__BOUNDED_POINTERS__]: Likewise.
48451         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48452         Likewise.
48453         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48454         Remove conditional code.
48455         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48456         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48457         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48458         condition.
48460         [BZ #13550]
48461         * csu/libc-start.c: Do not include <bp-sym.h>.
48462         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48463         * elf/dl-open.c: Do not include <bp-sym.h>.
48464         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48465         * math/fegetenv.c: Do not include <bp-sym.h>.
48466         (fegetenv): Do not use BP_SYM in versioned symbols.
48467         * nptl/sysdeps/pthread/bits/libc-lockP.h
48468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48469         <bp-sym.h>.
48470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48471         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48473         (__pthread_mutex_destroy): Likewise.
48474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48475         (__pthread_mutex_lock): Likewise.
48476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48477         (__pthread_mutex_trylock): Likewise.
48478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48479         (__pthread_mutex_unlock): Likewise.
48480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48481         (__pthread_mutexattr_init): Likewise.
48482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48483         (__pthread_mutexattr_destroy): Likewise.
48484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48485         (__pthread_mutexattr_settype): Likewise.
48486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48487         (__pthread_rwlock_init): Likewise.
48488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48489         (__pthread_rwlock_destroy): Likewise.
48490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48491         (__pthread_rwlock_rdlock): Likewise.
48492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48493         (__pthread_rwlock_tryrdlock): Likewise.
48494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48495         (__pthread_rwlock_wrlock): Likewise.
48496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48497         (__pthread_rwlock_trywrlock): Likewise.
48498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48499         (__pthread_rwlock_unlock): Likewise.
48500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48501         (__pthread_key_create): Likewise.
48502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48503         (__pthread_setspecific): Likewise.
48504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48505         (__pthread_getspecific): Likewise.
48506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48507         Likewise.
48508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48509         (_pthread_cleanup_push_defer): Likewise.
48510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48511         (_pthread_cleanup_pop_restore): Likewise.
48512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48513         (pthread_setcancelstate): Likewise.
48514         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48515         <bp-sym.h>.
48516         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48517         (memchr): Do not use BP_SYM in weak_alias.
48518         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48519         (fegetenv): Do not use BP_SYM in versioned symbols.
48520         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48521         (fesetenv): Do not use BP_SYM in versioned symbols.
48522         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48523         (feupdateenv): Do not use BP_SYM in versioned symbols.
48524         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48525         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48526         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48527         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48528         (open64): Do not use BP_SYM in weak_alias.
48529         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48530         (fegetenv): Do not use BP_SYM in versioned symbols.
48531         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48532         (fesetenv): Do not use BP_SYM in versioned symbols.
48533         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48534         (feupdateenv): Do not use BP_SYM in versioned symbols.
48535         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48536         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48537         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48538         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48539         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48540         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48541         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48542         <bp-sym.h>.
48543         (__libc_start_main): Do not use BP_SYM.
48545 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48548         redundant return line.
48549         (norm): Likewise.
48550         (denorm): Likewise.
48551         (dbl_mp): Likewise.
48552         (sub_magnitudes): Likewise.
48553         (__add): Likewise.
48554         (__sub): Likewise.
48555         (__mul): Likewise.
48556         (__inv): Likewise.
48557         (__dvd): Likewise.
48558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48559         (norm): Likewise.
48560         (denorm): Likewise.
48561         (dbl_mp): Likewise.
48562         (sub_magnitudes): Likewise.
48563         (__add): Likewise.
48564         (__sub): Likewise.
48565         (__mul): Likewise.
48566         (__inv): Likewise.
48567         (__dvd): Likewise.
48569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48570         instead of __mul.
48571         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48572         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48573         (cc32): Likewise.
48575         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48576         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48577         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48578         of __mul for squares.
48579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48580         function
48581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48582         Likewise.
48583         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48584         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48586 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48588         [BZ #13550]
48589         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48590         code.
48591         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48592         prototype or function definition.  Rename ubp_* variables and
48593         parameters.  Remove argv definitions conditional on
48594         [__BOUNDED_POINTERS__].
48595         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48596         * elf/dl-runtime.c (_dl_fixup): Likewise.
48597         * include/set-hooks.h (RUN_HOOK): Likewise.
48598         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48599         definition.
48600         * string/strcpy.c (strcpy): Do not use __unbounded.
48601         * sysdeps/generic/frame.h (struct layout): Likewise.
48602         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48603         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48604         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48605         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48606         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48607         (__backtrace): Likewise.
48608         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48609         use __ptrvalue.
48610         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48611         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48612         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48613         Likewise.
48614         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48615         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48616         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48617         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48618         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48619         Do not use __unbounded.
48620         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48621         Rename __unboundedrlimits parameter to rlimits in prototype.
48622         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48623         Do not use __unbounded.
48624         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48625         not use __ptrvalue.
48626         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48627         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48628         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48629         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48630         __ptrvalue or __unbounded.
48631         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48632         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48633         use __unbounded.
48634         (__new_msgctl): Do not use __ptrvalue.
48635         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48636         __unbounded.
48637         (__libc_msgrcv): Do not use __ptrvalue.
48638         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48639         startup_info): Do not use __unbounded.
48640         (__libc_start_main): Likewise.  Rename ubp_* variables and
48641         parameters.  Remove argv definitions conditional on
48642         [__BOUNDED_POINTERS__].
48643         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48644         __ptrvalue.
48645         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48646         use __unbounded.
48647         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48648         or __ptrvalue.
48649         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48650         use __unbounded.
48651         (__new_shmctl): Do not use __ptrvalue.
48652         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48653         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48654         Likewise.
48655         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48656         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48657         (__libc_sigaction): Likewise.
48658         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48659         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48660         Likewise.
48661         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48663 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48665         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48667         * string/mempcpy.c: Implement by calling memcpy.
48669 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48671         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48673         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48674         evaluation.
48676         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48677         values in the mantissa.
48679         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48680         minimize writes to Z.
48681         (sub_magnitudes): Simplify code a bit.
48683 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48685         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48686         from the message.  The linker prefixes all warnings with that already.
48688 2013-02-12  Andreas Schwab  <schwab@suse.de>
48690         [BZ #15078]
48691         * posix/regexec.c (extend_buffers): Add parameter min_len.
48692         (check_matching): Pass minimum needed length.
48693         (clean_state_log_if_needed): Likewise.
48694         (get_subexp): Likewise.
48695         * posix/Makefile (tests): Add bug-regex34.
48696         (bug-regex34-ENV): Define.
48697         * posix/bug-regex34.c: New file.
48699         [BZ #11561]
48700         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48701         elements compare against the byte sequence of it, not its name.
48702         * posix/Makefile (tests): Add bug-regex35.
48703         (bug-regex35-ENV): Define.
48704         * posix/bug-regex35.c: New file.
48706 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48708         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48709         comment.
48710         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48711         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48712         (CHECK_EOL): Add undef.
48714 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48716         * bits/stdlib-bsearch.h: New file.
48717         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48718         * stdlib/stdlib.h: Likewise.
48720 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48722         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48723         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48724         declaration.
48725         * manual/search.texi (Array Search Function): Add missing const in
48726         lfind prototype.
48727         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48728         declaration to use rlim_t.
48729         (Basic Scheduling Functions): Remove erroneous const from
48730         sched_getparam prototype.  Remove erroneous * from
48731         sched_get_priority_max and sched_get_priority_min prototypes.
48732         (Resource Usage): Fix summary @comment on vtimes to refer to
48733         sys/vtimes.h rather than vtimes.h.
48734         Add missing *s in vtimes prototype.
48735         (Limits on Resources): Fix ulimit prototype to return long int.
48736         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48737         prototypes to use long int rather than double.
48738         (BSD Random): Fix initstate and setstate to use char *, not void *.
48739         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48740         prototype to make second argument 'struct aiocb64 *const[]'.
48741         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48742         (Status of AIO Operations): Remove erroneous const in aio_return and
48743         aio_return64 prototypes.
48744         (Synchronizing I/O): Fix sync prototype to return void.
48745         * manual/startup.texi (Suboptions): Remove an erroneous const in
48746         getsubopt prototype.
48747         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48748         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48749         use size_t rather than int.
48750         (Scanning All Users): Likewise for getpwent_r.
48751         (Setting Groups): Add missing const to setgroups prototype.
48752         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48753         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48754         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48755         'const void *' rather than 'const char *'.
48756         (Host Address Functions): Likewise for inet_ntop.
48757         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48758         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48759         ssize_t for return value.
48760         (Sending Data): Likewise for send, sendto, sendmsg.
48761         (Socket Option Functions): Add a missing const in setsockopt prototype.
48762         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48763         use wchar_t for the argument.
48764         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48765         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48766         take no arguments.
48767         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48768         double/float/long double for second argument.
48769         Fix return types of significand, significandf, significandl.
48770         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48771         argument in fchmod prototype.
48772         (File Owner): Use uid_t and gid_t in fchown prototype.
48773         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48774         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48775         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48776         use 'const struct dirent **' as argument types to CMP function pointer
48777         argument.
48778         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48779         (File Times): Fix summary magic @comment for struct utimbuf and utime
48780         to refer to utime.h, not time.h.
48781         * manual/string.texi (Argz Functions): Add missing const in
48782         argz_extract and argz_next prototypes.
48783         (Finding Tokens in a String): Likewise for basename.
48784         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48785         (Copying and Concatenation): Fix typo in wmemmove prototype.
48786         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48787         (Signal Stack): Remove erroneous const in sigstack prototype.
48788         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48789         prototype.
48790         (Simple Calendar Time): Likewise for stime.
48791         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48792         prototype.
48793         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48794         say sys/sysctl.h instead.
48795         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48796         and vsyslog prototypes.
48798 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48800         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48801         Remove.
48803 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48805         * misc/sys/mman.h: Fix typo in mremap comment.
48807 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48809         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48810         the '\0' terminator.
48812 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48814         [BZ #13550]
48815         * debug/segfault.c: Don't include <bp-checks.h>.
48816         * sysdeps/generic/bp-checks.h: Remove file.
48817         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48818         (__GETDENTS): Don't use CHECK_N.
48819         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48820         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48821         (__getgroups): Don't use CHECK_N.
48822         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48823         (setgroups): Don't use CHECK_N.
48824         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48825         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48826         (__libc_msgrcv): Don't use CHECK_N.
48827         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48828         (__libc_msgsnd): Don't use CHECK_N.
48829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48830         <bp-checks.h>.
48831         (__libc_pread): Don't use CHECK_N.
48832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48833         include <bp-checks.h>.
48834         (__libc_pread64): Don't use CHECK_N.
48835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48836         include <bp-checks.h>.
48837         (__libc_pwrite): Don't use CHECK_N.
48838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48839         include <bp-checks.h>.
48840         (__libc_pwrite64): Don't use CHECK_N.
48841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48842         <bp-checks.h>.
48843         (__libc_pread): Don't use CHECK_N.
48844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48845         include <bp-checks.h>.
48846         (__libc_pread64): Don't use CHECK_N.
48847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48848         include <bp-checks.h>.
48849         (__libc_pwrite): Don't use CHECK_N.
48850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48851         include <bp-checks.h>.
48852         (__libc_pwrite64): Don't use CHECK_N.
48853         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48854         (do_pread): Don't use CHECK_N.
48855         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48856         (do_pread64): Don't use CHECK_N.
48857         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48858         (do_pwrite): Don't use CHECK_N.
48859         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48860         (do_pwrite64): Don't use CHECK_N.
48861         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48862         (__libc_readv): Don't use CHECK_N.
48863         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48864         (semop): Don't use CHECK_N.
48865         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48866         <bp-checks.h>.
48867         (semtimedop): Don't use CHECK_N.
48868         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48869         (__libc_pread): Don't use CHECK_N.
48870         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48871         <bp-checks.h>.
48872         (__libc_pread64): Don't use CHECK_N.
48873         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48874         <bp-checks.h>.
48875         (__libc_pwrite): Don't use CHECK_N.
48876         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48877         <bp-checks.h>.
48878         (__libc_pwrite64): Don't use CHECK_N.
48879         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48880         <bp-checks.h>.
48881         (__libc_msgrcv): Don't use CHECK_N.
48882         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48883         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48884         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48885         (__libc_writev): Don't use CHECK_N.
48887 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48889         * string/strcpy.c: Removed unused variable.
48891         * Makeconfig (+sysdep-includes): Define with := rather than =.
48892         Use an existing include/ subdir of each sysdeps dir before it.
48894 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48896         * nscd/connection.c (register_traced_file): Comment function.
48897         [HAVE_INOTIFY] (union __inev): Define.
48898         [HAVE_INOTIFY] (inotify_check_files): New function.
48899         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48900         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48901         clear_db_cache.
48902         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48904 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48906         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48907         loaded if not already and that a failure is permanent.
48909 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48911         [BZ #15006]
48912         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48913         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48915 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48917         [BZ #13550]
48918         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48919         (CHECK_1_NULL_OK): Likewise.
48920         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48921         (__fxstat): Do not use CHECK_1.
48922         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48923         <bp-checks.h>.
48924         (___fxstat64): Do not use CHECK_1.
48925         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48926         <bp-checks.h>.
48927         (__fxstatat): Do not use CHECK_1.
48928         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48929         <bp-checks.h>.
48930         (__fxstatat64): Do not use CHECK_1.
48931         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48932         <bp-checks.h>.
48933         (__fxstat): Do not use CHECK_1.
48934         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48935         <bp-checks.h>.
48936         (__fxstatat): Do not use CHECK_1.
48937         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48938         <bp-checks.h>.
48939         (__getresgid): Do not use CHECK_1.
48940         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48941         <bp-checks.h>.
48942         (__getresuid): Do not use CHECK_1.
48943         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48944         <bp-checks.h>.
48945         (__lxstat): Do not use CHECK_1.
48946         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48947         <bp-checks.h>.
48948         (__old_msgctl): Do not use CHECK_1.
48949         (__new_msgctl): Likewise.
48950         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48951         <bp-checks.h>.
48952         (__new_setrlimit): Do not use CHECK_1.
48953         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48954         <bp-checks.h>.
48955         (__old_shmctl): Do not use CHECK_1.
48956         (__new_shmctl): Likewise.
48957         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48958         <bp-checks.h>.
48959         (__xstat): Do not use CHECK_1.
48960         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48961         (__lxstat): Do not use CHECK_1.
48962         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48963         <bp-checks.h>.
48964         (___lxstat64): Do not use CHECK_1.
48965         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48966         (__old_msgctl): Do not use CHECK_1.
48967         (__new_msgctl): Likewise.
48968         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48969         <bp-checks.h>.
48970         (__gettimeofday): Do not use CHECK_1.
48971         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48972         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48973         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48974         <bp-checks.h>.
48975         (__gettimeofday): Do not use CHECK_1.
48976         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48977         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48978         (__new_shmctl): Do not use CHECK_1.
48979         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48980         <bp-checks.h>.
48981         (do_sigtimedwait): Do not use CHECK_1.
48982         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48983         <bp-checks.h>.
48984         (do_sigwaitinfo): Do not use CHECK_1.
48985         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48986         <bp-checks.h>.
48987         (msgctl): Do not use CHECK_1.
48988         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48989         <bp-checks.h>.
48990         (shmctl): Do not use CHECK_1.
48991         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48992         (ustat): Do not use CHECK_1.
48993         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48994         <bp-checks.h>.
48995         (__fxstat): Do not use CHECK_1.
48996         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48997         <bp-checks.h>.
48998         (__fxstatat): Do not use CHECK_1.
48999         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
49000         <bp-checks.h>.
49001         (__lxstat): Do not use CHECK_1.
49002         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
49003         <bp-checks.h>.
49004         (__xstat): Do not use CHECK_1.
49005         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
49006         (__xstat): Do not use CHECK_1.
49007         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
49008         (___xstat64): Do not use CHECK_1.
49010         [BZ #13550]
49011         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
49012         definitions.
49013         (CHECK_BOUNDS_HIGH): Likewise.
49014         * string/strcpy.c: Do not include <bp-checks.h>.
49015         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
49017 2013-02-07  Roland McGrath  <roland@hack.frob.com>
49019         * nscd/nscd-client.h (__nscd_drop_map_ref):
49020         Add __attribute__ ((unused)).
49021         * nis/nss-nisplus.h (niserr2nss): Likewise.
49023         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
49024         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
49026         * csu/libc-tls.c (init_static_tls, init_slotinfo):
49027         Remove inline keyword.
49028         * include/rounding-mode.h (round_away): Likewise.
49029         * libio/wfileops.c (adjust_wide_data): Likewise.
49030         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
49031         (__m128i_strloadu_tolower): Likewise.
49032         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
49033         (__m128i_strloadu_tolower): Likewise.
49034         * time/mktime.c (ydhms_diff): Likewise.
49035         * locale/elem-hash.h (elem_hash): Likewise.
49036         * locale/setlocale.c (setdata): Likewise.
49037         * posix/regex_internal.h (re_string_char_size_at): Likewise.
49038         (re_string_wchar_at): Likewise.
49039         (bitset_not, bitset_merge, bitset_mask): Likewise.
49040         [!(__GNUC__ > 3)] (inline): Remove macro.
49041         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
49042         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
49043         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
49044         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
49045         * string/memcmp.c (memcmp_bytes): Likewise.
49046         * locale/programs/locarchive.c (compute_hashval): Likewise.
49047         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
49048         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
49049         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
49050         * nss/getent.c (print_rpc, print_protocols): Likewise.
49051         (print_passwd, print_group, print_aliases): Likewise.
49052         * nis/nss-nisplus.h (niserr2nss): Likewise.
49053         * nscd/connections.c (restart_p): Likewise.
49054         Change return type to bool.
49056 2013-02-05  Roland McGrath  <roland@hack.frob.com>
49058         * Makeconfig (all-Depend-files): Add existing
49059         $(sorted-subdirs:=/Depend) files.
49060         (all-subdirs): Remove nss.
49061         * sysdeps/unix/inet/Subdirs: Add it here instead.
49062         * hesiod/Depend: New file.
49064         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
49065         instead of calling alloca.
49067         * io/lseek.c (__lseek): Rename to __libc_lseek.
49068         Define __lseek as an alias.
49070         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
49072 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
49074         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
49075         else clause and remove check for non-standard endianness.
49077 2013-02-04  David S. Miller  <davem@davemloft.net>
49079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49081 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
49083         [BZ #13550]
49084         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
49085         (__ubp_memchr): Remove prototype.
49086         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
49087         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49088         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
49089         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49090         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
49091         Remove alias.
49092         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
49093         (__ubp_memchr): Likewise.
49094         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
49095         (__ubp_memchr): Likewise.
49096         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
49097         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
49098         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
49099         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
49100         CHECK_STRING.
49101         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49102         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
49103         (__getcwd): Do not use CHECK_STRING.
49104         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49105         <bp-checks.h>.
49106         (__real_chown): Do not use CHECK_STRING.
49107         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
49108         <bp-checks.h>.
49109         (fchownat): Do not use CHECK_STRING.
49110         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
49111         CHECK_STRING.
49112         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49113         <bp-checks.h>.
49114         (__lchown): Do not use CHECK_STRING.
49115         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49116         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49117         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49118         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
49119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49120         include <bp-checks.h>.
49121         (truncate64): Do not use CHECK_STRING.
49122         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49123         <bp-checks.h>.
49124         (__real_chown): Do not use CHECK_STRING.
49125         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49126         <bp-checks.h>.
49127         (__lchown): Do not use CHECK_STRING.
49128         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49129         <bp-checks.h>.
49130         (__chown): Do not use CHECK_STRING.
49131         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
49132         <bp-checks.h>.
49133         (truncate64): Do not use CHECK_STRING.
49134         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
49135         Likewise.
49136         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
49137         (__xmknod): Do not use CHECK_STRING.
49138         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49139         <bp-checks.h>.
49140         (__xmknodat): Do not use CHECK_STRING.
49141         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49142         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
49144 2013-02-04  Andreas Schwab  <schwab@suse.de>
49146         [BZ #14142]
49147         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
49148         * include/netdb.h: Likewise for h_errno.
49149         * elf/tst-stackguard1.c: Include <tls.h>.
49151 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
49153         * elf/link.h (struct link_map): Extend the l_addr comment.
49154         * include/link.h (struct link_map): Likewise.
49156 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
49158         [BZ #13550]
49159         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
49160         (BOUNDED_1): Remove macro.
49161         * debug/backtrace.c: Don't include <bp-checks.h>.
49162         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
49163         (__backtrace): Likewise.
49164         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
49165         <bp-checks.h>.
49166         (__backtrace): Don't use BOUNDED_1.
49167         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
49168         <bp-checks.h>.
49169         (__backtrace): Don't use BOUNDED_1.
49170         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
49171         (__backtrace): Don't use BOUNDED_1.
49172         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
49173         (shmat): Don't use BOUNDED_N.
49175 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
49177         [BZ #13550]
49178         * sysdeps/generic/bp-start.h: Remove file.
49179         * csu/libc-start.c: Don't include <bp-start.h>.
49180         (LIBC_START_MAIN): Set up __environ directly instead of using
49181         INIT_ARGV_and_ENVIRON.
49182         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
49183         <bp-start.h>.
49185         [BZ #13550]
49186         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
49187         definitions.
49188         (CHECK_FCNTL): Likewise.
49189         (CHECK_N_PAGES): Likewise.
49191         [BZ #13550]
49192         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
49193         definitions.
49194         (CHECK_SIGSET_NULL_OK): Likewise.
49195         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
49196         <bp-checks.h>.
49197         (sigpending): Don't use CHECK_SIGSET.
49198         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
49199         <bp-checks.h>.
49200         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49201         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
49202         <bp-checks.h>.
49203         (do_sigsuspend): Don't use CHECK_SIGSET.
49204         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
49205         use CHECK_SIGSET.
49206         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
49207         (do_sigwait): Don't use CHECK_SIGSET.
49208         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
49209         use CHECK_SIGSET.
49210         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
49211         include <bp-checks.h>.
49212         (sigpending): Don't use CHECK_SIGSET.
49213         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
49214         include <bp-checks.h>.
49215         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49216         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
49217         <bp-checks.h>.
49218         (sigpending): Don't use CHECK_SIGSET.
49219         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
49220         <bp-checks.h>.
49221         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49223         [BZ #13550]
49224         * sysdeps/generic/bp-semctl.h: Remove file.
49225         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
49226         <bp-checks.h> and <bp-semctl.h>.
49227         (__old_semctl): Don't use CHECK_SEMCTL.
49228         (__new_semctl): Likewise.
49229         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
49230         and <bp-semctl.h>.
49231         (__old_semctl): Don't use CHECK_SEMCTL.
49232         (__new_semctl): Likewise.
49233         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
49234         <bp-checks.h> and <bp-semctl.h>.
49235         (__old_semctl): Don't use CHECK_SEMCTL.
49236         (__new_semctl): Likewise.
49237         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
49238         <bp-checks.h> and <bp-semctl.h>.
49239         (semctl): Don't use CHECK_SEMCTL.
49241         [BZ #13550]
49242         * Makerules (elide-bp-thunks): Remove variable.
49243         (elide-routines.oS): Don't use $(elide-bp-thunks).
49244         (elide-routines.os): Likewise.
49245         (elide-routines.o): Likewise.
49246         (elide-routines.op): Likewise.
49247         (elide-routines.og): Likewise.
49248         (objects): Don't use $(bp-thunks).
49249         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
49250         include.
49251         (common-generated): Do not add s-proto-bp.d.
49252         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
49253         (int): Likewise.
49254         (typ): Likewise.
49255         Do not generate makefile rules for bounded-pointer thunks.
49256         * sysdeps/generic/bp-thunks.h: Remove file.
49257         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
49258         * sysdeps/unix/s-proto-bp.S: Likewise.
49260         [BZ #15062]
49261         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
49262         parts of result separately when argument is not close to line from
49263         -i to i and one part of argument is small.
49264         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49265         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49266         * math/libm-test.inc (cacos_test): Add more tests.
49267         (casin_test): Likewise.
49268         (casinh_test): Likewise.
49269         * sysdeps/i386/fpu/libm-test-ulps: Update.
49270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49272 2013-01-31  David S. Miller  <davem@davemloft.net>
49274         * po/de.po: Update from translation team.
49276 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
49278         * time/tzfile.c: Include stdint.h for SIZE_MAX.
49280 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
49282         * configure.in (_AC_PROG_CC_C89): New definition.
49283         * configure: Regenerate.
49285         * configure.in (AC_PROG_CPP): New definition.
49286         * configure: Regenerate.
49288 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49290         * debug/tst-backtrace.h: New file.
49291         * debug/tst-backtrace2.c: Include tst-backtrace.h.
49292         (ret): Remove variable.
49293         (x): Likewise.
49294         (FAIL): Remove macro.
49295         (NO_INLINE): Likewise.
49296         (fn1): Use match function instead of strstr.
49297         * debug/tst-backtrace3.c: Include tst-backtrace.h.
49298         (ret): Remove variable.
49299         (x): Likewise.
49300         (FAIL): Remove macro.
49301         (NO_INLINE): Likewise.
49302         (fn): Use match function instead of strstr.
49303         * debug/tst-backtrace4.c: Include tst-backtrace.h.
49304         (ret): Remove variable.
49305         (x): Likewise.
49306         (FAIL): Remove macro.
49307         (NO_INLINE): Likewise.
49308         (handle_signal): Use match function instead of strstr.
49309         * debug/tst-backtrace5.c: Include tst-backtrace.h.
49310         (ret): Remove variable.
49311         (x): Likewise.
49312         (FAIL): Remove macro.
49313         (NO_INLINE): Likewise.
49314         (handle_signal): Use match function instead of strstr.
49316 2013-01-23  Roland McGrath  <roland@hack.frob.com>
49318         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
49320 2013-01-23  David S. Miller  <davem@davemloft.net>
49322         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49323         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49324         argument of CAS if possible.
49325         * sysdeps/sparc/sparc64/bits/atomic.h
49326         (__arch_compare_and_exchange_val_32_acq): Likewise.
49327         (__arch_compare_and_exchange_val_64_acq): Likewise.
49329 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
49331         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49332         * sysdeps/posix/ulimit.c: ... this.
49333         Include <limits.h>.
49334         * sysdeps/unix/bsd/ulimit.c: Remove file.
49336 2013-01-23  Adam Conrad  <adconrad@0c3.net>
49338         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49339         (LDFLAGS-tst-array5): Likewise.
49341 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49343         [BZ #15036]
49344         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49345         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49346         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49347         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49349 2013-01-21  David S. Miller  <davem@davemloft.net>
49351         * sysdeps/sparc/backtrace.c: New file.
49352         * sysdeps/sparc/sparc32/backtrace.h: New file.
49353         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49354         * sysdeps/sparc/sparc64/backtrace.h: New file.
49355         * sysdeps/sparc/sparc64/backtrace.c: Delete.
49356         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49357         -funwind-tables.
49359 2013-01-21  Andreas Schwab  <schwab@suse.de>
49361         [BZ #15020]
49362         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49363         closed its stdout.
49365 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
49367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
49368         "mpa2.h".
49369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49371 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
49372             Mark Mitchell  <mark@codesourcery.com>
49373             Tom de Vries  <tom@codesourcery.com>
49374             Paul Pluzhnikov  <ppluzhnikov@google.com>
49376         * debug/tst-backtrace2.c: New file.
49377         * debug/tst-backtrace3.c: Likewise.
49378         * debug/tst-backtrace4.c: Likewise.
49379         * debug/tst-backtrace5.c: Likewise.
49380         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
49381         (CFLAGS-tst-backtrace3.c): Likewise.
49382         (CFLAGS-tst-backtrace4.c): Likewise.
49383         (CFLAGS-tst-backtrace5.c): Likewise.
49384         (LDFLAGS-tst-backtrace2): Likewise.
49385         (LDFLAGS-tst-backtrace3): Likewise.
49386         (LDFLAGS-tst-backtrace4): Likewise.
49387         (LDFLAGS-tst-backtrace5): Likewise.
49388         (tests): Add new tests tst-backtrace2, tst-backtrace3,
49389         tst-backtrace4 and tst-backtrace5.
49391 2013-01-18  Anton Blanchard  <anton@samba.org>
49392             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49394         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
49395         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
49396         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49397         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
49398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49399         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
49400         "+r" and remove output regs list as redundant.  Add explicit inline
49401         asm to specify register of return val to work around compiler codegen
49402         bug.  Remove (int) cast on return value.  Add return type parameter to
49403         use in macro so that this macro does not truncate return value for
49404         64-bit values.
49405         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
49406         pass to INTERNAL_VSYSCALL_NCS.
49407         (INLINE_VSYSCALL): Add 'long int' as return type to
49408         INTERNAL_VSYSCALL_NCS macro invocation.
49409         (INTERNAL_VSYSCALL): Add 'long int' as return type to
49410         INTERNAL_VSYSCALL_NCS macro invocation.
49411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49413 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49415         [BZ #14496]
49416         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49417         Fix application of SIMD FP exception mask.
49419         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49420         mp_no from a power of two.
49421         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49422         __mpexp_twomm1.  Use __pow_mp.
49424         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49425         multiplication.
49427 2013-01-17  David S. Miller  <davem@davemloft.net>
49429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49431 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49433         [BZ #15023]
49434         * include/complex.h: Condition contents on [!_COMPLEX_H].
49435         (__kernel_casinhf): New prototype.
49436         (__kernel_casinh): Likewise.
49437         (__kernel_casinhl): Likewise.
49438         * math/Makefile (libm_calls): Add k_casinh.
49439         * math/k_casinh.c: New file.
49440         * math/k_casinhf.c: Likewise.
49441         * math/k_casinhl.c: Likewise.
49442         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49443         finite nonzero arguments.
49444         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49445         finite nonzero arguments.
49446         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49447         finite nonzero arguments.
49448         * math/s_casinh.c: Do not include <float.h>.
49449         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49450         * math/s_casinhf.c: Do not include <float.h>.
49451         (__casinhf): Move code for finite nonzero arguments to
49452         k_casinhf.c.
49453         * math/s_casinhl.c: Do not include <float.h>.
49454         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49455         redefine.
49456         (__casinhl): Move code for finite nonzero arguments to
49457         k_casinhl.c.
49458         * math/libm-test.inc (cacos_test): Add more tests.
49459         * sysdeps/i386/fpu/libm-test-ulps: Update.
49460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49462 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49464         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49465         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49466         [!HAVE_MREMAP]: Remove [defined linux] case.
49467         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49469 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49471         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49473 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49475         * elf/elf.h (R_386_SIZE32): New relocation.
49476         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49477         R_386_SIZE32.
49478         (elf_machine_rela): Likewise.
49479         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49480         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49482 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49484         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49485         (FP_FAST_FMA): Do not define.
49486         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49487         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49488         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49489         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49490         !_SOFT_FLOAT]: Likewise.
49491         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49492         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49493         value.
49494         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49495         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49496         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49497         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49498         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49499         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49500         file.
49502 2013-01-16  Andreas Schwab  <schwab@suse.de>
49504         [BZ #14327]
49505         * include/stdlib.h (__mktemp): Add declaration.
49506         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49507         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49509 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49511         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49512         definitions.
49513         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49514         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49515         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49516         definitions here.
49517         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49518         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49519         definitions.
49520         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49521         and ONE.
49522         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49523         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49524         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49525         definitions.
49526         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49527         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49528         definitions.
49529         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49531         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49533 2013-01-15  David S. Miller  <davem@davemloft.net>
49535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49536         trunc{,f} to libm-sysdep_routes.
49537         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49539         file.
49540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49542         file.
49543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49544         file.
49545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49547         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49548         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49549         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49550         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49551         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49552         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49555         nearbyint{,f} to libm-sysdep_routes.
49556         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49558         New file.
49559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49560         file.
49561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49562         New file.
49563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49564         file.
49565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49567         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49568         file.
49569         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49570         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49571         file.
49572         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49573         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49574         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49576         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49577         libc_feholdexcept and libc_fesetenv.
49579 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49581         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49583 2013-01-14  David S. Miller  <davem@davemloft.net>
49585         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49586         (SPARC_ASM_VIS2_IFUNC): Likewise.
49587         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49589         use of 'siam' instruction.
49590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49591         Likewise.
49592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49593         Likewise.
49594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49595         Likewise.
49596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49598         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49599         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49601         file.
49602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49603         file.
49604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49605         file.
49606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49607         file.
49608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49613         new VIS2 routines.
49614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49617         Likewise.
49618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49621         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49623         routines to libm-sysdep_routines.
49624         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49627         fdim/fdimf to libm-sysdep_routines.
49628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49629         file.
49630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49632         file.
49633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49636         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49637         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49638         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49639         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49641 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49643         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49644         to optimize copies.
49646         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49651         local variable MPTWO.
49652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49653         Likewise.
49655 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49657         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49658         GLOB_NOESCAPE.
49660 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49662         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49664 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49666         * manual/pattern.texi (glob_t): Document gl_flags.
49667         (glob64_t): Likewise.
49669 2013-01-11  David S. Miller  <davem@davemloft.net>
49671         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49672         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49673         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49674         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49675         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49676         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49677         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49678         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49679         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49680         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49681         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49682         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49683         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49685         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49686         sparc V9 rather than using V8 code.
49687         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49688         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49690         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49691         Move to...
49692         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49693         Here.
49695 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49697         [BZ #14941]
49698         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49699         not in the main loop.
49700         * configure: Regenerated.
49702 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49704         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49705         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49706         to just #else.
49707         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49708         [!__GLIBC_HAVE_LONG_LONG] case.
49709         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49710         condition to just #else.
49711         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49712         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49713         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49714         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49715         unconditional.
49716         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49717         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49718         #elif condition to just #else.
49719         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49720         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49721         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49722         #elif condition to just #else.
49724 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49726         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49727         (EF_MIPS_ARCH_64): Fix value.
49728         (EF_MIPS_ARCH_32R2): New.
49729         (EF_MIPS_ARCH_64R2): New.
49731 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49733         * Makeconfig (+link-pie-before-libc): New.
49734         (+link-pie-after-libc): Likewise.
49735         (+link-pie-tests): Likewise.
49736         (+link-pie): Rewritten.
49737         (link-before-libc): Remove $(config-LDFLAGS).
49738         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49739         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49740         (config-LDFLAGS): Renamed to ...
49741         (rtld-LDFLAGS): This.
49742         (rtld-tests-LDFLAGS): New macro.
49743         (link-libc-rpath-link): Likewise.
49744         (link-libc-tests-rpath-link): Likewise.
49745         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49746         (link-libc): Prepand $(link-libc-rpath-link).
49747         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49748         (test-program-prefix): New macro.
49749         (test-via-rtld-prefix): Likewise.
49750         (test-program-cmd): Likewise.
49751         (host-test-program-cmd): Likewise.
49752         * Makefile ($(common-objpfx)testrun.sh): Replace
49753         $(run-program-prefix) with $(test-program-prefix).
49754         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49755         $(rtld-LDFLAGS).
49756         ($(common-objpfx)shlib.lds): Likewise.
49757         (build-module-helper): Likewise.
49758         ($(common-objpfx)format.lds): Likewise.
49759         * Rules (binaries-pie-tests): New.
49760         (binaries-pie-notests): Likewise.
49761         (binaries-pie): Rewritten.
49762         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49763         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49764         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49765         (make-test-out): Replace $(host-built-program-cmd) with
49766         $(host-test-program-cmd).
49767         * config.make.in (build-hardcoded-path-in-tests): New variable.
49768         * configure.in (--enable-hardcoded-path-in-tests): New configure
49769         option.
49770         (hardcoded_path_in_tests): New AC_SUBST.
49771         * configure: Regenerated.
49772         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49773         $(built-program-cmd) with $(test-program-cmd).
49774         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49775         (test_program_cmd): This.
49776         * elf/Makefile ($(objpfx)order.out): Run test with
49777         $(test-program-prefix).
49778         ($(objpfx)order2.out): Likewise.
49779         ($(objpfx)tst-initorder.out): Likewise.
49780         ($(objpfx)tst-initorder2.out): Likewise.
49781         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49782         $(test-program-cmd).
49783         ($(objpfx)tst-array1-static.out): Likewise.
49784         ($(objpfx)tst-array2.out): Likewise.
49785         ($(objpfx)tst-array3.out): Likewise.
49786         ($(objpfx)tst-array4.out): Likewise.
49787         ($(objpfx)tst-array5.out): Likewise.
49788         ($(objpfx)tst-array5-static.out): Likewise.
49789         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49790         $(test-program-cmd).
49791         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49792         $(run-program-prefix) with $(test-program-prefix).
49793         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49794         (test_program_prefix): This.
49795         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49796         $(run-program-prefix) with $(test-program-prefix).
49797         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49798         (test_program_prefix): This.
49799         * iconvdata/tst-tables.sh: Likewise.
49800         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49801         $(run-program-prefix) with $(test-program-prefix).
49802         ($(objpfx)tst-translit.out): Likewise.
49803         ($(objpfx)tst-gettext2.out): Likewise.
49804         ($(objpfx)tst-gettext4.out): Likewise.
49805         ($(objpfx)tst-gettext6.out): Likewise.
49806         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49807         (test_program_prefix): This.
49808         * intl/tst-gettext2.sh: Likewise.
49809         * intl/tst-gettext4.sh  Likewise.
49810         * intl/tst-gettext6.sh: Likewise.
49811         * intl/tst-translit.sh: Likewise.
49812         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49813         with $(test-program-cmd).
49814         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49815         $(run-program-prefix) with $(test-program-prefix).
49816         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49817         (test_program_prefix): This.
49818         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49819         $(run-program-prefix) with $(test-program-prefix).
49820         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49821         (test_program_prefix): This.
49822         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49823         * posix/Makefile ($(objpfx)globtest.out): Replace
49824         $(run-via-rtld-prefix) and $(test-wrapper) with
49825         $(test-program-prefix) and $(test-via-rtld-prefix).
49826         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49827         $(test-program-prefix).
49828         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49829         $(host-test-program-cmd).
49830         (tst-spawn-ARGS): Likewise.
49831         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49832         $(test-program-prefix).
49833         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49834         (test_via_rtld_prefix): This.
49835         (test_wrapper): Renamed to ...
49836         (test_program_prefix): This.
49837         (run_program_prefix): Replaced by test_program_prefix.
49838         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49839         (test_program_prefix): This.
49840         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49841         with $(host-test-program-cmd).
49842         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49843         $(run-program-prefix) with $(test-program-prefix).
49844         ($(objpfx)tst-printf.out): Likewise.
49845         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49846         $(test-program-cmd).
49847         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49848         (test_program_prefix): This.
49849         * stdio-common/tst-unbputc.sh: Likewise.
49850         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49851         $(run-program-prefix) with $(test-program-prefix).
49852         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49853         (test_program_prefix): This.
49854         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49855         $(built-program-cmd) with $(test-program-cmd).
49857 2013-01-11  Andreas Jaeger  <aj@suse.de>
49859         [BZ #15003]
49860         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49861         value. Sync with Linux 3.7.
49863 2013-01-10  David S. Miller  <davem@davemloft.net>
49865         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49866         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49867         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49869 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49871         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49872         never set.
49873         * configure: Regenerated.
49875 2013-01-10  David S. Miller  <davem@davemloft.net>
49877         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49878         sparc V9 rather than using V8 code.
49879         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49880         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49882 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49884         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49885         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49886         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49887         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49888         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49889         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49890         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49891         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49892         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49893         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49894         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49895         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49896         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49897         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49898         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49899         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49900         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49901         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49902         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49903         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49904         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49905         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49906         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49907         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49908         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49909         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49910         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49912 2013-01-10  David S. Miller  <davem@davemloft.net>
49914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49916 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49918         * posix/Makefile (tests-static): New variable.
49919         (tests): Add $(tests-static).
49920         (tst-exec-static-ARGS): New variable.
49921         (tst-spawn-static-ARGS): Likewise.
49922         * posix/tst-exec-static.c: New file.
49923         * posix/tst-spawn-static.c: Likewise.
49924         * posix/tst-exec.c: Support run directly.
49925         * posix/tst-spawn.c: Likewise.
49927 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49929         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49930         long.
49931         * math/bits/mathcalls.h (llrint): Likewise.
49932         (llround): Likewise.
49933         * stdlib/stdlib.h (struct drand48_data): Likewise.
49934         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49935         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49936         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49937         Likewise.
49938         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49939         Likewise.
49940         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49941         (elf_greg_t): Likewise.
49942         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49943         (__jmp_buf): Likewise.
49944         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49945         definitions.
49946         (llrint): Likewise, for all definitions.
49947         (llrintl): Likewise.
49949         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49950         Remove [__GNUC__] condition.
49951         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49952         condition to just [__USE_ISOC99].
49953         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49955 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49957         [BZ #14200]
49958         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49959         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49960         defined.
49961         (_POSIX_V6_ILP32_OFF32): Likewise.
49962         (_XBS5_ILP32_OFF32): Likewise.
49963         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49964         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49966 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49968         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49971         doubles __mpexp_twomm1.  Adjust usage.
49972         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49973         Remove.
49975 2013-01-10  Andreas Schwab  <schwab@suse.de>
49977         [BZ #14964]
49978         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49979         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49981 2013-01-09  David S. Miller  <davem@davemloft.net>
49983         [BZ #15003]
49984         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49985         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49986         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49987         (TCP_FASTOPEN): Define.
49988         (tcp_repair_opt): New structure.
49989         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49990         enum values.
49991         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49992         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49993         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49994         (tcp_cookie_transactions): New structure.
49996 2013-01-09  Anton Blanchard  <anton@samba.org>
49998         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49999         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
50000         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
50001         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
50003 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
50005         * include/features.h (__USE_ANSI): Remove.
50007 2013-01-09  Roland McGrath  <roland@hack.frob.com>
50009         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
50011         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
50013 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
50015         * sysdeps/s390/fpu/libm-test-ulps: Update.
50017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50019         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
50020         (__acr): Likewise.
50021         (__cpy): Likewise.
50022         (norm): Likewise.
50023         (denorm): Likewise.
50024         (__mp_dbl): Likewise.
50025         (__dbl_mp): Likewise.
50026         (add_magnitudes): Likewise.
50027         (sub_magnitudes): Likewise.
50028         (__add): Likewise.
50029         (__sub): Likewise.
50030         (__mul): Likewise.
50031         (__inv): Likewise.
50032         (__dvd): Likewise.
50033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
50034         (__acr): Likewise.
50035         (__cpy): Likewise.
50036         (norm): Likewise.
50037         (denorm): Likewise.
50038         (__mp_dbl): Likewise.
50039         (__dbl_mp): Likewise.
50040         (add_magnitudes): Likewise.
50041         (sub_magnitudes): Likewise.
50042         (__add): Likewise.
50043         (__sub): Likewise.
50044         (__mul): Likewise.
50045         (__inv): Likewise.
50046         (__dvd): Likewise.
50047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
50048         (__acr): Likewise.
50049         (__cpy): Likewise.
50050         (norm): Likewise.
50051         (denorm): Likewise.
50052         (__mp_dbl): Likewise.
50053         (__dbl_mp): Likewise.
50054         (add_magnitudes): Likewise.
50055         (sub_magnitudes): Likewise.
50056         (__add): Likewise.
50057         (__sub): Likewise.
50058         (__mul): Likewise.
50059         (__inv): Likewise.
50060         (__dvd): Likewise.
50062 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
50064         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
50065         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
50066         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
50067         2 && __USE_EXTERN_INLINES]: Likewise.
50069 2013-01-08  Andreas Jaeger  <aj@suse.de>
50071         [BZ# 14985]
50072         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
50073         Remove.
50074         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50075         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50077 2013-01-07  Anton Blanchard  <anton@samba.org>
50079         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
50080         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50081         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
50082         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50083         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50084         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50085         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
50086         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50088         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50089         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50090         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50091         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50092         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50093         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50094         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50095         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50096         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50097         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50098         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50099         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50100         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
50101         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50102         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50103         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
50104         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50105         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50106         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50107         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
50108         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50109         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50111         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50112         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50113         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50114         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50115         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50116         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50117         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
50118         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50119         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
50120         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50121         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50123 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
50125         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50126         (__MALLOC_PMT): Likewise.
50127         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
50128         [__GNUC__], only on [_LIBC].
50129         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50130         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
50131         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50132         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
50133         forward declaration.
50134         (realloc_hook_ini): Likewise.
50135         (memalign_hook_ini): Likewise.
50136         (__libc_memalign): Do not use __MALLOC_PMT in variable
50137         declaration.
50138         (__libc_valloc): Likewise.
50139         (__libc_pvalloc): Likewise.
50140         (__libc_calloc): Likewise.
50141         (__posix_memalign): Likewise.
50143         [BZ #14996]
50144         * math/s_casinh.c: Include <float.h>.
50145         (__casinh): Do not do computation with squaring and square root
50146         for large arguments.
50147         * math/s_casinhf.c: Include <float.h>.
50148         (__casinhf): Do not do computation with squaring and square root
50149         for large arguments.
50150         * math/s_casinhl.c: Include <float.h>.
50151         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
50152         (__casinhl): Do not do computation with squaring and square root
50153         for large arguments.
50154         * math/libm-test.inc (casin_test): Add more tests.
50155         (casinh_test): Likewise.
50156         * sysdeps/i386/fpu/libm-test-ulps: Update.
50157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50159 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
50161         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
50162         (__x86_64_raw_data_cache_size): Likewise.
50163         (__x86_64_data_cache_size_half): Likewise.
50164         (__x86_64_raw_data_cache_size_half): Likewise.
50165         (__x86_64_shared_cache_size): Likewise.
50166         (__x86_64_raw_shared_cache_size): Likewise.
50167         (__x86_64_shared_cache_size_half): Likewise.
50168         (__x86_64_raw_shared_cache_size_half): Likewise.
50169         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
50170         to ...
50171         (__x86_data_cache_size): This.
50172         (__x86_64_raw_data_cache_size): Renamed to ...
50173         (__x86_raw_data_cache_size): This.
50174         (__x86_64_data_cache_size_half): Renamed to ...
50175         (__x86_data_cache_size_half): This.
50176         (__x86_64_raw_data_cache_size_half): Renamed to ...
50177         (__x86_raw_data_cache_size_half): This.
50178         (__x86_64_shared_cache_size): Renamed to ...
50179         (__x86_shared_cache_size): This.
50180         (__x86_64_raw_shared_cache_size): Renamed to ...
50181         (__x86_raw_shared_cache_size): This.
50182         (__x86_64_shared_cache_size_half): Renamed to ...
50183         (__x86_shared_cache_size_half): This.
50184         (__x86_64_raw_shared_cache_size_half): Renamed to ...
50185         (__x86_raw_shared_cache_size_half): This.
50186         * sysdeps/x86_64/memcpy.S: Updated.
50187         * sysdeps/x86_64/memset.S: Likewise.
50188         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50189         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50190         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50192 2013-01-04  David S. Miller  <davem@davemloft.net>
50194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50196 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
50198         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
50199         1 to avoid redefinition warning.
50200         (__USE_GNU): Don't define.
50201         (init_signaling_nan): Protoize.
50203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50205 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50207         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
50208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
50209         (__cpymn): Likewise.
50210         (norm): Remove commented code.
50211         (denorm): Likewise.
50212         (__mp_dbl): Likewise.
50213         (__inv): Likewise.
50214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
50215         (__cpymn): Likewise.
50216         (norm): Remove commented code.
50217         (denorm): Likewise.
50218         (__mp_dbl): Likewise.
50219         (__inv): Likewise.
50221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
50222         mp_no value for 1.0 and 2.0.
50223         (norm): Use RADIXI instead of radixi.d.
50224         (denorm): Likewise.
50225         (__mul): Use 0.0 instead of zero.d.
50226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
50227         mp_no value for 1.0 and 2.0.
50228         (norm): Use RADIXI instead of radixi.d.
50229         (denorm): Likewise.
50230         (__mul): Use 0.0 instead of zero.d.
50232 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
50234         [BZ #14994]
50235         * math/s_casinh.c (__casinh): Reduce finite argument to first
50236         quadrant then set signs of results at the end.
50237         * math/s_casinhf.c (__casinhf): Likewise.
50238         * math/s_casinhl.c (__casinhl): Likewise.
50239         * math/libm-test.inc (casin_test): Add more tests.
50240         (casinh_test): Likewise.
50241         * sysdeps/i386/fpu/libm-test-ulps: Update.
50242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50244 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50246         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
50248         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
50250         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
50251         declarations.
50252         (denorm): Likewise.
50253         (__mp_dbl): Likewise.
50254         (__inv): Likewise.
50256         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
50257         and adjust the header comment.
50259         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
50260         variable name from declaration.
50262 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
50264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50265         Initialize COMMON_CPUID_INDEX_7 element.
50266         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
50267         (CPUID_RTM): Likewise.
50268         (HAS_RTM): Likewise.
50269         (COMMON_CPUID_INDEX_7): New enum.
50271 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
50273         [BZ #14981]
50274         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
50275         size is zero, record memory as freed.
50277 2013-01-03  Andreas Jaeger  <aj@suse.de>
50279         * po/ia.po: Add new Interlingua translation.
50281 2012-01-03  Allan McRae  <allan@archlinux.org>
50283         * locale/programs/localedef.c: Fix description of '--posix' flag.
50285 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
50287         * NEWS: Update dates in second copyright notice.
50288         * README: Update copyright dates in example.
50289         * manual/libc.texinfo: Update copyright dates.
50290         * scripts/test-installation.pl: Update copyright date in --version
50291         output.
50293         * hurd/ctty-input.c: Fix copyright notice formatting.
50294         * hurd/ctty-output.c: Likewise.
50295         * hurd/dtable.c: Likewise.
50296         * hurd/hurd-raise.c: Likewise.
50297         * hurd/hurdprio.c: Likewise.
50298         * hurd/msgportdemux.c: Likewise.
50299         * misc/sys/file.h: Likewise.
50300         * misc/sys/ioctl.h: Likewise.
50301         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50302         * sysdeps/mach/hurd/chdir.c: Likewise.
50303         * sysdeps/mach/hurd/fchdir.c: Likewise.
50304         * sysdeps/mach/hurd/rename.c: Likewise.
50305         * sysdeps/mach/hurd/rmdir.c: Likewise.
50306         * sysdeps/mach/hurd/seekdir.c: Likewise.
50307         * sysdeps/mach/hurd/setsid.c: Likewise.
50308         * sysdeps/posix/wait3.c: Likewise.
50310         * All files with FSF copyright notices: Update copyright dates
50311         using scripts/update-copyrights.
50312         * intl/plural.c: Regenerated.
50313         * locale/programs/charmap-kw.h: Likewise.
50314         * locale/programs/locfile-kw.h: Likewise.
50316 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50318         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50319         four values.
50321         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50322         calculation loop and add branch prediction.
50324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50325         check access beyond bounds of m1np.
50327         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50328         MPTWO.
50329         (__inv): Remove local variable MPTWO to use the global
50330         constant.
50331         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50332         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50333         variable MPTWO.
50334         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50335         MP3HALFS static const.
50337 2013-01-01  David S. Miller  <davem@davemloft.net>
50339         * po/ca.po: Update from translation team.
50341 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
50343         * scripts/update-copyrights: New file.
50344         * Makeconfig: Reformat copyright notice.
50345         * ctype/ctype.h: Likewise.
50346         * debug/swprintf_chk.c: Likewise.
50347         * elf/dl-cache.c: Likewise.
50348         * elf/dl-debug.c: Likewise.
50349         * elf/dl-object.c: Likewise.
50350         * grp/initgroups.c: Likewise.
50351         * hurd/Makefile: Likewise.
50352         * hurd/hurd/signal.h: Likewise.
50353         * hurd/hurdfault.c: Likewise.
50354         * hurd/hurdioctl.c: Likewise.
50355         * hurd/hurdlookup.c: Likewise.
50356         * hurd/intr-msg.c: Likewise.
50357         * iconv/gconv_open.c: Likewise.
50358         * libio/swprintf.c: Likewise.
50359         * locale/lc-ctype.c: Likewise.
50360         * locale/nl_langinfo.c: Likewise.
50361         * mach/Machrules: Likewise.
50362         * mach/Makefile: Likewise.
50363         * malloc/obstack.h: Likewise.
50364         * manual/Makefile: Likewise.
50365         * manual/tsort.awk: Likewise.
50366         * misc/bits/stab.def: Likewise.
50367         * nis/nis_print_group_entry.c: Likewise.
50368         * nis/nis_table.c: Likewise.
50369         * nis/nss_compat/compat-pwd.c: Likewise.
50370         * nis/nss_compat/compat-spwd.c: Likewise.
50371         * po/Makefile: Likewise.
50372         * posix/fnmatch.c: Likewise.
50373         * posix/regex.h: Likewise.
50374         * resolv/Makefile: Likewise.
50375         * resolv/nss_dns/dns-network.c: Likewise.
50376         * resolv/res_hconf.c: Likewise.
50377         * scripts/gen-sorted.awk: Likewise.
50378         * soft-fp/soft-fp.h: Likewise.
50379         * stdio-common/printf.h: Likewise.
50380         * stdlib/monetary.h: Likewise.
50381         * stdlib/random.c: Likewise.
50382         * stdlib/random_r.c: Likewise.
50383         * sysdeps/generic/Makefile: Likewise.
50384         * sysdeps/gnu/Makefile: Likewise.
50385         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50387         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50388         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50389         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50391         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50392         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50393         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50395         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50396         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50397         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50398         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50399         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
50400         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50401         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50402         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50403         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50404         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50405         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50406         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50407         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50408         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50409         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50410         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50411         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50412         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50413         * sysdeps/mach/hurd/errnos.awk: Likewise.
50414         * sysdeps/mach/hurd/fork.c: Likewise.
50415         * sysdeps/mach/hurd/getcwd.c: Likewise.
50416         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50417         * sysdeps/mach/hurd/mmap.c: Likewise.
50418         * sysdeps/mach/hurd/utimes.c: Likewise.
50419         * sysdeps/mach/hurd/xmknod.c: Likewise.
50420         * sysdeps/posix/profil.c: Likewise.
50421         * sysdeps/posix/readdir_r.c: Likewise.
50422         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50423         * sysdeps/powerpc/bits/setjmp.h: Likewise.
50424         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50425         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50427         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50428         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50429         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50431         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50432         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50433         * sysdeps/pthread/lio_listio.c: Likewise.
50434         * sysdeps/sparc/dl-procinfo.h: Likewise.
50435         * sysdeps/unix/i386/sysdep.S: Likewise.
50436         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50437         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50438         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50439         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50441         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50442         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50443         * sysdeps/unix/sysv/linux/speed.c: Likewise.
50444         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50445         * sysdeps/wordsize-32/divdi3.c: Likewise.
50446         * time/sys/time.h: Likewise.
50447         * wcsmbs/Makefile: Likewise.
50449 2013-01-01  David S. Miller  <davem@davemloft.net>
50451         * po/fr.po: Update from translation team.
50453         * catgets/gencat.c: Update copyright year.
50454         * csu/version.c: Likewise.
50455         * debug/catchsegv.sh: Likewise.
50456         * debug/pcprofiledump.c: Likewise.
50457         * debug/xtrace.sh: Likewise.
50458         * elf/ldconfig.c: Likewise.
50459         * elf/ldd.bash.in: Likewise.
50460         * elf/pldd.c: Likewise.
50461         * elf/sotruss.ksh: Likewise.
50462         * elf/sprof.c: Likewise.
50463         * iconv/iconv_prog.c: Likewise.
50464         * iconv/iconvconfig.c: Likewise.
50465         * locale/programs/locale.c: Likewise.
50466         * locale/programs/localedef.c: Likewise.
50467         * login/programs/pt_chown.c: Likewise.
50468         * malloc/memusage.sh: Likewise.
50469         * malloc/memusagestat.c: Likewise.
50470         * malloc/mtrace.pl: Likewise.
50471         * nscd/nscd.c: Likewise.
50472         * nss/getent.c: Likewise.
50473         * nss/makedb.c: Likewise.
50474         * posix/getconf.c: Likewise.
50476 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50478         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50479         numbers.
50481 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50483         * math/bits/mathcalls.h (modf): Use __nonnull.
50485 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50487         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50488         (split): Use macro CN instead of the bare value.
50489         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50490         could be used.
50491         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50492         instead of the bare value.
50493         (power1): Likewise.
50495 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50497         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50498         __ATAN_TWOM.
50499         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50501         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50502         their values.
50503         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50504         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50505         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50506         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50508 2012-12-28  Andreas Jaeger  <aj@suse.de>
50510         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50511         values are from Linux 3.7.
50513         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50514         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50516 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50518         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50519         TRUE case.
50521         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50522         (norm): Likewise.
50523         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50524         variables with preprocessor constants.
50525         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50526         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50527         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50529 2012-12-27  Bruno Haible  <bruno@clisp.org>
50531         [BZ #14317]
50532         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50533         only if needed.
50535 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50538         and use variable directly.
50539         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50541         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50542         MPONE.
50543         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50544         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50545         variable MPONE.
50546         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50547         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50548         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50549         include directive.  Remove local variable MPONE.
50550         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50551         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50552         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50554 2012-12-25  David S. Miller  <davem@davemloft.net>
50556         * version.h (RELEASE): Set to "development".
50557         (VERSION): Set to "2.17.90".
50558         * NEWS: Add 2.18 section.
50560 2012-12-21  David S. Miller  <davem@davemloft.net>
50562         * po/hr.po: Update from translation team.
50564 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50566         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50568 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50570         * NEWS:  Mention new memcpy for MIPS.
50572 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50574         * manual/contrib.texi (Contributors): Spelling correction.
50576 2012-12-15  David S. Miller  <davem@davemloft.net>
50578         * po/ru.po: Update from translation team.
50580 2012-12-13  David S. Miller  <davem@davemloft.net>
50582         * NEWS: Mention IFUNC testsuite enhancements.
50584         * po/pl.po: Update from translation team.
50585         * po/bg.po: Likewise.
50587         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50588         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50590 2012-12-11  David S. Miller  <davem@davemloft.net>
50592         * po/sv.po: Update from translation team.
50594         * po/vi.po: Update from translation team.
50596         * po/cs.po: Update from translation team.
50598         * po/de.po: Update from translation team.
50599         * po/eo.po: Likewise.
50600         * po/nl.po: Likewise.
50602 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50604         [BZ #14246]
50605         * manual/argp.texi (Argp Helper Functions): Move node to follow
50606         Argp Parsing State.
50608         [BZ #14872]
50609         * manual/conf.texi (Limits on File System Capacity): Mention if
50610         terminating null is included in the max size.
50612 2012-12-10  Andreas Jaeger  <aj@suse.de>
50614         * po/cs.po: Update from translation team.
50616 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50618         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50619         void pointer and cast to uintptr_t.
50620         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50621         path.
50622         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50623         * sysdeps/s390/s390-64/memset.S: Likewise.
50625 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50627         [BZ #14833]
50628         * menual/message.texi (Message Translation): Fix typos.
50629         (Helper programs for gettext): Likewise.
50631 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50633         [BZ #14898]
50634         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50635         Change to -1.
50637 2012-12-07  David S. Miller  <davem@davemloft.net>
50639         * po/libc.pot: Update.
50641 2012-12-07  Richard Henderson  <rth@redhat.com>
50643         [BZ #10114]
50644         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50645         normal/normal case to before the switch.
50646         (_FP_DIV): Likewise.
50648 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50649             Mike Frysinger  <vapier@gentoo.org>
50651         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50652         check for __NR_fadvise64_64.
50654 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50656         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50657         0, not just to plain "0" as a statement.
50658         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50659         with cw.
50661 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50663         * NEWS: Use sourceware.org in Bugzilla URL.
50665 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50668         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50670         * stdio-common/tst-put-error.c (do_test): Add newline to the
50671         padded test to ensure flush.
50673 2012-12-05  Jeff Law  <law@redhat.com>
50675         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50677 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50679         * README: Don't refer to ports add-on as distributed separately.
50680         Mention AArch64 in list of systems supported in the ports add-on.
50682         * LICENSES: Add more non-FSF copyright and license notices.
50684         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50685         ((unused)).
50687         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50689         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50690         10000 as width of padded output.
50692 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50694         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50696         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50697         variable LX with __attribute__ ((unused)).
50698         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50699         Likewise.
50700         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50702         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50703         with __attribute__ ((unused)).
50705 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50707         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50709 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50711         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50712         (CFLAGS-nldbl-acos.c): New variable.
50713         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50714         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50715         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50716         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50717         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50718         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50719         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50720         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50721         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50722         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50723         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50724         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50725         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50726         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50727         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50728         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50729         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50730         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50731         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50732         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50733         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50734         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50735         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50736         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50737         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50738         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50739         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50740         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50741         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50742         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50743         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50744         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50745         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50746         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50747         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50748         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50749         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50750         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50751         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50752         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50753         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50754         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50755         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50756         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50757         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50758         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50759         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50760         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50761         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50762         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50763         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50764         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50765         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50766         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50767         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50768         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50769         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50770         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50771         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50772         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50773         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50774         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50775         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50776         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50777         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50778         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50779         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50780         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50781         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50782         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50783         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50784         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50785         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50786         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50787         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50788         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50789         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50790         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50791         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50792         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50793         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50794         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50795         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50796         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50797         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50798         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50799         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50800         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50801         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50802         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50803         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50804         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50805         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50806         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50807         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50808         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50809         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50812         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50814         [BZ #14914]
50815         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50816         whole low double instead of just low 47 bits when splitting values
50817         into two parts.
50819 2012-12-03  Allan McRae  <allan@archlinux.org>
50821         * manual/stdio.texi (Predefined Printf Handlers): Remove
50822         @hsep and @vsep usage.
50824 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50826         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50827         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50829 2012-12-03  Jeff Law  <law@redhat.com>
50831         * time/sys/time.h (settimeofday): Do not mark TV argument
50832         as __nonnull.
50834 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50836         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50837         when currently writing and seek to current position when not.
50838         * libio/Makefile (tests): Remove bug-fclose1.
50839         * libio/bug-fclose1.c: Delete.
50841 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50843         * manual/arith.texi (feenableexcept): Fix typo.
50844         (fedisableexcept): Likewise.
50846 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50848         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50849         second, differently-typed declaration, rather than a cast.
50851 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50853         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50854         * include/rpc/svc.h: ... here.
50856 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50858         [BZ #13013]
50859         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50860         depending n and resplen2 to catch cases where answer
50861         equals answerp2.
50863 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50865         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50866         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50868 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50870         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50872 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50874         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50876 2012-11-28  Jeff Law  <law@redhat.com>
50878         [BZ #13761]
50879         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50880         dataset_temporary.  Track alloca usage into alloca_used.
50881         If dataset is large allocate and release it via malloc/free.
50883 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50885         [BZ #14197]
50886         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50888 2012-11-28  David S. Miller  <davem@davemloft.net>
50890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50892 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50894         [BZ #14803]
50895         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50896         of pi/2 rounded to nearest to 64 bits.
50897         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50898         nearest to 64 bits.
50899         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50900         bits.
50902 2012-11-28  Jeff Law <law@redhat.com>
50903             Martin Osvald <mosvald@redhat.com>
50905         [BZ #14889]
50906         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50907         * sunrpc/svc.c: Include time.h.
50908         (__svc_accept_failed): New function.
50909         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50910         any reason other than EINTR, call __svc_accept_failed.
50911         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50912         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50914 2012-11-28  Andreas Schwab  <schwab@suse.de>
50916         * scripts/abilist.awk: Also handle indirect functions in .opd
50917         section.
50919 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50921         [BZ #13881]
50922         * sysdeps/x86/fpu/powl_helper.c: New file.
50923         * sysdeps/x86/fpu/Makefile: Likewise.
50924         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50925         (p3): New object.
50926         (__ieee754_powl): Use __powl_helper for finite arguments except
50927         integer exponents below 8.
50928         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50929         (p3): New object.
50930         (__ieee754_powl): Use __powl_helper for finite arguments except
50931         integer exponents below 8.
50932         * math/libm-test.inc (pow_test): Add more tests and enable some
50933         previously disabled tests.
50934         * sysdeps/i386/fpu/libm-test-ulps: Update.
50935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50937 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50938             Carlos O'Donell  <carlos_odonell@mentor.com>
50940         * nss/makedb.c (is_prime): Assert that input is odd and greater
50941         than 4.  Note that fact in a comment too.
50942         (next_prime): Add 4 to input.
50944 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50946         [BZ #11741]
50947         * libio/Makefile (tests): Add test case tst-fwrite-error.
50948         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50949         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50950         * libio/tst-fwrite-error.c: New test case.
50952 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50954         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50955         before casting to void *.
50956         * include/libc-internal.h (__pointer_type): New macro.
50957         (__integer_if_pointer_type_sub): Likewise.
50958         (__integer_if_pointer_type): Likewise.
50959         (cast_to_integer): Likewise.
50960         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50961         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50962         before casting to atomic64_t.
50963         (atomic_exchange_acq): Likewise.
50964         (__arch_exchange_and_add_body): Likewise.
50965         (__arch_add_body): Likewise.
50966         (atomic_add_negative): Likewise.
50967         (atomic_add_zero): Likewise.
50969 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50971         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50972         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50973         (add_fdes): Likewise.
50974         (linear_search_fdes): Likewise.
50975         (binary_search_unencoded_fdes): Likewise.
50977 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50979         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50981 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50983         * configure.in: Autodetect C++ header directories.
50984         * configure: Regenerated.
50986 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50988         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50990 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50994 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50996         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50997         LDBL_MANT_DIG == 106]: Disable some tests.
50998         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50999         Likewise.
51000         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51001         Likewise.
51003         [BZ #14871]
51004         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
51005         input for small inputs.  Return +/- pi/2 for large inputs.
51006         * math/libm-test.inc (atan_test): Add more tests.
51008         * sysdeps/generic/unwind-dw2-fde-glibc.c
51009         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
51010         __attribute__ ((unused)).
51012         [BZ #14645]
51013         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
51014         x * y if x and y are nonzero and z is zero.
51016         [BZ #14811]
51017         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
51018         nonzero exponents with absolute value below 0x1p-117 to +/-
51019         0x1p-117.
51021         [BZ #14869]
51022         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
51023         up arguments below 2**-450, not just those below 2**-500.
51024         * math/libm-test.inc (hypot_test): Add another test.
51026         [BZ #14868]
51027         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
51028         Return a+b for ratio over 2**120, not 2**60.
51029         * math/libm-test.inc (hypot_test): Add another test.
51031         * math/libm-test.inc (clog_test): Use
51032         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
51033         (clog10_test): Likewise.
51035         [BZ #6778]
51036         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
51038 2012-11-22  Andreas Schwab  <schwab@suse.de>
51040         * sysdeps/i386/fpu/libm-test-ulps: Update.
51042 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
51044         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
51045         printf output with newline.
51047 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
51049         [BZ #14865]
51050         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
51051         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
51052         -z nodlopen, -z initfirst and -z execstack support.
51053         * configure: Regenerated.
51055         * elf/elf.h (DF_1_NODIRECT): New macro.
51056         (DF_1_IGNMULDEF): Likewise.
51057         (DF_1_NOKSYMS): Likewise.
51058         (DF_1_NOHDR): Likewise.
51059         (DF_1_EDITED): Likewise.
51060         (DF_1_NORELOC): Likewise.
51061         (DF_1_SYMINTPOSE): Likewise.
51062         (DF_1_GLOBAUDIT): Likewise.
51063         (DF_1_SINGLETON): Likewise.
51064         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
51065         DT_1_SUPPORTED_MASK bits.
51066         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
51068 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
51070         * sysdeps/unix/make-syscalls.sh: Document prefixes.
51072 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
51074         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
51075         macro.
51077         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
51078         (sendmmsg): Move declarations...
51079         * socket/sys/socket.h: ... here.
51080         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
51081         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
51082         include it from...
51083         * socket/recvmmsg.c: ... this new file.
51084         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
51085         (sendmmsg): Rename to __sendmmsg, create weak alias and make
51086         definition of __sendmmsg hidden.
51087         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
51088         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
51089         Move ENOSYS stub into and include it from...
51090         * socket/sendmmsg.c: ... this new file.
51091         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
51092         (sysdep_routines): Move recvmmsg and sendmmsg...
51093         * socket/Makefile (routines): ... here.
51094         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
51095         (GLIBC_PRIVATE): Add __sendmmsg.
51096         * include/sys/socket.h (__sendmmsg): Add declarations.
51097         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
51098         sendmmsg.
51100 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
51102         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
51103         variable I1 with __attribute__ ((unused)).
51104         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51106 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51108         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
51109         DUMMY variables with __attribute__ ((unused)).
51111         * bits/byteswap.h: Include <bits/types.h>.
51112         (__bswap_64): Use __uint64_t instead of unsigned long long int.
51114 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51116         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
51117         string_t.  Do not manually set errno.
51118         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
51119         length with __strnlen.  Make sure to both set errno and return it on
51120         failure.
51122 2012-11-19  David S. Miller  <davem@davemloft.net>
51124         With help from Joseph Myers.
51125         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
51126         very large arguments properly.
51127         * math/libm-test.inc (atan_test): New tests.
51128         (atan2_test): New tests.
51129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51132 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51134         [BZ #14856]
51135         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
51136         Define to 3.
51138         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
51139         [POSIX] (EADDRNOTAVAIL): Likewise.
51140         [POSIX] (EAFNOSUPPORT): Likewise.
51141         [POSIX] (EALREADY): Likewise.
51142         [POSIX] (ECONNABORTED): Likewise.
51143         [POSIX] (ECONNREFUSED): Likewise.
51144         [POSIX] (ECONNRESET): Likewise.
51145         [POSIX] (EDESTADDRREQ): Likewise.
51146         [POSIX] (EDQUOT): Likewise.
51147         [POSIX] (EHOSTUNREACH): Likewise.
51148         [POSIX] (EIDRM): Likewise.
51149         [POSIX] (EISCONN): Likewise.
51150         [POSIX] (ELOOP): Likewise.
51151         [POSIX] (EMULTIHOP): Likewise.
51152         [POSIX] (ENETDOWN): Likewise.
51153         [POSIX] (ENETUNREACH): Likewise.
51154         [POSIX] (ENOBUFS): Likewise.
51155         [POSIX] (ENODATA): Likewise.
51156         [POSIX] (ENOLINK): Likewise.
51157         [POSIX] (ENOMSG): Likewise.
51158         [POSIX] (ENOPROTOOPT): Likewise.
51159         [POSIX] (ENOSR): Likewise.
51160         [POSIX] (ENOSTR): Likewise.
51161         [POSIX] (ENOTCONN): Likewise.
51162         [POSIX] (ENOTSOCK): Likewise.
51163         [POSIX] (EOPNOTSUPP): Likewise.
51164         [POSIX] (EOVERFLOW): Likewise.
51165         [POSIX] (EPROTO): Likewise.
51166         [POSIX] (EPROTONOSUPPORT): Likewise.
51167         [POSIX] (EPROTOTYPE): Likewise.
51168         [POSIX] (ESTALE): Likewise.
51169         [POSIX] (ETIME): Likewise.
51170         [POSIX] (ETXTBSY): Likewise.
51171         [POSIX] (EWOULDBLOCK): Likewise.
51172         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
51173         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
51174         [POSIX] (SEEK_CUR): Likewise.
51175         [POSIX] (SEEK_END): Likewise.
51176         [POSIX || UNIX98] (mode_t): Do not require.
51177         [POSIX] (off_t): Likewise.
51178         [POSIX] (pid_t): Likewise.
51179         [POSIX] (sys/stat.h): Do not allow header.
51180         [POSIX] (unistd.h): Likewise.
51181         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
51182         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
51183         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
51184         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
51185         require.
51186         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
51187         sigevent): Specify elements.
51188         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
51189         entry.
51190         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
51191         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
51193         * conform/data/cpio.h-data [POSIX]: Disable whole file.
51194         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
51195         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
51196         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
51197         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
51198         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
51199         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
51200         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
51201         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
51202         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
51203         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
51204         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
51205         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
51206         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
51207         Likewise.
51208         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
51209         Likewise.
51210         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
51211         Likewise.
51212         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
51213         Likewise.
51214         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
51215         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
51216         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
51217         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
51218         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
51219         Specify lower bound on value.
51220         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
51221         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
51222         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
51223         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
51224         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
51225         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
51226         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
51227         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
51228         value.
51229         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
51230         as optional.
51231         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
51232         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
51233         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
51234         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
51235         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
51236         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
51237         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
51238         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
51239         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
51240         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
51241         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
51242         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
51243         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
51244         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
51245         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
51246         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
51247         entry.
51248         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
51249         optional.
51250         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
51251         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
51252         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
51253         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
51254         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
51255         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
51256         Likewise.
51257         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
51258         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
51259         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
51260         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
51261         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
51262         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
51263         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
51264         as optional.
51265         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
51266         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
51267         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
51268         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
51269         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
51270         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
51271         specify as optional.
51272         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
51273         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
51274         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
51275         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
51276         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
51277         [XPG3] (NL_LANGMAX): Likewise.
51278         [POSIX || XPG3] (NL_MSGMAX): Likewise.
51279         [POSIX || XPG3] (NL_NMAX): Likewise.
51280         [POSIX || XPG3] (NL_SETMAX): Likewise.
51281         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
51282         [XPG3] (NZERO): Likewise.
51283         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
51284         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
51285         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
51286         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
51287         (REG_ERANGE): Expect.
51288         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
51289         optional-constant.
51290         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
51291         Use (void) in prototype.
51292         [POSIX] (*_t): Allow.
51293         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
51294         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
51295         (WRDE_BADVAL): Expect.
51297         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
51298         expect.
51299         [XPG3 || XPG4] (O_RSYNC): Likewise.
51300         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
51301         Likewise.
51302         [XPG3 || XPG4] (pthread_sigmask): Likewise.
51303         [XPG3 || XPG4] (sigqueue): Likewise.
51304         [XPG3 || XPG4] (sigtimedwait): Likewise.
51305         [XPG3 || XPG4] (sigwaitinfo): Likewise.
51306         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
51307         [XPG3 || XPG4] (vsnprintf): Likewise.
51308         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
51309         Likewise.
51310         [XPG3 || XPG4] (blksize_t): Likewise.
51311         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
51312         Likewise.
51313         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
51314         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51315         [XPG3 || XPG4] (struct itimerspec): Likewise.
51316         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
51317         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
51318         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
51319         [XPG3 || XPG4] (clockid_t): Likewise.
51320         [XPG3 || XPG4] (timer_t): Likewise.
51321         [XPG3 || XPG4] (clock_getres): Likewise.
51322         [XPG3 || XPG4] (clock_gettime): Likewise.
51323         [XPG3 || XPG4] (clock_settime): Likewise.
51324         [XPG3 || XPG4] (nanosleep): Likewise.
51325         [XPG3 || XPG4] (timer_create): Likewise.
51326         [XPG3 || XPG4] (timer_delete): Likewise.
51327         [XPG3 || XPG4] (timer_gettime): Likewise.
51328         [XPG3 || XPG4] (timer_getoverrun): Likewise.
51329         [XPG3 || XPG4] (timer_settime): Likewise.
51330         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51331         [XPG3 || XPG4] (getlogin_r): Likewise.
51332         [XPG3 || XPG4] (pread): Likewise.
51333         [XPG3 || XPG4] (pthread_atfork): Likewise.
51334         [XPG3 || XPG4] (pwrite): Likewise.
51336         [BZ #14835]
51337         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51338         <bits/siginfo.h>.
51340 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51342         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51343         finalizing MALLSTREAM.
51345         * sysdeps/mach/hurd/syncfs.c: New file.
51347 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51349         [BZ #14719]
51350         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51351         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51352         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51353         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51354         (_nss_dns_gethostbyname4_r): Likewise.
51355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51356         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51358 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
51360         [BZ #13763]
51361         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51363 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
51365         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
51366         * elf/cache.c (print_entry): Print ",AArch64" for
51367         FLAG_AARCH64_LIB64
51369         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
51370         * elf/cache.c (print_entry): Print ",hard-float" for
51371         FLAG_ARM_LIBHF.
51373 2012-11-18  David S. Miller  <davem@davemloft.net>
51375         With help from Joseph Myers.
51376         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
51377         cutoff to 2**-13.
51378         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
51379         cutoff to 2**-25.
51380         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
51381         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
51382         small.
51383         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51384         * math/libm-test.inc (y0_test): New tests.
51385         (y1_test): New tests.
51386         * sysdeps/i386/fpu/libm-test-ulps: Update.
51387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51390 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
51392         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
51393         64-bit targets.
51394         * configure: Regenerated.
51396 2012-11-17  David S. Miller  <davem@davemloft.net>
51398         [BZ #14811]
51399         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
51400         nonzero exponents with absolute value below 0x1p-128 to +/-
51401         0x1p-128.
51403 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
51405         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
51407         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51409         * posix/getconf-speclist.c: New file.
51410         * posix/posix-envs.def: Likewise.
51411         * posix/confstr.c (START_ENV_GROUP): New macro.
51412         (END_ENV_GROUP): Likewise.
51413         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51414         (KNOWN_PRESENT_ENV_STRING): Likewise.
51415         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51416         (UNKNOWN_ENVIRONMENT): Likewise.
51417         (confstr): Include posix-envs.def instead of handling
51418         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51419         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51420         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51421         (END_ENV_GROUP): Likewise.
51422         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51423         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51424         (UNKNOWN_ENVIRONMENT): Likewise.
51425         (__sysconf): Include posix-envs.def instead of handling associated
51426         cases directly here.
51427         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51428         preprocessing getconf-speclist.c rather than running getconf or
51429         generating empty file.
51431 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
51433         * scripts/check-local-headers.sh: Ignore 'mach' headers.
51435 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
51437         [BZ #14672]
51438         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51440 2012-11-16  David S. Miller  <davem@davemloft.net>
51442         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51443         smaller than LDBL_EPSILON/2.0L, just return xm1.
51445 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
51447         * elf/tst-array1.c (init): Set constructor priority to 1000.
51448         (fini): Set destructor priority to 1000.
51449         * elf/tst-array2dep.c: Likewise.
51451 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51453         [BZ #11741]
51454         * libio/fileops.c (_IO_new_file_write): Correctly return error.
51455         (_IO_new_file_xsputn): Also return EOF if none of the input
51456         data was written when overflow failed.
51457         * libio/iopadn.c (_IO_padn): Likewise.
51458         * libio/iowpadn.c (_IO_wpadn): Likewise.
51459         * stdio-common/tst-put-error.c: Add copyright notice.
51460         (do_test): Add case for printing padded string.
51461         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51462         _IO_padn returned error.
51463         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51464         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51465         return EOF.
51467 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51469         * libio/libioP.h: Add comment note that the references to C++
51470         bits are now obsolete.
51472 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51474         * math/libm-test.inc (check_complex): Use asprintf.
51476 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51478         * debug/pcprofiledump.c (print_version): Update copyright year.
51479         * malloc/memusagestat.c (print_version): Likewise.
51481 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51483         [BZ #14831]
51484         * elf/Makefile (tests): Add tst-audit8.
51485         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51486         ($(objpfx)tst-audit8.out): New target.
51487         (tst-audit8-ENV): New variable.
51488         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51489         audit if l_reloc_result is NULL.
51490         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51491         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51492         * elf/tst-audit8.c: New file.
51494 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51496         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51497         * misc/Makefile (CFLAGS-select.c): Define.
51498         * posix/Makefile (CFLAGS-pause.c): Define.
51500 2012-11-13  David S. Miller  <davem@davemloft.net>
51502         * crypt/Makefile: Move test targets after toplevel Rules
51503         inclusion.  Grab any necessary sysdep routines when linking.
51504         * crypt/md5.c (md5_process_block): Remove define, we will always
51505         name it __md5_process_block.
51506         (md5_finish_ctx): Update md5_process_block call.
51507         (md5_stream): Likewise.
51508         (md5_process_bytes): Likewise.
51509         (md5_process_block): Rename to __md5_process_block and move to ...
51510         * crypt/md5-block.c: ... here.
51511         * crypt/sha256.c (sha256_process_block): Move to ...
51512         * crypt/sha256-block.c: ... here.
51513         * crypt/sha512.c (sha512_process_block): Move to ...
51514         * crypt/sha512-block.c: ... here.
51515         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51516         path.
51517         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51518         * sysdeps/sparc/sparc64/multiarch/Makefile
51519         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51520         crypt subdir.
51521         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51522         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51523         multiarch changes.
51524         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51525         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51526         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51527         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51528         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51529         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51530         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51531         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51532         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51533         file.
51534         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51535         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51536         file.
51537         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51539 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51541         * timezone/tzselect.ksh: Update from tzcode git revision
51542         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51543         * timezone/zdump.c: Likewise.
51544         * timezone/zic.c: Likewise.
51545         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51546         in TZVERSION setting, not $(PKGVERSION).
51547         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51548         REPORT_BUGS_TO settings.
51550         [BZ #14838]
51551         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51552         macro.
51554 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51556         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51557         detection to immediately after _FP_ROUND().
51558         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51559         bits are 0.
51561 2012-11-11  David S. Miller  <davem@davemloft.net>
51563         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51564         inttypes.h
51565         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51566         __close rather than their public counterparts.
51568 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51570         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51571         file.
51572         [UNIX98] (sem_timedwait): Do not expect.
51573         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51574         [XPG4 || UNIX98] (sockatmark): Do not expect.
51575         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51576         (clock_getcpuclockid): Do not expect.
51577         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51578         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51579         Do not expect.
51580         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51581         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51582         [UNIX98] (vwscanf): Likewise.
51583         [UNIX98] (vswscanf): Likewise.
51585 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51587         * timezone/version.h: Remove file.
51588         * timezone/README: Do not refer to version.h.
51589         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51590         $(objpfx)version.h.
51591         ($(objpfx)zdump.o): Likewise.
51592         ($(objpfx)version.h): New target.
51594         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51595         2012i.
51596         * timezone/README: Don't mention modification to tzselect.ksh.
51597         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51598         work on unmodified tzselect.ksh.  Substitute version numbers in
51599         tzselect.ksh.
51601         * Makefile (format-me): Remove.
51602         (INSTALL): Adjust indentation.  Use commands directly instead of
51603         using $(format-me).
51605         * aclocal.m4 (ACX_PKGVERSION): New macro.
51606         (ACX_BUGURL): Likewise.
51607         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51608         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51609         (REPORT_BUGS_TO): Likewise.
51610         * configure: Regenerated.
51611         * config.h.in (PKGVERSION): New macro.
51612         (REPORT_BUGS_TO): Likewise.
51613         * config.make.in (PKGVERSION): New variable.
51614         (PKGVERSION_TEXI): Likewise.
51615         (REPORT_BUGS_TO): Likewise.
51616         (REPORT_BUGS_TEXI): Likewise.
51617         * Makefile (format-me): Use -I$(common-objpfx)manual.
51618         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51619         ($(common-objpfx)manual/%): New target.
51620         (manual/%): Remove target.
51621         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51622         (print_version): Use PKGVERSION.
51623         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51624         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51625         and REPORT_BUGS_TO.
51626         ($(objpfx)xtrace): Likewise.
51627         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51628         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51629         (print_version): Use PKGVERSION.
51630         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51631         (do_version): Use PKGVERSION.
51632         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51633         REPORT_BUGS_TO.
51634         (common-ldd-rewrite): Likewise.
51635         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51636         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51637         (print_version): Use PKGVERSION.
51638         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51639         * elf/pldd.c (argp_program_bug_address): Remove variable.
51640         (more_help): New function.
51641         (argp): Use more_help.
51642         (print_version): Use PKGVERSION.
51643         * elf/sln.c (main): Use PKGVERSION.
51644         (usage): Use REPORT_BUGS_TO.
51645         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51646         (top level): Use PKGVERSION.
51647         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51648         (print_version): Use PKGVERSION.
51649         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51650         (print_version): Use PKGVERSION.
51651         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51652         (print_version): Use PKGVERSION.
51653         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51654         (print_version): Use PKGVERSION.
51655         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51656         (print_version): Use PKGVERSION.
51657         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51658         (print_version): Use PKGVERSION.
51659         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51660         and BUGURL.
51661         ($(objpfx)memusage): Likewise.
51662         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51663         (do_version): Use PKGVERSION.
51664         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51665         (print_version): Use PKGVERSION.
51666         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51667         ($PKGVERSION): New variable.
51668         ($REPORT_BUGS_TO): Likewise.
51669         (usage): Use $REPORT_BUGS_TO.
51670         (top level): Use $PKGVERSION.
51671         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51672         ($(objpfx)pkgvers.texi): New rule.
51673         ($(objpfx)stamp-pkgvers): Likewise.
51674         * manual/install.texi: Include pkgvers.texi.
51675         (--with-pkgversion): Document new configure option.
51676         (--with-bugurl): Likewise.
51677         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51678         than necessarily for this particular distribution.  Use
51679         REPORT_BUGS_TO for where to report bugs.
51680         * INSTALL: Regenerated.
51681         * manual/libc.texinfo: Include pkgvers.texi.
51682         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51683         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51684         (print_version): Use PKGVERSION.
51685         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51686         (print_version): Use PKGVERSION.
51687         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51688         (print_version): Use PKGVERSION.
51689         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51690         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51691         macro.
51692         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51693         (print_version): Use PKGVERSION.
51694         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51695         (print_version): Use PKGVERSION.
51696         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51697         and PKGVERSION.
51699         * timezone/checktab.awk: Update from tzcode 2012i.
51700         * timezone/ialloc.c: Likewise.
51701         * timezone/private.h: Likewise.
51702         * timezone/scheck.c: Likewise.
51703         * timezone/tzfile.h: Likewise.
51704         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51705         (TZVERSION): Hardcode tzcode version number.
51706         * timezone/zdump.c: Update from tzcode 2012i.
51707         * timezone/zic.c: Likewise.
51708         * timezone/version.h: New file.
51709         * timezone/README: Describe version.h.  Update upstream location.
51711         [BZ #14824]
51712         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51713         (mktemp): Enable declaration.
51714         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51715         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51716         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51717         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51718         Likewise.
51719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51720         Likewise.
51721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51722         Likewise.
51723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51724         Likewise.
51725         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51726         Likewise.
51727         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51728         Likewise.
51730         [BZ #14821]
51731         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51732         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51733         for copies of such integer values.
51734         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51735         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51737 2012-11-09  Andreas Jaeger  <aj@suse.de>
51739         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51740         definitions and declarations that are provided by
51741         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51743 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51745         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51746         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51747         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51748         definition.
51750 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51752         * elf/elf.h: Update comment before AArch64 relocations.
51754 2012-11-07  David S. Miller  <davem@davemloft.net>
51756         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51757         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51758         (__start_context): Declare.
51759         (__makecontext_ret): Delete.
51760         (__makecontext): Hook up __start_context instead of
51761         __makecontext_ret.
51762         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51763         (sysdep_routines): Add __start_context when in stdlib.
51765 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51767         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51768         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51769         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51770         hardcoded "nm".
51771         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51772         (READELF): New variable.  Use it instead of hardcoded "readelf".
51774 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51776         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51777         * sysdeps/x86/Makefile: Here.
51778         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51779         * sysdeps/x86/tst-xmmymm.sh: This.
51781 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51783         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51784         expectations.
51785         [UNIX98] (pthread_barrier_t): Do not expect.
51786         [UNIX98] (pthread_barrierattr_t): Likewise.
51787         [UNIX98] (pthread_spinlock_t): Likewise.
51788         [UNIX98] (pthread_barrier_destroy): Likewise.
51789         [UNIX98] (pthread_barrier_init): Likewise.
51790         [UNIX98] (pthread_barrier_wait): Likewise.
51791         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51792         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51793         [UNIX98] (pthread_barrierattr_init): Likewise.
51794         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51795         [UNIX98] (pthread_getcpuclockid): Likewise.
51796         [UNIX98] (pthread_mutex_timedlock): Likewise.
51797         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51798         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51799         [UNIX98] (pthread_sigmask): Likewise.
51800         [UNIX98] (pthread_spin_destroy): Likewise.
51801         [UNIX98] (pthread_spin_init): Likewise.
51802         [UNIX98] (pthread_spin_lock): Likewise.
51803         [UNIX98] (pthread_spin_trylock): Likewise.
51804         [UNIX98] (pthread_spin_unlock): Likewise.
51805         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51806         Do not expect.
51807         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51808         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51809         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51810         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51811         [XPG3 || XPG4] (pthread_key_t): Likewise.
51812         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51813         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51814         [XPG3 || XPG4] (pthread_once_t): Likewise.
51815         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51816         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51817         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51818         [XPG3 || XPG4] (pthread_t): Likewise.
51820         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51821         not expect.
51822         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51824         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51825         Change function return type to int.
51827         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51828         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51829         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51830         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51831         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51832         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51833         [!POSIX] (posix_madvise): Likewise.
51834         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51835         && !UNIX98].
51836         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51837         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51838         (mode_t): Likewise.
51839         (posix_mem_offset): Likewise.
51840         (posix_typed_mem_get_info): Likewise.
51841         (posix_typed_mem_open): Likewise.
51843         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51844         Change condition to [XOPEN2K8].
51846         * conform/conformtest.pl: Preprocess allow-header data with -x c
51847         instead of from stdin.
51848         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51849         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51850         [C99-based standards] (cerfc): Likewise.
51851         [C99-based standards] (cexp2): Likewise.
51852         [C99-based standards] (cexpm1): Likewise.
51853         [C99-based standards] (clog10): Likewise.
51854         [C99-based standards] (clog1p): Likewise.
51855         [C99-based standards] (clog2): Likewise.
51856         [C99-based standards] (clgamma): Likewise.
51857         [C99-based standards] (ctgamma): Likewise.
51858         [C99-based standards] (cerff): Likewise.
51859         [C99-based standards] (cerfcf): Likewise.
51860         [C99-based standards] (cexp2f): Likewise.
51861         [C99-based standards] (cexpm1f): Likewise.
51862         [C99-based standards] (clog10f): Likewise.
51863         [C99-based standards] (clog1pf): Likewise.
51864         [C99-based standards] (clog2f): Likewise.
51865         [C99-based standards] (clgammaf): Likewise.
51866         [C99-based standards] (ctgammaf): Likewise.
51867         [C99-based standards] (cerfl): Likewise.
51868         [C99-based standards] (cerfcl): Likewise.
51869         [C99-based standards] (cexp2l): Likewise.
51870         [C99-based standards] (cexpm1l): Likewise.
51871         [C99-based standards] (clog10l): Likewise.
51872         [C99-based standards] (clog1pl): Likewise.
51873         [C99-based standards] (clog2l): Likewise.
51874         [C99-based standards] (clgammal): Likewise.
51875         [C99-based standards] (ctgammal): Likewise.
51876         * conform/data/inttypes.h-data [C99-based standards]: Include
51877         stdint.h-data.  Remove all expectations for stdint.h contents.
51878         [C99-based standards] (PRI*): Do not allow.
51879         [C99-based standards] (SCN*): Likewise.
51880         [C99-based standards] (*_t): Likewise.
51881         [C99-based-standards] (PRId8): Expect macro.
51882         [C99-based-standards] (PRIi8): Likewise.
51883         [C99-based-standards] (PRIo8): Likewise.
51884         [C99-based-standards] (PRIu8): Likewise.
51885         [C99-based-standards] (PRIx8): Likewise.
51886         [C99-based-standards] (PRIX8): Likewise.
51887         [C99-based-standards] (SCNd8): Likewise.
51888         [C99-based-standards] (SCNi8): Likewise.
51889         [C99-based-standards] (SCNo8): Likewise.
51890         [C99-based-standards] (SCNu8): Likewise.
51891         [C99-based-standards] (SCNx8): Likewise.
51892         [C99-based-standards] (PRIdLEAST8): Likewise.
51893         [C99-based-standards] (PRIiLEAST8): Likewise.
51894         [C99-based-standards] (PRIoLEAST8): Likewise.
51895         [C99-based-standards] (PRIuLEAST8): Likewise.
51896         [C99-based-standards] (PRIxLEAST8): Likewise.
51897         [C99-based-standards] (PRIXLEAST8): Likewise.
51898         [C99-based-standards] (SCNdLEAST8): Likewise.
51899         [C99-based-standards] (SCNiLEAST8): Likewise.
51900         [C99-based-standards] (SCNoLEAST8): Likewise.
51901         [C99-based-standards] (SCNuLEAST8): Likewise.
51902         [C99-based-standards] (SCNxLEAST8): Likewise.
51903         [C99-based-standards] (PRIdFAST8): Likewise.
51904         [C99-based-standards] (PRIiFAST8): Likewise.
51905         [C99-based-standards] (PRIoFAST8): Likewise.
51906         [C99-based-standards] (PRIuFAST8): Likewise.
51907         [C99-based-standards] (PRIxFAST8): Likewise.
51908         [C99-based-standards] (PRIXFAST8): Likewise.
51909         [C99-based-standards] (SCNdFAST8): Likewise.
51910         [C99-based-standards] (SCNiFAST8): Likewise.
51911         [C99-based-standards] (SCNoFAST8): Likewise.
51912         [C99-based-standards] (SCNuFAST8): Likewise.
51913         [C99-based-standards] (SCNxFAST8): Likewise.
51914         [C99-based-standards] (PRId16): Likewise.
51915         [C99-based-standards] (PRIi16): Likewise.
51916         [C99-based-standards] (PRIo16): Likewise.
51917         [C99-based-standards] (PRIu16): Likewise.
51918         [C99-based-standards] (PRIx16): Likewise.
51919         [C99-based-standards] (PRIX16): Likewise.
51920         [C99-based-standards] (SCNd16): Likewise.
51921         [C99-based-standards] (SCNi16): Likewise.
51922         [C99-based-standards] (SCNo16): Likewise.
51923         [C99-based-standards] (SCNu16): Likewise.
51924         [C99-based-standards] (SCNx16): Likewise.
51925         [C99-based-standards] (PRIdLEAST16): Likewise.
51926         [C99-based-standards] (PRIiLEAST16): Likewise.
51927         [C99-based-standards] (PRIoLEAST16): Likewise.
51928         [C99-based-standards] (PRIuLEAST16): Likewise.
51929         [C99-based-standards] (PRIxLEAST16): Likewise.
51930         [C99-based-standards] (PRIXLEAST16): Likewise.
51931         [C99-based-standards] (SCNdLEAST16): Likewise.
51932         [C99-based-standards] (SCNiLEAST16): Likewise.
51933         [C99-based-standards] (SCNoLEAST16): Likewise.
51934         [C99-based-standards] (SCNuLEAST16): Likewise.
51935         [C99-based-standards] (SCNxLEAST16): Likewise.
51936         [C99-based-standards] (PRIdFAST16): Likewise.
51937         [C99-based-standards] (PRIiFAST16): Likewise.
51938         [C99-based-standards] (PRIoFAST16): Likewise.
51939         [C99-based-standards] (PRIuFAST16): Likewise.
51940         [C99-based-standards] (PRIxFAST16): Likewise.
51941         [C99-based-standards] (PRIXFAST16): Likewise.
51942         [C99-based-standards] (SCNdFAST16): Likewise.
51943         [C99-based-standards] (SCNiFAST16): Likewise.
51944         [C99-based-standards] (SCNoFAST16): Likewise.
51945         [C99-based-standards] (SCNuFAST16): Likewise.
51946         [C99-based-standards] (SCNxFAST16): Likewise.
51947         [C99-based-standards] (PRId32): Likewise.
51948         [C99-based-standards] (PRIi32): Likewise.
51949         [C99-based-standards] (PRIo32): Likewise.
51950         [C99-based-standards] (PRIu32): Likewise.
51951         [C99-based-standards] (PRIx32): Likewise.
51952         [C99-based-standards] (PRIX32): Likewise.
51953         [C99-based-standards] (SCNd32): Likewise.
51954         [C99-based-standards] (SCNi32): Likewise.
51955         [C99-based-standards] (SCNo32): Likewise.
51956         [C99-based-standards] (SCNu32): Likewise.
51957         [C99-based-standards] (SCNx32): Likewise.
51958         [C99-based-standards] (PRIdLEAST32): Likewise.
51959         [C99-based-standards] (PRIiLEAST32): Likewise.
51960         [C99-based-standards] (PRIoLEAST32): Likewise.
51961         [C99-based-standards] (PRIuLEAST32): Likewise.
51962         [C99-based-standards] (PRIxLEAST32): Likewise.
51963         [C99-based-standards] (PRIXLEAST32): Likewise.
51964         [C99-based-standards] (SCNdLEAST32): Likewise.
51965         [C99-based-standards] (SCNiLEAST32): Likewise.
51966         [C99-based-standards] (SCNoLEAST32): Likewise.
51967         [C99-based-standards] (SCNuLEAST32): Likewise.
51968         [C99-based-standards] (SCNxLEAST32): Likewise.
51969         [C99-based-standards] (PRIdFAST32): Likewise.
51970         [C99-based-standards] (PRIiFAST32): Likewise.
51971         [C99-based-standards] (PRIoFAST32): Likewise.
51972         [C99-based-standards] (PRIuFAST32): Likewise.
51973         [C99-based-standards] (PRIxFAST32): Likewise.
51974         [C99-based-standards] (PRIXFAST32): Likewise.
51975         [C99-based-standards] (SCNdFAST32): Likewise.
51976         [C99-based-standards] (SCNiFAST32): Likewise.
51977         [C99-based-standards] (SCNoFAST32): Likewise.
51978         [C99-based-standards] (SCNuFAST32): Likewise.
51979         [C99-based-standards] (SCNxFAST32): Likewise.
51980         [C99-based-standards] (PRId64): Likewise.
51981         [C99-based-standards] (PRIi64): Likewise.
51982         [C99-based-standards] (PRIo64): Likewise.
51983         [C99-based-standards] (PRIu64): Likewise.
51984         [C99-based-standards] (PRIx64): Likewise.
51985         [C99-based-standards] (PRIX64): Likewise.
51986         [C99-based-standards] (SCNd64): Likewise.
51987         [C99-based-standards] (SCNi64): Likewise.
51988         [C99-based-standards] (SCNo64): Likewise.
51989         [C99-based-standards] (SCNu64): Likewise.
51990         [C99-based-standards] (SCNx64): Likewise.
51991         [C99-based-standards] (PRIdLEAST64): Likewise.
51992         [C99-based-standards] (PRIiLEAST64): Likewise.
51993         [C99-based-standards] (PRIoLEAST64): Likewise.
51994         [C99-based-standards] (PRIuLEAST64): Likewise.
51995         [C99-based-standards] (PRIxLEAST64): Likewise.
51996         [C99-based-standards] (PRIXLEAST64): Likewise.
51997         [C99-based-standards] (SCNdLEAST64): Likewise.
51998         [C99-based-standards] (SCNiLEAST64): Likewise.
51999         [C99-based-standards] (SCNoLEAST64): Likewise.
52000         [C99-based-standards] (SCNuLEAST64): Likewise.
52001         [C99-based-standards] (SCNxLEAST64): Likewise.
52002         [C99-based-standards] (PRIdFAST64): Likewise.
52003         [C99-based-standards] (PRIiFAST64): Likewise.
52004         [C99-based-standards] (PRIoFAST64): Likewise.
52005         [C99-based-standards] (PRIuFAST64): Likewise.
52006         [C99-based-standards] (PRIxFAST64): Likewise.
52007         [C99-based-standards] (PRIXFAST64): Likewise.
52008         [C99-based-standards] (SCNdFAST64): Likewise.
52009         [C99-based-standards] (SCNiFAST64): Likewise.
52010         [C99-based-standards] (SCNoFAST64): Likewise.
52011         [C99-based-standards] (SCNuFAST64): Likewise.
52012         [C99-based-standards] (SCNxFAST64): Likewise.
52013         [C99-based-standards] (PRIdMAX): Likewise.
52014         [C99-based-standards] (PRIiMAX): Likewise.
52015         [C99-based-standards] (PRIoMAX): Likewise.
52016         [C99-based-standards] (PRIuMAX): Likewise.
52017         [C99-based-standards] (PRIxMAX): Likewise.
52018         [C99-based-standards] (PRIXMAX): Likewise.
52019         [C99-based-standards] (SCNdMAX): Likewise.
52020         [C99-based-standards] (SCNiMAX): Likewise.
52021         [C99-based-standards] (SCNoMAX): Likewise.
52022         [C99-based-standards] (SCNuMAX): Likewise.
52023         [C99-based-standards] (SCNxMAX): Likewise.
52024         [C99-based-standards] (PRIdPTR): Likewise.
52025         [C99-based-standards] (PRIiPTR): Likewise.
52026         [C99-based-standards] (PRIoPTR): Likewise.
52027         [C99-based-standards] (PRIuPTR): Likewise.
52028         [C99-based-standards] (PRIxPTR): Likewise.
52029         [C99-based-standards] (PRIXPTR): Likewise.
52030         [C99-based-standards] (SCNdPTR): Likewise.
52031         [C99-based-standards] (SCNiPTR): Likewise.
52032         [C99-based-standards] (SCNoPTR): Likewise.
52033         [C99-based-standards] (SCNuPTR): Likewise.
52034         [C99-based-standards] (SCNxPTR): Likewise.
52035         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
52036         allow.
52037         * conform/data/stdint.h-data: Update comments to clarify
52038         requirements.
52039         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
52040         type.
52041         [C99-based standards] (INT8_MAX): Likewise.
52042         [C99-based standards] (INT16_MIN): Likewise.
52043         [C99-based standards] (INT16_MAX): Likewise.
52044         [C99-based standards] (INT32_MIN): Likewise.
52045         [C99-based standards] (INT32_MAX): Likewise.
52046         [C99-based standards] (INT64_MIN): Likewise.
52047         [C99-based standards] (INT64_MAX): Likewise.
52048         [C99-based standards] (UINT8_MAX): Likewise.
52049         [C99-based standards] (UINT16_MAX): Likewise.
52050         [C99-based standards] (UINT32_MAX): Likewise.
52051         [C99-based standards] (UINT64_MAX): Likewise.
52052         [C99-based standards] (INT_LEAST8_MIN): Likewise.
52053         [C99-based standards] (INT_LEAST8_MAX): Likewise.
52054         [C99-based standards] (INT_LEAST16_MIN): Likewise.
52055         [C99-based standards] (INT_LEAST16_MAX): Likewise.
52056         [C99-based standards] (INT_LEAST32_MIN): Likewise.
52057         [C99-based standards] (INT_LEAST32_MAX): Likewise.
52058         [C99-based standards] (INT_LEAST64_MIN): Likewise.
52059         [C99-based standards] (INT_LEAST64_MAX): Likewise.
52060         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
52061         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
52062         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
52063         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
52064         [C99-based standards] (INT_FAST8_MIN): Likewise.
52065         [C99-based standards] (INT_FAST8_MAX): Likewise.
52066         [C99-based standards] (INT_FAST16_MIN): Likewise.
52067         [C99-based standards] (INT_FAST16_MAX): Likewise.
52068         [C99-based standards] (INT_FAST32_MIN): Likewise.
52069         [C99-based standards] (INT_FAST32_MAX): Likewise.
52070         [C99-based standards] (INT_FAST64_MIN): Likewise.
52071         [C99-based standards] (INT_FAST64_MAX): Likewise.
52072         [C99-based standards] (UINT_FAST8_MAX): Likewise.
52073         [C99-based standards] (UINT_FAST16_MAX): Likewise.
52074         [C99-based standards] (UINT_FAST32_MAX): Likewise.
52075         [C99-based standards] (UINT_FAST64_MAX): Likewise.
52076         [C99-based standards] (INTPTR_MIN): Likewise.
52077         [C99-based standards] (INTPTR_MAX): Likewise.
52078         [C99-based standards] (UINTPTR_MAX): Likewise.
52079         [C99-based standards] (INTMAX_MIN): Likewise.
52080         [C99-based standards] (INTMAX_MAX): Likewise.
52081         [C99-based standards] (UINTMAX_MAX): Likewise.
52082         [C99-based standards] (PTRDIFF_MIN): Likewise.
52083         [C99-based standards] (PTRDIFF_MAX): Likewise.
52084         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
52085         [C99-based standards] (SIZE_MAX): Likewise.
52086         [C99-based standards] (WCHAR_MAX): Likewise.
52087         [C99-based standards] (WINT_MAX): Likewise.
52088         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
52089         constraint on value.
52090         [C99-based standards] (WCHAR_MIN): Likewise.
52091         [C99-based standards] (WINT_MIN): Likewise.
52092         [C99-based standards] (*_t): Allow.
52093         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
52094         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
52095         Include math.h-data and complex.h-data.  Remove all expectations
52096         of math.h and complex.h contents.
52097         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
52098         at end of line.
52099         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
52100         (struct tm): Expect tag.
52101         [C99-based-standards] (wcstof): Expect function.
52102         [C99-based-standards] (wcstold): Likewise.
52103         [C99-based-standards] (wcstoll): Likewise.
52104         [C99-based-standards] (wcstoull): Likewise.
52105         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
52106         macro-int-constant.  Specify type.
52107         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
52108         constraint on value.
52109         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52110         Specify type.
52111         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
52112         Specify value.
52113         [ISO C standards]: Do not allow headers.
52114         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
52115         wcs[abcdefghijklmnopqrstuvwxyz]*.
52116         [ISO C standards] (*_t): Do not allow.
52117         * conform/data/wctype.h-data [C99-based standards] (iswblank):
52118         Expect function.
52119         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
52120         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52121         Specify type.
52122         [ISO C standards]: Do not allow headers.
52123         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
52124         is[abcdefghijklmnopqrstuvwxyz]*.
52125         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
52126         to[abcdefghijklmnopqrstuvwxyz]*.
52127         [ISO C standards] (*_t): Do not allow.
52128         * conform/data/stdalign.h-data: New file.
52129         * conform/data/stdbool.h-data: Likewise.
52130         * conform/data/stdnoreturn.h-data: Likewise.
52132 2012-11-07  Roland McGrath  <roland@hack.frob.com>
52134         [BZ #14815]
52135         * manual/filesys.texi (Directory Entries): Typo fix.
52136         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
52138 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52140         * elf/elf.h (EM_AARCH64): New macro.
52141         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
52142         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
52143         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
52144         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
52145         (R_AARCH64_TLSDESC): Likewise.
52146         (NT_ARM_TLS): Likewise.
52147         (NT_ARM_HW_BREAK): Likewise.
52148         (NT_ARM_HW_WATCH): Likewise.
52150 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52152         [BZ #14811]
52153         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
52154         (__ieee754_powl): Saturate nonzero exponents with absolute value
52155         below 0x1p-79 to +/- 0x1p-79.
52156         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
52157         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
52158         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
52159         nonzero exponents with absolute value below 0x1p-32 to +/-
52160         0x1p-32.
52161         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
52162         (__ieee754_powl): Saturate nonzero exponents with absolute value
52163         below 0x1p-79 to +/- 0x1p-79.
52164         * math/libm-test.inc (pow_test): Add more tests.
52166 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52168         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
52169         _dl_s390_cap_flags with kernel. Increase string length.
52170         (_dl_s390_platforms): Add z196 and zEC12.
52172 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52174         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
52175         Change XOPEN21K to XOPEN2K.
52177 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
52179         * string/memmove.c: Use memcpy when possible.
52181 2012-11-06  Andreas Jaeger  <aj@suse.de>
52183         * po/eo.po: Update from translation team.
52185 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
52187         [BZ #14793]
52188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
52189         exponent and small x and y exponents, scale x or y up.  Increase
52190         by 2 the exponent used in scaling up.
52191         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52193         * math/libm-test.inc (fma_test): Add more tests.
52194         (fma_test_towardzero): Likewise.
52195         (fma_test_downward): Likewise.
52196         (fma_test_upward): Likewise.
52198 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
52200         [BZ #14805]
52201         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
52202         fenv_t *.
52204         [BZ #14801]
52205         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
52206         namespace for names of struct fields.
52207         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
52208         fenv_t fields.
52209         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
52210         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
52212 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52214         [BZ #3665]
52215         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
52217 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52219         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
52220         PTR_DEMANGLE.
52222         [BZ #5246]
52223         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
52224         PTR_DEMANGLE.
52226 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
52228         [BZ #14797]
52229         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
52230         definitely overflow as x * y not x * y + z.
52231         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52232         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52233         * math/libm-test.inc (fma_test): Add more tests.
52234         (fma_test_towardzero): Likewise.
52235         (fma_test_downward): Likewise.
52236         (fma_test_upward): Likewise.
52238 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52240         [BZ #157]
52242         * include/stub-tag.h: Remove file.
52243         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
52244         '#include' of it.
52245         * manual/maint.texi (Porting): Don't reference it.
52246         * Makerules ($(objpfx)stubs): Likewise.
52247         * dirent/closedir.c: Don't include <stub-tag.h>.
52248         * dirent/dirfd.c: Likewise.
52249         * dirent/fdopendir.c: Likewise.
52250         * dirent/getdents.c: Likewise.
52251         * dirent/getdents64.c: Likewise.
52252         * dirent/opendir.c: Likewise.
52253         * dirent/readdir.c: Likewise.
52254         * dirent/readdir64.c: Likewise.
52255         * dirent/readdir64_r.c: Likewise.
52256         * dirent/readdir_r.c: Likewise.
52257         * dirent/rewinddir.c: Likewise.
52258         * dirent/seekdir.c: Likewise.
52259         * dirent/telldir.c: Likewise.
52260         * gmon/profil.c: Likewise.
52261         * grp/setgroups.c: Likewise.
52262         * inet/if_index.c: Likewise.
52263         * io/access.c: Likewise.
52264         * io/chdir.c: Likewise.
52265         * io/chmod.c: Likewise.
52266         * io/chown.c: Likewise.
52267         * io/close.c: Likewise.
52268         * io/dup.c: Likewise.
52269         * io/dup2.c: Likewise.
52270         * io/dup3.c: Likewise.
52271         * io/euidaccess.c: Likewise.
52272         * io/faccessat.c: Likewise.
52273         * io/fchdir.c: Likewise.
52274         * io/fchmod.c: Likewise.
52275         * io/fchmodat.c: Likewise.
52276         * io/fchown.c: Likewise.
52277         * io/fchownat.c: Likewise.
52278         * io/fcntl.c: Likewise.
52279         * io/flock.c: Likewise.
52280         * io/fstatfs.c: Likewise.
52281         * io/fstatfs64.c: Likewise.
52282         * io/fstatvfs.c: Likewise.
52283         * io/fstatvfs64.c: Likewise.
52284         * io/futimens.c: Likewise.
52285         * io/fxstat.c: Likewise.
52286         * io/fxstat64.c: Likewise.
52287         * io/fxstatat.c: Likewise.
52288         * io/fxstatat64.c: Likewise.
52289         * io/getcwd.c: Likewise.
52290         * io/isatty.c: Likewise.
52291         * io/lchmod.c: Likewise.
52292         * io/lchown.c: Likewise.
52293         * io/link.c: Likewise.
52294         * io/linkat.c: Likewise.
52295         * io/lseek.c: Likewise.
52296         * io/lseek64.c: Likewise.
52297         * io/lxstat64.c: Likewise.
52298         * io/mkdir.c: Likewise.
52299         * io/mkdirat.c: Likewise.
52300         * io/mkfifo.c: Likewise.
52301         * io/mkfifoat.c: Likewise.
52302         * io/open.c: Likewise.
52303         * io/open64.c: Likewise.
52304         * io/openat.c: Likewise.
52305         * io/openat64.c: Likewise.
52306         * io/pipe.c: Likewise.
52307         * io/pipe2.c: Likewise.
52308         * io/poll.c: Likewise.
52309         * io/posix_fadvise.c: Likewise.
52310         * io/posix_fadvise64.c: Likewise.
52311         * io/posix_fallocate.c: Likewise.
52312         * io/posix_fallocate64.c: Likewise.
52313         * io/read.c: Likewise.
52314         * io/readlink.c: Likewise.
52315         * io/readlinkat.c: Likewise.
52316         * io/rmdir.c: Likewise.
52317         * io/sendfile.c: Likewise.
52318         * io/sendfile64.c: Likewise.
52319         * io/statfs.c: Likewise.
52320         * io/statfs64.c: Likewise.
52321         * io/statvfs.c: Likewise.
52322         * io/statvfs64.c: Likewise.
52323         * io/symlink.c: Likewise.
52324         * io/symlinkat.c: Likewise.
52325         * io/ttyname.c: Likewise.
52326         * io/ttyname_r.c: Likewise.
52327         * io/umask.c: Likewise.
52328         * io/unlink.c: Likewise.
52329         * io/unlinkat.c: Likewise.
52330         * io/utime.c: Likewise.
52331         * io/utimensat.c: Likewise.
52332         * io/write.c: Likewise.
52333         * io/xmknod.c: Likewise.
52334         * io/xmknodat.c: Likewise.
52335         * io/xstat.c: Likewise.
52336         * io/xstat64.c: Likewise.
52337         * login/getpt.c: Likewise.
52338         * login/grantpt.c: Likewise.
52339         * login/unlockpt.c: Likewise.
52340         * math/e_acoshl.c: Likewise.
52341         * math/e_acosl.c: Likewise.
52342         * math/e_asinl.c: Likewise.
52343         * math/e_atan2l.c: Likewise.
52344         * math/e_atanhl.c: Likewise.
52345         * math/e_coshl.c: Likewise.
52346         * math/e_expl.c: Likewise.
52347         * math/e_fmodl.c: Likewise.
52348         * math/e_gammal_r.c: Likewise.
52349         * math/e_hypotl.c: Likewise.
52350         * math/e_j0l.c: Likewise.
52351         * math/e_j1l.c: Likewise.
52352         * math/e_jnl.c: Likewise.
52353         * math/e_lgammal_r.c: Likewise.
52354         * math/e_log10l.c: Likewise.
52355         * math/e_log2l.c: Likewise.
52356         * math/e_logl.c: Likewise.
52357         * math/e_powl.c: Likewise.
52358         * math/e_rem_pio2l.c: Likewise.
52359         * math/e_sinhl.c: Likewise.
52360         * math/e_sqrtl.c: Likewise.
52361         * math/fclrexcpt.c: Likewise.
52362         * math/fedisblxcpt.c: Likewise.
52363         * math/feenablxcpt.c: Likewise.
52364         * math/fegetenv.c: Likewise.
52365         * math/fegetexcept.c: Likewise.
52366         * math/fegetround.c: Likewise.
52367         * math/feholdexcpt.c: Likewise.
52368         * math/fesetenv.c: Likewise.
52369         * math/fesetround.c: Likewise.
52370         * math/feupdateenv.c: Likewise.
52371         * math/fgetexcptflg.c: Likewise.
52372         * math/fraiseexcpt.c: Likewise.
52373         * math/fsetexcptflg.c: Likewise.
52374         * math/ftestexcept.c: Likewise.
52375         * math/k_cosl.c: Likewise.
52376         * math/k_rem_pio2l.c: Likewise.
52377         * math/k_sinl.c: Likewise.
52378         * math/k_tanl.c: Likewise.
52379         * math/s_asinhl.c: Likewise.
52380         * math/s_atanl.c: Likewise.
52381         * math/s_cbrtl.c: Likewise.
52382         * math/s_erfl.c: Likewise.
52383         * math/s_expm1l.c: Likewise.
52384         * math/s_log1pl.c: Likewise.
52385         * math/s_tanhl.c: Likewise.
52386         * misc/acct.c: Likewise.
52387         * misc/brk.c: Likewise.
52388         * misc/chflags.c: Likewise.
52389         * misc/chroot.c: Likewise.
52390         * misc/fchflags.c: Likewise.
52391         * misc/fgetxattr.c: Likewise.
52392         * misc/flistxattr.c: Likewise.
52393         * misc/fremovexattr.c: Likewise.
52394         * misc/fsetxattr.c: Likewise.
52395         * misc/fsync.c: Likewise.
52396         * misc/ftruncate.c: Likewise.
52397         * misc/futimes.c: Likewise.
52398         * misc/futimesat.c: Likewise.
52399         * misc/getdomain.c: Likewise.
52400         * misc/getdtsz.c: Likewise.
52401         * misc/gethostid.c: Likewise.
52402         * misc/gethostname.c: Likewise.
52403         * misc/getloadavg.c: Likewise.
52404         * misc/getpagesize.c: Likewise.
52405         * misc/getsysstats.c: Likewise.
52406         * misc/getxattr.c: Likewise.
52407         * misc/gtty.c: Likewise.
52408         * misc/ioctl.c: Likewise.
52409         * misc/lgetxattr.c: Likewise.
52410         * misc/listxattr.c: Likewise.
52411         * misc/llistxattr.c: Likewise.
52412         * misc/lremovexattr.c: Likewise.
52413         * misc/lsetxattr.c: Likewise.
52414         * misc/lutimes.c: Likewise.
52415         * misc/madvise.c: Likewise.
52416         * misc/mincore.c: Likewise.
52417         * misc/mlock.c: Likewise.
52418         * misc/mlockall.c: Likewise.
52419         * misc/mmap.c: Likewise.
52420         * misc/mprotect.c: Likewise.
52421         * misc/msync.c: Likewise.
52422         * misc/munlock.c: Likewise.
52423         * misc/munlockall.c: Likewise.
52424         * misc/munmap.c: Likewise.
52425         * misc/preadv.c: Likewise.
52426         * misc/preadv64.c: Likewise.
52427         * misc/ptrace.c: Likewise.
52428         * misc/pwritev.c: Likewise.
52429         * misc/pwritev64.c: Likewise.
52430         * misc/readv.c: Likewise.
52431         * misc/reboot.c: Likewise.
52432         * misc/remap_file_pages.c: Likewise.
52433         * misc/removexattr.c: Likewise.
52434         * misc/revoke.c: Likewise.
52435         * misc/select.c: Likewise.
52436         * misc/setdomain.c: Likewise.
52437         * misc/setegid.c: Likewise.
52438         * misc/seteuid.c: Likewise.
52439         * misc/sethostid.c: Likewise.
52440         * misc/sethostname.c: Likewise.
52441         * misc/setregid.c: Likewise.
52442         * misc/setreuid.c: Likewise.
52443         * misc/setxattr.c: Likewise.
52444         * misc/sstk.c: Likewise.
52445         * misc/stty.c: Likewise.
52446         * misc/swapoff.c: Likewise.
52447         * misc/swapon.c: Likewise.
52448         * misc/sync.c: Likewise.
52449         * misc/syncfs.c: Likewise.
52450         * misc/syscall.c: Likewise.
52451         * misc/truncate.c: Likewise.
52452         * misc/ualarm.c: Likewise.
52453         * misc/usleep.c: Likewise.
52454         * misc/ustat.c: Likewise.
52455         * misc/utimes.c: Likewise.
52456         * misc/vhangup.c: Likewise.
52457         * misc/writev.c: Likewise.
52458         * posix/_exit.c: Likewise.
52459         * posix/alarm.c: Likewise.
52460         * posix/execve.c: Likewise.
52461         * posix/fexecve.c: Likewise.
52462         * posix/fork.c: Likewise.
52463         * posix/fpathconf.c: Likewise.
52464         * posix/getaddrinfo.c: Likewise.
52465         * posix/getegid.c: Likewise.
52466         * posix/geteuid.c: Likewise.
52467         * posix/getgid.c: Likewise.
52468         * posix/getgroups.c: Likewise.
52469         * posix/getlogin.c: Likewise.
52470         * posix/getlogin_r.c: Likewise.
52471         * posix/getpgid.c: Likewise.
52472         * posix/getpid.c: Likewise.
52473         * posix/getppid.c: Likewise.
52474         * posix/getresgid.c: Likewise.
52475         * posix/getresuid.c: Likewise.
52476         * posix/getsid.c: Likewise.
52477         * posix/getuid.c: Likewise.
52478         * posix/glob64.c: Likewise.
52479         * posix/nanosleep.c: Likewise.
52480         * posix/pathconf.c: Likewise.
52481         * posix/pause.c: Likewise.
52482         * posix/posix_madvise.c: Likewise.
52483         * posix/pread.c: Likewise.
52484         * posix/pread64.c: Likewise.
52485         * posix/pwrite.c: Likewise.
52486         * posix/pwrite64.c: Likewise.
52487         * posix/sched_getaffinity.c: Likewise.
52488         * posix/sched_getp.c: Likewise.
52489         * posix/sched_gets.c: Likewise.
52490         * posix/sched_primax.c: Likewise.
52491         * posix/sched_primin.c: Likewise.
52492         * posix/sched_rr_gi.c: Likewise.
52493         * posix/sched_setaffinity.c: Likewise.
52494         * posix/sched_setp.c: Likewise.
52495         * posix/sched_sets.c: Likewise.
52496         * posix/sched_yield.c: Likewise.
52497         * posix/setgid.c: Likewise.
52498         * posix/setlogin.c: Likewise.
52499         * posix/setpgid.c: Likewise.
52500         * posix/setresgid.c: Likewise.
52501         * posix/setresuid.c: Likewise.
52502         * posix/setsid.c: Likewise.
52503         * posix/setuid.c: Likewise.
52504         * posix/sleep.c: Likewise.
52505         * posix/spawni.c: Likewise.
52506         * posix/sysconf.c: Likewise.
52507         * posix/times.c: Likewise.
52508         * posix/wait.c: Likewise.
52509         * posix/wait3.c: Likewise.
52510         * posix/wait4.c: Likewise.
52511         * posix/waitpid.c: Likewise.
52512         * resolv/gai_sigqueue.c: Likewise.
52513         * resource/getpriority.c: Likewise.
52514         * resource/getrlimit.c: Likewise.
52515         * resource/getrusage.c: Likewise.
52516         * resource/nice.c: Likewise.
52517         * resource/setpriority.c: Likewise.
52518         * resource/setrlimit.c: Likewise.
52519         * resource/ulimit.c: Likewise.
52520         * rt/aio_cancel.c: Likewise.
52521         * rt/aio_fsync.c: Likewise.
52522         * rt/aio_read.c: Likewise.
52523         * rt/aio_sigqueue.c: Likewise.
52524         * rt/aio_suspend.c: Likewise.
52525         * rt/aio_write.c: Likewise.
52526         * rt/clock_getres.c: Likewise.
52527         * rt/clock_gettime.c: Likewise.
52528         * rt/clock_nanosleep.c: Likewise.
52529         * rt/clock_settime.c: Likewise.
52530         * rt/lio_listio.c: Likewise.
52531         * rt/mq_close.c: Likewise.
52532         * rt/mq_getattr.c: Likewise.
52533         * rt/mq_notify.c: Likewise.
52534         * rt/mq_open.c: Likewise.
52535         * rt/mq_receive.c: Likewise.
52536         * rt/mq_send.c: Likewise.
52537         * rt/mq_setattr.c: Likewise.
52538         * rt/mq_timedreceive.c: Likewise.
52539         * rt/mq_timedsend.c: Likewise.
52540         * rt/mq_unlink.c: Likewise.
52541         * rt/shm_open.c: Likewise.
52542         * rt/shm_unlink.c: Likewise.
52543         * rt/timer_create.c: Likewise.
52544         * rt/timer_delete.c: Likewise.
52545         * rt/timer_getoverr.c: Likewise.
52546         * rt/timer_gettime.c: Likewise.
52547         * rt/timer_settime.c: Likewise.
52548         * setjmp/__longjmp.c: Likewise.
52549         * setjmp/setjmp.c: Likewise.
52550         * signal/kill.c: Likewise.
52551         * signal/killpg.c: Likewise.
52552         * signal/raise.c: Likewise.
52553         * signal/sigaction.c: Likewise.
52554         * signal/sigaltstack.c: Likewise.
52555         * signal/sigblock.c: Likewise.
52556         * signal/sigignore.c: Likewise.
52557         * signal/sigintr.c: Likewise.
52558         * signal/signal.c: Likewise.
52559         * signal/sigpause.c: Likewise.
52560         * signal/sigpending.c: Likewise.
52561         * signal/sigqueue.c: Likewise.
52562         * signal/sigreturn.c: Likewise.
52563         * signal/sigset.c: Likewise.
52564         * signal/sigsetmask.c: Likewise.
52565         * signal/sigstack.c: Likewise.
52566         * signal/sigsuspend.c: Likewise.
52567         * signal/sigtimedwait.c: Likewise.
52568         * signal/sigvec.c: Likewise.
52569         * signal/sigwait.c: Likewise.
52570         * signal/sigwaitinfo.c: Likewise.
52571         * signal/sysv_signal.c: Likewise.
52572         * socket/accept.c: Likewise.
52573         * socket/accept4.c: Likewise.
52574         * socket/bind.c: Likewise.
52575         * socket/connect.c: Likewise.
52576         * socket/getpeername.c: Likewise.
52577         * socket/getsockname.c: Likewise.
52578         * socket/getsockopt.c: Likewise.
52579         * socket/isfdtype.c: Likewise.
52580         * socket/listen.c: Likewise.
52581         * socket/recv.c: Likewise.
52582         * socket/recvfrom.c: Likewise.
52583         * socket/recvmsg.c: Likewise.
52584         * socket/send.c: Likewise.
52585         * socket/sendmsg.c: Likewise.
52586         * socket/sendto.c: Likewise.
52587         * socket/setsockopt.c: Likewise.
52588         * socket/shutdown.c: Likewise.
52589         * socket/sockatmark.c: Likewise.
52590         * socket/socket.c: Likewise.
52591         * socket/socketpair.c: Likewise.
52592         * stdio-common/ctermid.c: Likewise.
52593         * stdio-common/cuserid.c: Likewise.
52594         * stdio-common/remove.c: Likewise.
52595         * stdio-common/rename.c: Likewise.
52596         * stdio-common/renameat.c: Likewise.
52597         * stdio-common/tempname.c: Likewise.
52598         * stdlib/getcontext.c: Likewise.
52599         * stdlib/makecontext.c: Likewise.
52600         * stdlib/setcontext.c: Likewise.
52601         * stdlib/swapcontext.c: Likewise.
52602         * stdlib/system.c: Likewise.
52603         * streams/fattach.c: Likewise.
52604         * streams/fdetach.c: Likewise.
52605         * streams/getmsg.c: Likewise.
52606         * streams/getpmsg.c: Likewise.
52607         * streams/putmsg.c: Likewise.
52608         * streams/putpmsg.c: Likewise.
52609         * sysdeps/unix/bsd/getpt.c: Likewise.
52610         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52611         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52612         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52614         Likewise.
52615         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52616         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52617         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52618         * sysvipc/msgctl.c: Likewise.
52619         * sysvipc/msgget.c: Likewise.
52620         * sysvipc/msgrcv.c: Likewise.
52621         * sysvipc/msgsnd.c: Likewise.
52622         * sysvipc/semctl.c: Likewise.
52623         * sysvipc/semget.c: Likewise.
52624         * sysvipc/semop.c: Likewise.
52625         * sysvipc/semtimedop.c: Likewise.
52626         * sysvipc/shmat.c: Likewise.
52627         * sysvipc/shmctl.c: Likewise.
52628         * sysvipc/shmdt.c: Likewise.
52629         * sysvipc/shmget.c: Likewise.
52630         * termios/tcdrain.c: Likewise.
52631         * termios/tcflow.c: Likewise.
52632         * termios/tcflush.c: Likewise.
52633         * termios/tcgetattr.c: Likewise.
52634         * termios/tcgetpgrp.c: Likewise.
52635         * termios/tcsendbrk.c: Likewise.
52636         * termios/tcsetattr.c: Likewise.
52637         * termios/tcsetpgrp.c: Likewise.
52638         * time/adjtime.c: Likewise.
52639         * time/clock.c: Likewise.
52640         * time/getitimer.c: Likewise.
52641         * time/gettimeofday.c: Likewise.
52642         * time/setitimer.c: Likewise.
52643         * time/settimeofday.c: Likewise.
52644         * time/stime.c: Likewise.
52645         * time/time.c: Likewise.
52647 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52649         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52650         /usr/old/bin.
52652         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52653         instead of spaces.
52654         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52656 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52658         [BZ #14796]
52659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52660         FE_TONEAREST before applying Dekker multiplication and Knuth
52661         addition.  Clear inexact exceptions and check for exact zero
52662         results afterwards.
52663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52664         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52665         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52666         * math/libm-test.inc (fma_test): Add more tests.
52667         (fma_test_towardzero): Likewise.
52668         (fma_test_downward): Likewise.
52669         (fma_test_upward): Likewise.
52670         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52671         function.
52672         (libc_fesetround): New macro.
52673         (libc_fesetroundf): Likewise.
52674         (libc_fesetroundl): Likewise.
52675         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52676         function.
52677         (libc_fesetround_387): Likewise.
52678         (libc_fesetroundf): New macro.
52679         (libc_fesetround): Likewise.
52680         (libc_fesetroundl): Likewise.
52681         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52682         function.
52683         (libc_fesetroundf): New macro.
52684         (libc_fesetround): Likewise.
52685         (libc_fesetroundl): Likewise.
52686         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52687         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52688         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52689         libm_hidden_ver.
52690         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52691         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52692         libm_hidden_def.
52693         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52694         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52695         libm_hidden_ver.
52696         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52697         libm_hidden_def.
52699         [BZ #3439]
52700         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52701         integer constant usable in #if and use that to give value to enum
52702         constant.
52703         (FE_DIVBYZERO): Likewise.
52704         (FE_UNDERFLOW): Likewise.
52705         (FE_OVERFLOW): Likewise.
52706         (FE_INVALID): Likewise.
52707         (FE_INVALID_SNAN): Likewise.
52708         (FE_INVALID_ISI): Likewise.
52709         (FE_INVALID_IDI): Likewise.
52710         (FE_INVALID_ZDZ): Likewise.
52711         (FE_INVALID_IMZ): Likewise.
52712         (FE_INVALID_COMPARE): Likewise.
52713         (FE_INVALID_SOFTWARE): Likewise.
52714         (FE_INVALID_SQRT): Likewise.
52715         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52716         (FE_TONEAREST): Likewise.
52717         (FE_TOWARDZERO): Likewise.
52718         (FE_UPWARD): Likewise.
52719         (FE_DOWNWARD): Likewise.
52720         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52721         (FE_DIVBYZERO): Likewise.
52722         (FE_OVERFLOW): Likewise.
52723         (FE_UNDERFLOW): Likewise.
52724         (FE_INEXACT): Likewise.
52725         (FE_TONEAREST): Likewise.
52726         (FE_DOWNWARD): Likewise.
52727         (FE_UPWARD): Likewise.
52728         (FE_TOWARDZERO): Likewise.
52729         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52730         (FE_UNDERFLOW): Likewise.
52731         (FE_OVERFLOW): Likewise.
52732         (FE_DIVBYZERO): Likewise.
52733         (FE_INVALID): Likewise.
52734         (FE_TONEAREST): Likewise.
52735         (FE_TOWARDZERO): Likewise.
52736         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52737         (FE_OVERFLOW): Likewise.
52738         (FE_UNDERFLOW): Likewise.
52739         (FE_DIVBYZERO): Likewise.
52740         (FE_INEXACT): Likewise.
52741         (FE_TONEAREST): Likewise.
52742         (FE_TOWARDZERO): Likewise.
52743         (FE_UPWARD): Likewise.
52744         (FE_DOWNWARD): Likewise.
52745         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52746         (FE_DIVBYZERO): Likewise.
52747         (FE_OVERFLOW): Likewise.
52748         (FE_UNDERFLOW): Likewise.
52749         (FE_INEXACT): Likewise.
52750         (FE_TONEAREST): Likewise.
52751         (FE_DOWNWARD): Likewise.
52752         (FE_UPWARD): Likewise.
52753         (FE_TOWARDZERO): Likewise.
52755 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52757         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52759 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52761         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52762         commands.  Quote $PWD.
52763         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52764         -x" by "export".
52765         (remove_newlines): Remove.
52767 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52769         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52770         * stdlib/stdlib.h (atof): Moved to ...
52771         * include/bits/stdlib-float.h: Here.  New file.
52772         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52773         * stdlib/bits/stdlib-float.h: New file.
52774         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52775         -mno-sse -mno-mmx.
52776         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52777         <xmmintrin.h>.
52779 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52781         * conform/conformtest.pl (@headers): Add fenv.h.
52782         * conform/data/fenv.h-data: New file.
52783         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52784         include of <math/fenv.h>.
52786         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52787         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52788         && !UNIX98].  Enables tests for XOPEN2K8.
52789         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52790         POSIX2008]: Likewise.
52792         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52793         (struct rusage): Do not expect type or its members.
52795         [BZ #3439]
52796         * math/math.h (FP_NAN): Define macro to integer constant usable in
52797         #if and use that to give value to enum constant.
52798         (FP_INFINITE): Likewise.
52799         (FP_ZERO): Likewise.
52800         (FP_SUBNORMAL): Likewise.
52801         (FP_NORMAL): Likewise.
52803 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52805         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52806         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52807         arguments.
52809 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52811         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52812         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52813         autoconf-time if not.
52814         * configure.in: Remove AC_PREREQ.
52816 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52818         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52819         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52820         of the internal implementation.
52822 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52824         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52825         except include of <misc/sys/syslog.h>.
52827 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52830         function returns with a NULL context exit with zero.
52832 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52834         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52836 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52838         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52839         (run_program_cmd): This.
52840         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52841         (tst_langinfo): New variable.  Use it.
52843 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52845         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52846         floating point opcodes.
52848 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52850         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52851         variable.
52853         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52855         * sysdeps/mach/hurd/powerpc: Remove directory.
52856         * sysdeps/mach/powerpc: Likewise.
52858 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52860         * scripts/check-local-headers.sh: Ignore c++ headers.
52862 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52864         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52865         __libc_cleanup_region_start argument.
52867 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52869         [BZ #14784]
52870         [BZ #14785]
52871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52872         x * y using scaling, not as x * y + z.
52873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52874         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52875         * math/libm-test.inc (fma_test): Add more tests.
52876         (fma_test_towardzero): Likewise.
52877         (fma_test_downward): Likewise.
52878         (fma_test_upward): Likewise.
52880 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52882         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52884 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52886         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52887         New variable.
52889 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52891         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52893 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52896         Fix sort order.
52897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52898         Likewise.
52900 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52903         Fix the order of the list for glibc 2.17.
52904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52905         Likewise.
52907 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52911 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52913         [BZ #14610]
52914         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52915         for low part of x being zero before using __atanl (y).
52916         * math/libm-test.inc (atan2_test): Add another test.
52918         * manual/install.texi (Configuring and compiling): Document
52919         general use of test-wrapper and test-wrapper-env.
52920         * INSTALL: Regenerated.
52922         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52923         (__fma): Do not extract and scale down low bits on after-rounding
52924         systems when result rounded to normal precision would have normal
52925         exponent.
52926         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52927         (__fmal): Do not extract and scale down low bits on after-rounding
52928         systems when result rounded to normal precision would have normal
52929         exponent.
52930         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52931         (__fmal): Do not extract and scale down low bits on after-rounding
52932         systems when result rounded to normal precision would have normal
52933         exponent.
52934         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52935         macro.
52936         (fma_test): Add more tests.
52937         (fma_test_towardzero): Likewise.
52938         (fma_test_downward): Likewise.
52939         (fma_test_upward): Likewise.
52941 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52943         * sysdeps/i386/tininess.h: Renamed to ...
52944         * sysdeps/x86/tininess.h: This.
52945         * sysdeps/x86_64/tininess.h: Removed.
52947 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52949         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52950         input.  Use $(build-program-cmd).
52951         ($(objpfx)tst-array1-static.out): Likewise.
52952         ($(objpfx)tst-array2.out): Likewise.
52953         ($(objpfx)tst-array3.out): Likewise.
52954         ($(objpfx)tst-array4.out): Likewise.
52955         ($(objpfx)tst-array5.out): Likewise.
52956         ($(objpfx)tst-array5-static.out): Likewise.
52958 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52960         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52961         if defined.
52963         * nss/nsswitch.h (nss_interface_function): Provide new
52964         macro for use with NSS functions.
52965         * grp/initgroups.c: Use new macro.
52966         * nss/getXXbyYY.c: Likewise.
52967         * nss/getXXbyYY_r.c: Likewise.
52968         * nss/getXXent.c: Likewise.
52969         * nss/getXXent_r.c: Likewise.
52970         * sysdeps/posix/getaddrinfo.c: Likewise.
52972 2012-10-30  Andreas Jaeger  <aj@suse.de>
52974         * po/ru.po: Update Russion translation from translation project.
52976 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52978         [BZ #14152]
52979         [BZ #14783]
52980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52981         result and shift together with sticky bit instead of replicating
52982         round-to-nearest rounding.
52983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52984         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52985         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52986         missing underflow exceptions.
52987         (fma_test_towardzero): Add more tests.
52988         (fma_test_downward): Likewise.
52989         (fma_test_upward): Likewise.
52991         [BZ #14047]
52992         * sysdeps/generic/tininess.h: New file.
52993         * sysdeps/i386/tininess.h: Likewise.
52994         * sysdeps/sh/tininess.h: Likewise.
52995         * sysdeps/x86_64/tininess.h: Likewise.
52996         * stdlib/tst-strtod-underflow.c: Likewise.
52997         * stdlib/tst-tininess.c: Likewise.
52998         * stdlib/strtod_l.c: Include <tininess.h>.
52999         (round_and_return): Do not set errno for exact underflow cases.
53000         Force an underflow exception when setting errno for underflow.
53001         Determine underflow based on rounding to normal precision if
53002         TININESS_AFTER_ROUNDING.
53003         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
53004         ERANGE for exact underflow cases.
53005         * stdlib/Makefile (tests): Add tst-tininess and
53006         tst-strtod-underflow.
53007         ($(objpfx)tst-tininess): Use $(link-libm).
53008         ($(objpfx)tst-strtod-underflow): Likewise.
53010 2012-10-30  Andreas Jaeger  <aj@suse.de>
53012         [BZ#14767]
53013         * elf/Makefile (tests): Remove conditional for have-initfini-array
53014         since this is now always required and the variable does not exist
53015         anymore.
53016         (tests-static): Likewise.
53017         (modules-names): Likewise.
53019         * po/eo.po: Add Esperanto translation from translation project.
53021         * elf/tst-array1.c (fini_array): Make writeable so that it can be
53022         merged with constructor/destructor.
53023         (init_array): Likewise.
53024         * elf/tst-array2dep.c (fini_array): Likewise.
53025         (init_array): Likewise.
53027 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
53029         * manual/message.texi: Delete @cartouche tags.
53031 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
53033         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
53034         EOPNOTSUPP.
53035         * sysdeps/mach/hurd/fsync.c: Likewise.
53037         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
53038         [_POSIX_REALTIME_SIGNALS]: Change condition to
53039         [_POSIX_REALTIME_SIGNALS > 0].
53041 2012-10-27  Andreas Jaeger  <aj@suse.de>
53043         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
53044         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
53045         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
53046         [__WORDSIZE != 64]: Likewise.
53048 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
53050         *  iconvdata/tst-table.sh: Remove ${SHELL}.
53051         *  iconvdata/tst-tables.sh: Likewise.
53053 2012-10-25  David S. Miller  <davem@davemloft.net>
53055         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53056         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
53057         of strtoull.
53059         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
53060         ifunc-impl-list.c
53061         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53062         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
53063         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
53064         file.
53066 2012-10-25  Roland McGrath  <roland@hack.frob.com>
53068         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53069         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
53070         __getdirentries.
53072 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53073             Jim Blandy  <jimb@codesourcery.com>
53075         * scripts/cross-test-ssh.sh: New file.
53076         * manual/install.texi (Configuring and compiling): Document use of
53077         cross-test-ssh.sh.
53078         * INSTALL: Regenerated.
53080 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
53082         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
53083         EOPNOTSUPP.
53085 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53087         * Makeconfig (run-program-prefix): Fix comment.
53089 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53090             Jim Blandy  <jimb@codesourcery.com>
53092         * Makeconfig (test-wrapper): New variable,
53093         (test-wrapper-env): Likewise.
53094         [$(cross-compiling) = yes && $(test-wrapper) != ""]
53095         (run-built-tests): Define to yes.
53096         (run-program-prefix): Use $(test-wrapper).
53097         (built-program-cmd): Likewise.
53098         * Rules (make-test-out): Use $(test-wrapper-env) and
53099         $(host-built-program-cmd).
53100         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
53101         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
53102         tst-pathopt.sh.
53103         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
53104         $(test-wrapper-env) to tst-rtld-load-self.sh.
53105         ($(objpfx)order2.out): Use $(test-wrapper).
53106         ($(objpfx)tst-initorder.out): Likewise.
53107         ($(objpfx)tst-initorder2.out): Likewise.
53108         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
53109         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
53110         (test_wrapper_env): New variable.  Use it to run ld.so.
53111         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
53112         Use it to run ld.so.
53113         (test_wrapper_env): Likewise.
53114         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
53115         $(test-wrapper) to run-iconv-test.sh.
53116         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
53117         (ICONV): Use $test_wrapper.
53118         * posix/Makefile ($(objpfx)globtest.out): Pass
53119         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
53120         globtest.sh, not $(run-program-prefix).
53121         * posix/globtest.sh (run_via_rtld_prefix): New variable.
53122         (test_wrapper): Likewise.
53123         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
53124         set together with run_via_rtld_prefix.
53125         (run_program_prefix): Define in terms of test_wrapper and
53126         run_via_rtld_prefix.
53128 2012-10-24  Roland McGrath  <roland@hack.frob.com>
53130         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
53131         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
53132         Targets removed.
53134         [BZ #14743]
53135         * include/time.h: Remove librt_hidden_proto (clock_gettime).
53136         Declare __clock_getres, __clock_gettime, __clock_settime,
53137         __clock_nanosleep, and __clock_getcpuclockid.
53138         * rt/clock_gettime.c: Define __clock_gettime as an alias.
53139         Remove librt_hidden_def (clock_gettime).
53140         * sysdeps/unix/clock_gettime.c: Likewise.
53141         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
53142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
53143         * rt/clock_getres.c: Define __clock_getres as an alias.
53144         * sysdeps/posix/clock_getres.c: Likewise.
53145         * rt/clock_settime.c: Define __clock_settime as an alias.
53146         * sysdeps/unix/clock_settime.c: Likewise.
53147         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
53148         * sysdeps/unix/clock_nanosleep.c: Likewise.
53149         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
53150         * rt/clock-compat.c: New file.
53151         * rt/Makefile (librt-routines): Add clock-compat and move
53152         $(clock-routines) to ...
53153         (routines): ... here, new variable.
53154         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
53155         Don't add get_clockfreq here.
53156         * rt/Versions (libc: GLIBC_2.17): New version set.
53157         Add clock_* symbols here.
53158         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
53159         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
53160         (GLIBC_2.17): Add clock_* symbols.
53161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53163         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53165         Likewise.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53167         Likewise.
53168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53172         * NEWS: Mention the move.
53174         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53175         Use __open, __read, __close rather than their public counterparts.
53176         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53177         (__get_clockfreq_via_cpuinfo): Likewise.
53178         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
53179         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
53181         * config.h.in (HAVE_IFUNC): New #undef.
53182         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
53183         was successful.
53184         * configure: Regenerated.
53186 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53188         * configure.in: Move READELF check to start of file.
53189         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
53190         libc_cv_asm_gnu_indirect_function in the process.
53191         * configure: Regenerated.
53193 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53195         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
53196         send the output to /dev/null.
53197         (libc_cv_cc_with_libunwind): Likewise.
53198         (libc_cv_as_noexecstack): Likewise.
53199         * configure: Regenerate.
53201 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53203         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
53205         * posix/globtest.sh (TMPDIR): Do not set.
53206         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
53207         (testout): Likewise.
53209 2012-10-24  Andreas Jaeger  <aj@suse.de>
53211         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
53212         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
53213         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
53214         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
53215         posix_fadvise64, posix_fallocate64.
53217         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
53218         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
53219         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
53220         Likewise.
53221         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
53222         Likewise.
53223         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
53225         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
53226         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
53227         <bits/fcntl-linux.h>.
53228         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
53230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
53231         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
53232         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
53233         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
53234         [__WORDSIZE != 64]: Likewise.
53236 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53238         * Makeconfig (run-built-tests): New variable.
53239         * Rules [$(cross-compiling) = yes]: Change condition to
53240         [$(run-built-tests) = no].
53241         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
53242         to [$(run-built-tests) = yes].
53243         * elf/Makefile [$(cross-compiling) = no]: Likewise.
53244         * grp/Makefile [$(cross-compiling) = no]: Likewise.
53245         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
53246         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
53247         * intl/Makefile [$(cross-compiling) = no]: Likewise.
53248         * io/Makefile [$(cross-compiling) = no]: Likewise.
53249         * libio/Makefile [$(cross-compiling) = no]: Likewise.
53250         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
53251         * misc/Makefile [$(cross-compiling) = no]: Likewise.
53252         * posix/Makefile [$(cross-compiling) = no]: Likewise.
53253         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
53254         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
53255         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
53256         * string/Makefile [$(cross-compiling) = no]: Likewise.
53258         * posix/Makefile ($(objpfx)globtest.out): Pass
53259         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
53260         $(rtld-installed-name).
53261         * posix/globtest.sh (elf_objpfx): Remove variable.
53262         (rtld_installed_name): Likewise.
53263         (library_path): Likewise.
53264         (run_program_prefix): New variable.  Use for running globtest
53265         binary.
53267 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
53268             Joseph Myers  <joseph@codesourcery.com>
53270         * Makeconfig (host-built-program-cmd): New variable.
53271         * elf/Makefile (tst-stackguard1-ARGS): Use
53272         $(host-built-program-cmd).
53273         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
53274         (tst-spawn-ARGS): Likewise.
53275         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
53277 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53278             Jim Blandy  <jimb@codesourcery.com>
53280         * Makeconfig (run-via-rtld-prefix): New variable.
53281         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
53282         (built-program-cmd): Likewise.
53284 2012-10-22  Andreas Jaeger  <aj@suse.de>
53286         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
53287         __O_RSYNC if it exists, otherwise to O_SYNC.
53289 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
53290             Joseph Myers  <joseph@codesourcery.com>
53292         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
53293         /dev/null.
53294         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
53295         from /dev/null
53296         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
53297         /dev/null.
53299 2012-10-22  Andreas Jaeger  <aj@suse.de>
53301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
53302         Define always.
53303         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
53305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53306         bits/fcntl-linux.h.
53308         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
53309         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
53311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
53312         to __O_LARGEFILE.
53313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
53314         to __O_LARGEFILE.
53316 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
53317             Joseph Myers  <joseph@codesourcery.com>
53319         * config.make.in (NM): New variable.
53321 2012-10-21  Andreas Jaeger  <aj@suse.de>
53323         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53324         definitions and declarations that are provided by
53325         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53327 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53329         [BZ #14683]
53330         * elf/Makefile (tests-static): Add tst-leaks1-static.
53331         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53332         ($(objpfx)tst-leaks1-static): New rule.
53333         ($(objpfx)tst-leaks1-static-mem): Likewise.
53334         (tst-leaks1-static-ENV): New macro.
53335         * elf/dl-open.c (dl_open_worker): Check the main application
53336         only if SHARED is defined.
53337         * elf/tst-leaks1-static.c: New file.
53339 2012-10-20  Andreas Jaeger  <aj@suse.de>
53341         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53342         generic values for Linux.
53343         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53344         and declarations that are provided by <bits/fcntl-linux.h> and
53345         include <bits/fcntl-linux.h>.
53346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53347         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53349 2012-10-20  Roland McGrath  <roland@hack.frob.com>
53351         * io/fcntl.h: Move include of <bits/types.h> to the top and
53352         include it unconditionally.
53354 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53356         * wcsmbs/Makefile (tests-ifunc): New variable.
53357         (tests): Add $(tests-ifunc).
53358         * wcsmbs/test-wcschr-ifunc.c: New file.
53359         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53360         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53361         * wcsmbs/test-wcslen-ifunc.c: Likewise.
53362         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53363         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
53365         * string/Makefile (tests-ifunc): New variable.
53366         (tests): Add $(tests-ifunc).
53367         * string/test-memccpy.c (TEST_NAME): New macro.
53368         * string/test-memchr.c (TEST_NAME): Likewise.
53369         * string/test-memcmp.c (TEST_NAME): Likewise.
53370         * string/test-memcpy.c (TEST_NAME): Likewise.
53371         * string/test-memmem.c (TEST_NAME): Likewise.
53372         * string/test-memmove.c (TEST_NAME): Likewise.
53373         * string/test-memset.c (TEST_NAME): Likewise.
53374         * string/test-rawmemchr.c (TEST_NAME): Likewise.
53375         * string/test-stpcpy.c (TEST_NAME): Likewise.
53376         * string/test-stpncpy.c (TEST_NAME): Likewise.
53377         * string/test-strcasecmp.c (TEST_NAME): Likewise.
53378         * string/test-strcasestr.c (TEST_NAME): Likewise.
53379         * string/test-strcat.c (TEST_NAME): Likewise.
53380         * string/test-strchr.c (TEST_NAME): Likewise.
53381         * string/test-strcmp.c(TEST_NAME): Likewise.
53382         * string/test-strcpy.c (TEST_NAME): Likewise.
53383         * string/test-strcspn.c (TEST_NAME): Likewise.
53384         * string/test-strlen.c (TEST_NAME): Likewise.
53385         * string/test-strncasecmp.c (TEST_NAME): Likewise.
53386         * string/test-strncmp.c (TEST_NAME): Likewise.
53387         * string/test-strncpy.c (TEST_NAME): Likewise.
53388         * string/test-strnlen.c (TEST_NAME): Likewise.
53389         * string/test-strpbrk.c (TEST_NAME): Likewise.
53390         * string/test-strrchr.c (TEST_NAME): Likewise.
53391         * string/test-strspn.c (TEST_NAME): Likewise.
53392         * string/test-strstr.c (TEST_NAME): Likewise.
53393         * string/test-bcopy-ifunc.c: New file.
53394         * string/test-bzero-ifunc.c: Likewise.
53395         * string/test-memccpy-ifunc.c: Likewise.
53396         * string/test-memchr-ifunc.c: Likewise.
53397         * string/test-memcmp-ifunc.c: Likewise.
53398         * string/test-memcpy-ifunc.c: Likewise.
53399         * string/test-memmem-ifunc.c: Likewise.
53400         * string/test-memmove-ifunc.c: Likewise.
53401         * string/test-mempcpy-ifunc.c: Likewise.
53402         * string/test-memset-ifunc.c: Likewise.
53403         * string/test-rawmemchr-ifunc.c: Likewise.
53404         * string/test-stpcpy-ifunc.c: Likewise.
53405         * string/test-stpncpy-ifunc.c: Likewise.
53406         * string/test-strcasecmp-ifunc.c: Likewise.
53407         * string/test-strcasestr-ifunc.c: Likewise.
53408         * string/test-strcat-ifunc.c: Likewise.
53409         * string/test-strchr-ifunc.c: Likewise.
53410         * string/test-strchrnul-ifunc.c: Likewise.
53411         * string/test-strcmp-ifunc.c: Likewise.
53412         * string/test-strcpy-ifunc.c: Likewise.
53413         * string/test-strcspn-ifunc.c: Likewise.
53414         * string/test-strlen-ifunc.c: Likewise.
53415         * string/test-strncasecmp-ifunc.c: Likewise.
53416         * string/test-strncat-ifunc.c: Likewise.
53417         * string/test-strncmp-ifunc.c: Likewise.
53418         * string/test-strncpy-ifunc.c: Likewise.
53419         * string/test-strnlen-ifunc.c: Likewise.
53420         * string/test-strpbrk-ifunc.c: Likewise.
53421         * string/test-strrchr-ifunc.c: Likewise.
53422         * string/test-strspn-ifunc.c: Likewise.
53423         * string/test-strstr-ifunc.c: Likewise.
53425         * debug/Makefile (tests-ifunc): New variable.
53426         (tests): Add $(tests-ifunc).
53427         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53428         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53429         * debug/test-stpcpy_chk-ifunc.c: New file.
53430         * debug/test-strcpy_chk-ifunc.c: Likewise.
53432 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53434         [BZ #13601]
53435         * elf/dl-load.c (open_verify): Retry read if the entire ELF
53436         header is not read in.
53438 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
53440         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
53441         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
53442         directly.  Pass built executable to script as
53443         $(built-program-cmd).
53444         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
53445         $testprogram without using LD_LIBRARY_PATH and $ldso.
53447         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53448         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53449         $(rtld-installed-name).
53450         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53451         (rtld_installed_name): Likewise.
53452         (library_path): Likewise.
53453         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
53454         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53455         $(run-program-prefix) to tst-tables.sh.
53456         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
53457         it to run tst-table-from and tst-table-to.
53458         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53459         Pass it to tst-table.sh.
53460         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53461         $(run-program-prefix) to tst-gettext.sh.
53462         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53463         tst-translit.sh.
53464         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53465         tst-gettext2.sh.
53466         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53467         to run tst-gettext.
53468         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53469         to run tst-gettext2.
53470         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53471         to run tst-translit.
53472         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53473         $(run-program-prefix) to tst-mtrace.sh.
53474         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53475         to run tst-mtrace.
53476         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53477         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53478         $(rtld-installed-name).
53479         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53480         (rtld_installed_name): Likewise.
53481         (run_program_prefix): New variable.  Use it to run wordexp-test.
53483         * Makeconfig (ARCH): Remove all definitions.
53484         (machine): Likewise.
53485         [ARCH]: Remove conditional code.
53486         [!objdir]: Give error.
53487         [!objdir] (objpfx): Remove.
53488         [!objdir] (common-objpfx): Likewise.
53489         [!objdir] (common-objdir): Likewise.
53490         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53491         AC_CONFIG_FILES call.
53492         * configure: Regenerated.
53494         [BZ #13888]
53495         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53496         or TMPDIR.
53497         (testout): Likewise.
53499         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53500         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53501         $(rtld-installed-name).
53502         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53503         (rtld_installed_name): Likwise.
53504         (runit): Remove function.
53505         (run_getconf): New variable,  Use it for running getconf binary.
53507 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53509         [BZ #14716]
53510         * string/test-memmem.c (check_result): New function.
53511         (do_one_test): Use it.
53512         (check1): New function.
53513         (test_main): Use it.
53515 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53517         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53519 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53521         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53522         (_G_LSEEK64): Likewise.
53523         (_G_MMAP64): Likewise.
53524         (_G_FSTAT64): Likewise.
53525         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53526         (_G_LSEEK64): Likewise.
53527         (_G_MMAP64): Likewise.
53528         (_G_FSTAT64): Likewise.
53529         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53530         unconditional.  Call __mmap64 directly.
53531         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53532         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53533         __lseek64 directly.
53534         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53535         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53536         __mmap64 directly.
53537         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53538         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53539         __lseek64 directly.
53540         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53541         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53542         __lseek64 directly.
53543         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53544         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53545         __lseek64 directly.
53546         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53547         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53548         __fxstat64 directly.
53549         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53550         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53551         unconditional.
53552         (freopen64) [!_G_OPEN64]: Remove conditional code.
53553         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53554         unconditional.
53555         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53556         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53557         unconditional.
53558         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53559         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53560         unconditional.
53561         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53562         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53563         unconditional.
53564         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53565         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53566         unconditional.
53567         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53568         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53569         unconditional.
53570         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53571         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53572         unconditional.
53573         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53575 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53577         [BZ #12140]
53578         * manual/memory.texi (Malloc Tunable Parameters): Add note
53579         about free list pointers overwriting some perturb bytes.
53580         Wording suggested by Roland McGrath.
53582 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53584         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53585         (lgamma_test): Likewise.
53586         (tgamma_test): Likewise.
53588 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53590         [BZ #14700]
53591         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53592         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53594 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53596         * NEWS: Mention BZ #14716.
53597         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53598         when removing AVAILABLE1_USES_J macro.
53600 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53602         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53603         (__bswap_64): __uint64_t for unsigned 64-bit int.
53605 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53607         * include/string.h (memmem): Declare libc hidden alias.
53608         * string/memmem.c (memmem): Define libc hidden alias.
53609         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53610         __read, __close instead of open, read, close.
53612 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53615         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53616         global and hidden.
53617         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53618         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53619         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53620         Likewise.
53621         (__rawmemchr_sse2): Likewise.
53622         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53623         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53624         (__strchr_sse2): Likewise.
53625         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53626         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53627         (__strcasecmp_sse2): Likewise.
53628         (__strncasecmp_sse2): Likewise.
53629         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53630         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53631         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53632         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53633         (__strrchr_sse2): Likewise.
53634         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53635         ifunc-impl-list.c.
53636         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53637         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53638         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53639         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53640         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53641         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53642         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53643         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53644         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53645         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53646         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53647         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53648         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53649         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53650         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53651         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53652         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53653         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53654         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53655         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53656         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53657         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53658         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53659         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53660         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53661         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53662         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53663         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53664         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53665         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53667         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53668         global and hidden.
53669         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53670         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53671         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53672         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53673         Likewise.
53674         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53675         Likewise.
53676         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53677         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53678         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53679         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53680         ifunc-impl-list.c.
53681         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53682         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53683         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53684         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53685         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53686         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53687         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53688         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53689         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53690         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53691         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53692         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53693         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53694         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53695         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53696         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53697         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53698         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53699         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53700         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53701         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53702         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53703         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53704         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53705         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53706         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53707         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53708         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53709         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53710         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53711         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53712         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53713         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53714         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53715         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53716         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53717         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53718         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53719         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53720         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53721         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53723         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53724         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53725         * include/ifunc-impl-list.h: New file.
53726         * misc/ifunc-impl-list.c: Likewise.
53727         * misc/Makefile (routines): Add ifunc-impl-list.
53728         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53729         * string/test-string.h: Include <ifunc-impl-list.h>.
53730         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53731         TEST_NAME]: New variables.
53732         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53733         are defined.
53734         (test_init): Call __libc_ifunc_impl_list to initialize
53735         func_list if TEST_IFUNC and TEST_NAME are defined.
53737         * string/Makefile (strop-tests): Add bcopy and bzero.
53738         * string/test-bcopy.c: New file.
53739         * string/test-bzero.c: Likewise.
53740         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53741         defined.
53742         * string/test-memset.c: Support bzero test if TEST_BZERO is
53743         defined.
53744         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53745         __libc_memmove.
53746         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53747         __libc_memset.
53748         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53749         of memset.
53751 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53753         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53754         * configure: Regenerated.
53756         * Makeconfig (+link-static-before-libc): Don't include
53757         $(link-static-libc).
53759         * libio/libio.h (_IO_pos_t): Remove.
53761 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53763         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53764         McGrath.
53766 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53768         * crypt/crypt-entry.c: Include fips-private.h.
53769         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53770         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53771         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53772         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53774 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53776         * crypt/crypt-private.h: Include stdbool.h.
53777         (_ufc_setup_salt_r): Return bool.
53778         * crypt/crypt-entry.c: Include errno.h.
53779         (__crypt_r): Return NULL with EINVAL for bad salt.
53780         * crypt/crypt_util.c (bad_for_salt): New.
53781         (_ufc_setup_salt_r): Check that salt is long enough and within
53782         the specified alphabet.
53783         * crypt/badsalttest.c: New file.
53784         * crypt/Makefile (tests): Add it.
53785         ($(objpfx)badsalttest): New.
53787 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53789         * NEWS: Add entry for BZ #14602.
53791 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53793         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53794         type-generic.
53795         * math/libm-test.inc: Update comment listing what functions and
53796         macros are tested.
53797         (isgreater_test): New function.
53798         (isgreaterequal_test): Likewise.
53799         (isless_test): Likewise.
53800         (islessequal_test): Likewise.
53801         (islessgreater_test): Likewise.
53802         (isunordered_test): Likewise.
53803         (main): Call the new functions.
53805 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53807         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53808         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53809         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53810         * sysdeps/i386/configure: Regenerated.
53811         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53812         * sysdeps/mach/configure: Regenerated.
53813         * sysdeps/mach/hurd/configure: Regenerated.
53814         * sysdeps/powerpc/configure: Regenerated.
53815         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53816         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53817         * sysdeps/s390/s390-32/configure: Regenerated.
53818         * sysdeps/s390/s390-64/configure: Regenerated.
53819         * sysdeps/sh/configure: Regenerated.
53820         * sysdeps/sparc/configure: Regenerated.
53821         * sysdeps/unix/sysv/linux/configure: Regenerated.
53822         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53823         * sysdeps/x86_64/configure: Regenerated.
53825         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53826         defined.  Don't check if MAP is NULL.
53828 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53830         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53831         (_G_stat64): Likewise.
53832         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53833         (_G_stat64): Likewise.
53834         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53835         instead of struct _G_stat64.
53836         * libio/fileops.c (mmap_remap_check): Likewise.
53837         (decide_maybe_mmap): Likewise.
53838         (_IO_new_file_seekoff): Likewise.
53839         (_IO_file_stat): Likewise.
53840         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53841         _G_off64_t.
53842         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53843         instead of struct _G_stat64.
53844         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53846 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53848         [BZ #14602]
53849         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53850         Replace with ...
53851         (CHECK_EOL): New macro.
53852         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53853         CHECK_EOL.
53854         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53855         Replace with CHECK_EOL.
53856         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53857         Replace with CHECK_EOL.
53859 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53861         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53862         type-generic.
53863         * math/libm-test.inc: Update comment listing what functions and
53864         macros are tested.
53865         (finite_test): New function.
53866         (isinf_test): Likewise.
53867         (isnan_test): Likewise.
53868         (fpclassify_test): Test subnormal input.
53869         (isfinite_test): Likewise.
53870         (isnormal_test): Likewise.
53871         (main): Call the new functions.
53873 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53875         [BZ #14660]
53876         * Makerules (%.dynsym): Force C locale when running
53877         $(OBJDUMP) --dynamic-syms.
53879 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53881         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53882         <stdint.h>.
53884 2012-10-06  David S. Miller  <davem@davemloft.net>
53886         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53887         upper 32-bits of the length value in %o2 since we use branch-on-register
53888         tests which consider the entire 64-bit register.
53890 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53892         * string/test-strstr.c (check2): Add a test for page boundary.
53894 2012-10-05  David S. Miller  <davem@davemloft.net>
53896         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53897         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53898         file.
53899         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53900         sysdep_routines.
53901         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53902         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53903         and bzero when HWCAP_SPARC_CRYPTO is present.
53905 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53907         [BZ #14602]
53908         * string/test-strstr.c (check2): New function.
53909         (test_main): Call check2.
53911         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53912         and bug-strchr1.
53913         * string/bug-strcasestr1.c (do_test): Moved to ...
53914         * string/test-strcasestr.c (check1): Here.  New function.
53915         (do_one_test): Break out result checking code into ...
53916         (check_result): This.  New function.
53917         (do_one_test): Call check_result.
53918         (test_main): Call check1.
53919         * string/bug-strchr1.c (do_test): Moved to ...
53920         * string/test-strchr.c (check1): Here.  New function.
53921         (do_one_test): Break out result checking code into ...
53922         (check_result): This.  New function.
53923         (do_one_test): Call check_result.
53924         (test_main): Call check1.
53925         * string/bug-strstr1.c (main): Moved to ...
53926         * string/test-strstr.c (check1): Here.  New function.
53927         (do_one_test): Break out result checking code into ...
53928         (check_result): This.  New function.
53929         (do_one_test): Call check_result.
53930         (test_main): Call check1.
53931         * string/bug-strcasestr1.c: Removed.
53932         * string/bug-strchr1.c: Likewise.
53933         * string/bug-strstr1.c: Likewise.
53935         * elf/Makefile (dl-routines): Add hwcaps.
53936         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53937         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53938         (_dl_important_hwcaps): Moved to ...
53939         * elf/dl-hwcaps.c: Here.  New file.
53940         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53942         [BZ #14557]
53943         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53944         if IS_IN_rtld isn't defined.
53946         * elf/dl-support.c (_dl_sysinfo_map): New.
53947         Include "get-dynamic-info.h" and "setup-vdso.h".
53948         (_dl_non_dynamic_init): Call setup_vdso.
53949         * elf/dynamic-link.h: Don't include <assert.h>.
53950         (elf_get_dynamic_info): Moved to ...
53951         * elf/get-dynamic-info.h: Here.  New file.
53952         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53953         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53954         * elf/setup-vdso.h: Here.  New file.
53955         * elf/rtld.c: Include "setup-vdso.h".
53956         (dl_main): Call setup_vdso.
53958 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53960         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53961         creal in comment listing functions tested.  List finite, isinf,
53962         isnan, isless, islessequal, isgreater, isgreaterequal,
53963         islessgreater, isunordered, lgamma_r and pow10 as functions and
53964         macros not tested.  Mention which functions not tested are aliases
53965         for other functions.  Fix typo.  Note that signs of NaNs are not
53966         tested.
53968         * scripts/config.guess: Update from config.git.
53969         * scripts/config.sub: Likewise.
53971 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53973         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53974         * misc/madvise.c (madvise): Renamed to __madvise.
53975         Make madvise a weak alias.
53976         * include/sys/mman.h: Declare __madvise.
53977         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53978         * sysdeps/unix/syscalls.list
53979         (madvise): Make __madvise the strong name, and madvise a weak alias.
53980         * sysdeps/unix/sysv/linux/syscalls.list
53981         (madvise, mmap): Remove redundant entries.
53982         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53983         * malloc/malloc.c (mtrim): Likewise.
53984         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53986 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53988         * sysdeps/mach/hurd/dl-cache.c: File removed.
53989         * config.h.in (USE_LDCONFIG): New #undef.
53990         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53991         * configure: Regenerated.
53992         * elf/Makefile (dl-routines): Add dl-cache only under
53993         [$(use-ldconfig) = yes].
53994         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53995         cache on [USE_LDCONFIG].
53996         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53997         [USE_LDCONFIG].
53998         * elf/rtld.c (dl_main): Likewise.
54000 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
54002         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
54003         _SC_LEVEL4_CACHE_LINESIZE.
54005 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54007         * sysdeps/unix/bsd/confstr.h: File removed.
54009 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
54011         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
54012         sys/sdt-config.h.
54014 2012-10-02  Roland McGrath  <roland@hack.frob.com>
54016         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
54017         Make 'mapoff' field ElfW(Off) rather than off_t.
54019 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
54021         * nscd/Makefile: Remove nscd-cflags and all its users.
54022         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
54023         (CFLAGS-nonlib): Add compiler flags for nscd modules.
54025         [BZ #10631]
54026         * malloc.c (malloc_printerr): Clarify error message.
54028 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
54030         [BZ #14648]
54031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54032         Set bit_FMA_Usable if FMA is supported.
54033         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
54034         macro.
54035         (bit_FMA4_Usable): Updated.
54036         (index_FMA_Usable): New macro.
54037         (CPUID_FMA): Likewise.
54038         (HAS_FMA): Defined with bit_FMA_Usable.
54040 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54042         * bits/types.h (__swblk_t): Type removed.
54043         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
54044         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
54045         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54046         (__SWBLK_T_TYPE): Likewise.
54047         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54048         (__SWBLK_T_TYPE): Likewise.
54049         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54050         (__SWBLK_T_TYPE): Likewise.
54051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54052         (__SWBLK_T_TYPE): Likewise.
54054 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
54055             Honza Horak <hhorak@redhat.com>
54057         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
54058         (xdr_mapname): Use YPMAXMAP as maxsize.
54059         (xdr_peername): Use YPMAXPEER as maxsize.
54060         (xdr_keydat): Use YPAXRECORD as maxsize.
54061         (xdr_valdat): Use YPMAXRECORD as maxsize.
54063 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54065         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
54067         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
54068         * csu/init-first.c: ... here.
54069         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
54070         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
54071         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
54072         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
54073         * sysdeps/i386/init-first.c: File removed.
54074         * sysdeps/sh/init-first.c: File removed.
54076 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
54078         [BZ #14645]
54079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
54080         if x * y might underflow to zero and z is zero.
54081         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54082         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54083         * math/libm-test.inc (min_subnorm_value): New variable.
54084         (fma_test): Add more tests.
54085         (fma_test_towardzero): Likewise.
54086         (fma_test_downward): Likewise.
54087         (fma_test_upward): Likewise.
54088         (initialize): Set min_subnorm_value.
54090 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
54092         [BZ #14638]
54093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
54094         0 + 0.
54095         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
54096         mode for addition resulting in exact zero.
54097         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
54098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
54099         exact 0 + 0.
54100         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54101         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54102         * math/libm-test.inc (fma_test): Add more tests.
54103         (fma_test_towardzero): New function.
54104         (fma_test_downward): Likewise.
54105         (fma_test_upward): Likewise.
54106         (main): Call the new functions.
54108 2012-09-28  David S. Miller  <davem@davemloft.net>
54110         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
54112 2012-09-28  Roland McGrath  <roland@hack.frob.com>
54114         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
54115         instead of SIGALRM.
54117         * sysdeps/gnu/_G_config.h: Moved to ...
54118         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
54119         * sysdeps/mach/hurd/_G_config.h: Moved to ...
54120         * sysdeps/generic/_G_config.h: ... here.
54122         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
54124         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
54126         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
54127         Conditionalize target on [libnss_test1.so-version].
54129         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
54131         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
54132         (elfobjdir): Move out of conditionals.
54134         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
54135         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
54136         (__nss_lookup_function): Conditionalize label remove_from_tree on
54137         [!DO_STATIC_NSS || SHARED], matching its only use.
54139 2012-09-28  David S. Miller  <davem@davemloft.net>
54141         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
54142         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
54143         file.
54144         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54145         sysdep_routines.
54146         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54147         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
54148         when HWCAP_SPARC_CRYPTO is present.
54150 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54152         * io/tst-mknodat.c: Create a FIFO instead of a socket.
54154 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
54156         [BZ #6530]
54157         * stdio-common/vfprintf.c (process_string_arg): Revert
54158         2000-07-22 change.
54160 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
54162         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
54163         for testcase.
54164         * stdio-common/tst-sprintf.c: Include <locale.h>
54165         (main): Test sprintf's handling of incomplete multibyte
54166         characters.
54168 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
54170         * elf/dl-runtime.c (VERSYMIDX): Removed.
54171         * elf/dl-version.c (VERSYMIDX): Likewise.
54172         * elf/do-rel.h (VERSYMIDX): Likewise.
54173         (VALIDX): Likewise.
54174         * elf/dynamic-link.h (VERSYMIDX): Likewise.
54175         * elf/rtld.c (VALIDX): Likewise.
54176         (ADDRIDX): Likewise.
54177         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
54178         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
54179         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
54180         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
54181         (VALIDX): Likewise.
54182         (ADDRIDX): Likewise.
54184 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54186         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
54188 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
54190         [BZ #11438]
54191         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
54192         to global scope.
54193         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
54194         addresses are in the same scope as 192.0.2/24.
54195         * posix/gai.conf: Document new scope table defaults.
54197 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54199         [BZ #5298]
54200         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
54201         for ftell.  Compute offsets from write pointers instead.
54202         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54204 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54206         [BZ #14543]
54207         * libio/Makefile (tests): New test case tst-fseek.
54208         * libio/tst-fseek.c: New test case to verify that fseek/ftell
54209         combination works in wide mode.
54210         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
54211         state when the external buffer state changes.
54213 2012-09-27  David S. Miller  <davem@davemloft.net>
54215         [BZ #14376]
54216         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
54217         pass reloc->r_addend in as the 'high' argument to
54218         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
54220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54222 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54224         * rt/tst-aio2.c: Include <pthread.h>.
54225         * rt/tst-aio3.c: Likewise.
54227 2012-09-27  Steve Ellcey  <sellcey@mips.com>
54229         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
54231 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
54233         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
54234         contents on [SHARED].
54236 2012-09-26  Marek Polacek  <polacek@redhat.com>
54238         [BZ #14530]
54239         [BZ #13741]
54240         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
54241         for C++ and GCC <4.3 as well as for non GCC compilers.
54243 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54247 2012-09-25  Roland McGrath  <roland@hack.frob.com>
54249         * Makefile.in (all, install): Declare with .PHONY.
54250         Reported by Michael Hope <michael.hope@linaro.org>.
54252 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54254         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
54255         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
54256         system header.
54257         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
54258         Likewise.
54259         (sydep_routines): Add the new and the internal functions.
54260         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
54261         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
54262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
54263         (GLIBC_2.17): Add the new function.
54264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54265         (GLIBC_2.17): Likewise.
54266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
54267         (GLIBC_2.17): Likewise.
54268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
54269         (GLIBC_2.17): Likewise.
54270         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
54272 2012-09-25  Alan Modra  <amodra@gmail.com>
54274         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
54275         Add release barrier before setting once_control to say
54276         initialisation is done.  Add hints on lwarx.  Use macro in
54277         place of isync.
54278         (clear_once_control): Add release barrier.
54280 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54282         [BZ #13629]
54283         * math/s_clog.c (__clog): Handle more values close to |z| = 1
54284         specially.
54285         * math/s_clog10.c (__clog10): Likewise.
54286         * math/s_clog10f.c (__clog10f): Likewise.
54287         * math/s_clog10l.c (__clog10l): Likewise.
54288         * math/s_clogf.c (__clogf): Likewise.
54289         * math/s_clogl.c (__clogl): Likewise.
54290         * math/Makefile (libm-calls): Add x2y2m1.
54291         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
54292         (__x2y2m1): Likewise.
54293         (__x2y2m1l): Likewise.
54294         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
54295         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54298         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
54299         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
54300         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
54301         * sysdeps/i386/fpu/libm-test-ulps: Update.
54302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54304         [BZ #14621]
54305         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
54306         int as type of variable DEPTH.
54307         (glob): Use size_t instead of int as type of variables NEWCOUNT
54308         and OLD_PATHC.
54310 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54312         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54313         Add s_sincosf-sse2.
54314         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
54315         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
54316         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
54317         macros for using routine as __sincosf_ia32.
54318         Use macro for function declaration and weak_alias.
54319         * sysdeps/i386/fpu/libm-test-ulps: Update.
54321         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54324         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54325         subnormal argument.
54326         * math/s_cexpf.c (__cexpf): Likewise.
54327         * math/s_csinf.c (__csinf): Likewise.
54328         * math/s_csinhf.c (__csinhf): Likewise.
54329         * math/s_ctanf.c (__ctanf): Likewise.
54330         * math/s_ctanhf.c (__ctanhf): Likewise.
54331         * math/s_ccosh.c (__ccoshf): Likewise.
54332         * math/s_cexp.c (__cexpl): Likewise.
54333         * math/s_csin.c (__csin): Likewise.
54334         * math/s_csinh.c (__csinh): Likewise.
54335         * math/s_ctan.c (__ctan): Likewise.
54336         * math/s_ctanh.c (ctanh): Likewise.
54337         * math/s_ccoshl.c (__ccoshl): Likewise.
54338         * math/s_cexpl.c (__cexpl): Likewise.
54339         * math/s_csinl.c (__csinl): Likewise.
54340         * math/s_csinhl.c (__csinhl): Likewise.
54341         * math/s_ctanl.c (__ctanl): Likewise.
54342         * math/s_ctanhl.c (__ctanhl): Likewise.
54344 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54346         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54347         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54348         (_IO_off_t): Define to __off_t, not _G_off_t.
54349         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54350         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54351         (_IO_wint_t): Define to wint_t, not _G_wint_t.
54352         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54353         type of __dummy and __dummy2 fields.
54354         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54355         (_G_ssize_t): Likewise.
54356         (_G_off_t): Likewise.
54357         (_G_pid_t): Likewise.
54358         (_G_uid_t): Likewise.
54359         (_G_wchar_t): Likewise.
54360         (_G_wint_t): Likewise.
54361         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54362         (_G_ssize_t): Likewise.
54363         (_G_off_t): Likewise.
54364         (_G_pid_t): Likewise.
54365         (_G_uid_t): Likewise.
54366         (_G_wchar_t): Likewise.
54367         (_G_wint_t): Likewise.
54368         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
54369         (_G_ssize_t): Likewise.
54370         (_G_off_t): Likewise.
54371         (_G_pid_t): Likewise.
54372         (_G_uid_t): Likewise.
54373         (_G_wchar_t): Likewise.
54374         (_G_wint_t): Likewise.
54376 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54378         * malloc/arena.c: Include malloc-sysdep.h.
54379         (shrink_heap): Use check_may_shrink_heap to decide if madvise
54380         is sufficient to shrink the heap or an unmap is needed.
54381         * sysdeps/generic/malloc-sysdep.h: New file.  Define
54382         new function check_may_shrink_heap.
54383         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
54384         new function check_may_shrink_heap.
54386 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54388         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
54389         comments.
54391 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
54393         * catgets/test-gencat.sh: Add "set -e".
54394         * elf/tst-pathopt.sh: Likewise.
54395         * grp/tst_fgetgrent.sh: Likewise.
54396         * iconvdata/run-iconv-test.sh: Likewise.
54397         * intl/tst-gettext.sh: Likewise.
54398         * intl/tst-gettext2.sh: Likewise.
54399         * intl/tst-gettext4.sh: Likewise.
54400         * intl/tst-gettext6.sh: Likewise.
54401         * intl/tst-translit.sh: Likewise.
54402         * io/ftwtest-sh: Likewise.
54403         * libio/test-freopen.sh: Likewise.
54404         * malloc/tst-mtrace.sh: Likewise.
54405         * posix/globtest.sh: Likewise.
54406         * posix/tst-getconf.sh: Likewise.
54407         * posix/wordexp-tst.sh: Likewise.
54408         * stdio-common/tst-printf.sh: Likewise.
54409         * stdio-common/tst-unbputc.sh: Likewise.
54410         * stdlib/tst-fmtmsg.sh: Likewise.
54411         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54412         * catgets/Makefile: Do not specify -e option when running
54413         testsuite shell scripts.
54414         * elf/Makefile: Likewise.
54415         * grp/Makefile: Likewise.
54416         * iconvdata/Makefile: Likewise.
54417         * intl/Makefile: Likewise.
54418         * io/Makefile: Likewise.
54419         * libio/Makefile: Likewise.
54420         * malloc/Makefile: Likewise.
54421         * posix/Makefile: Likewise.
54422         * stdio-common/Makefile: Likewise.
54423         * stdlib/Makefile: Likewise.
54424         * sysdeps/x86_64/Makefile: Likewise.
54426         * io/ftwtest-sh: Add copyright header.
54427         * posix/globtest.sh: Likewise.
54428         * posix/tst-getconf.sh: Likewise.
54429         * posix/wordexp-tst.sh: Likewise.
54430         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54432 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
54434         [BZ #13679]
54435         * Makeconfig (+link): Defined as $(+link-static) if
54436         $(build-shared) isn't yes.
54437         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54438         isn't yes.
54439         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54441         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54443         [BZ #14562]
54444         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54445         new chunk size with MALLOC_ALIGN_MASK.
54447 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
54449         [BZ #5044]
54450         * stdio-common/printf_fphex.c: Include <stdbool.h> and
54451         <rounding-mode.h>.
54452         (__printf_fphex): Determine rounding using get_rounding_mode and
54453         round_away.
54454         * stdio-common/tst-printf-round.c (struct hex_test): New
54455         structure.
54456         (hex_tests): New variable.
54457         (test_hex_in_one_mode): New function.
54458         (do_test): Also run tests for hex float output.
54460 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54462         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54463         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54464         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54465         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54466         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54467         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54468         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54469         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54471 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54473         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54474         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54475         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54476         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54478 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54480         [BZ #14579]
54481         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54482         mode only.
54483         * elf/tst-rtld-load-self.sh: New test.
54484         * elf/Makefile: Run it.
54486 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54488         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54489         (tst-writev-ENV): Remove.
54490         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54492 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54494         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54496 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54498         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54499         unconditional.
54500         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54501         Likewise.
54502         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54503         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54504         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54505         Likewise.
54507 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54509         [BZ #14587]
54510         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54511         * config.make.in (have-cpp-asm-debuginfo): Removed.
54512         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54513         * configure: Regenerated.
54515 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54517         [BZ #5044]
54518         * stdio-common/printf_fp.c: Include <stdbool.h> and
54519         <rounding-mode.h>.
54520         (___printf_fp): Determine rounding using get_rounding_mode and
54521         round_away.
54522         * stdio-common/tst-printf-round.c: New file.
54523         * stdio-common/Makefile (tests): Add tst-printf-round.
54524         (link-libm): New variable.
54525         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54527 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54529         [BZ #14576]
54530         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54531         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54532         Likewise.
54533         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54534         Likewise.
54536 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54538         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54539         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54540         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54541         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54543 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54545         [BZ #14518]
54546         * include/rounding-mode.h: New file.
54547         * sysdeps/generic/get-rounding-mode.h: Likewise.
54548         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54549         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54550         (MAX_VALUE): New macro.
54551         (MIN_VALUE): Likewise.
54552         (overflow_value): New function.
54553         (underflow_value): Likewise.
54554         (round_and_return): Use overflow_value and underflow_value to
54555         determine return values in overflow and underflow cases.  Use
54556         round_away to determine rounding depending on rounding mode.
54557         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54558         determine return values in overflow and underflow cases.
54559         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54560         (struct test_results): New structure.
54561         (struct test): Use struct test_results to store expected results
54562         for all rounding modes.
54563         (TEST): Include expected results for all rounding modes.
54564         (test_in_one_mode): New function.
54565         (do_test): Use test_in_one_mode to compute and check results.
54566         Check results for all rounding modes.
54567         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54568         $(link-libm).
54570 2012-12-09  Allan McRae  <allan@archlinux.org>
54572         * sysdeps/i386/fpu/libm-test-ulps: Update
54574 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54576         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54577         (_G_int32_t): Likewise.
54578         (_G_uint16_t): Likewise.
54579         (_G_uint32_t): Likewise.
54580         (_G_HAVE_BOOL): Likewise.
54581         (_G_HAVE_ATEXIT): Likewise.
54582         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54583         (_G_HAVE_IO_FILE_OPEN): Likewise.
54584         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54585         (_G_int32_t): Likewise.
54586         (_G_uint16_t): Likewise.
54587         (_G_uint32_t): Likewise.
54588         (_G_HAVE_BOOL): Likewise.
54589         (_G_HAVE_ATEXIT): Likewise.
54590         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54591         (_G_HAVE_IO_FILE_OPEN): Likewise.
54592         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54593         (_G_int32_t): Likewise.
54594         (_G_uint16_t): Likewise.
54595         (_G_uint32_t): Likewise.
54596         (_G_HAVE_BOOL): Likewise.
54597         (_G_HAVE_ATEXIT): Likewise.
54598         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54599         (_G_HAVE_IO_FILE_OPEN): Likewise.
54601 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54603         * csu/libc-tls.c: Update copyright years.
54605 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54607         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54608         [!_G_USING_THUNKS]: Remove conditional code.
54609         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54610         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54612         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54613         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54614         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54615         (_G_VTABLE_LABEL_PREFIX): Likewise.
54616         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54617         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54618         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54619         (_G_VTABLE_LABEL_PREFIX): Likewise.
54620         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54621         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54622         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54623         (_G_VTABLE_LABEL_PREFIX): Likewise.
54624         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54626 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54628         * libio/Makefile: Include ../Makeconfig before tests.
54629         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54630         only if $(build-shared) is yes.
54632         * iconv/gconv_db.c: Update copyright years.
54634 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54636         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54637         unwind info if defined PIC. Fix special cases description.
54638         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54640         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54641         DP_HI_MASK entry.
54642         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54644 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54646         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54648         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54649         is NULL.
54651         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54652         (LDLIBS-tst-chk4): This.
54653         (LDFLAGS-tst-chk5): Renamed to ...
54654         (LDLIBS-tst-chk5): This.
54655         (LDFLAGS-tst-chk6): Renamed to ...
54656         (LDLIBS-tst-chk6): This.
54657         (LDFLAGS-tst-lfschk4): Renamed to ...
54658         (LDLIBS-tst-lfschk4): This.
54659         (LDFLAGS-tst-lfschk5): Renamed to ...
54660         (LDLIBS-tst-lfschk5): This.
54661         (LDFLAGS-tst-lfschk6): Renamed to ...
54662         (LDLIBS-tst-lfschk6): This.
54664         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54665         on $(common-objpfx)soversions.mk.
54667 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54669         [BZ #10014]
54670         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54671         example host name.
54673 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54675         * malloc/arena.c (arena_get_retry): New function that gets
54676         another arena for the caller to try its request on.
54677         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54678         current arena cannot fulfill the request.
54679         (__libc_memalign): Likewise.
54680         (__libc_memalign): Likewise.
54681         (__libc_pvalloc): Likewise.
54682         (__libc_calloc): Likewise.
54684 2012-09-05  John Tobey  <john.tobey@gmail.com>
54686         [BZ #13542]
54687         * manual/arith.texi (Operations on Complex): Fix description
54688         of carg branch cut.
54690 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54692         [BZ #10014]
54693         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54694         host name.
54696         [BZ #10038]
54697         * manual/memory.texi (Memory): Make order of menu items match
54698         order of sections.
54700 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54702         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54703         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54704         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54706 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54708         * csu/libc-tls.c (static_dtv): Renamed to ...
54709         (_dl_static_dtv): This.  Make it global.
54710         (_dl_initial_dtv): Removed.
54711         (__libc_setup_tls): Updated.
54712         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54713         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54714         DL_INITIAL_DTV.
54716 2012-09-06  Petr Machata  <pmachata@redhat.com>
54718         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54719         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54720         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54721         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54723 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54725         [BZ #14545]
54726         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54727         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54728         freeing dtv[-1].
54730 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54732         [BZ #14544]
54733         * Makeconfig (link-static-before-libc): Replace $(+prector)
54734         with $(+prectorT).
54735         (link-static-after-libc): Replace $(+postctor) with
54736         $(+postctorT).
54737         (link-bounded): Replace $(+prector)/$(+postctor) with
54738         $(+prectorT)/$(+postctorT).
54739         (+prectorT): New macro.
54740         (+postctorT): Likewise.
54742 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54744         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54745         (round_str): Handle values above the maximum for IBM long double
54746         as inexact.
54747         * stdlib/tst-strtod-round.c (tests): Regenerated.
54749 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54751         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54752         assembler flag.
54753         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54754         zarch_nohighgprs around the zarch optimized routines.
54755         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54756         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54757         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54758         for zarch.
54760 2012-09-05  David S. Miller  <davem@davemloft.net>
54762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54764         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54765         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54766         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54767         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54768         entries.
54770 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54772         * malloc/arena.c: Fold copyright years.
54773         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54775 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54777         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54779 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54781         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54783 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54785         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54786         change internal state upon failure.
54788 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54790         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54791         * malloc/memusage.c (mmap): Likewise.
54792         (mmap64, mremap): Likewise.  Adjust name in comment.
54794 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54796         * libio/fileops.c: Fix typos in comments.
54797         * libio/oldfileops.c: Likewise.
54798         * libio/wfileops.c: Likewise.
54800 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54802         [BZ #1349]
54803         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54804         (tst-malloc-usable-ENV): Set environment for test case.
54805         * malloc/hooks.c (malloc_check_get_size): New function to get
54806         requested size.
54807         * malloc/malloc.c (musable): Use malloc_check_get_size.
54808         * malloc/tst-malloc-usable.c: New test case.
54810 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54812         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54814 2012-09-05  Allan McRae  <allan@archlinux.org>
54816         [BZ #13966]
54817         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54818         determine header location.
54819         * configure: Regenerated.
54821 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54823         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54824         float format.
54825         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54826         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54827         format.
54828         (test): Regenerate.
54830 2012-09-04  David S. Miller  <davem@davemloft.net>
54832         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54833         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54834         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54836 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54838         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54839         failures.
54841         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54843 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54845         [BZ #9914]
54846         * libio/iogetdelim.c: Include <limits.h>.
54847         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54848         + len + 1 would overflow.
54850 2012-09-03  Andreas Jaeger  <aj@suse.de>
54852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54853         * sysdeps/i386/fpu/libm-test-ulps: Update.
54855 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54857         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54858         Add s_sinf-sse2, s_conf-sse2.
54860         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54861         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54862         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54863         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54865         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54866         for using routine as __sinf_ia32.
54867         Use macro for function declaration and weak_alias.
54868         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54869         for using routine as __cosf_ia32.
54870         Use macro for function declaration and weak_alias.
54872         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54873         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54875         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54876         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54879         * math/libm-test.inc (cos_test): Add more test cases.
54880         (sin_test): Likewise.
54881         (sincos_test): Likewise.
54883 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54885         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54886         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54887         hidden.
54888         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54890 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54892         [BZ #14538]
54893         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54894         first element of the GOT.
54895         (elf_machine_load_address): Return the difference between
54896         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54898 2012-09-01  Allan McRae  <allan@archlinux.org>
54900         [BZ #13412]
54901         * configure.in (AWK): Require gawk version 3.0 or later.
54902         * configure: Regenerated.
54904 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54906         * sysdeps/unix/sysv/linux/kernel-features.h
54907         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54908         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54909         [__NR_clock_getres]: Make code unconditional.
54910         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54911         (clock_getcpuclockid): Remove code left unreachable by removal of
54912         conditionals.
54913         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54914         code unconditional.
54915         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54916         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54917         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54918         Make code unconditional.
54919         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54920         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54921         * sysdeps/unix/sysv/linux/clock_settime.c
54922         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54923         conditional code.
54924         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54925         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54927 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54929         [BZ #14476]
54930         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54931         scripts/test-installation.pl.
54933         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54934         and $ld_so_version if it is set.
54936 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54938         [BZ #14516]
54939         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54940         failure if reading from procfs failed.
54941         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54943 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54945         * sysdeps/unix/sysv/linux/kernel-features.h
54946         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54947         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54948         Remove conditional code.
54949         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54950         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54951         Remove conditional code.
54952         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54953         * sysdeps/unix/sysv/linux/i386/fxstat.c
54954         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54955         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54956         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54957         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54958         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54959         * sysdeps/unix/sysv/linux/i386/lxstat.c
54960         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54962         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54963         Remove conditional code.
54964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54965         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54966         Remove conditional code.
54967         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54968         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54969         <kernel-features.h>.
54970         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54971         Remove.
54972         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54973         Remove conditional code.
54974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54975         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54976         Remove conditional.
54978 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54980         [BZ #5400]
54981         * NEWS: Add fixed bug number.
54983 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54985         [BZ #14519]
54986         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54987         underflowing exponent in case of negative sign.
54988         * stdlib/tst-strtod-round-data: Add more tests.
54989         * stdlib/tst-strtod-round.c (tests): Regenerated.
54991         [BZ #3479]
54992         * stdlib/strtod_l.c (NDIG): Remove.
54993         (HEXNDIG): Likewise.
54994         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54995         smallest representable value.
54996         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54997         lie within an exact representation of 1/2 ulp of the result.
54998         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54999         unconditionally.
55000         (TENS_P9_IDX): Define unconditionally.
55001         (TENS_P9_SIZE): Likewise.
55002         (TENS_P10_IDX): Likewise.
55003         (TENS_P10_SIZE): Likewise.
55004         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
55005         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
55006         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
55007         entries for 10^2^13 and 10^2^14.
55008         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
55009         (TENS_P13_IDX): Define.
55010         (TENS_P13_SIZE): Likewise.
55011         (TENS_P14_IDX): Likewise.
55012         (TENS_P14_SIZE): Likewise.
55013         (_fpioconst_pow10): Change array size to
55014         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
55015         unconditional.
55016         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
55017         1024]: Add entries for 10^2^13 and 10^2^14.
55018         [LAST_POW10 > _LAST_POW10]: Remove #error.
55019         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
55020         (_fpioconst_pow10): Change array size to
55021         FPIOCONST_POW10_ARRAY_SIZE.
55022         * stdlib/gen-fpioconst.c: New file.
55023         * stdlib/gen-tst-strtod-round.c: Likewise.
55024         * stdlib/tst-strtod-round-data: Likewise.
55025         * stdlib/tst-strtod-round.c: Likewise.
55026         * stdlib/Makefile (tests): Add tst-strtod-round.
55028         [BZ #14459]
55029         * stdlib/strtod_l.c: Include <stdint.h>.
55030         (NDEBUG): Do not define.
55031         (round_and_return): Change EXPONENT parameter to type intmax_t.
55032         Rearrange calculations to avoid internal overflow possibilities.
55033         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
55034         Rearrange calculations to avoid internal overflow possibilities.
55035         Assert that number fits inside MPNSIZE limbs.
55036         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
55037         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
55038         calculations and add assertions to avoid internal overflow
55039         possibilities.  Add casts to avoid signed/unsigned operations.
55040         * stdlib/tst-strtod-overflow.c: New file.
55041         * stdlib/Makefile (tests): Add tst-strtod-overflow.
55043 2012-08-25  Marek Polacek  <polacek@redhat.com>
55045         * time/time.h: Fix some typos in comments.
55047 2012-08-23  Roland McGrath  <roland@hack.frob.com>
55049         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
55050         * posix/tst-rfc3484-2.c: Likewise.
55051         * posix/tst-rfc3484-3.c: Likewise.
55053 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
55055         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
55056         (EF_ARM_ABI_FLOAT_HARD): Likewise.
55058 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
55060         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
55061         #include of fxstatat64.c.
55063 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55065         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
55066         * shadow/getspent_r.c: Likewise.
55067         * shadow/getspnam.c: Likewise.
55068         * shadow/getspnam_r.c: Likewise.
55069         * gshadow/getsgent.c: Likewise.
55070         * gshadow/getsgent_r.c: Likewise.
55071         * gshadow/getsgnam.c: Likewise.
55072         * gshadow/getsgnam_r.c: Likewise.
55073         * inet/getnetbyad.c: Likewise.
55074         * inet/getnetbyad_r.c: Likewise.
55075         * inet/getnetbynm.c: Likewise.
55076         * inet/getnetbynm_r.c: Likewise.
55077         * inet/getnetent.c: Likewise.
55078         * inet/getnetent_r.c: Likewise.
55079         * inet/getproto.c: Likewise.
55080         * inet/getproto_r.c: Likewise.
55081         * inet/getprtent.c: Likewise.
55082         * inet/getprtent_r.c: Likewise.
55083         * inet/getprtname.c: Likewise.
55084         * inet/getprtname_r.c: Likewise.
55085         * inet/getrpcbyname.c: Likewise.
55086         * inet/getrpcbyname_r.c: Likewise.
55087         * inet/getrpcbynumber.c: Likewise.
55088         * inet/getrpcbynumber_r.c: Likewise.
55089         * inet/getrpcent.c: Likewise.
55090         * inet/getrpcent_r.c: Likewise.
55091         * inet/getaliasent.c: Likewise.
55092         * inet/getaliasent_r.c: Likewise.
55093         * inet/getaliasname.c: Likewise.
55094         * inet/getaliasname_r.c: Likewise.
55095         * nscd/getgrgid_r.c: Likewise.
55096         * nscd/getgrnam_r.c: Likewise.
55097         * nscd/gethstbyad_r.c: Likewise.
55098         * nscd/gethstbynm3_r.c: Likewise.
55099         * nscd/getpwnam_r.c: Likewise.
55100         * nscd/getpwuid_r.c: Likewise.
55101         * nscd/getsrvbynm_r.c: Likewise.
55102         * nscd/getsrvbypt_r.c: Likewise.
55103         * nscd/gai.c: Likewise.
55105         * configure.in (build_nscd): New substituted variable, set
55106         by --disable-build-nscd and defaults to $use_nscd.
55107         * configure: Regenerated.
55108         * config.make.in (build-nscd): New substituted variable.
55109         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
55110         Change conditional to require [$(build-nscd) = yes] as well.
55111         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
55113         [BZ# 13696]
55114         * configure.in (use_nscd): New substituted variable, set by
55115         --disable-nscd.  If enabled, define USE_NSCD.
55116         * configure: Regenerated.
55117         * config.h.in: Add USE_NSCD.
55118         * config.make.in (use-nscd): New substituted variable.
55119         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
55120         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
55121         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
55122         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
55123         (CFLAGS-getgrnam_r.c): Likewise.
55124         (CFLAGS-initgroups.c): Likewise.
55125         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
55126         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
55127         Variables removed.
55128         * inet/getnetgrent_r.c
55129         (nscd_setnetgrent): New function, broken out of ...
55130         (setnetgrent): ... here.  Call it.
55131         (innetgr): Conditionalize nscd bits on [USE_NSCD].
55132         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
55133         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
55134         * nscd/Makefile (routines, aux): Move definitions after include of
55135         Makeconfig.  Conditionalize on [$(use-nscd) != no].
55136         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
55137         Conditionalize on [USE_NSCD].
55138         (is_nscd, nscd_init_cb): Likewise.
55139         (nss_load_library): Conditionalize init callback on [USE_NSCD].
55140         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
55141         * nss/nss_db/db-init.c: Likewise.
55142         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
55143         [USE_NSCD].
55144         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
55145         (make_request): Use it.
55146         (cache_valid_p): New function.
55147         (__check_pf): Use it.
55148         * NEWS: Add item for --disable-nscd.
55150 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
55152         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
55153         to support sed >= 4.2.1-20-ga9bf076.
55154         * configure: Regenerated.
55156 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55158         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
55159         Conditionalize whole body on [IREL].
55161 2012-08-22  Jeff Law <law@redhat.com>
55163         [BZ #14505]
55164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
55165         if the family is PF_UNSPEC.
55167 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
55169         * Makerules (lib-version): Rename from V.
55170         (install-lib-nosubdir): Change V to lib-version.
55172 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
55174         [BZ #14252]
55175         * powerpc32/power6/wcschr.c: New file.
55176         * powerpc32/power6/wcscpy.c: New file.
55177         * powerpc32/power6/wcsrchr.c: New file.
55178         * powerpc64/power6/wcschr.c: New file.
55179         * powerpc64/power6/wcscpy.c: New file.
55180         * powerpc64/power6/wcsrchr.c: New file.
55182 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55184         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
55185         (two_way_short_needle): Use it.
55186         * string/strstr.c (AVAILABLE1_USES_J): Define.
55187         * string/strcasestr.c: Likewise.
55189         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
55190         array references.
55191         * string/strcasestr.c (TOLOWER): Make side-effect safe.
55193         [BZ #11607]
55194         * NEWS: Add an entry.
55195         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
55196         define their defaults.
55197         (two_way_short_needle): Detect end-of-string on-the-fly.
55198         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
55199         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
55200         * string/bug-strcasestr1.c: New test.
55201         * string/Makefile: Run it.
55203 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55205         [BZ #11607]
55206         * string/str-two-way.h (two_way_short_needle): Optimize matching of
55207         the first character.
55209 2012-08-21  Roland McGrath  <roland@hack.frob.com>
55211         * csu/elf-init.c (__libc_csu_irel): Function removed.
55212         * csu/libc-start.c (apply_irel): New function.
55213         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
55215 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
55217         * sysdeps/unix/sysv/linux/kernel-features.h
55218         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
55219         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55220         <kernel-features.h>.
55221         [__NR_fadvise64_64]: Make code unconditional.
55222         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
55223         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55224         !__NR_fadvise64_64)]: Likewise.
55225         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55226         !__NR_fadvise64_64))]: Likewise.
55227         [__NR_fadvise64]: Make code unconditional.
55228         [!__NR_fadvise64]: Remove conditional code.
55229         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
55230         <kernel-features.h>.
55231         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55232         unconditional.
55233         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55234         conditional code.
55235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
55236         not include <kernel-features.h>.
55237         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55238         unconditional.
55239         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55240         conditional code.
55241         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
55242         include <kernel-features.h>.
55243         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55244         unconditional.
55245         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55246         conditional code.
55248 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55250         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
55251         slight instruction rearrangements per scrollpipe analysis.
55252         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55254 2012-08-20  Roland McGrath  <roland@hack.frob.com>
55256         * manual/syslog.texi (syslog; vsyslog, closelog):
55257         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
55258         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
55260         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
55261         DSOCAPS to match condition on defining it.
55263 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
55265         * sysdeps/unix/sysv/linux/kernel-features.h
55266         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
55267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
55268         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55269         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
55271         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55272         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
55274         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55275         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55277         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
55278         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
55280         * sysdeps/unix/sysv/linux/kernel-features.h
55281         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
55282         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
55283         unconditional.
55284         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55285         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
55286         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55287         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55288         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
55289         Make code unconditional.
55290         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55291         (__mmap64) [!__NR_mmap2]: Likewise.
55292         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
55293         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55294         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55295         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
55296         [__NR_mmap2]: Make code unconditional.
55297         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55298         (__mmap64) [!__NR_mmap2]: Likewise.
55300 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55302         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
55304 2012-08-18  Andreas Jaeger  <aj@suse.de>
55306         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
55308 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55310         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
55311         * include/unistd.h (__have_sock_cloexec): Likewise.
55312         (__have_pipe2): Likewise.
55313         (__have_dup3): Likewise.
55315 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55317         [BZ #9685]
55318         * include/unistd.h (__have_pipe2): Change define into an extern int.
55319         (__have_dup3): Likewise.
55320         * socket/have_sock_cloexec.c: Include fcntl.h.
55321         (__have_pipe2): New variable.
55322         (__have_dup3): Likewise.
55324 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
55326         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55328 2012-08-17  Marek Polacek  <polacek@redhat.com>
55330         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55331         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55333 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55335         * configure.in: Add AC_SUBST for sysheaders.
55336         * configure: Regenerated.
55337         * config.make.in (sysheaders): New substituted variable.
55339         * sysdeps/unix/mkfifo.c: Moved ...
55340         * sysdeps/posix/mkfifo.c: ... here.
55341         * sysdeps/unix/mkfifoat.c: Moved ...
55342         * sysdeps/posix/mkfifoat.c: ... here.
55344         * sysdeps/unix/utime.c: Moved ...
55345         * sysdeps/posix/utime.c: ... here.
55347         * sysdeps/unix/time.c: Moved ...
55348         * sysdeps/posix/time.c: ... here.
55349         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55350         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55352         * sysdeps/unix/nice.c: Moved ...
55353         * sysdeps/posix/nice.c: ... here.
55355         * sysdeps/unix/alarm.c: Moved ...
55356         * sysdeps/posix/alarm.c: ... here.
55358         * intl/Makefile ($(codeset_mo)): Depend on the input file.
55360 2012-08-17  Jeff Law <law@redhat.com>
55362         * intl/Makefile (codeset_mo): New variable.
55363         ($(codeset_mo)): New target.
55364         (tst-codeset.out): Depend on that.  Remove explicit rule.
55365         (tst-gettext3.out, tst-gettext5.out): Likewise.
55366         (LOCPATH-ENV, tst-codeset-ENV): New variables.
55367         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
55368         * intl/tst-codeset.sh: Remove.
55369         * intl/tst-gettext3.sh: Likewise.
55370         * intl/tst-gettext5.sh: Likewise.
55372 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55374         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
55375         * sysdeps/unix/syscalls.list: ... here.
55377         * sysdeps/posix/getaddrinfo.c
55378         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
55379         (gaiconf_init, gaiconf_reload): Use them.
55380         [!_STATBUF_ST_NSEC]
55381         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55382         Define using time_t rather than struct timespec.
55384         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
55385         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
55386         Macros removed.
55387         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
55388         [!NO_THREADS].
55389         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
55390         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
55391         Likewise.
55393         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
55394         __libc_cleanup_push argument.
55396         * bits/param.h: New file.
55397         * misc/sys/param.h: New file.
55398         * include/sys/param.h: New file.
55399         * misc/Makefile (headers): Add bits/param.h.
55400         * sysdeps/generic/sys/param.h: File removed.
55401         * sysdeps/unix/sysv/linux/bits/param.h: New file.
55402         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
55403         * sysdeps/mach/hurd/bits/param.h: New file.
55404         * sysdeps/mach/hurd/sys/param.h: File removed.
55406         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55407         last change.
55409         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55410         [_IO_MTSAFE_IO].
55411         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55412         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55413         New macros.
55415         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55416         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55417         rather than -D_IO_MTSAFE_IO conditionally.
55418         * stdio-common/Makefile (CPPFLAGS): Likewise.
55419         * wcsmbs/Makefile (CPPFLAGS): Likewise.
55420         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55421         Use $(libio-mtsafe).
55422         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55423         of -D_IO_MTSAFE_IO.
55424         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55425         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55426         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55427         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55428         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55429         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55430         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55431         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55432         (CFLAGS-fread_u_chk.c): Likewise.
55433         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55434         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55435         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55436         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55437         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55438         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55439         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55440         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55441         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55443         * libio/Makefile: Test [$(libc-reentrant) = yes]
55444         instead of [$(filter %REENTRANT, $(defines)) nonempty].
55446         * Makeconfig
55447         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55448         * sysdeps/pthread/configure: File removed.
55449         * sysdeps/pthread/Makeconfig: New file.
55450         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55451         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55453 2012-08-16  Gary Benson  <gbenson@redhat.com>
55455         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55456         unmapping the first object in a namespace.
55458 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55460         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55461         (__internal_setnetgrent): ... this.  Add internal_function to
55462         definition.  Add libc_hidden_def.
55463         (setnetgrent): Update caller.
55464         (internal_endnetgrent): Renamed to ...
55465         (__internal_endnetgrent): ... this.  Add internal_function to
55466         definition.  Add libc_hidden_def.
55467         (endnetgrent): Update caller.
55468         (internal_getnetgrent_r): Renamed to ...
55469         (__internal_getnetgrent_r): ... this.  Add internal_function to
55470         definition.  Add libc_hidden_def.
55471         (__getnetgrent_r): Update caller.
55472         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55474 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55476         * stdlib/longlong.h: Update from GCC.
55478 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55480         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55481         on _QL, which is set by umul_ppmm but never used.
55482         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55483         variables, which are set by GMP macros but never used.
55484         * stdio-common/_itowa.c (_itowa): Likewise.
55485         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55486         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55488 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55490         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55491         struct La_sh_regs is not constant.
55492         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55493         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55494         and struct La_sparc64_regs are not constant.
55496 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55498         * sysdeps/unix/sysv/linux/kernel-features.h
55499         (__ASSUME_POSIX_TIMERS): Remove.
55500         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55501         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55502         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55503         Make code unconditional.
55504         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55505         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55506         Make code unconditional.
55507         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55508         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55509         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55510         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55511         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55512         Make code unconditional.
55513         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55514         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55515         (__libc_missing_posix_timers): Remove.
55517 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55519         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55520         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55522         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55524         * elf/dl-sym.c: Include <stdlib.h>.
55526         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55527         constants, which avoids warnings in 32-bit builds.
55529         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55530         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55532         * misc/lseek.c: File moved to ...
55533         * io/lseek.c: ... here.
55535         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55537         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55538         shifting LEN more than 31 bits at once.
55540 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55542         [BZ #14195]
55543         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55544         segmentation fault for a case of two empty input strings.
55545         * string/test-strncasecmp.c (check1): Renamed to...
55546         (bz12205): ...this.
55547         (bz14195): Add new testcase for two empty input strings and N > 0.
55548         (test_main): Call new testcase, adapt for renamed function.
55550 2012-08-15  Andreas Jaeger  <aj@suse.de>
55552         [BZ #14090]
55553         * crypt/md5test2.c: New test, based on test supplied by Serge
55554         Belyshev <belyshev@depni.sinp.msu.ru>.
55555         * crypt/Makefile (xtests): Add md5test-giant..
55556         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55558 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55560         [BZ #14090]
55561         * crypt/md5.c (md5_process_block): Don't assume the buffer
55562         length is less than 2**32.
55563         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55564         length is less than 2**64.
55566 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55568         * string/str-two-way.h: Include <sys/param.h>.
55569         (MAX): Macro removed.
55571         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55572         Move #define and #undef of memmove to just before and after
55573         including <string.h>.
55575         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55576         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55577         and after including <string.h>.  Move declarations of
55578         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55579         to before #include "string/memmove.c".
55581         * include/dirent.h: Declare __getdirentries.
55583         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55584         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55586 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55588         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55589         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55590         * sysdeps/i386/configure: Regenerated.
55591         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55592         STABS_CURRENT_FILE, and STABS_FUN.
55593         (END): Remove call to STABS_FUN_END.
55594         (STABS_CURRENT_FILE1): Delete.
55595         (STABS_CURRENT_FILE): Likewise.
55596         (STABS_FUN): Likewise.
55597         (STABS_FUN_END): Likewise.
55598         (STABS_FUN2): Likewise.
55599         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55600         * sysdeps/x86_64/configure: Regenerated.
55602 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55604         * elf/dl-open.c: Include <atomic.h>.
55605         * elf/dl-lookup.c: Likewise.
55607 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55609         * sysdeps/unix/sysv/linux/kernel-features.h
55610         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55611         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55612         unconditionally.
55613         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55614         unconditionally.
55615         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55616         condition on __ASSUME_CLONE_THREAD_FLAGS.
55618 2012-08-14  Andreas Jaeger  <aj@suse.de>
55620         * sysdeps/i386/fpu/libm-test-ulps: Update.
55622 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55624         * include/atomic.h (atomic_exchange_and_add): Split into ...
55625         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55626         New atomic macros.
55628 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55632 2012-08-13  Jeff Law <law@redhat.com>
55634         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55635         null byte in the output string.
55637 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55639         * sysdeps/unix/sysv/linux/kernel-features.h
55640         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55641         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55642         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55643         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55644         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55645         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55646         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55648 2012-08-09  Jeff Law <law@redhat.com>
55650         [BZ #13939]
55651         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55652         When avoid_arena is set, don't retry in the that arena.  Pick the
55653         next one, whatever it might be.
55654         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55655         (arena_lock): Pass in new parameter to arena_get2.
55656         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55657         arena_get2.
55658         (__libc_malloc): Unify retrying after main arena failure with
55659         __libc_memalign version.
55660         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55662 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55664         [BZ #14166]
55665         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55666         to __redirect_strstr.
55667         (__strstr_sse42): Use typeof __redirect_strstr.
55668         (__strstr_ia32): Likewise.
55669         (__libc_strstr): New prototype.
55670         (strstr): Renamed to ...
55671         (__libc_strstr): This.
55672         (strstr): New strong alias of __libc_strstr.
55673         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55674         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55675         __redirect_time.
55676         Include <time.h>.
55677         (__libc_time): New prototype.
55678         (time_ifunc): Replace time with __libc_time.
55679         (time): New strong alias and hidden definition of __libc_time.
55680         (__GI_time): Remove strong alias.
55681         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55682         Include <stddef.h>.
55683         (memmove): Redefined to __redirect_memmove.
55684         (__memmove_sse2): Use typeof __redirect_memmove.
55685         (__memmove_ssse3): Likewise.
55686         (__memmove_ssse3_back): Likewise.
55687         (__libc_memmove): New prototype.
55688         (memmove): Renamed to ...
55689         (__libc_memmove): This.
55690         (memmove): New strong alias of __libc_memmove.
55692 2012-08-08  Mark Salter  <msalter@redhat.com>
55694         * elf/elf.h
55695         (R_MN10300_TLS_GD): Define.
55696         (R_MN10300_TLS_LD): Likewise.
55697         (R_MN10300_TLS_LDO): Likewise.
55698         (R_MN10300_TLS_GOTIE): Likewise.
55699         (R_MN10300_TLS_IE): Likewise.
55700         (R_MN10300_TLS_LE): Likewise.
55701         (R_MN10300_TLS_DTPMOD): Likewise.
55702         (R_MN10300_TLS_DTPOFF): Likewise.
55703         (R_MN10300_TLS_TPOFF): Likewise.
55704         (R_MN10300_SYM_DIFF): Likewise.
55705         (R_MN10300_ALIGN): Likewise.
55706         (R_MN10300_NUM): Update.
55708 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55710         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55711         Remove.
55713 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55715         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55717         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55718         sysdeps/unix -> sysdeps/posix move.
55719         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55721 2012-08-07      Allan McRae     <allan@archlinux.org>
55723         [BZ #14303]
55724         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55725         (SUNOS_CPP): Likewise.
55726         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55727         not found.
55728         (open_input): Call CPP using execvp.
55730 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55732         * sysdeps/unix/sysv/linux/kernel-features.h
55733         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55734         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55735         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55736         (__ASSUME_WAITID_SYSCALL): Likewise.
55737         * sysdeps/unix/sysv/linux/dl-execstack.c
55738         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55739         code unconditional.
55740         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55741         conditional code.
55742         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55743         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55744         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55745         code.
55746         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55747         unconditional.
55748         [__ASSUME_WAITID_SYSCALL]: Likewise.
55749         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55751 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55753         * sysdeps/unix/closedir.c: Renamed to ...
55754         * sysdeps/posix/closedir.c: ... here.
55755         * sysdeps/unix/dirfd.c: Renamed to ...
55756         * sysdeps/posix/dirfd.c: ... here.
55757         * sysdeps/unix/dirstream.h: Renamed to ...
55758         * sysdeps/posix/dirstream.h: ... here.
55759         * sysdeps/unix/fdopendir.c: Renamed to ...
55760         * sysdeps/posix/fdopendir.c: ... here.
55761         * sysdeps/unix/opendir.c: Renamed to ...
55762         * sysdeps/posix/opendir.c: ... here.
55763         * sysdeps/unix/readdir.c: Renamed to ...
55764         * sysdeps/posix/readdir.c: ... here.
55765         * sysdeps/unix/readdir_r.c: Renamed to ...
55766         * sysdeps/posix/readdir_r.c: ... here.
55767         * sysdeps/unix/rewinddir.c: Renamed to ...
55768         * sysdeps/posix/rewinddir.c: ... here.
55769         * sysdeps/unix/seekdir.c: Renamed to ...
55770         * sysdeps/posix/seekdir.c: ... here.
55771         * sysdeps/unix/telldir.c: Renamed to ...
55772         * sysdeps/posix/telldir.c: ... here.
55773         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55774         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55775         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55776         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55778         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55779         * bits/fcntl.h: ... here.
55781         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55782         not 0.
55783         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55784         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55785         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55786         (struct flock): Move l_start, l_len to the beginning.
55787         Use __pid_t for l_pid.
55788         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55789         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55790         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55791         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55792         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55793         [__USE_LARGEFILE64] (struct flock64): New type.
55794         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55796         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55797         * bits/dirent.h: ... here.
55799         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55800         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55802 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55804         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55805         Change from 2.6.0 to 2.6.16.
55806         * sysdeps/unix/sysv/linux/configure: Regenerated.
55807         * sysdeps/unix/sysv/linux/kernel-features.h
55808         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55809         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55810         version.
55811         (__ASSUME_UTIMES): Likewise.
55812         (__ASSUME_CLONE_STOPPED): Remove.
55813         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55814         architectures, not kernel version.
55815         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55816         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55817         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55818         (__ASSUME_WAITID_SYSCALL): Likewise.
55819         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55820         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55821         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55822         refer to older versions.
55824 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55826         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55827         Define alphasort64 as an alias.
55828         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55829         Define versionsort64 as an alias.
55830         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55831         Define scandir64 as an alias.
55832         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55833         Define scandirat64 as an alias.
55834         * dirent/alphasort64.c (alphasort64):
55835         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55836         * dirent/versionsort64.c: Likewise.
55837         * dirent/scandir64.c: Likewise.
55838         * dirent/scandirat64.c: Likewise.
55839         * sysdeps/wordsize-64/alphasort.c: File removed.
55840         * sysdeps/wordsize-64/alphasort64.c: File removed.
55841         * sysdeps/wordsize-64/scandir.c: File removed.
55842         * sysdeps/wordsize-64/scandir64.c: File removed.
55843         * sysdeps/wordsize-64/scandirat.c: File removed.
55844         * sysdeps/wordsize-64/scandirat64.c: File removed.
55845         * sysdeps/wordsize-64/versionsort.c: File removed.
55846         * sysdeps/wordsize-64/versionsort64.c: File removed.
55847         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55848         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55849         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55850         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55851         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55852         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55853         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55854         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55856         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55858         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55859         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55860         [defined __arch64__ || defined __sparcv9]
55861         (__INO_T_MATCHES_INO64_T): New macro.
55862         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55863         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55864         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55865         * sysdeps/unix/sysv/linux/bits/dirent.h
55866         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55867         (_DIRENT_MATCHES_DIRENT64): New macro.
55869         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55870         Define lockf64 as an alias.
55871         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55872         Define fseeko64 as an alias.
55873         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55874         Define ftello64 as an alias.
55875         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55876         Define _IO_fgetpos64 and fgetpos64 as aliases.
55877         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55878         Define _IO_fsetpos64 and fsetpos64 as aliases.
55879         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55880         Conditionalize body on this.
55881         * libio/fseeko64.c: Likewise.
55882         * libio/ftello64.c: Likewise.
55883         * libio/iofgetpos64.c: Likewise.
55884         * libio/iofsetpos64.c: Likewise.
55885         * sysdeps/wordsize-64/lockf.c: File removed.
55886         * sysdeps/wordsize-64/lockf64.c: File removed.
55887         * sysdeps/wordsize-64/fseeko.c: File removed.
55888         * sysdeps/wordsize-64/fseeko64.c: File removed.
55889         * sysdeps/wordsize-64/ftello.c: File removed.
55890         * sysdeps/wordsize-64/ftello64.c: File removed.
55891         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55892         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55893         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55894         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55895         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55896         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55897         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55898         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55899         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55900         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55901         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55902         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55903         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55904         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55906         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55907         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55908         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55910         [defined __arch64__ || defined __sparcv9]
55911         (__OFF_T_MATCHES_OFF64_T): New macro.
55912         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55913         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55914         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55915         (__OFF_T_MATCHES_OFF64_T): New macro.
55917 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55919         * stdlib/secure-getenv.c (__secure_getenv): Replace
55920         GLIBC_2_16 with GLIBC_2_17.
55922 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55924         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55925         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55927 2012-08-03  David S. Miller  <davem@davemloft.net>
55929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55931 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55933         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55934         Remove.
55935         (__ASSUME_CORRECT_SI_PID): Likewise.
55936         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55937         (__ASSUME_TMPFS_NAME): Likewise.
55938         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55939         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55940         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55941         (HAVE_AUX_SECURE): Make definition unconditional.
55942         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55943         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55945 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55947         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55948         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55949         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55950         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55951         __eloop_threshold instead of SYMLOOP_MAX.
55953         * sysdeps/generic/eloop-threshold.h: New file.
55954         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55955         of MAXSYMLINKS.
55956         * elf/chroot_canon.c (chroot_canon): Likewise.
55958 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55960         [BZ #13717]
55961         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55962         Change to 2.6.0 everywhere.
55963         * sysdeps/unix/sysv/linux/configure: Regenerated.
55964         * sysdeps/unix/sysv/linux/kernel-features.h
55965         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55966         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55967         kernel versions.
55968         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55969         (__ASSUME_FUTEX_REQUEUE): Remove.
55970         (__ASSUME_STATFS64): Define unconditionally.
55971         (__ASSUME_AT_SECURE): Likewise.
55972         (__ASSUME_CORRECT_SI_PID): Likewise.
55973         (__ASSUME_TGKILL): Define without depending on kernel version for
55974         i386.
55975         (__ASSUME_UTIMES): Likewise.
55976         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55977         kernel version.
55978         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55979         (__ASSUME_TMPFS_NAME): Likewise.
55980         * README: Update reference to Linux kernel versions.
55982 2012-08-02  Marek Polacek  <polacek@redhat.com>
55984         [BZ# 14150]
55985         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55986         libc_cv_asm_type_prefix with %.
55987         * configure: Regenerated.
55988         * include/libc-symbols.h: Remove comment about
55989         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55990         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55991         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55992         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55993         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55994         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55995         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55996         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55997         * elf/tst-unique2mod1.c: Likewise.
55998         * elf/tst-unique1mod2.c: Likewise.
55999         * elf/tst-unique1mod1.c: Likewise.
56000         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
56001         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
56002         Replace ASM_TYPE_DIRECTIVE with .type.
56003         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56004         * sysdeps/i386/sysdep.h: Likewise.
56005         * sysdeps/x86_64/sysdep.h: Likewise.
56006         * sysdeps/sh/sysdep.h: Likewise.
56007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56008         Do not define ASM_TYPE_DIRECTIVE.
56009         * sysdeps/powerpc/sysdep.h: Likewise.
56010         * sysdeps/powerpc/powerpc32/sysdep.h:
56011         Replace ASM_TYPE_DIRECTIVE with .type.
56012         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56013         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56014         * sysdeps/i386/fpu/e_powf.S: Likewise.
56015         * sysdeps/i386/fpu/e_expl.S: Likewise.
56016         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56017         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56018         * sysdeps/i386/fpu/e_pow.S: Likewise.
56019         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56020         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56021         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56022         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56023         * sysdeps/i386/fpu/e_log2.S: Likewise.
56024         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56025         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56026         * sysdeps/i386/fpu/e_powl.S: Likewise.
56027         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56028         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56029         * sysdeps/i386/fpu/e_logl.S: Likewise.
56030         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56031         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56032         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56033         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56034         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56035         * sysdeps/i386/fpu/e_log.S: Likewise.
56036         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56037         * sysdeps/i386/fpu/e_logf.S: Likewise.
56038         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56039         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56040         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56041         * sysdeps/i386/fpu/e_log10.S: Likewise.
56042         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56043         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56044         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56045         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56046         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56047         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
56048         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56049         * sysdeps/i386/i686/strtok.S: Likewise.
56050         * sysdeps/i386/i386-mcount.S: Likewise.
56051         * sysdeps/i386/strtok.S: Likewise.
56052         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
56053         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56054         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56055         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56056         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56057         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56058         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56059         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56060         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56061         * sysdeps/x86_64/_mcount.S: Likewise.
56062         * sysdeps/x86_64/strtok.S: Likewise.
56063         * sysdeps/sh/_mcount.S: Likewise.
56065 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56067         * libio/iofopen.c: Include <fcntl.h>.
56068         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
56069         (_IO_fopen64, fopen64): Define as aliases.
56070         * libio/iofopen64.c: Include <fcntl.h>.
56071         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
56072         Conditionalize body on this.
56073         * sysdeps/wordsize-64/iofopen.c: File removed.
56074         * sysdeps/wordsize-64/iofopen64.c: File removed.
56076 2012-08-01  Marek Polacek  <polacek@redhat.com>
56078         * libc/Makeconfig: Use elf in place of binfmt-subdir.
56079         Use dlfcn directly instead of a variable.
56080         (binfmt-subdir): Do not define.
56081         (dlfcn): Likewise.
56083 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
56085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
56086         Remove all definitions.
56087         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
56088         <kernel-features.h>.
56089         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56090         (miss_F_GETOWN_EX): Remove all definitions.
56091         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
56092         macro definition.
56093         [!__ASSUME_FCNTL64]: Remove conditional code.
56094         [__ASSUME_FCNTL64]: Make code unconditional.
56095         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
56096         <kernel-features.h>.
56097         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56098         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
56099         (lockf64) [__NR_fcntl64]: Make code unconditional.
56100         (lockf64) [__ASSUME_FCNTL64]: Likewise.
56102         * sysdeps/unix/sysv/linux/kernel-features.h
56103         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
56104         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
56105         Make code unconditional.
56106         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56107         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
56109         [__NR_vfork]: Make code unconditional.
56110         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56111         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
56113         [__NR_vfork]: Make code unconditional.
56114         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56115         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56117 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56119         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56120         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
56122         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56123         Define mkstemp64 as an alias.
56124         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56125         Define mkstemps64 as an alias.
56126         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56127         Define mkostemp64 as an alias.
56128         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56129         Define mkostemps64 as an alias.
56130         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
56131         Conditionalize body on this.
56132         * misc/mkostemp64.c: Likewise.
56133         * misc/mkostemps64.c: Likewise.
56134         * misc/mkstemps64.c: Likewise.
56135         * sysdeps/wordsize-64/mkstemp64.c: File removed.
56136         * sysdeps/wordsize-64/mkostemp64.c: File removed.
56137         * sysdeps/wordsize-64/mkostemp.c: File removed.
56138         * sysdeps/wordsize-64/mkstemp.c: File removed.
56139         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
56140         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
56141         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
56142         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
56144         [BZ #14138]
56145         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
56146         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
56147         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
56148         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
56150         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
56151         compat_symbol macros from <shlib-compat.h> rather than the underlying
56152         default_symbol_version and symbol_version macros, so that DEFAULT
56153         lines in shlib-versions are respected.
56154         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
56156 2012-08-01  Florian Weimer  <fweimer@redhat.com>
56158         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
56159         Declare with warn_unused_result.
56160         (setgid, setregid, setegid, setresgid): Likewise.
56161         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
56162         Likewise.
56163         * WUR-REPORT: Remove set*id functions.
56165 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
56167         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
56169 2012-07-31  Roland McGrath  <roland@hack.frob.com>
56171         [BZ #10191]
56172         * include/sys/socket.h (__libc_accept, __libc_accept4):
56173         Add attribute_hidden.
56174         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
56176         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
56177         use of PTR_MANGLE.
56178         * inet/getnetgrent_r.c (setup): Likewise.
56180         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
56182 2012-07-31  David S. Miller  <davem@davemloft.net>
56184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56186 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
56188         [BZ #13629]
56189         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
56190         value between 1.0 and 2.0 and smaller part has absolute value less
56191         than 1.0.
56192         * math/s_clog10.c (__clog10): Likewise.
56193         * math/s_clog10f.c (__clog10f): Likewise.
56194         * math/s_clog10l.c (__clog10l): Likewise.
56195         * math/s_clogf.c (__clogf): Likewise.
56196         * math/s_clogl.c (__clogl): Likewise.
56197         * math/libm-test.inc (clog_test): Add more tests.
56198         (clog10_test): Likewise.
56199         * sysdeps/i386/fpu/libm-test-ulps: Update.
56200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56202 2012-07-31  Florian Weimer  <fweimer@redhat.com>
56204         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
56205         Exit with zero in case no suitable GID is found, and write a
56206         message to standard error.
56208 2012-07-30  Roland McGrath  <roland@hack.frob.com>
56210         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
56211         rather than to 1.
56212         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
56213         (MAXPATHLEN): Removed.
56214         (NOGROUP, NODEV): New macros.
56215         (setbit, clrbit, isset, isclr): New macros.
56216         (howmany, roundup, powerof2): New macros.
56217         (DEV_BSIZE): New macro.
56219         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
56220         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
56222         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
56223         definition on [!__NO_LONG_DOUBLE_MATH].
56225         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
56226         PTR_MANGLE and PTR_DEMANGLE.
56228         * socket/accept4.c (accept4): Rename to __libc_accept4.
56229         Define accept4 as a weak alias.
56231         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
56232         on [_DIRENT_HAVE_D_TYPE].
56233         * io/ftw.c (ftw_dir): Likewise.
56235         * io/xmknod.c (__xmknod): Don't check PATH for being null.
56237         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
56239         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
56240         Use the BSD numbers rather than the arbitrary ones we had.
56241         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
56242         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
56243         (SIGXCPU, SIGXFSZ): New macros.
56244         (_NSIG): Now 32.
56246         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
56247         initializer on [_LIBC_REENTRANT].
56249         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
56250         definitions inside [_POSIX_MAPPED_FILES].
56252         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
56254         * dirent/opendir.c: Include <fcntl.h>.
56256         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
56257         (__libc_getspecific): Likewise.
56258         (__libc_key_create): Likewise.
56260         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
56261         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
56262         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
56263         (tmpfile64): Define as alias.
56264         * sysdeps/wordsize-64/tmpfile.c: File removed.
56265         * sysdeps/wordsize-64/tmpfile64.c: File removed.
56266         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
56267         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
56269         * stdio-common/vfscanf.c: Include <stdbool.h>.
56270         * nss/makedb.c: Likewise.
56271         * stdio-common/_i18n_number.h: Likewise.
56272         * argp/argp-help.c: Likewise.
56273         * posix/wordexp.c: Likewise.
56274         * sysdeps/posix/spawni.c: Likewise.
56275         * nss/nss_files/files-initgroups.c: Likewise.
56276         * stdio-common/reg-modifier.c: Include <stdlib.h>.
56277         * nss/nss_files/files-initgroups.c: Likewise.
56278         * nss/nss_db/db-netgrp.c: Likewise.
56279         * nss/nss_db/db-initgroups.c: Likewise.
56280         * io/fchmodat.c: Include <sys/stat.h>.
56282         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
56283         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
56285         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
56286         [HAVE_MMAP].
56288         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
56289         Add multiple inclusion protection.
56291 2012-07-27  David S. Miller  <davem@davemloft.net>
56293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56295 2012-07-27  Gary Benson  <gbenson@redhat.com>
56297         [BZ #14298]
56298         * elf/rtld.c: Include <stap-probe.h>.
56299         (dl_main): Added static probes "init_start" and "init_complete".
56300         * elf/dl-load.c: Include <stap-probe.h>.
56301         (lose): Take new parameter "nsid".
56302         Added static probe "map_failed".
56303         (_dl_map_object_from_fd): Pass namespace id to lose.
56304         Added static probe "map_start".
56305         (open_verify): Pass namespace id to lose.
56306         * elf/dl-open.c: Include <stap-probe.h>.
56307         (dl_open_worker) Added static probes "map_complete", "reloc_start"
56308         and "reloc_complete".
56309         * elf/dl-close.c: Include <stap-probe.h>.
56310         (_dl_close_worker): Added static probes "unmap_start" and
56311         "unmap_complete".
56312         * elf/rtld-debugger-interface.txt: New file documenting the above.
56314 2012-07-26  Roland McGrath  <roland@hack.frob.com>
56316         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
56317         rather than a string variable.
56318         * sunrpc/rpc_main.c (h_output): Likewise.
56319         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56321 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
56323         * inet/check_native.c: New file.
56325 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
56327         [BZ #13629]
56328         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56329         if larger part has absolute value 1.0.
56330         * math/s_clog10.c (__clog10): Likewise.
56331         * math/s_clog10f.c (__clog10f): Likewise.
56332         * math/s_clog10l.c (__clog10l): Likewise.
56333         * math/s_clogf.c (__clogf): Likewise.
56334         * math/s_clogl.c (__clogl): Likewise.
56335         * math/libm-test.inc (clog_test): Add more tests.
56336         (clog10_test): Likewise.
56337         * sysdeps/i386/fpu/libm-test-ulps: Update.
56338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56340         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56341         (pltexit): Likewise.
56342         (La_regs): Likewise.
56343         (La_retval): Likewise.
56344         (int_retval): Likewise.
56345         Update #error for removed macros to refer only to definitions in
56346         tst-audit.h.
56347         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56348         macro.
56349         (pltexit): Likewise.
56350         (La_regs): Likewise.
56351         (La_retval): Likewise.
56352         (int_retval): Likewise.
56353         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56354         macro.
56355         (pltexit): Likewise.
56356         (La_regs): Likewise.
56357         (La_retval): Likewise.
56358         (int_retval): Likewise.
56359         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56360         macro.
56361         (pltexit): Likewise.
56362         (La_regs): Likewise.
56363         (La_retval): Likewise.
56364         (int_retval): Likewise.
56365         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
56366         macro.
56367         (pltexit): Likewise.
56368         (La_regs): Likewise.
56369         (La_retval): Likewise.
56370         (int_retval): Likewise.
56371         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
56372         macro.
56373         (pltexit): Likewise.
56374         (La_regs): Likewise.
56375         (La_retval): Likewise.
56376         (int_retval): Likewise.
56377         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
56378         macro.
56379         (pltexit): Likewise.
56380         (La_regs): Likewise.
56381         (La_retval): Likewise.
56382         (int_retval): Likewise.
56383         * sysdeps/generic/tst-audit.h: Update comment to refer only to
56384         macro definitions in tst-audit.h.
56385         * sysdeps/i386/tst-audit.h: New file.
56386         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
56387         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
56388         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
56389         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
56390         * sysdeps/sh/tst-audit.h: Likewise.
56391         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
56392         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56393         * sysdeps/x86_64/tst-audit.h: Likewise.
56395 2012-07-26  Andreas Jaeger  <aj@suse.de>
56397         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
56398         ptrace.
56400         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
56401         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
56402         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
56403         PTRACE_O_MASK.
56404         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
56405         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
56406         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56408         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56409         value.
56411         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56412         _sigsys.
56413         (si_call_addr, si_syscall, si_arch): Define new macro.
56414         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56415         _sigsys.
56416         (si_call_addr, si_syscall, si_arch): Define new marcro.
56417         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56418         _sigsys.
56419         (si_call_addr, si_syscall, si_arch): Define new macro.
56420         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56421         _sigsys.
56422         (si_call_addr, si_syscall, si_arch): Define new macro.
56424 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56426         [BZ #13717]
56427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56428         Change to 2.4.21 where previously 2.4.1.
56429         * sysdeps/unix/sysv/linux/configure: Regenerated.
56430         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56431         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56432         Linux kernel version.
56433         (__ASSUME_STD_AUXV): Remove.
56434         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56435         kernel version.
56436         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56437         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56438         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56439         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56440         (__ASSUME_NETLINK_SUPPORT): Likewise.
56441         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56442         (__no_netlink_support): Remove conditional definition.
56443         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56444         Remove.
56445         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56446         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56447         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56448         (if_nameindex_ioctl): Remove.
56449         (if_nameindex_netlink): Do not handle __no_netlink_support.
56450         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56451         code.
56452         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56453         Remove conditional code.
56454         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56455         code.
56456         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56457         unconditional.
56458         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56459         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56460         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56461         Remove.
56462         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56463         [!__ASSUME_STD_AUXV]: Remove conditional code.
56464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56465         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56466         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56468         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56469         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56470         code.
56471         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56473         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56474         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56475         conditional code.
56476         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56478         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56479         code.
56480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56481         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56482         conditional code.
56483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56484         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56485         code unconditional.
56486         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56487         conditional code.
56488         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56489         unconditional.
56490         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56491         conditional code.
56492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56493         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56494         unconditional.
56495         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56496         conditional code.
56497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56498         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56499         code unconditional.
56500         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56501         conditional code.
56502         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56503         unconditional.
56504         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56505         conditional code.
56506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56507         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56508         code unconditional.
56509         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56510         conditional code.
56511         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56512         unconditional.
56513         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56514         conditional code.
56516 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56518         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56519         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56520         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56521         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56522         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56523         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56524         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56525         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56526         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56527         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56528         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56529         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56530         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56531         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56532         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56533         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56534         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56535         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56536         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56538         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56539         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56540         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56542 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56544         * Versions.def: Add GLIBC_2.17.
56545         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56546         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56547         Introduce __libc_secure_getenv.
56548         * stdlib/Versions (2.17): Add secure_getenv
56549         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56550         * stdlib/secure-getenv.c: Rename __secure_getenv to
56551         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56552         symbol __secure_getenv for GLIBC_2.0.
56553         * stdlib/tst-secure-getenv.c: New.
56554         * stdlib/Makefile (tests): Add testcase.
56555         * manual/startup.texi (Environment Access): Document
56556         secure_getenv.
56557         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56558         __libc_secure_getenv.
56559         * inet/ruserpass.c (ruserpass): Likewise.
56560         * malloc/mtrace.c (mtrace): Likewise.
56561         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56562         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56563         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56564         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56565         HAVE_SECURE_GETENV.
56566         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56567         __secure_getenv to __libc_secure_getenv.
56568         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56570         Likewise.
56571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56572         Likewise.
56573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56575         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56581 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56583         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56584         (struct La_i86_retval): Likewise.
56585         (struct La_x86_64_regs): Likewise.
56586         (struct La_x86_64_retval): Likewise.
56587         (struct La_x32_regs): Likewise.
56588         (struct La_x32_retval): Likewise.
56589         (struct La_ppc32_regs): Likewise.
56590         (struct La_ppc32_retval): Likewise.
56591         (struct La_ppc64_regs): Likewise.
56592         (struct La_ppc64_retval): Likewise.
56593         (struct La_sh_regs): Likewise.
56594         (struct La_sh_retval): Likewise.
56595         (struct La_s390_32_regs): Likewise.
56596         (struct La_s390_32_retval): Likewise.
56597         (struct La_s390_64_regs): Likewise.
56598         (struct La_s390_64_retval): Likewise.
56599         (struct La_sparc32_regs): Likewise.
56600         (struct La_sparc32_retval): Likewise.
56601         (struct La_sparc64_regs): Likewise.
56602         (struct La_sparc64_retval): Likewise.
56603         (struct audit_ifaces): Remove architecture-specific pltenter and
56604         pltexit members.
56605         * sysdeps/i386/ldsodefs.h: New file.
56606         * sysdeps/powerpc/ldsodefs.h: Likewise.
56607         * sysdeps/s390/ldsodefs.h: Likewise.
56608         * sysdeps/sh/ldsodefs.h: Likewise.
56609         * sysdeps/sparc/ldsodefs.h: Likewise.
56610         * sysdeps/x86_64/ldsodefs.h: Likewise.
56612 2012-07-25  Marek Polacek  <polacek@redhat.com>
56614         [BZ #6808]
56615         * math/libm-test.inc (yn_test): Add another test.
56616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56617         to ERANGE when the result is +-Inf.
56618         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56619         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56620         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56621         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56623 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56625         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56626         equal to 0.
56627         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56628         clock_t.
56629         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56631 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56633         * configure.in <sysdeps resolving>: Correct printing
56634         Implies_before.
56635         * configure: Regenerate.
56637 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56639         * math/w_ilogb.c: Include <limits.h>.
56640         * math/w_ilogbl.c: Likewise.
56642 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56644         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56645         va_copy.  Document allowing for unavailable va_copy only as
56646         pre-C99 compatibility.
56647         * manual/string.texi (Copying and Concatenation): Use va_copy
56648         instead of __va_copy in concat example.
56650 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56652         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56653         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56654         it if not null.
56656         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56657         with O_NOLINK passed to __file_name_lookup.
56659         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56660         with O_NOLINK passed to __file_name_lookup.
56662         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56663         negative N or less than NGIDS.
56665         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56666         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56667         enough.  Use memcpy instead of strncpy.
56669 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56671         * elf/Makefile (check-data): Remove.
56672         (localplt.data): New vpath directive.
56673         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56674         instead of $(check-data).
56675         * scripts/data/localplt-generic.data: Move to ...
56676         * sysdeps/generic/localplt.data: ... here.
56677         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56678         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56679         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56681         ... here.
56682         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56684         ... here.
56685         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56687         ... here.
56688         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56690         ... here.
56691         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56693         ... here.
56694         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56696         ... here.
56698 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56700         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56701         PPC32 and PPC64 files.
56702         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56703         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56705 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56707         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56708         __makecontext_ret to ...
56709         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56710         ... here and call exit if uc_link is NULL.  New file.
56711         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56712         __makecontext_ret.S.
56713         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56714         __makecontext_ret to ...
56715         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56716         ... here and call exit if uc_link is NULL.  New file.
56717         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56718         __makecontext_ret.S.
56720 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56722         * elf/elf.h (R_390_IRELATIVE): New definition.
56723         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56724         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56725         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56726         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56727         (elf_machine_lazy_rel): Likewise.
56728         * sysdeps/s390/dl-irel.h: New file.
56729         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56730         * sysdeps/s390/s390-64/memset.S: New asm code.
56731         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56732         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56733         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56734         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56735         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56736         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56737         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56738         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56739         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56740         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56741         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56742         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56743         * sysdeps/s390/s390-32/memset.S: New asm code.
56744         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56746 2012-07-17  Marek Polacek  <polacek@redhat.com>
56748         [BZ #14349]
56749         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56750         * sysdeps/s390/s390-64/configure.in: Likewise.
56751         * sysdeps/sparc/configure.in: Likewise.
56752         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56753         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56754         * sysdeps/i386/configure.in: Likewise.
56755         * sysdeps/x86_64/configure.in: Likewise.
56756         * sysdeps/sh/configure.in: Likewise.
56757         * sysdeps/s390/s390-32/configure: Regenerated.
56758         * sysdeps/s390/s390-64/configure: Likewise.
56759         * sysdeps/x86_64/configure: Likewise.
56760         * sysdeps/sh/configure: Likewise.
56761         * sysdeps/powerpc/powerpc64/configure: Likewise.
56762         * sysdeps/powerpc/powerpc32/configure: Likewise.
56763         * sysdeps/sparc/configure: Likwise.
56764         * sysdeps/i386/configure: Likewise.
56766         * elf/dl-open.c: Comment fixes.
56768 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56770         * Makefile [CXX] (check-data): Remove.
56771         [CXX] (c++-types.data): New vpath directive.
56772         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56773         vpath.  Do not allow for C++ type data being missing.
56774         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56775         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56776         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56777         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56778         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56779         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56780         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56782         ... here.
56783         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56785         ... here.
56786         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56788         ... here.
56789         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56791         ... here.
56792         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56794         ... here.
56795         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56797         ... here.
56798         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56800         ... here.
56801         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56804         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56805         definitions to architecture-specific files.
56806         (TLS_IE): Likewise.
56807         (TLS_LD): Likewise.
56808         (TLS_GD): Likewise.
56809         * sysdeps/i386/tls-macros.h: New file.
56810         * sysdeps/powerpc/tls-macros.h: Likewise.
56811         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56812         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56813         * sysdeps/sh/tls-macros.h: Likewise.
56814         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56815         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56816         * sysdeps/x86_64/tls-macros.h: Likewise.
56818 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56820         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56821         zero value for regular exit case.
56823         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56824         (__start_context): Preserve zero value for regular exit case.
56826 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56827             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56829         * manual/setjmp.texi (setcontext): Clarify normal process
56830         termination when uc_link is the null pointer.
56831         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56832         exit call.
56834 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56836         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56837         preprocessor.  Test for each exception mask separately.
56839 2012-07-16  Andreas Jaeger  <aj@suse.de>
56841         * po/ru.po: Update from translation team.
56843 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56845         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56846         equal to 0.
56847         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56848         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56849         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56850         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56851         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56853 2012-07-13  Andreas Jaeger  <aj@suse.de>
56855         * po/fr.po: Update from translation team.
56857 2012-07-12  Marek Polacek  <polacek@redhat.com>
56859         [BZ #14173]
56860         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56861         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56862         loop condition.
56864 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56866         [BZ #13717]
56867         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56868         Change to 2.4.1 where previously 2.4.0.
56869         * sysdeps/unix/sysv/linux/configure: Regenerated.
56870         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56871         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56872         version.
56873         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56874         (__ASSUME_AT_CLKTCK): Remove.
56875         (__ASSUME_AT_PAGESIZE): Likewise.
56876         (__ASSUME_AT_XID): Likewise.
56877         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56878         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56879         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56880         unconditionally.
56881         (HAVE_AUX_PAGESIZE): Likewise.
56882         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56883         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56884         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56886 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56888         [BZ #14307]
56889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56890         the temporary buffer used to invoke __gethostbyname2_r,
56891         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56892         host_data / struct gaih_addrtuple.
56893         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56894         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56895         header file nss/nsswitch.h.
56896         * nss/nsswitch.h (global scope): Add definition of implementation
56897         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56898         resolv/nss_dns/dns-host.c).
56900 2012-07-11  Andreas Jaeger  <aj@suse.de>
56902         * po/fr.po: Update from translation team.
56904         * po/sv.po: Update from translation team
56905         * po/fr.po: Another update from translation team.
56907 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56909         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56910         for subnormals or multiply small sinh result by itself.
56911         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56914 2012-07-11  David S. Miller  <davem@davemloft.net>
56916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56918 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56920         [BZ #14347]
56921         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56922         (INTERNAL_MARK): Shift it here.
56924 2012-07-10  Marek Polacek  <polacek@redhat.com>
56926         [BZ #14151]
56927         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56928         libc_cv_asm_global_directive with .globl.
56929         * configure: Regenerated.
56930         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56931         with .globl.
56932         * sysdeps/i386/configure: Regenerated.
56933         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56934         with .globl.
56935         * sysdeps/x86_64/configure: Regenerated.
56936         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56937         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56938         * elf/tst-unique2mod2.c: Likewise.
56939         * elf/tst-unique2mod1.c: Likewise.
56940         * elf/tst-unique1mod2.c: Likewise.
56941         * elf/tst-unique1mod1.c: Likewise.
56942         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56943         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56944         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56945         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56946         * sysdeps/mach/sysdep.h: Likewise.
56947         * sysdeps/i386/sysdep.h: Likewise.
56948         * sysdeps/i386/i386-mcount.S: Likewise.
56949         * sysdeps/x86_64/_mcount.S: Likewise.
56950         * sysdeps/x86_64/sysdep.h: Likewise.
56951         * sysdeps/sh/_mcount.S: Likewise.
56952         * sysdeps/sh/sysdep.h: Likewise.
56953         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56954         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56955         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56956         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56957         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56958         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56959         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56960         * locale/localeinfo.h: Likewise.
56961         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56962         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56964 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56966         [BZ #14336]
56967         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56968         system".
56969         * manual/message.texi (The Uniforum approach): Likewise.
56970         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56971         (glibc iconv Implementation): Likewise.
56973 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56975         [BZ #14337]
56976         * math/s_clog.c (__clog): Avoid scaling a value down where that
56977         could result in underflow.
56978         * math/s_clog10.c (__clog10): Likewise.
56979         * math/s_clog10f.c (__clog10f): Likewise.
56980         * math/s_clog10l.c (__clog10l): Likewise.
56981         * math/s_clogf.c (__clogf): Likewise.
56982         * math/s_clogl.c (__clogl): Likewise.
56983         * math/libm-test.inc (clog_test): Add more tests.
56984         (clog10_test): Likewise.
56985         * sysdeps/i386/fpu/libm-test-ulps: Update.
56986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56988 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56990         [BZ #14283]
56991         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56992         by 7 not 8 to examine high bit of fractional part.
56994         [BZ #14042]
56995         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56996         for call to __mcount_internal.
56997         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56998         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56999         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
57001 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
57003         [BZ #14154]
57004         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
57005         approximation for values within 0x1p-13f of an odd multiple of
57006         pi/4.
57007         * math/libm-test.inc (tan_test): Do not allow spurious underflow
57008         exception.  Add more tests.
57009         * sysdeps/i386/fpu/libm-test-ulps: Update.
57011         [BZ #6778]
57012         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
57013         inputs and return -1 for them.  Do not check for +Inf in case not
57014         reachable for +Inf.
57015         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57016         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
57017         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57018         and return -1 for them.  Do not check for +Inf in case not
57019         reachable for +Inf.
57020         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
57021         define.
57022         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57023         and return -1 for them.  Do not check for +Inf in case not
57024         reachable for +Inf.
57025         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
57026         spurious underflow.
57027         * sysdeps/i386/fpu/libm-test-ulps: Update.
57028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57030 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
57032         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
57034 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
57036         [BZ #14157]
57037         [BZ #14331]
57038         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
57039         could result in spurious underflow.  Scale down values above
57040         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
57041         * math/s_csqrtf.c (__csqrtf): Likewise.
57042         * math/s_csqrtl.c (__csqrtl): Likewise.
57043         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
57044         spurious underflow.
57045         * sysdeps/i386/fpu/libm-test-ulps: Update.
57046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57048 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
57050         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
57051         xopen-msg.sed.
57052         * catgets/xopen-msg.awk: New file.
57053         * catgets/xopen-msg.sed: Removed.
57055         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
57056         po2text.sed.
57057         * intl/po2test.awk: New file.
57058         * intl/po2test.sed: Removed.
57060 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
57062         [BZ #14328]
57063         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
57064         or multiply small sinh result by itself.
57065         * math/s_ctanf.c (__ctanf): Likewise.
57066         * math/s_ctanh.c (__ctanh): Likewise.
57067         * math/s_ctanhf.c (__ctanhf): Likewise.
57068         * math/s_ctanhl.c (__ctanhl): Likewise.
57069         * math/s_ctanl.c (__ctanl): Likewise.
57070         * math/libm-test.inc (ctan_test_tonearest): New function.
57071         (ctan_test_towardzero): Likewise.
57072         (ctan_test_downward): Likewise.
57073         (ctan_test_upward): Likewise.
57074         (ctanh_test_tonearest): Likewise.
57075         (ctanh_test_towardzero): Likewise.
57076         (ctanh_test_downward): Likewise.
57077         (ctanh_test_upward): Likewise.
57078         (main): Call these new functions.
57079         * sysdeps/i386/fpu/libm-test-ulps: Update.
57080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57082 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
57084         * .gitignore: Delete /ports entry.
57086 2012-07-03  Andreas Jaeger  <aj@suse.de>
57088         * po/bg.po: Update from translation team.
57089         * po/cs.po: Likewise.
57090         * po/de.po: Likewise.
57091         * po/hr.po: Likewise.
57092         * po/nl.pl: Likewise.
57093         * po/pl.po: Likewise.
57094         * po/vi.po: Likewise.
57096 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
57098         * Makeconfig [!+link] (+link-before-libc): New variable.
57099         [!+link] (+link-after-libc): Likewise.
57100         [!+link] (+link-tests): Likewise.
57101         [!+link] (+link): Define in terms of $(+link-before-libc) and
57102         $(+link-after-libc).
57103         [!+link-static] (+link-static-before-libc): New variable.
57104         [!+link-static] (+link-static-after-libc): Likewise.
57105         [!+link-static] (+link-static-tests): Likewise.
57106         [!+link-static] (+link-static): Define in terms of
57107         $(+link-static-before-libc) and $(+link-static-after-libc).
57108         [build-shared] (link-libc-before-gnulib): New variable.
57109         [build-shared] (link-libc-tests): Likewise.
57110         [build-shared] (link-libc): Define in terms of
57111         $(link-libc-before-gnulib).
57112         [!build-shared] (link-libc-tests): New variable.
57113         (link-libc-static-tests): New variable.
57114         [!gnulib] (gnulib-arch): New variable.
57115         [!gnulib] (gnulib-tests): Likewise.
57116         [!gnulib] (static-gnulib-arch): Likewise.
57117         [!gnulib] (static-gnulib-tests): Likewise.
57118         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
57119         Define with "=" instead of ":=".
57120         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
57121         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
57122         * Rules (binaries-all-notests): New variable.
57123         (binaries-all-tests): Likewise.
57124         (binaries-static-notests): Likewise.
57125         (binaries-static-tests): Likewise.
57126         (binaries-all): Define using $(binaries-all-notests) and
57127         $(binaries-all-tests).
57128         (binaries-static): Define using $(binaries-static-notests) and
57129         $(binaries-static-tests).
57130         (binaries-shared-tests): New variable.
57131         (binaries-shared-notests): Likewise.
57132         (binaries-shared): Remove variable.
57133         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
57134         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
57135         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
57136         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
57137         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
57138         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
57139         * elf/Makefile (sln-modules): New variable.
57140         (extra-objs): Add $(sln-modules:=.o).
57141         (ldconfig-modules): Add static-stubs.
57142         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
57143         * elf/static-stubs.c: New file.
57145         [BZ #14283]
57146         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
57147         by 7 not 8 to examine high bit of fractional part.  Use volatile
57148         variables when splitting into final array of floats if
57149         __FLT_EVAL_METHOD__ != 0.
57150         * math/libm-test.inc (cos_test): Add another test.
57151         (sin_test): Likewise.
57152         * sysdeps/i386/fpu/libm-test-ulps: Update.
57154         [BZ #14273]
57155         * math/libm-test.inc (cosh_test): Add more tests.
57157         * version.h (RELEASE): Set to "development".
57158         (VERSION): Set to "2.16.90".
57160 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
57162         * NEWS: Update copyright. Remove last-updated date.
57163         Mention math library bug fixes and timezone data changes.
57164         * README: Mention GNU/Hurd, x32, and HPPA support status.
57166 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
57168         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
57170 2012-06-27  Andreas Jaeger  <aj@suse.de>
57172         * manual/contrib.texi (Contributors): Add Samuel Thibault.
57174 2012-06-25  Andreas Jaeger  <aj@suse.de>
57176         * sysdeps/s390/fpu/libm-test-ulps: Update.
57178 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
57179             Thomas Schwinge  <thomas@codesourcery.com>
57181         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
57182         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
57183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
57184         fanotify_mark.
57186 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
57188         * sysdeps/mach/start.c: Remove file.
57189         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
57190         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
57191         * sysdeps/sh/init-first.c: Likewise.
57193         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
57194         registers for frame unwinding purposes, add CFI directives.
57195         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57196         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
57197         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
57198         Likewise.
57200         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
57201         __fortify_fail returning.
57202         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57204         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
57205         sysdeps/sh/____longjmp_chk.S.
57206         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
57207         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
57208         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
57209         (gen-as-const-headers): Append sigaltstack-offsets.sym.
57211         * sysdeps/sh/abort-instr.h: New file.
57212         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
57213         process in case exit returns.
57215         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
57216         initialize the GOT register before use.
57218         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
57219         calculation of ARGC > 4.
57221         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
57222         meaningful names to some local labels.
57224 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57225             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57227         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
57228         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
57229         (__arch_compare_and_exchange_val_16_acq): Likewise.
57230         (__arch_compare_and_exchange_val_32_acq): Likewise.
57231         (atomic_exchange_and_add): Fix gUSA sequence.
57232         (atomic_add): Likewise.
57233         (atomic_add_negative): Likewise.
57234         (atomic_add_zero): Likewise.
57235         (atomic_bit_test_set): Likewise.
57237 2012-06-22  Andreas Schwab  <schwab@redhat.com>
57239         [BZ #13579]
57240         * include/link.h (struct link_map): Add l_free_initfini.
57241         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
57242         l_initfini.
57243         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
57244         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
57245         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
57246         set.
57248 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
57250         * configure.in: Use AC_LANG_SOURCE.
57251         * configure: Regenerate.
57253 2012-06-22  Roland McGrath  <roland@hack.frob.com>
57255         * configure.in (libc_cv_localstatedir): New substituted variable.
57256         * configure: Regenerated.
57257         * config.make.in (localstatedir): New variable, substituted from
57258         libc_cv_localstatedir.
57259         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
57260         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
57261         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
57262         * sysdeps/gnu/configure: Regenerated.
57264 2012-06-21  Jeff Law  <law@redhat.com>
57266         [BZ #14277]
57267         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
57268         free.  Simplify list management for _LIBC case.
57270 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
57272         [BZ #14273]
57273         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
57274         Clear sign bit of 64-bit integer value before comparing against
57275         overflow value.
57277         * sysdeps/mach/configure: Regenerated.
57279 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
57281         [BZ #14278]
57282         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
57284 2012-06-21  Jeff Law  <law@redhat.com>
57286         [BZ #13882]
57287         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
57288         uint16_t for elements in the "seen" array to avoid char overflows.
57289         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57290         * elf/dl-open.c (dl_open_worker): Likewise.
57292 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
57294         * scripts/list-sources.sh: Scan PORTS for translations.
57295         * po/libc.pot: Regenerated.
57297 2012-06-21  Andreas Jaeger  <aj@suse.de>
57299         [BZ #12194]
57300         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
57301         warning.
57302         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
57303         * bits/byteswap-16.h (__bswap_16): Likewise.
57304         * bits/byteswap.h (__bswap_constant_16): Likewise.
57306 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
57308         [BZ #14117]
57309         * sysdeps/i386/fpu_control.h: Removed.
57310         * sysdeps/x86_64/fpu_control.h: Moved to ...
57311         * sysdeps/x86/fpu_control.h: Here.
57313         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
57314         (_FPU_SETCW): Likewise.
57316 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
57318         [BZ #14117]
57319         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57320         * sysdeps/x86/fpu/bits/mathinline.h: This.
57321         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57323         [BZ #14050]
57324         [BZ #14117]
57325         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57326         functions if __x86_64__ is defined.
57328 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
57330         * string/endian.h: Add !__ASSEMBLER__ condition for including
57331         conversion interfaces.
57333 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
57335         [BZ #14241]
57336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57337         of ABS(x) in calculating zero to negative powers other than odd
57338         integers.
57339         * math/libm-test.inc (pow_test): Add more tests.
57341 2012-06-15  Andreas Jaeger  <aj@suse.de>
57343         * manual/contrib.texi (Contributors): Update entry of Liubov
57344         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57345         Machado Filho.
57347 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
57349         * string/string.h: Add __wur to GNU version of strerror_r.
57351 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
57353         [BZ #14229]
57354         * string/Makefile (tests): Add tst-strtok_r.
57355         * string/tst-strtok_r.c: New file.
57356         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57357         RAX_LP/RDX_LP on SAVE_PTR.
57359 2012-06-14  Roland McGrath  <roland@hack.frob.com>
57361         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57363 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
57365         * libm_test.inc (csqrt_test): Allow more spurious underflow
57366         exceptions.
57367         (j0_test): Likewise.
57368         (j1_test): Likewise.
57369         (y0_test): Likewise.
57370         (y1_test): Likewise.
57372 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
57374         * po/Makefile (libc.pot): Use UTF-8 charset.
57376 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
57378         [BZ #14210]
57379         Suppress sign-conversion warning from FD_SET.
57380         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
57381         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
57382         not unsigned long int.
57383         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
57385 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
57387         [BZ #14050]
57388         [BZ #14117]
57389         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
57390         __extern_always_inline instead of __extern_inline.
57391         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
57392         (__signbit): Likewise.
57393         (__signbitl): Support C++ namespace.
57394         (lrintf): New inline function.
57395         (lrint): Likewise.
57396         (llrintf): Likewise.
57397         (llrint): Likewise.
57398         (fmaxf): Likewise.
57399         (fmax): Likewise.
57400         (fminf): Likewise.
57401         (fmin): Likewise.
57402         (rint): Likewise.
57403         (rintf): Likewise.
57404         (ceil): Likewise.
57405         (ceilf): Likewise.
57406         (floor): Likewise.
57407         (floorf): Likewise.
57408         (nearbyint): Likewise.
57409         (nearbyintf): Likewise.
57411 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
57413         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57414         non-default versions.
57416 2012-06-11  Roland McGrath  <roland@hack.frob.com>
57418         [BZ #14218]
57419         * manual/argp.texi (Argp): Reword argp_parse description slightly.
57421 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
57423         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57424         (FE_UPWARD, FE_DOWNWARD): Don't define.
57425         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57426         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57428         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57429         reading it.
57430         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57431         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57433 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57435         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57436         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57437         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57438         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57440 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
57442         [BZ #14117]
57443         * sysdeps/i386/fpu/bits/fenv.h: Removed.
57444         * sysdeps/i386/fpu/Implies: New file.
57445         * sysdeps/x86_64/fpu/Implies: Likewise.
57446         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57447         * sysdeps/x86/fpu/bits/fenv.h: This.
57449         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57450         __SSE_MATH__.
57452 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57454         [BZ #14134]
57455         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57456         character 0xffff that matches the last element of the
57457         conversion table.
57459 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57461         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57462         fmodl commit.
57464 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57466         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57467         values higher than 25.6283.
57469 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57471         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57472         subnormal exponent extraction and add some __builtin_expect.
57473         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57474         Fix for subnormal mantissa calculation.
57476 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57478         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57479         cpu2 is -1 and errno is not ENOSYS.
57481 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57483         [BZ #14117]
57484         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57485         * sysdeps/x86/bits/string.h: This.
57486         * sysdeps/x86_64/bits/string.h: Removed.
57488         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57489         if not compiling for x86-64, but compiling for >= i486.
57491         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57492         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57494         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57495         New macro from Linux kernel 3.4.0.
57496         (FP_XSTATE_MAGIC2): Likewise.
57497         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57498         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57499         (struct _fpx_sw_bytes): New struct.
57500         (struct _xsave_hdr): Likewise.
57501         (struct _ymmh_state): Likewise.
57502         (struct _xstate): Likewise.
57504         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57505         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57506         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57507         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57508         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57509         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57511         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57512         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57513         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57514         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57515         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57516         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57518 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57520         [BZ #13743]
57521         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57522         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57523         (sysdep_headers): Include sys/platform/ppc.h.
57524         * sysdeps/powerpc/test-gettimebase.c: Test for
57525         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57526         * manual/Makefile (appendices): Include platform.texi.
57527         * manual/contrib.texi (Contributors): Update @node pointers.
57528         * manual/maint.texi (Maintenance): Likewise.
57529         (Platform): New node.
57530         * manual/platform.texi: New file.  Document the new features.
57532 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57533             Jakub Jelinek  <jakub@redhat.com>
57535         [BZ #14188]
57536         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57537         where __builtin_expect is unavailable.
57539 2012-06-03  David S. Miller  <davem@davemloft.net>
57541         * stdlib/longlong.h: Updated from GCC.
57543 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57545         [BZ #14042]
57546         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57547         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57548         __mcount_internal.
57549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57550         (GLIBC_2.16): Likewise.
57552 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57554         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57556 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57559         (default-abi): New variable.
57560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57561         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57562         variable.
57563         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57564         Likewise.
57565         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57566         Likewise.
57567         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57568         Likewise.
57570         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57571         definition.  Document in comment.
57573 2012-06-01  David S. Miller  <davem@davemloft.net>
57575         * stdlib/longlong.h: Updated from GCC.
57577 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57579         [BZ #14117]
57580         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57581         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57582         sys/debugreg.h sys/io.h here.
57583         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57584         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57585         sys/io.h.
57586         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57587         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57588         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57589         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57590         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57591         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57593         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57594         Define only if __x86_64__ is defined.
57596 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57598         [BZ #14048]
57599         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57600         Use int64_t for variable i.
57601         * math/libm-test.inc (fmod_test): Add more tests.
57603         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57604         z computation is not scheduled after fetestexcept.
57605         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57606         Use math_force_eval instead of asm to ensure calculation scheduled
57607         before exception test.
57608         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57609         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57611 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57613         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57614         computation is not scheduled after fetestexcept.
57616 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57618         [BZ #14117]
57619         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57620         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57622 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57624         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57625         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57627 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57629         [BZ #14117]
57630         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57631         <bits/wordsize.h>.
57632         (__WCHAR_MIN): Support __WORDSIZE == 64.
57633         (__WCHAR_MAX): Likewise.
57635         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57636         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57638         [BZ #14183]
57639         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57640         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57642         [BZ #14117]
57643         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57644         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57646         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57647         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57649         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57650         Defined to 1 if __x86_64__ isn't defined.
57651         (_STAT_VER_LINUX_OLD): New.
57652         (st_atime): Remove duplicate.
57653         (st_mtime): Likewise.
57654         (st_ctime): Likewise.
57656 2012-05-31  David S. Miller  <davem@davemloft.net>
57658         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57659         entries.
57661 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57663         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57664         gen-libm-test.pl.
57666         [BZ #14132]
57667         * elf/dl-reloc.c: Include <_itoa.h>.
57668         (_dl_reloc_bad_type): Remove use of INTUSE.
57669         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57670         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57671         * stdio-common/psiginfo.c (psiginfo): Likewise.
57672         * stdio-common/psignal.c (psignal): Likewise.
57673         * string/strsignal.c (strsignal): Likewise.
57674         * include/signal.h (_sys_siglist): Declare hidden proto.
57675         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57676         INTVARDEF with libc_hidden_data_def.
57677         * stdio-common/itoa-udigits.c: Likewise.
57678         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57679         (_itoa_lower_digits_internal): Remove declaration.
57680         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57681         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57682         (_sys_sigabbrev_internal): Remove aliases.
57683         (_sys_siglist): Define hidden alias.
57685 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57688         bits/sysctl.h.
57690 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57692         [BZ #14117]
57693         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57694         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57696         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57697         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57698         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57699         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57700         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57701         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57703         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57704         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57705         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57707         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57708         with __addr.
57709         (insw): Likewise.
57710         (insl): Likewise.
57711         (outsb): Likewise.
57712         (outsw): Likewise.
57713         (outsl): Likewise.
57715         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57717         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57719         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57720         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57721         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57722         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57723         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57724         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57726         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57727         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57729         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57730         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57732         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57733         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57734         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57736         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57737         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57738         to ...
57739         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57741         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57742         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57743         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57745         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57746         for x86-64.
57747         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57749 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57751         * math/math.h (M_El): Use two more decimal places.
57752         (M_LOG2El): Likewise.
57753         (M_LOG10El): Likewise.
57754         (M_LN2l): Likewise.
57755         (M_LN10l): Likewise.
57756         (M_PIl): Likewise.
57757         (M_PI_2l): Likewise.
57758         (M_PI_4l): Likewise.
57759         (M_1_PIl): Likewise.
57760         (M_2_PIl): Likewise.
57761         (M_2_SQRTPIl): Likewise.
57762         (M_SQRT2l): Likewise.
57763         (M_SQRT1_2l): Likewise.
57765 2012-05-31  David S. Miller  <davem@davemloft.net>
57767         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57768         values between float registers.
57769         * sysdeps/sparc/sparc64/memset.S: Likewise.
57770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57772 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57774         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57775         -D_FORTIFY_SOURCE=1.
57776         (CPPFLAGS-tst-longjmp_chk.c): Define.
57777         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57778         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57779         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57780         CFLAGS-tst-wchar-h.c.
57782 2012-05-31  Marek Polacek  <polacek@redhat.com>
57784         [BZ #14132]
57785         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57786         __endmntent_internal): Remove declaration.
57787         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57788         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57789         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57791 2012-05-30  David S. Miller  <davem@davemloft.net>
57793         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57794         (___Q_simulate_exceptions): Use real FP ops rather than writing
57795         into the %fsr.
57796         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57797         Likewise.
57799 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57801         [BZ #14117]
57802         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57803         * sysdeps/x86/bits/xtitypes.h: This.
57805         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57806         * sysdeps/x86/bits/wordsize.h: This.
57808         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57809         * sysdeps/x86/bits/huge_vall.h: This.
57811         * sysdeps/i386/bits/select.h: Removed.
57812         * sysdeps/x86_64/bits/select.h: Renamed to ...
57813         * sysdeps/x86/bits/select.h: This.
57815         * sysdeps/i386/bits/setjmp.h: Removed.
57816         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57817         * sysdeps/x86/bits/setjmp.h: This.
57819         * sysdeps/i386/bits/mathdef.h: Removed.
57820         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57821         * sysdeps/x86/bits/mathdef.h: This.
57823 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57825         [BZ #14132]
57826         * include/sys/socket.h (__connect_internal)
57827         (__libc_sa_len_internal): Remove declaration.
57828         (__connect, __libc_sa_len): Declare hidden_proto.
57829         (SA_LEN): Remove use of INTUSE.
57830         * socket/connect.c: Add libc_hidden_def.
57831         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57832         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57833         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57834         alias.
57835         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57836         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57837         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57838         of adding _internal alias.
57840 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57842         [BZ #14117]
57843         * sysdeps/i386/bits/link.h: Removed.
57844         * sysdeps/i386/bits/linkmap.h: Likewise.
57845         * sysdeps/x86_64/bits/link.h: Renamed to ...
57846         * sysdeps/x86/bits/link.h: This.
57847         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57848         * sysdeps/x86/bits/linkmap.h: This.
57850         * sysdeps/i386/bits/endian.h: Removed.
57851         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57852         * sysdeps/x86/bits/endian.h: This.
57854         * sysdeps/i386/bits/byteswap.h: Removed.
57855         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57856         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57857         * sysdeps/x86/bits/byteswap.h: This.
57858         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57859         * sysdeps/x86/bits/byteswap-16.h: This.
57860         * sysdeps/i386/Implies: Add x86.
57861         * sysdeps/x86_64/Implies: Likewise.
57863 2012-05-30  David S. Miller  <davem@davemloft.net>
57865         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57866         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57867         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57868         (FP_TRAPPING_EXCEPTIONS): Define.
57869         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57870         (FP_TRAPPING_EXCEPTIONS): Define.
57871         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57872         subnormals only when inexact has been signalled or underflow
57873         exceptions are enabled.
57874         (_FP_PACK_CANONICAL): Likewise.
57876 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57878         [BZ #14183]
57879         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57880         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57882 2012-05-30  Richard Henderson  <rth@twiddle.net>
57884         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57885         with #ifndef NOT_IN_libc.
57887         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57888         marked to avoid plt entry.
57890 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57892         [BZ #14112]
57893         * Makeconfig (default-abi): New macro.
57894         (abi-includes): Likewise.
57895         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57896         $(abi-$(default-abi)-lib-soname) for soname if defined.
57897         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57898         abi-variants.
57899         * Makefile (installed-stubs): Likewise.
57900         * include/stubs-biarch.h: Removed.
57901         * scripts/lib-names.awk: Only handle one library at a time.
57902         * scripts/soversions.awk: Remove WORDSIZE support.
57903         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57904         entries.
57905         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57906         Removed.
57907         (syscall-list-default-condition): Likewise.
57908         (syscall-list-default-condition): Likewise.
57909         (syscall-list-includes): Likewise.
57910         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57911         syscall-list-* with abi-*.  Handle undefined abi-variants.
57912         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57913         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57914         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57915         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57916         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57917         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57918         Removed.
57919         (syscall-list-32-options): Likewise.
57920         (syscall-list-32-condition): Likewise.
57921         (syscall-list-64-options): Likewise.
57922         (syscall-list-64-condition): Likewise.
57923         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57924         macro.
57925         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57926         Renamed to ...
57927         (abi-*): This.
57928         (abi-64-ld-soname): New macro.
57929         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57930         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57931         Renamed to ...
57932         (abi-*): This.
57933         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57934         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57936 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57938         * sysdeps/unix/sysv/linux/kernel-features.h
57939         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57940         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57941         include <kernel-features.h>.
57942         [!__NR_ftruncate64]: Remove conditional code.
57943         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57944         [__NR_ftruncate64]: Make code unconditional.
57945         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57946         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57947         include <kernel-features.h>.
57948         [!__NR_ftruncate64]: Remove conditional code.
57949         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57950         [__NR_ftruncate64]: Make code unconditional.
57951         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57953         include <kernel-features.h>.
57954         [!__NR_ftruncate64]: Remove conditional code.
57955         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57956         [__NR_ftruncate64]: Make code unconditional.
57957         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57959         include <kernel-features.h>.
57960         [!__NR_ftruncate64]: Remove conditional code.
57961         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57962         [__NR_ftruncate64]: Make code unconditional.
57963         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57965         * configure.in (libc_cv_fpie): Weaken to a compile test using
57966         LIBC_TRY_CC_OPTION.
57967         * configure: Regenerated.
57969 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57975         Refreshed.
57976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57982         Refreshed.
57984 2012-05-27  David S. Miller  <davem@davemloft.net>
57986         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57987         (___Q_zero): New.
57988         (__Q_simulate_exceptions): Return void.  Change to simulate
57989         exceptions by writing into the %fsr.
57990         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57991         (__Qp_handle_exceptions): Likewise.
57992         (numbers): Delete.
57993         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57994         __Qp_handle_exceptions.
57995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57996         __Qp_handle_exceptions.
57997         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57998         as unused and give dummy FP_RND_NEAREST initializer.
57999         (FP_INHIBIT_RESULTS): Define.
58000         (___Q_simulate_exceptions): Update declaration.
58001         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
58002         formatting.
58003         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58004         as unused and give dummy FP_RND_NEAREST initializer.
58005         (__Qp_handle_exceptions): Update declaration.
58006         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
58007         formatting.
58009 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
58011         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
58012         the temporary FPU control word.
58013         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
58014         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
58015         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
58016         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58017         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58018         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
58019         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
58020         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58021         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
58022         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
58023         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58025 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58027         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
58028         fields.
58030 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
58032         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
58033         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
58034         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
58035         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
58036         Likewise.
58037         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
58038         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
58039         Likewise.
58041 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
58043         * po/h.po: Update from translation team.
58045 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
58047         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
58049         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
58050         handling of denormals.
58051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58052         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
58053         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58054         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
58057         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
58058         Likewise.
58060 2012-05-26  Marek Polacek  <polacek@redhat.com>
58062         [BZ #14152]
58063         * math/libm-test.inc (fma_test): Don't always expect underflow
58064         exception.
58066 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58068         [BZ #12416]
58069         * elf/tst-execstack.c: Include stackinfo.h.
58070         (do_test): Adjust test case to ensure that pthread_getattr_np
58071         behaviour remains the same after marking stack executable.
58073 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58075         * sysdeps/unix/sysv/linux/kernel-features.h
58076         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
58077         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
58078         kernel-features.h.
58079         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58080         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58081         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
58082         kernel-features.h.
58083         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58084         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58086 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
58088         * configure.in: Define the default includes to being none.
58089         * configure: Regenerated.
58091 2012-05-25  Roland McGrath  <roland@hack.frob.com>
58093         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
58094         * sysdeps/x86_64/setjmp.S: Likewise.
58095         * sysdeps/i386/bsd-setjmp.S: Likewise.
58096         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58097         * sysdeps/i386/setjmp.S: Likewise.
58098         * sysdeps/i386/__longjmp.S: Likewise.
58099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58100         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
58102         * include/stap-probe.h: New file.
58103         * configure.in: Handle --enable-systemtap.
58104         * configure: Regenerated.
58105         * config.h.in (USE_STAP_PROBE): New #undef.
58106         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
58107         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
58108         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58110 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58112         [BZ #13717]
58113         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58114         to 2.4.0 where earlier.
58115         * sysdeps/unix/sysv/linux/configure: Regenerated.
58116         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58117         <kernel-features.h>.
58118         [__ASSUME_32BITUIDS]: Make code unconditional.
58119         [!__ASSUME_32BITUIDS]: Remove conditional code.
58120         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
58121         <kernel-features.h>.
58122         [__ASSUME_32BITUIDS]: Make code unconditional.
58123         [!__ASSUME_32BITUIDS]: Remove conditional code.
58124         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
58125         [__ASSUME_32BITUIDS]: Make code unconditional.
58126         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
58127         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
58128         <kernel-features.h>.
58129         [__ASSUME_32BITUIDS]: Make code unconditional.
58130         [!__ASSUME_32BITUIDS]: Remove conditional code.
58131         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
58132         <kernel-features.h>.
58133         [__ASSUME_32BITUIDS]: Make code unconditional.
58134         [!__ASSUME_32BITUIDS]: Remove conditional code.
58135         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
58136         <kernel-features.h>.
58137         [__ASSUME_32BITUIDS]: Make code unconditional.
58138         [!__ASSUME_32BITUIDS]: Remove conditional code.
58139         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
58140         <kernel-features.h>.
58141         [__ASSUME_32BITUIDS]: Make code unconditional.
58142         [!__ASSUME_32BITUIDS]: Remove conditional code.
58143         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58144         <kernel-features.h>.
58145         [__ASSUME_32BITUIDS]: Make code unconditional.
58146         [!__ASSUME_32BITUIDS]: Remove conditional code.
58147         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58148         <kernel-features.h>.
58149         [__ASSUME_32BITUIDS]: Make code unconditional.
58150         [!__ASSUME_32BITUIDS]: Remove conditional code.
58151         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
58152         <kernel-features.h>.
58153         [__ASSUME_32BITUIDS]: Make code unconditional.
58154         [!__ASSUME_32BITUIDS]: Remove conditional code.
58155         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58156         <kernel-features.h>.
58157         [__ASSUME_32BITUIDS]: Make code unconditional.
58158         [!__ASSUME_32BITUIDS]: Remove conditional code.
58159         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58160         <kernel-features.h>.
58161         [__ASSUME_32BITUIDS]: Make code unconditional.
58162         [!__ASSUME_32BITUIDS]: Remove conditional code.
58163         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
58164         <kernel-features.h>.
58165         [__ASSUME_32BITUIDS]: Make code unconditional.
58166         [!__ASSUME_32BITUIDS]: Remove conditional code.
58167         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
58168         <kernel-features.h>.
58169         [__NR_setresgid] (__setresgid): Do not declare.
58170         [__ASSUME_32BITUIDS]: Make code unconditional.
58171         [!__ASSUME_32BITUIDS]: Remove conditional code.
58172         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
58173         <kernel-features.h>.
58174         [__NR_setresuid] (__setresuid): Do not declare.
58175         [__ASSUME_32BITUIDS]: Make code unconditional.
58176         [!__ASSUME_32BITUIDS]: Remove conditional code.
58177         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
58178         <kernel-features.h>.
58179         [__ASSUME_32BITUIDS]: Make code unconditional.
58180         [!__ASSUME_32BITUIDS]: Remove conditional code.
58181         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
58182         <kernel-features.h>.
58183         [__ASSUME_32BITUIDS]: Make code unconditional.
58184         [!__ASSUME_32BITUIDS]: Remove conditional code.
58185         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
58186         <kernel-features.h>.
58187         [__ASSUME_32BITUIDS]: Make code unconditional.
58188         [!__ASSUME_32BITUIDS]: Remove conditional code.
58189         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
58190         <kernel-features.h>.
58191         [__ASSUME_32BITUIDS]: Make code unconditional.
58192         [!__ASSUME_32BITUIDS]: Remove conditional code.
58193         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
58194         <kernel-features.h>.
58195         [__ASSUME_32BITUIDS]: Make code unconditional.
58196         [!__ASSUME_32BITUIDS]: Remove conditional code.
58197         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
58198         <kernel-features.h>.
58199         [__ASSUME_32BITUIDS]: Make code unconditional.
58200         [!__ASSUME_32BITUIDS]: Remove conditional code.
58201         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
58202         <kernel-features.h>.
58203         [__ASSUME_32BITUIDS]: Make code unconditional.
58204         [!__ASSUME_32BITUIDS]: Remove conditional code.
58205         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
58206         <kernel-features.h>.
58207         [__ASSUME_32BITUIDS]: Make code unconditional.
58208         [!__ASSUME_32BITUIDS]: Remove conditional code.
58209         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
58210         <kernel-features.h>.
58211         [__ASSUME_32BITUIDS]: Make code unconditional.
58212         [!__ASSUME_32BITUIDS]: Remove conditional code.
58213         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58214         <kernel-features.h>.
58215         [__ASSUME_32BITUIDS]: Make code unconditional.
58216         [!__ASSUME_32BITUIDS]: Remove conditional code.
58217         * sysdeps/unix/sysv/linux/kernel-features.h
58218         (__ASSUME_SETRESUID_SYSCALL): Remove.
58219         (__ASSUME_SETRESGID_SYSCALL): Likewise.
58220         (__ASSUME_32BITUIDS): Likewise.
58221         (__ASSUME_LDT_WORKS): Likewise.
58222         (__ASSUME_O_DIRECTORY): Likewise.
58223         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
58224         architecture but not kernel version.
58225         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
58226         (__ASSUME_MMAP2_SYSCALL): Likewise.
58227         (__ASSUME_STAT64_SYSCALL): Likewise.
58228         (__ASSUME_IPC64): Likewise.
58229         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
58230         <kernel-features.h>.
58231         [__ASSUME_32BITUIDS]: Make code unconditional.
58232         [!__ASSUME_32BITUIDS]: Remove conditional code.
58233         * sysdeps/unix/sysv/linux/opendir.c: Do not include
58234         <kernel-features.h>.
58235         [__ASSUME_O_DIRECTORY]: Make code unconditional.
58236         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
58237         132096]: Remove conditional code.
58238         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
58239         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58240         <kernel-features.h>.
58241         [__ASSUME_32BITUIDS]: Make code unconditional.
58242         [!__ASSUME_32BITUIDS]: Remove conditional code.
58243         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58244         <kernel-features.h>.
58245         [__ASSUME_32BITUIDS]: Make code unconditional.
58246         [!__ASSUME_32BITUIDS]: Remove conditional code.
58247         * sysdeps/unix/sysv/linux/setegid.c: Do not include
58248         <kernel-features.h>.
58249         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
58250         unconditional.
58251         (__setresgid): Do not declare.
58252         [__ASSUME_32BITUIDS]: Make code unconditional.
58253         [!__ASSUME_32BITUIDS]: Remove conditional code.
58254         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
58255         <kernel-features.h>.
58256         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
58257         unconditional.
58258         (__setresuid): Do not declare.
58259         [__ASSUME_32BITUIDS]: Make code unconditional.
58260         [!__ASSUME_32BITUIDS]: Remove conditional code.
58261         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58262         <kernel-features.h>.
58263         [__ASSUME_32BITUIDS]: Make code unconditional.
58264         [!__ASSUME_32BITUIDS]: Remove conditional code.
58265         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
58266         <kernel-features.h>.
58267         [__ASSUME_32BITUIDS]: Make code unconditional.
58268         [!__ASSUME_32BITUIDS]: Remove conditional code.
58270 2012-05-25  Richard Henderson  <rth@twiddle.net>
58272         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
58273         dl_hwcap to ifunc resolver.
58274         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
58275         elf_ifunc_invoke.
58276         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
58277         dl_hwcap to ifunc resolver.
58278         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
58280 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58282         [BZ #14153]
58283         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
58284         for |x| <= 2**-26, not 2**-57.
58285         * math/libm-test.inc (acos_test): Do not allow spurious underflow
58286         exception.
58288 2012-05-24  Jeff Law  <law@redhat.com>
58290         * stdio-common/Makefile (tests): Add bug25.
58291         * stdio-common/bug25.c: New test.
58293 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58295         [BZ #13576]
58296         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
58297         multiple of MALLOC_ALIGNMENT in size.
58298         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
58300 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58302         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
58303         Require >= 256.
58304         (FILENAME_MAX): Use macro-int-constant.
58305         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
58306         (_IOFBF): Use macro-int-constant.
58307         (_IOLBF): Likewise.
58308         (_IONBF): Likewise.
58309         (SEEK_CUR): Likewise.
58310         (SEEK_END): Likewise.
58311         (SEEK_SET): Likewise.
58312         (TMP_MAX): Likewise.
58313         (EOF): Use macro-int-constant.  Require < 0.
58314         (NULL): Use macro-constant.  Require == 0.
58315         (stdin): Require type to be FILE *.
58316         (stdout): Likewise.
58317         (stderr): Likewise.
58318         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
58319         macro-int-constant.
58320         (EXIT_SUCCESS): Likewise.
58321         (NULL): Use macro-constant.  Require == 0.
58322         (RAND_MAX): Use macro-int-constant.
58323         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58324         [C99-based standards] (strtof): Require function.
58325         [C99-based standards] (strtold): Likewise.
58326         [C99-based standards] (strtoll): Likewise.
58327         [C99-based standards] (strtoull): Likewise.
58328         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58329         [ISO || ISO99 || ISO11] (limits.h): Likewise.
58330         [ISO || ISO99 || ISO11] (math.h): Likewise.
58331         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58332         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58333         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58335 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
58337         [BZ #14132]
58338         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58339         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58340         * intl/dgettext.c (DCGETTEXT): Likewise.
58341         * intl/gettext.c (DCGETTEXT): Likewise.
58342         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58343         * posix/regex_internal.h (gettext): Likewise.
58344         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58345         Remove declaration.
58346         * include/argz.h (__argz_count_internal)
58347         (__argz_stringify_internal): Remove declaration.
58348         (__argz_count, __argz_stringify): Declare hidden proto.
58349         * intl/dcgettext.c: Remove use of INTDEF.
58350         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58351         * string/argz-stringify.c: Likewise.
58352         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58353         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58354         Declare hidden proto.
58355         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58356         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58357         Declare hidden proto.
58358         * include/stdio.h (__asprintf_internal): Don't declare.
58359         (__asprintf): Don't define as macro.  Declare hidden proto.
58360         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58361         (__fsetlocking): Declare hidden proto.
58362         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58363         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
58364         hidden proto.
58365         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
58366         (_IO_setlinebuf): Remove use of INTUSE.
58367         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
58368         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
58369         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
58370         Remove declaration.
58371         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
58372         (_IO_do_flush): Remove use of INTUSE.
58373         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
58374         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
58375         (_IO_adjust_column, _IO_least_wmarker)
58376         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
58377         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
58378         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
58379         (_IO_default_doallocate, _IO_wdefault_doallocate)
58380         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
58381         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
58382         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
58383         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
58384         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
58385         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
58386         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
58387         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
58388         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
58389         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
58390         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
58391         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
58392         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
58393         proto.
58394         (_IO_flush_all_internal, _IO_adjust_column_internal)
58395         (_IO_default_uflow_internal, _IO_default_finish_internal)
58396         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
58397         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
58398         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
58399         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
58400         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
58401         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
58402         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
58403         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
58404         (_IO_file_close_internal, _IO_file_close_it_internal)
58405         (_IO_file_underflow_internal, _IO_file_overflow_internal)
58406         (_IO_file_init_internal, _IO_file_attach_internal)
58407         (_IO_file_fopen_internal, _IO_file_read_internal)
58408         (_IO_file_sync_internal, _IO_file_seek_internal)
58409         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58410         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58411         (_IO_str_underflow_internal, _IO_str_overflow_internal)
58412         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58413         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58414         (_IO_list_all_internal, _IO_link_in_internal)
58415         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58416         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58417         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58418         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58419         (_IO_do_write_internal, _IO_padn_internal)
58420         (_IO_getline_info_internal, _IO_getline_internal)
58421         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58422         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58423         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58424         (_IO_vfscanf_internal, _IO_vfprintf_internal)
58425         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58426         (_IO_init_internal, _IO_un_link_internal): Don't declare.
58427         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58428         with libc_hidden_ver, remove use of INTUSE.
58429         * libio/genops.c: Likewise.
58430         * libio/freopen.c: Likewise.
58431         * libio/freopen64.c: Likewise.
58432         * libio/iofclose.c: Likewise.
58433         * libio/iofdopen.c: Likewise.
58434         * libio/iofflush.c: Likewise.
58435         * libio/iofflush_u.c: Likewise.
58436         * libio/iofgets.c: Likewise.
58437         * libio/iofgets_u.c: Likewise.
58438         * libio/iofopen.c: Likewise.
58439         * libio/iofopncook.c: Likewise.
58440         * libio/iofread.c: Likewise.
58441         * libio/iofread_u.c: Likewise.
58442         * libio/ioftell.c: Likewise.
58443         * libio/iofwrite.c: Likewise.
58444         * libio/iogetline.c: Likewise.
58445         * libio/iogets.c: Likewise.
58446         * libio/iogetwline.c: Likewise.
58447         * libio/iopadn.c: Likewise.
58448         * libio/iopopen.c: Likewise.
58449         * libio/ioseekoff.c: Likewise.
58450         * libio/ioseekpos.c: Likewise.
58451         * libio/iosetbuffer.c: Likewise.
58452         * libio/iosetvbuf.c: Likewise.
58453         * libio/ioungetc.c: Likewise.
58454         * libio/ioungetwc.c: Likewise.
58455         * libio/iovdprintf.c: Likewise.
58456         * libio/iovsprintf.c: Likewise.
58457         * libio/iovsscanf.c: Likewise.
58458         * libio/memstream.c: Likewise.
58459         * libio/obprintf.c: Likewise.
58460         * libio/oldfileops.c: Likewise.
58461         * libio/oldiofclose.c: Likewise.
58462         * libio/oldiofdopen.c: Likewise.
58463         * libio/oldiofopen.c: Likewise.
58464         * libio/oldiopopen.c: Likewise.
58465         * libio/oldstdfiles.c: Likewise.
58466         * libio/putc.c: Likewise.
58467         * libio/setbuf.c: Likewise.
58468         * libio/setlinebuf.c: Likewise.
58469         * libio/stdfiles.c: Likewise.
58470         * libio/strops.c: Likewise.
58471         * libio/vasprintf.c: Likewise.
58472         * libio/vscanf.c: Likewise.
58473         * libio/vsnprintf.c: Likewise.
58474         * libio/vswprintf.c: Likewise.
58475         * libio/wfiledoalloc.c: Likewise.
58476         * libio/wfileops.c: Likewise.
58477         * libio/wgenops.c: Likewise.
58478         * libio/wmemstream.c: Likewise.
58479         * libio/wstrops.c: Likewise.
58480         * libio/__fpurge.c: Likewise.
58481         * libio/__fsetlocking.c: Likewise.
58482         * assert/assert.c: Likewise.
58483         * debug/fgets_chk.c: Likewise.
58484         * debug/fgets_u_chk.c: Likewise.
58485         * debug/fread_chk.c: Likewise.
58486         * debug/fread_u_chk.c: Likewise.
58487         * debug/gets_chk.c: Likewise.
58488         * debug/obprintf_chk.c: Likewise.
58489         * debug/vasprintf_chk.c: Likewise.
58490         * debug/vdprintf_chk.c: Likewise.
58491         * debug/vsnprintf_chk.c: Likewise.
58492         * debug/vsprintf_chk.c: Likewise.
58493         * malloc/mtrace.c: Likewise.
58494         * misc/error.c: Likewise.
58495         * misc/syslog.c: Likewise.
58496         * stdio-common/asprintf.c: Likewise.
58497         * stdio-common/fxprintf.c: Likewise.
58498         * stdio-common/getw.c: Likewise.
58499         * stdio-common/isoc99_fscanf.c: Likewise.
58500         * stdio-common/isoc99_scanf.c: Likewise.
58501         * stdio-common/isoc99_vfscanf.c: Likewise.
58502         * stdio-common/isoc99_vscanf.c: Likewise.
58503         * stdio-common/isoc99_vsscanf.c: Likewise.
58504         * stdio-common/printf-prs.c: Likewise.
58505         * stdio-common/printf_fp.c: Likewise.
58506         * stdio-common/printf_fphex.c: Likewise.
58507         * stdio-common/printf_size.c: Likewise.
58508         * stdio-common/putw.c: Likewise.
58509         * stdio-common/scanf.c: Likewise.
58510         * stdio-common/sprintf.c: Likewise.
58511         * stdio-common/tmpfile.c: Likewise.
58512         * stdio-common/vfprintf.c: Likewise.
58513         * stdio-common/vfscanf.c: Likewise.
58514         * stdlib/strfmon_l.c: Likewise.
58515         * sunrpc/openchild.c: Likewise.
58516         * sunrpc/xdr_stdio.c: Likewise.
58517         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58518         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58520 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58522         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58524         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58525         in the third column, to generate for the shared library an IFUNC
58526         that uses _dl_vdso_vsym.
58527         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58528         * Makeconfig (object-suffixes-noshared): New variable.
58530         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58531         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58532         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58533         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58535         [BZ #14132]
58536         * include/sys/time.h (__gettimeofday): Remove macro.
58537         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58538         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58539         Remove INTDEF.
58540         (__gettimeofday): Add libc_hidden_def.
58541         (gettimeofday): Add libc_hidden_weak.
58542         * sysdeps/mach/gettimeofday.c: Likewise.
58543         * sysdeps/posix/gettimeofday.c: Likewise.
58544         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58545         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58546         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58547         (__gettimeofday_internal): Remove strong_alias.
58548         (__gettimeofday): Add libc_hidden_def.
58549         (gettimeofday): Add libc_hidden_weak.
58550         * sysdeps/unix/syscalls.list (gettimeofday):
58551         Remove __gettimeofday_internal alias.
58553 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58554             H.J. Lu  <hongjiu.lu@intel.com>
58556         [BZ #12495]
58557         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58558         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58559         (largebin_index_32_big): New.
58560         (largebin_index): Use it for 16-byte alignment.
58561         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58562         correction with front_misalign.
58564 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58568         Likewise.
58569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58570         Likewise.
58571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58572         Likewise.
58573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58574         Likewise.
58575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58576         Likewise.
58577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58578         Likewise.
58579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58580         Likewise.
58581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58582         Likewise.
58583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58584         Likewise.
58585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58586         Likewise.
58587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58588         Likewise.
58589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58590         Likewise.
58592         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58593         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58595 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58597         [BZ #10846]
58598         [BZ #14036]
58599         * math/libm-test.inc (exp_test): Add test from bug 14036.
58600         (pow_test): Add test from bug 10846.
58602         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58603         and other flags.
58604         (special_function): Do not include flags in test name.
58605         (parse_args): Likewise.
58606         * sysdeps/i386/fpu/libm-test-ulps: Update.
58607         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58608         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58609         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58612         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58613         exceptions.
58614         * math/libm-test.inc ("Philosophy"): Update comment about
58615         exception testing.
58616         (UNDERFLOW_EXCEPTION): New macro.
58617         (UNDERFLOW_EXCEPTION_OK): Likewise.
58618         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58619         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58620         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58621         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58622         (INVALID_EXCEPTION_OK): Update value.
58623         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58624         (OVERFLOW_EXCEPTION_OK): Likewise.
58625         (IGNORE_ZERO_INF_SIGN): Likewise.
58626         (test_exceptions): Handle underflow exceptions.
58627         (acos_test): Update for underflow exception expectations.
58628         (cexp_test): Likewise.
58629         (clog_test): Likewise.
58630         (clog10_test): Likewise.
58631         (csqrt_test): Likewise.
58632         (ctan_test): Likewise.
58633         (ctanh_test): Likewise.
58634         (exp_test): Likewise.
58635         (exp10_test): Likewise.
58636         (exp2_test): Likewise.
58637         (expm1_test): Likewise.
58638         (fma_test): Likewise.
58639         (j0_test): Likewise.
58640         (jn_test): Likewise.
58641         (nexttoward_test): Likewise.
58642         (pow_test): Likewise.
58643         (scalbn_test): Likewise.
58644         (scalbln_test): Likewise.
58645         (tan_test): Likewise.
58646         (y1_test): Likewise.
58647         * sysdeps/i386/fpu/libm-test-ulps: Update.
58648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58650 2012-05-23  David S. Miller  <davem@davemloft.net>
58652         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58653         (__libc_sigaction): Remove unused local variables.
58655 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58657         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58659 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58661         mktime: avoid signed integer overflow
58662         * time/mktime.c (__mktime_internal): Do not mishandle the case
58663         where diff == INT_MIN.
58665         mktime: simplify computation of average
58666         * time/mktime.c (ranged_convert): Use new time_t_avg function
58667         instead of rolling our own (probably-slower) code.
58669         mktime: do not assume signed right shift propagates sign bit
58670         * time/mktime.c (isdst_differ): New static function.
58671         (__mktime_internal): No need to normalize tm_isdst now.
58672         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58673         tm_isdst values.
58675         mktime: merge another wrapv change from gnulib
58676         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58677         from some compilers.
58679         mktime: remove incorrect attempt at unusual arithmetics
58680         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58681         The code didn't really work on such machines anyway.
58682         (TYPE_MINIMUM): Assume two's complement.
58683         (twos_complement_arithmetic): Verify that long_int and time_t
58684         are two's complement (or unsigned, in the latter case).
58686         mktime: check signed shifts on long_int and time_t, too
58687         * time/mktime.c (SHR): Check that shifts work as desired
58688         on the types long_int and time_t too, as SHR is used on
58689         such types.
58691         mktime: do not assume 'long' is wide enough
58692         * time/mktime.c (verify): Move decl up.
58693         (long_int): New type.
58694         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58695         to remove assumption in the code that 'long' is wide enough to
58696         store year values.  This assumption is not true on x32 and on
58697         some non-glibc platforms.
58699         mktime: merge wrapv change from gnulib
58700         * time/mktime.c (WRAPV): New macro.
58701         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58702         (guess_time_tm, __mktime_internal): Do not assume that signed
58703         integer overflow wraps around; modern compilers generate code
58704         where this assumption is no longer valid.
58706 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58708         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58709         Replace "jmp L(pseudo_end)" with "ret".
58710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58711         Likewise.
58713 2012-05-23  Andreas Jaeger  <aj@suse.de>
58715         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58716         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58718 2012-05-23  Andreas Jaeger  <aj@suse.de>
58719             Maximilian Attems  <max@stro.at>
58721         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58722         New macros.
58724 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58726         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58727         code so that pseudo_end is just ret and the stack pointer is
58728         correct also for static library in error case.
58730 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58732         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58733         move to syscalls.list.
58734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58739         * manual/install.texi (Running make install): Do not mention Linux
58740         kernel version for which pt_chown is not needed.
58741         (Linux): Do not mention problems with nscd with 2.0 kernels.
58742         * INSTALL: Regenerated.
58744 2012-05-23  Andreas Jaeger  <aj@suse.de>
58746         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58747         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58748         macro.
58749         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58750         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58751         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58752         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58753         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58754         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58755         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58756         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58757         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58758         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58759         * sysdeps/unix/sysv/linux/bits/in.h
58760         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58762 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58764         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58765         (PREPARE_VERSION): Just use assert instead, it will be elided
58766         under [NDEBUG] anyway.
58768 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58770         * sysdeps/unix/sysv/linux/Makefile: Include
58771         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58772         (sysdep_routines): Remove sysctl.
58773         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58774         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58775         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58776         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58777         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58779 2012-05-22  Andreas Jaeger  <aj@suse.de>
58781         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58782         that pseudo_end is just ret and the stack pointer is correct also
58783         for static library in error case.
58785 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58787         [BZ #14122]
58788         * nss/nsswitch.c (defconfig_entries): New variable.
58789         (__nss_database_lookup): Don't leak defconfig entries.
58790         (nss_parse_service_list): Don't leak on error paths.
58791         (free_database_entries): New function.
58792         (free_defconfig): New function.
58793         (free_mem): Move common code to free_database_entries.
58795 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58797         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58798         Add arch_prctl.
58799         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58801         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58802         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58804         New macro.
58805         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58806         (INTERNAL_SYSCALL_TYPES): Likewise.
58807         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58808         (LOAD_REGS_TYPES_[1-6]): Likewise.
58809         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58810         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58812 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58814         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58815         copysignl for GLIBC_2_0.
58816         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58817         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58818         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58819         logbl for GLIBC_2_0.
58820         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58821         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58823 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58825         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58826         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58828         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58829         Use "neg %eax".
58831         * time/mktime.c: Update copyright years.
58833 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58835         mktime: merge comment-quoting-style change from gnulib
58836         * time/mktime.c: Quote 'like this' in comments.
58837         The GNU coding standards suggest that we no longer quote `like this',
58838         as "`" and "'" are typically rendered asymmetrically nowadays.
58839         The typical gnulib style is to quote 'like this' when quoting
58840         code, and "like this" when quoting English.
58842         * time/mktime.c (compile-command): Add "-I.".
58844         mktime: merge mktime-internal.h change from gnulib
58845         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58847         mktime: merge time_r change from gnulib
58848         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58850         mktime: merge DEBUG change from gnulib
58851         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58852         case system <time.h> has a #define.
58854         mktime: merge <sys/types.h> change from gnulib
58855         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58856         since <time.t> is now guaranteed to define time_t.
58858         mktime: merge HAVE_CONFIG_H change from gnulib
58859         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58861 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58864         Use "neg %eax".
58866         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58867         __rlim_t cast.
58868         (struct rusage): Use anonymous union to pad each field to
58869         __syscall_slong_t.
58871 2012-05-21  David S. Miller  <davem@davemloft.net>
58873         * Makefules (o-iterator): Remove .s cases.
58874         (compile-command.s): Delete.
58875         (COMPILE.s): Delete.
58876         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58878 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58880         * configure.in (libc_cv_predef_stack_protector): Only consider
58881         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58882         * configure: Regenerated.
58884 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58887         New macro.  Use R*LP on int and pointer.
58888         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58889         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58890         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58891         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58893         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58894         [__WORDSIZE_TIME64_COMPAT32] instead of
58895         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58896         (struct utmp): Likewise.
58897         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58898         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58899         Renamed to ...
58900         (__WORDSIZE_TIME64_COMPAT32): This.
58901         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58902         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58903         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58904         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58905         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58906         (__WORDSIZE_TIME64_COMPAT32): New macro.
58908 2012-05-21  Andreas Jaeger  <aj@suse.de>
58910         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58911         only if [SHARED]. Add prototype for __wcschr_ia32.
58913 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58915         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58916         of %rbp unmolested in the jmp_buf while mangling the low bits.
58917         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58918         unmolested high bits of %rbp while demangling the low bits.
58919         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58921 2012-05-21  Andreas Jaeger  <aj@suse.de>
58923         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58924         * sunrpc/svc_simple.c: Use it for registerrpc.
58925         * sunrpc/xcrypt.c: Use it for passwd2des.
58927         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58929 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58931         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58932         Don't define if [__SYSCALL_WORDSIZE != 32].
58933         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58934         New macro.
58936 2012-05-21  Bruno Haible  <bruno@clisp.org>
58937             Andreas Jaeger  <aj@suse.de>
58939         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58940         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58941         inptr and inend for must_buffer_ch.
58942         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58943         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58944         * stdio-common/Makefile (tests): Remove bug15.
58945         (bug15-ENV): Remove macro.
58946         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58947         anymore.
58949 2012-05-19  Andreas Jaeger  <aj@suse.de>
58950             Roland McGrath  <roland@hack.frob.com>
58952         * manual/contrib.texi: Completely rewritten. It contains now an
58953         alphabetical list of contributors and their contributions.
58955 2012-05-21  Richard Henderson  <rth@twiddle.net>
58957         * misc/getauxval.c (__getauxval): Use unsigned long int.
58958         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58959         (getauxval): Use unsigned long int.
58961 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58963         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58965 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58967         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58968         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58969         __alignof__ (long double).
58971 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58975 2012-05-20  Richard Henderson  <rth@twiddle.net>
58977         * misc/getauxval.c: New file.
58978         * misc/sys/auxv.h: New file.
58979         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58980         (routines): Add getauxval.
58981         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58982         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58983         * elf/dl-sysdep.c (_dl_auxv): Remove.
58984         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58985         * elf/dl-support.c (_dl_auxv): New variable.
58986         (_dl_aux_init): Initialize it.
58987         * manual/startup.texi (Auxiliary Vector): New node.
58988         * sysdeps/generic/bits/hwcap.h: New file.
58989         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58990         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58991         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58992         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58993         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58994         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58996         Update.
58997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
59000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
59001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
59004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
59006 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59010 2012-05-19  David S. Miller  <davem@davemloft.net>
59012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59014 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59016         [BZ #14123]
59017         * math/s_ccosh.c: Include <float.h>
59018         (__ccosh): Avoid internal overflow calculating sinh and cosh
59019         values before multiplying by sin and cos values.
59020         * math/s_ccoshf.c: Likewise.
59021         * math/s_ccoshl.c: Likewise.
59022         * math/s_csin.c: Likewise.
59023         * math/s_csinf.c: Likewise.
59024         * math/s_csinl.c: Likewise.
59025         * math/s_csinh.c: Likewise.
59026         * math/s_csinhf.c: Likewise.
59027         * math/s_csinhl.c: Likewise.
59028         * math/libm-test.inc (ccos_test): Add more tests.
59029         (ccosh_test): Likewise.
59030         (csin_test): Likewise.
59031         (csinh_test): Likewise.
59032         * sysdeps/i386/fpu/libm-test-ulps: Update.
59033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59035 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
59037         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
59038         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
59040         * sysdeps/x86_64/x32/_itoa.h: Add comment.
59042 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59044         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
59045         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
59046         * sysdeps/powerpc/soft-fp/Versions: Likewise.
59047         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
59048         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
59049         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
59050         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
59051         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
59052         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
59053         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
59054         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
59055         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
59056         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
59057         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
59058         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
59059         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
59060         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
59061         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
59062         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
59063         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
59064         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
59065         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
59066         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
59067         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
59068         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
59069         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
59070         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
59071         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
59072         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
59073         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
59074         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
59076 2012-05-18  Andreas Jaeger  <aj@suse.de>
59078         * csu/.gitignore: Delete.
59080 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59082         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
59083         (timex): Use __syscall_slong_t.
59085 2012-05-18  Andreas Jaeger  <aj@suse.de>
59086             Carlos O'Donell  <carlos_odonell@mentor.com>
59088         * manual/install.texi (Configuring and compiling): Update
59089         description about files modified in the source directory.
59090         * INSTALL: Regenerated.
59092 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59094         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
59095         value.  Use "or" to set return value to -1.
59096         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
59097         negate return value.
59099 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59101         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
59102         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
59103         failure if the compiler has Graphite support disabled.
59104         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
59105         Likewise.
59106         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
59107         (CFLAGS-memmove.c): Likewise.
59108         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
59109         Likewise.
59111 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59113         * sysdeps/x86_64/x32/_itoa.h: New file.
59115         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
59116         getdents system call only if kernel and user dirents have the
59117         same d_ino and d_off.
59119         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59120         LLONG_MAX != LONG_MAX.
59121         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59122         (_fitoa_word): Likewise.
59124         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
59125         years.
59126         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
59127         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
59128         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
59130         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
59131         include <bits/wordsize.h>.  Check __x86_64__ instead of
59132         __WORDSIZE.
59133         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
59134         if __x86_64__ is defined.  Use anonymous union on fpstate.
59136         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
59137         anonymous union.
59139 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
59141         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
59142         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
59143         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
59144         Refer to _rtld_local_ro instead of _rtld_global_ro.
59145         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
59146         Likewise.
59147         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
59148         Likewise.
59149         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
59150         Likewise.
59151         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
59152         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
59153         of _rtld_global, and rtld_progname instead of _dl_argv[0].
59155         [BZ #10882]
59156         * sysdeps/powerpc/powerpc32/dl-machine.c
59157         (__elf_machine_runtime_setup) [PROF]: Don't reference
59158         _dl_prof_resolve.
59160 2012-05-18  Andreas Jaeger  <aj@suse.de>
59162         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
59163         function only available for GCCs before 3.4 since GCC 3.4
59164         introduced a builtin.
59165         (lrint): Likewise.
59166         (llrintf): Likewise.
59167         (llrint): Likewise.
59168         (fmaxf): Likewise.
59169         (fmax): Likewise.
59170         (fminf): Likewise.
59171         (fmin): Likewise.
59172         (rint): Likewise.
59173         (rintf): Likewise.
59174         (nearbyint): Likewise.
59175         (nearbyintf): Likewise.
59176         (ceil): Likewise.
59177         (ceilf): Likewise.
59178         (floor): Likewise.
59179         (floorf): Likewise.
59181 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59183         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
59184         on both fields and cast pointer to __syscall_ulong_t.
59186         * bits/types.h (__fsword_t): New type.
59187         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
59188         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
59189         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59190         (__FSWORD_T_TYPE): Likewise.
59191         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59192         (__FSWORD_T_TYPE): Likewise.
59193         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59194         (__FSWORD_T_TYPE): Likewise.
59195         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
59196         (__FSWORD_T_TYPE): Likewise.
59197         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
59198         __SWORD_TYPE with __fsword_t.
59199         (statfs64): Likewise.
59201 2012-05-17  David S. Miller  <davem@davemloft.net>
59203         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
59205 2012-05-17  Andreas Jaeger  <aj@suse.de>
59207         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
59208         warning.
59210 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59212         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
59214 2012-05-17  Andreas Jaeger  <aj@suse.de>
59216         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
59217         when it is used.
59219 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59221         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
59223 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59225         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
59226         * sysdeps/x86_64/tst-mallocalign1.c: New file.
59228 2012-05-17  Andreas Jaeger  <aj@suse.de>
59229             Carlos O'Donell  <carlos_odonell@mentor.com>
59231         [BZ #14059]
59232         * sysdeps/x86_64/multiarch/init-arch.h
59233         (bit_YMM_Usable): Rename to...
59234         (bit_AVX_Usable): ... this.
59235         (bit_FMA4_Usable): New macro.
59236         (bit_XMM_state): New macro.
59237         (bit_YMM_state): New macro.
59238         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
59239         [__ASSEMBLER__] (index_AVX_Usable): ... this.
59240         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
59241         (CPUID_OSXSAVE): New macro.
59242         (CPUID_AVX): New macro.
59243         (CPUID_FMA4): New macro.
59244         (index_YMM_Usable): Rename to...
59245         (index_AVX_Usable): ... this.
59246         (HAS_AVX): Use HAS_ARCH_FEATURE.
59247         (HAS_FMA4): Likewise.
59248         (HAS_YMM_USABLE): Remove.
59249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59250         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
59251         are present.
59252         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
59253         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
59254         * sysdeps/x86_64/multiarch/Makefile: Likewise.
59255         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
59256         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
59258 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59260         * math/libm-test.c: Support platforms without multiple rounding modes.
59261         * math/bug-nextafter.c: Support platforms without FP exceptions.
59262         * math/bug-nexttoward.c: Likewise.
59263         * math/test-fenv.c: Likewise.
59264         * math/test-misc.c: Likewise.
59265         * stdlib/bug-getcontext.c: Likewise.
59267 2012-05-17  Andreas Jaeger  <aj@suse.de>
59269         * manual/examples/search.c (critter_cmp): Change signature to
59270         avoid warnings.
59271         * manual/string.texi (Collation Functions): Likewise.
59273 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59275         * bits/types.h: Fold copyright years.
59276         * bits/typesizes.h: Likewise.
59277         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
59278         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59279         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
59280         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
59281         * time/time.h: Likewise.
59283 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
59285         [BZ #208]
59286         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
59287         in instead of returning them.  Return void.
59288         (__libc_mallinfo): Accumulate over all arenas.
59289         (__malloc_stats): Adjust for change in int_mallinfo interface.
59291 2012-05-16  Roland McGrath  <roland@hack.frob.com>
59293         [BZ #10375]
59294         * configure.in (NM): Add AC_CHECK_TOOL for it.
59295         (libc_extra_cflags): New substituted variable.
59296         Check for -fstack-protector being used implicitly.
59297         * configure: Regenerated.
59298         * config.make.in (config-extra-cflags): New variable,
59299         gets @libc_extra_cflags@.
59300         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
59302         [BZ #10375]
59303         * configure.in: Check for _FORTIFY_SOURCE being predefined.
59304         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
59305         * configure: Regenerated.
59306         * config.make.in (CPPUNDEFS): New substituted variable.
59307         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
59308         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
59309         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
59311 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59313         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
59314         (mq_attr): Use __syscall_slong_t.
59316 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59318         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
59319         Check __x86_64__ instead of __WORDSIZE.
59320         (_STAT_VER_LINUX): Likewise.
59321         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
59322         __syscall_ulong_t and __syscall_slong_t.
59323         (stat64): Likewise.
59325 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59327         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59329 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59331         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59333 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59335         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59336         __syscall_ulong_t.
59338         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59339         include <bits/wordsize.h>.  Check __x86_64__ instead of
59340         __WORDSIZE.
59341         (greg_t): Use "__extension__ long long int" if __x86_64__ is
59342         defined.
59343         (mcontext_t): Replace "unsigned long" with "unsigned long long".
59345         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59346         include <bits/wordsize.h>.  Check __x86_64__ instead of
59347         __WORDSIZE.
59348         (user_regs_struct): Use "__extension__ unsigned long long"
59349         instead of "unsigned long" if __x86_64__ is defined.
59350         (user): Likewise.  Pad after pointer field if __ILP32__ is
59351         defined.
59353 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
59355         * configure.in (makeinfo): Require version 4.5 or later.  Allow
59356         versions 5 to 9.
59357         * configure: Regenerated.
59358         * manual/install.texi (texinfo): Increase version requirement to
59359         4.5 or later.
59360         * INSTALL: Regenerated.
59362         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59364 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59366         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
59368         * sysdeps/x86_64/x32/ffs.c: New file.
59370         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
59371         __syscall_ulong_t.
59372         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
59373         defined.  Use __syscall_ulong_t.
59374         (shminfo): Use __syscall_ulong_t.
59375         (shm_info): Likewise.
59377         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
59378         __syscall_ulong_t.
59380         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
59381         <bits/wordsize.h>.
59382         (msgqnum_t): Use __syscall_ulong_t.
59383         (msglen_t): Likewise.
59384         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
59385         __syscall_ulong_t.
59387         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
59388         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59390         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
59392         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
59393         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
59395         * sysvipc/sys/msg.h (msgbuf): Replace long int with
59396         __syscall_slong_t.
59398         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
59399         include <bits/wordsize.h>.  Check __x86_64__ instead of
59400         __WORDSIZE.
59402         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
59403         "unsigned long long int" if __x86_64__ is defined.
59404         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
59406         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59407         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59408         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59410         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59411         <stdint.h>.
59412         (GET_PC): Cast to uintptr_t first.
59413         (GET_FRAME): Likewise.
59414         (GET_STACK): Likewise.
59416         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59417         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59418         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59419         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59420         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59421         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59422         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59423         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59424         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59425         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59426         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59427         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59428         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59429         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59430         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59431         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59432         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59433         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59434         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59435         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59436         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59437         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59438         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59439         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59440         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59441         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59442         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59443         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59444         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59446 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
59448         * Makerules (+depfiles): Also collect depfiles from .oS in
59449         $(extra-objs).
59450         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59451         .oS, $(libnldbl-routines)).
59453         * Makerules (native-compile-mkdep-flags): Define.
59454         * sunrpc/Makefile (extra-objs): Add $(addprefix
59455         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59456         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59457         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
59458         calling $(make-target-directory).
59460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59462         * bits/types.h (__snseconds_t): Removed.
59463         * time/time.h (struct timespec): Replace __snseconds_t with
59464         __syscall_slong_t.
59465         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59466         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59467         Likewise.
59468         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59469         (__SNSECONDS_T_TYPE): Likewise.
59470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59471         (__SNSECONDS_T_TYPE): Likewise.
59472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59473         (__SNSECONDS_T_TYPE): Likewise.
59475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59477         * sysdeps/mach/hurd/bits/typesizes.h
59478         (__SYSCALL_SLONG_TYPE): New macro.
59479         (__SYSCALL_ULONG_TYPE): Likewise.
59481 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59483         * bits/types.h (__syscall_slong_t): New type.
59484         (__syscall_ulong_t): Likewise.
59486         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59487         (__SYSCALL_ULONG_TYPE): Likewise.
59488         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59489         (__SYSCALL_SLONG_TYPE): Likewise.
59490         (__SYSCALL_ULONG_TYPE): Likewise.
59491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59492         (__SYSCALL_SLONG_TYPE): Likewise.
59493         (__SYSCALL_ULONG_TYPE): Likewise.
59494         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59495         (__SYSCALL_SLONG_TYPE): Likewise.
59496         (__SYSCALL_ULONG_TYPE): Likewise.
59498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59500         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59501         Add sigaltstack-offsets.sym.
59502         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59503         <sigaltstack-offsets.h>.
59504         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59505         longjmp_msg pointer.
59506         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59507         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59508         signal stack.
59509         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59511 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59513         * elf/stackguard-macros.h: Remove file.
59514         * sysdeps/generic/stackguard-macros.h: New file.
59515         * sysdeps/i386/stackguard-macros.h: Likewise.
59516         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59517         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59518         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59519         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59520         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59521         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59522         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59523         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59524         <elf/stackguard-macros.h>.
59526         [BZ #14109]
59527         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59528         __aligned__ in attribute.
59529         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59530         (gregset_t): Likewise.
59532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59534         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59535         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59536         * sysdeps/x86_64/x32/Implies-after: New file.
59538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59540         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59541         and access return value for _dl_profile_fixup.  Use R10_LP to
59542         load frame size.
59544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59546         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59550         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59551         * sysdeps/x86_64/x32/sysdep.h: New file.
59553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59555         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59556         * sysdeps/x86_64/setjmp.S: Likewise.
59558 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59560         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59561         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59562         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59563         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59564         remove unused global constant.
59566 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59568         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59569         include of <not-cancel.h>.
59571 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59573         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59575 2012-05-15  Jeff Law  <law@redhat.com>
59576             Andreas Jaeger  <aj@suse.de>
59578         [BZ #13594]
59579         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59580         out from...
59581         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59582         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59583         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59584         code changing __hst_map_handle.map.
59586 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59588         * configure.in (sysnames): Look for Implies-before and Implies-after
59589         files.
59590         * configure: Regenerated.
59592 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59594         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59595         8-byte data alignment with LP_SIZE alignment.
59597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59599         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59600         into R10_LP.
59602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59604         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59608         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59609         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59610         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59611         Likewise.
59612         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59616         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59617         (stackinfo_sub_sp): Likewise.
59619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59621         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59622         RAX_LP.
59624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59626         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59627         into R*_LP.
59629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59631         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59632         sizes into R*_LP.
59634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59636         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59640         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59641         into R11_LP and load __x86_64_shared_cache_size_half into
59642         R8_LP.
59644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59646         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59647         R8_LP.
59649 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59651         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59652         logb for POWER7.
59653         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59654         logbf for POWER7.
59655         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59656         logbl for POWER7.
59657         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59658         powerpc32/power7/fpu/s_logb.c via #include.
59659         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59660         powerpc32/power7/fpu/s_logbf.c via #include.
59661         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59662         powerpc32/power7/fpu/s_logbl.c via #include.
59664 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59666         * README.libm: Remove file.
59668 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59670         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59671         count for x32.  Use R*_LP and omit operand-size suffix.
59673 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59675         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59676         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59677         * sysdeps/x86_64/x32/shlib-versions: New file.
59679 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59681         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59682         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59683         Use _dl_fatal_printf instead.
59685 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59687         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59688         set if not set by the user.  Do not allow for being unset.
59689         * sysdeps/unix/sysv/linux/configure: Regenerated.
59691 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59693         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59694         the `q' suffix from lea and replace .quad with ASM_ADDR.
59696 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59699         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59700         instead of $17.
59701         (PTR_DEMANGLE): Likewise.
59703 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59705         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59706         (LP_OP): Likewise.
59707         (ASM_ADDR): Likewise.
59708         (RAX_LP): Likewise.
59709         (RBP_LP): Likewise.
59710         (RBX_LP): Likewise.
59711         (RCX_LP): Likewise.
59712         (RDI_LP): Likewise.
59713         (RSI_LP): Likewise.
59714         (RSP_LP): Likewise.
59715         (R8_LP): Likewise.
59716         (R9_LP): Likewise.
59717         (R10_LP): Likewise.
59718         (R10_LP): Likewise.
59719         (R11_LP): Likewise.
59720         (R12_LP): Likewise.
59721         (R13_LP): Likewise.
59722         (R14_LP): Likewise.
59723         (R15_LP): Likewise.
59725 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59727         * sysdeps/x86_64/x32/dl-machine.h: New file.
59729 2012-05-14  Andreas Jaeger  <aj@suse.de>
59731         * manual/Makefile (subdir): Remove export of subdir.
59732         (all): Remove target.
59733         (.PHONY): Remove all from list.
59734         (mkinstalldirs): Remove.
59735         (.PHONY): Remove installdirs from list.
59736         ($(inst_infodir)/libc.info): Use make-target-directory.
59737         (installdirs): Remove.
59738         (subdir_%): Remove.
59739         (glibc-targets): Remove.
59740         (lib): Remove.
59741         (stubs): Remove.
59742         ($(objpfx)stubs ../po/manual.pot): Remove.
59743         ($(objpfx)stamp%): Remove.
59744         (make-target-directory): Remove.
59745         (subdir_install): Remove.
59746         (routines): Remove.
59747         (aux): Remove.
59748         (sources): Remove.
59749         (objects): Remove.
59750         (headers): Remove.
59752         [BZ #13750]
59753         * manual/.gitignore: Remove, it's not needed anymore.
59754         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59755         all files in it.
59756         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59757         directory.
59758         (texis): Renamed to $(objpfx)texis.
59759         (texis-path): New, contains path to generated files.
59760         (chapters.%): Use texis-path for complete path, add extra argument
59761         libc-texinfo.sh.
59762         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59763         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59764         (summary,texi, stamp-summary): Use complete path of
59765         files. Generate files in build dir.
59766         (dir-add.texi): Build in build dir.
59767         (libm-err.texi,stamp-libm-err): Likewise.
59768         (version.texi, stamp-version): Likewise.
59769         (.%c.texi): Likewise.
59770         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59771         (mostlyclean): Remove target.
59772         (realclean): Remove target.
59773         (generated): Add new variable with contents from mostlyclean and
59774         realclean, remove entries duplicated in common-mostlyclean, add
59775         stamp-libm-err and stamp-version.
59776         (generated-dirs): Add libc directory.
59777         ($(inst_infodir)/libc.info): Install files from build dir.
59779         * manual/install.texi (Configuring and compiling): Adjust since
59780         the info files are not part of the tar ball anymore.
59782 2012-05-14  Andreas Jaeger  <aj@suse.de>
59784         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59785         variable.
59787 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59789         [BZ #13717]
59790         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59791         to 2.2.0 where earlier.
59792         * sysdeps/unix/sysv/linux/configure: Regenerated.
59793         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59794         Remove conditional code.
59795         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59796         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59797         Remove conditional code.
59798         [!__NR_lchown]: Likewise.
59799         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59800         [__NR_lchown]: Likewise.
59801         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59802         comment referencing __ASSUME_LCHOWN_SYSCALL.
59803         * sysdeps/unix/sysv/linux/i386/sigaction.c
59804         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59805         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59806         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59807         Remove conditional code.
59808         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59809         (__protocol_available): Remove #if 0 code.
59810         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59811         conditional code.
59812         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59813         * sysdeps/unix/sysv/linux/kernel-features.h
59814         (__ASSUME_GETCWD_SYSCALL): Don't define.
59815         (__ASSUME_REALTIME_SIGNALS): Likewise.
59816         (__ASSUME_PREAD_SYSCALL): Likewise.
59817         (__ASSUME_PWRITE_SYSCALL): Likewise.
59818         (__ASSUME_POLL_SYSCALL): Likewise.
59819         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59820         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59821         non-SPARC.
59822         (__ASSUME_SIOCGIFNAME): Don't define.
59823         (__ASSUME_MSG_NOSIGNAL): Likewise.
59824         (__ASSUME_SENDFILE): Define unconditionally.
59825         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59826         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59827         conditional code.
59828         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59829         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59830         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59831         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59832         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59833         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59834         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59836         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59837         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59839         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59840         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59842         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59843         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59845         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59846         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59848         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59851         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59854         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59855         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59857         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59859         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59860         Remove conditional code.
59861         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59862         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59863         Remove conditional code.
59864         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59865         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59866         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59867         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59868         Remove conditional code.
59869         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59870         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59871         Remove conditional code.
59872         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59873         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59874         Remove conditional code.
59875         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59876         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59877         Remove conditional code.
59878         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59879         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59880         Remove conditional code.
59881         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59882         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59883         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59885         * sysdeps/unix/sysv/linux/sigaction.c
59886         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59887         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59888         * sysdeps/unix/sysv/linux/sigpending.c
59889         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59890         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59891         * sysdeps/unix/sysv/linux/sigprocmask.c
59892         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59893         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59894         * sysdeps/unix/sysv/linux/sigsuspend.c
59895         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59896         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59897         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59898         (__libc_missing_rt_sigs): Remove.
59899         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59900         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59901         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59902         Remove conditional code.
59903         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59904         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59905         return 1.
59906         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59907         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59908         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59909         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59911 2012-05-14  Andreas Jaeger  <aj@suse.de>
59913         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59914         it's not used in glibc.
59915         (__coshm1): Likewise.
59916         (__acosh1p): Likewise.
59917         (__sgn): Likewise.
59919         * manual/string.texi (Copying and Concatenation): Add missing
59920         variable in concat example.
59921         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59923 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59925         [BZ #14103]
59926         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59927         __builtin_clzl with __builtin_clzll.
59929 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59931         [BZ #14104]
59932         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59933         libc_freeres_ptr.
59935 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59937         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59938         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59939         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59940         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59942 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59944         * NEWS: Update ia64 info.
59946 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59948         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59949         used as bcopy.
59951 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59953         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59954         * sysdeps/unix/syscalls.list (dup3): Likewise.
59955         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59956         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59958 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59960         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59961         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59963 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59965         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59966         thread pointer.
59967         (TLS_IE): Use mov/add instead of movq/addq to load thread
59968         pointer.
59969         (TLS_GD_PREFIX): New.
59970         (TLS_GD): Use it.
59972 2012-05-11  David S. Miller  <davem@davemloft.net>
59974         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59975         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59976         (_FPU_SETCW): Likewise.
59978 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59980         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59981         is 32-byte aligned.
59983 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59985         [BZ #11837]
59986         * iconvdata/gb18030.c: Update tables.
59987         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59988         characters specially.
59989         (BODY for TO_LOOP): Add encoding of missing ranges.
59991 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59993         [BZ #13673]
59994         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59995         * sysdeps/mach/hurd/dup3.c: Likewise.
59996         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59997         * sysdeps/powerpc/memmove.c:: Likewise.
59999 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60001         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
60002         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
60004 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60006         * elf/elf.h (R_X86_64_RELATIVE64): New.
60007         (R_X86_64_NUM): Updated.
60008         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60009         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
60010         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
60011         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
60012         tst-quad1pie tst-quad2pie
60013         (modules-names): Add tst-quadmod1 tst-quadmod2.
60014         ($(objpfx)tst-quad1): New dependency.
60015         ($(objpfx)tst-quad2): Likewise.
60016         ($(objpfx)tst-quad1pie): Likewise.
60017         ($(objpfx)tst-quad2pie): Likewise.
60018         * sysdeps/x86_64/tst-quad1.c: New file.
60019         * sysdeps/x86_64/tst-quad1pie.c: New file.
60020         * sysdeps/x86_64/tst-quad2.c: Likewise.
60021         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
60022         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
60023         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
60024         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
60025         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
60027 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60029         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
60030         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
60031         * streams/stropts.h (t_scalar_t): Define type.
60033         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
60034         (_PATH_PRESERVE): Set to "/var/lib".
60035         (_PATH_RWHODIR): Set to "/var/spool/rwho".
60037         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
60038         instead of int.
60040         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
60041         if __dir_mkfile succeeded.
60043         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
60044         checking for _hurd_dtablesize.  Unlock it right after having
60045         finished _hurd_dtable allocation.
60047 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60049         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
60050         * sysdeps/mach/hurd/configure: Regenerated.
60051         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
60052         special-casing to...
60053         * sysdeps/gnu/configure.in: ... this new file.
60054         * sysdeps/unix/sysv/linux/configure: Regenerated.
60055         * sysdeps/gnu/configure: New generated file.
60057         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
60058         for Linux: use nsec instead of usec, as well as:
60059         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
60060         members of type struct timespec.
60061         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
60062         New macros.
60063         (struct stat64): Likewise.
60064         (_STATBUF_ST_NSEC): New macro.
60065         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
60067         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60068         __strtoul_internal rather than strtoul.
60070 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60072         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
60073         and reject them.
60075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60077         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
60078         which preserves existing values.
60079         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
60081 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60083         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
60084         TIMEOUT values.  Return EINVAL for NFDS values either negative or
60085         greater than FD_SETSIZE.
60087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60089         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
60090         allocated, call __vm_protect to finish enabling the existing space, and
60091         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
60092         allocate the remainder.
60094 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60096         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
60097         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
60099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60101         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
60102         sysdeps/mach/hurd/readlink.c.
60104         * posix/tst-sysconf.c (posix_options): Only use
60105         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
60106         _POSIX_SYNCHRONIZED_IO when they are defined
60107         * sysdeps/mach/hurd/bits/posix_opt.h:
60108         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
60109         (_XOPEN_REALTIME): Undefine macro.
60110         (_XOPEN_REALTIME_THREADS): Undefine macro.
60111         (_XOPEN_SHM): Undefine macro.
60112         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
60113         macro to -1.
60114         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
60115         macro to -1.
60116         (_POSIX_ASYNC_IO): Undefine macro.
60117         (_POSIX_PRIORITIZED_IO): Undefine macro.
60118         (_POSIX_SPIN_LOCKS): Define macro to -1.
60120         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
60121         SA_NODEFER, SA_RESETHAND.
60122         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
60123         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
60124         F_DUPFD_CLOEXEC.
60126 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60128         * elf/Makefile (pldd-modules): Define unconditionally.
60130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60132         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
60134 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60136         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
60137         Return ENOENT when name is empty.
60138         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
60140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60142         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
60144         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
60146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60148         Fix mlock in all cases except non-readable pages.
60149         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
60150         instead of VM_PROT_ALL as parameter to __vm_wire function.
60152         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
60153         (__mkdir): When path is `/', just fail with EEXIST.
60154         * sysdeps/mach/hurd/mkdirat.c: Likewise.
60156 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60158         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
60159         <sys/uio.h> (for writev).
60160         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
60161         and <sys/param.h> (for MIN).
60163 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60165         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
60166         REQUESTED_TIME.  Properly set the remaining time and return EINTR
60167         if interrupted.
60169 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60171         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
60172         Depend on against $(link-rpcuserlibs).
60174 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60176         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
60177         (__libc_stack_end): Do not use attribute_relro.
60178         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
60179         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
60180         to libthread-provided value.
60181         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
60182         attribute_relro.
60184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60186         [BZ #3748]
60187         * bits/libc-lock.h (__libc_once_get): New macro.
60188         * sysdeps/mach/bits/libc-lock.h: Likewise.
60189         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
60190         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
60191         instead of using implementation details.
60193         * libio/fileops.c: Unconditionally include <kernel-features.h>.
60194         * libio/freopen.c: Likewise.
60195         * libio/freopen64.c: Likewise.
60196         * misc/syslog.c: Likewise.
60197         * nscd/connections.c: Likewise.
60198         * nscd/netgroupcache.c: Likewise.
60199         * sysdeps/posix/getcwd.c: Likewise.
60201 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60203         * math/w_ilogbf.c: Add #include <limits.h>.
60205 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60207         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
60208         path instead of returning without unlocking.
60210         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
60211         immediate-write ioctls.
60212         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
60214 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60216         * sysdeps/mach/hurd/i386/init-first.c (init): Use
60217         __builtin_frame_address instead of making assumptions about the
60218         location of the return address relative to DATA.  Force early load of
60219         the return address.
60220         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
60221         __builtin_frame_address.
60223         dup3 for GNU Hurd.
60224         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
60225         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
60226         implement dup3 and do some further code clean-ups.
60227         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
60228         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
60230 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60232         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
60234         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
60235         HURD_CRITICAL_END around holding _hurd_dtable_lock.
60236         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
60237         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
60238         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
60239         d->port.lock.
60241         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
60242         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
60243         when handler == SIG_ERR, not when handler != SIG_ERR.
60245 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60247         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
60248         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
60249         definitions.
60251         accept4 for GNU Hurd.
60252         * include/sys/socket.h (__libc_accept4): New prototype.
60253         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
60254         to implement __libc_accept4.
60255         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
60256         __libc_accept4.
60257         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
60259         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
60260         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
60261         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
60262         signal-defines.sym.
60264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60266         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
60268 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60270         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
60271         assertion on O_CLOEXEC flag.
60272         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
60273         * hurd/intern-fd.c: Likewise.
60274         * hurd/port2fd.c: Likewise.
60276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60278         [BZ #3906]
60279         * bits/in.h (IPV6_PKTINFO): Define new macro.
60280         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
60282 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60284         [BZ #13954]
60285         [BZ #13955]
60286         [BZ #13956]
60287         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
60288         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60289         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
60290         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60291         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60292         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60293         * math/libm-test.inc (logb_test) : Additional logb tests.
60295 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
60296             Andreas Jaeger  <aj@suse.de>
60298         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
60299         * configure: Regenerated.
60300         * config.h.in (LINK_OBSOLETE_RPC): New macro.
60301         * config.make.in (link-obsolete-rpc): New substituted variable.
60302         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
60303         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60304         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60305         (shared-only-routines): Don't set it under [link-obsolete-rpc],
60306         so that libc.a contains the symbols.
60307         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60308         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
60309         * sunrpc/auth_none.c: Likewise.
60310         * sunrpc/auth_unix.c: Likewise.
60311         * sunrpc/authdes_prot.c: Likewise.
60312         * sunrpc/authuxprot.c: Likewise.
60313         * sunrpc/clnt_gen.c: Likewise.
60314         * sunrpc/clnt_perr.c: Likewise.
60315         * sunrpc/clnt_raw.c: Likewise.
60316         * sunrpc/clnt_simp.c: Likewise.
60317         * sunrpc/clnt_tcp.c: Likewise.
60318         * sunrpc/clnt_udp.c: Likewise.
60319         * sunrpc/clnt_unix.c: Likewise.
60320         * sunrpc/des_crypt.c: Likewise.
60321         * sunrpc/des_soft.c: Likewise.
60322         * sunrpc/get_myaddr.c: Likewise.
60323         * sunrpc/key_call.c: Likewise.
60324         * sunrpc/key_prot.c: Likewise.
60325         * sunrpc/netname.c: Likewise.
60326         * sunrpc/pm_getmaps.c: Likewise.
60327         * sunrpc/pm_getport.c: Likewise.
60328         * sunrpc/pmap_clnt.c: Likewise.
60329         * sunrpc/pmap_prot.c: Likewise.
60330         * sunrpc/pmap_prot2.c: Likewise.
60331         * sunrpc/pmap_rmt.c: Likewise.
60332         * sunrpc/publickey.c: Likewise.
60333         * sunrpc/rpc_cmsg.c: Likewise.
60334         * sunrpc/rpc_common.c: Likewise.
60335         * sunrpc/rpc_dtable.c: Likewise.
60336         * sunrpc/rpc_prot.c: Likewise.
60337         * sunrpc/rpc_thread.c: Likewise.
60338         * sunrpc/rtime.c: Likewise.
60339         * sunrpc/svc.c: Likewise.
60340         * sunrpc/svc_auth.c: Likewise.
60341         * sunrpc/svc_raw.c: Likewise.
60342         * sunrpc/svc_run.c: Likewise.
60343         * sunrpc/svc_tcp.c: Likewise.
60344         * sunrpc/svc_udp.c: Likewise.
60345         * sunrpc/svc_unix.c: Likewise.
60346         * sunrpc/svcauth_des.c: Likewise.
60347         * sunrpc/xcrypt.c: Likewise.
60348         * sunrpc/xdr.c: Likewise.
60349         * sunrpc/xdr_array.c: Likewise.
60350         * sunrpc/xdr_float.c: Likewise.
60351         * sunrpc/xdr_intXX_t.c: Likewise.
60352         * sunrpc/xdr_mem.c: Likewise.
60353         * sunrpc/xdr_rec.c: Likewise.
60354         * sunrpc/xdr_ref.c: Likewise.
60355         * sunrpc/xdr_sizeof.c: Likewise.
60356         * sunrpc/xdr_stdio.c: Likewise.
60358 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60360         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60361         change.  Update copyright years.
60363 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60365         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
60367 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
60368             Joseph Myers  <joseph@codesourcery.com>
60369             Paul Pluzhnikov  <ppluzhnikov@google.com>
60371         [BZ #14012]
60372         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
60373         requiring rpcgen.
60374         [cross-compiling] (extra-libs): Likewise.
60375         [cross-compiling] (extra-libs-others): Likewise.
60376         [cross-compiling] (librpcsvc-routines): Likewise.
60377         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
60378         [cross-compiling] (omit-deps): Likewise.
60379         (sunrpc-CPPFLAGS): New variable.
60380         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
60381         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
60382         (cross-rpcgen-objs): New variable.
60383         (extra-objs): Append $(cross-rpcgen-objs).
60384         ($(cross-rpcgen-objs)): New rule.
60385         ($(objpfx)cross-rpcgen): Likewise.
60386         (rpcgen-cmd): Define to use $(built-program-file).  Expand
60387         comment.
60388         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
60389         ($(objpfx)x%.stmp): Likewise.
60390         * sunrpc/proto.h [IS_IN_build] (_): Define.
60391         [IS_IN_build] (_libc_intl_domainname): Likewise.
60393 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60395         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
60396         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
60397         and R_X86_64_TPOFF64.
60399 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60401         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
60402         sysdeps/unix/sysv/syscalls.list.
60403         (stime): Likewise.
60404         (utime): Likewise.
60405         * sysdeps/unix/sysv/syscalls.list: Remove file.
60407 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
60409         [BZ #3440]
60410         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60411         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60412         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60413         (__LC_IDENTIFICATION): Make these macros useful in #if
60414         expressions, as required by C99.
60416 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
60418         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60419         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
60420         after this.
60422 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
60424         * stdlib/longlong.h: Updated from GCC.
60426 2012-05-09  Andreas Jaeger  <aj@suse.de>
60428         * nscd/nscd.c (run_modes): Make named enum, reorder so that
60429         default is first entry.
60430         (run_mode): Set type.
60431         (main): Remove informal message about syslog.
60432         (options): Fix typo.
60434         [BZ #14053]
60435         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60436         to asm.
60437         (lrint): Likewise.
60438         (llrintf): Likewise.
60439         (llrint): Likewise.
60440         (rint): Likewise.
60441         (rintf): Likewise.
60442         (nearbyint): Likewise.
60443         (nearbyintf): Likewise.
60445 2012-05-09  Andreas Jaeger  <aj@suse.de>
60446             Pedro Alves  <palves@redhat.com>
60448         * nscd/nscd.c (run_mode): Use enum.
60449         (main): Cleanup coding style issue.
60451 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
60452             Andreas Jaeger  <aj@suse.de>
60454         * nscd/nscd.c (go_background): Replaced with...
60455         (run_mode): ... this.
60456         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60457         (options): Add -F --foreground.
60458         (main): Implement it.
60459         (parse_opt): Parse it.
60461 2012-05-09  Andreas Jaeger  <aj@suse.de>
60463         [BZ #14083]
60464         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60465         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60466         -Wconversion warning.
60467         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60468         Likewise.
60470 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60472         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60473         == 0.
60474         (LC_ALL): Use macro-int-constant.
60475         (LC_COLLATE): Likewise.
60476         (LC_CTYPE): Likewise.
60477         (LC_MESSAGES): Likewise.
60478         (LC_MONETARY): Likewise.
60479         (LC_NUMERIC): Likewise.
60480         (LC_TIME): Likewise.
60481         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60482         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60484         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60485         Specify type.
60486         [C99-based standards] (float_t): Expect type.
60487         [C99-based standards] (double_t): Expect type.
60488         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60489         type.
60490         [C99-based standards] (HUGE_VALL): Likewise.
60491         [C99-based standards] (INFINITY): Likewise.
60492         [C99-based standards] (NAN): Likewise.
60493         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60494         [C99-based standards] (FP_NAN): Likewise.
60495         [C99-based standards] (FP_NORMAL): Likewise.
60496         [C99-based standards] (FP_SUBNORMAL): Likewise.
60497         [C99-based standards] (FP_ZERO): Likewise.
60498         [C99-based standards] (FP_FAST_FMA): Use
60499         optional-macro-int-constant.  Specify type.  Require == 1.
60500         [C99-based standards] (FP_FAST_FMAF): Likewise.
60501         [C99-based standards] (FP_FAST_FMAL): Likewise.
60502         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60503         [C99-based standards] (FP_ILOGBNAN): Likewise.
60504         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60505         Specify type.
60506         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60507         [C99-based standards] (math_errhandling): Specify type.
60508         [ISO99 || ISO11] (signgam): Do not allow.
60509         [non-C99-based standards] (copysignf): Do not allow.
60510         [non-C99-based standards] (exp2f): Likewise.
60511         [non-C99-based standards] (log2f): Likewise.
60512         [non-C99-based standards] (modff): Allow.
60513         [non-C99-based standards] (erff): Do not allow.
60514         [non-C99-based standards] (erfcf): Likewise.
60515         [non-C99-based standards] (gammaf): Likewise.
60516         [non-C99-based standards] (hypotf): Likewise.
60517         [non-C99-based standards] (j0f): Likewise.
60518         [non-C99-based standards] (j1f): Likewise.
60519         [non-C99-based standards] (jnf): Likewise.
60520         [non-C99-based standards] (lgammaf): Likewise.
60521         [non-C99-based standards] (tgammaf): Likewise.
60522         [non-C99-based standards] (y0f): Likewise.
60523         [non-C99-based standards] (y1f): Likewise.
60524         [non-C99-based standards] (ynf): Likewise.
60525         [non-C99-based standards] (isnanf): Likewise.
60526         [non-C99-based standards] (acoshf): Likewise.
60527         [non-C99-based standards] (asinhf): Likewise.
60528         [non-C99-based standards] (atanhf): Likewise.
60529         [non-C99-based standards] (cbrtf): Likewise.
60530         [non-C99-based standards] (expm1f): Likewise.
60531         [non-C99-based standards] (ilogbf): Likewise.
60532         [non-C99-based standards] (log1pf): Likewise.
60533         [non-C99-based standards] (logbf): Likewise.
60534         [non-C99-based standards] (nextafterf): Likewise.
60535         [non-C99-based standards] (remainderf): Likewise.
60536         [non-C99-based standards] (rintf): Likewise.
60537         [non-C99-based standards] (scalbf): Likewise.
60538         [non-C99-based standards] (copysignl): Likewise.
60539         [non-C99-based standards] (exp2l): Likewise.
60540         [non-C99-based standards] (log2l): Likewise.
60541         [non-C99-based standards] (modfl): Allow.
60542         [non-C99-based standards] (erfl): Do not allow.
60543         [non-C99-based standards] (erfcl): Likewise.
60544         [non-C99-based standards] (gammal): Likewise.
60545         [non-C99-based standards] (hypotl): Likewise.
60546         [non-C99-based standards] (j0l): Likewise.
60547         [non-C99-based standards] (j1l): Likewise.
60548         [non-C99-based standards] (jnl): Likewise.
60549         [non-C99-based standards] (lgammal): Likewise.
60550         [non-C99-based standards] (tgammal): Likewise.
60551         [non-C99-based standards] (y0l): Likewise.
60552         [non-C99-based standards] (y1l): Likewise.
60553         [non-C99-based standards] (ynl): Likewise.
60554         [non-C99-based standards] (isnanl): Likewise.
60555         [non-C99-based standards] (acoshl): Likewise.
60556         [non-C99-based standards] (asinhl): Likewise.
60557         [non-C99-based standards] (atanhl): Likewise.
60558         [non-C99-based standards] (cbrtl): Likewise.
60559         [non-C99-based standards] (expm1l): Likewise.
60560         [non-C99-based standards] (ilogbl): Likewise.
60561         [non-C99-based standards] (log1pl): Likewise.
60562         [non-C99-based standards] (logbl): Likewise.
60563         [non-C99-based standards] (nextafterl): Likewise.
60564         [non-C99-based standards] (remainderl): Likewise.
60565         [non-C99-based standards] (rintl): Likewise.
60566         [non-C99-based standards] (scalbl): Likewise.
60567         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60568         [non-C99-based standards] (FP_*): Do not allow.
60569         [C99-based standards] (FP_*): Change to
60570         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60571         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60572         allow.
60573         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60574         (SIG_ERR): Likewise.
60575         [X/Open-based standards] (SIG_HOLD): Likewise.
60576         (SIG_IGN): Likewise.
60577         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60578         positive value.
60579         (SIGFPE): Likewise.
60580         (SIGILL): Likewise.
60581         (SIGINT): Likewise.
60582         (SIGSEGV): Likewise.
60583         (SIGTER): Likewise.
60584         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60585         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60586         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60587         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60588         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60589         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60590         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60591         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60592         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60593         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60594         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60595         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60596         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60597         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60598         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60599         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60600         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60601         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60602         [X/Open-based standards] (SIGTRAP): Likewise.
60603         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60604         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60605         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60606         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60607         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60608         allow.
60610 2012-05-08  Ian Wienand  <ianw@vmware.com>
60612         [BZ #14080]
60613         * time/tzset.c (__tzset_parse_tz): Update default rules for
60614         daylight time changes in the Energy Policy Act of 2005.
60616 2012-05-09  Andreas Jaeger  <aj@suse.de>
60618         [BZ #13983]
60619         * elf/ldconfig.c (parse_conf): Change string to make clear that
60620         ldconfig only issued a warning if ld.so.conf does not exist.
60622 2012-05-08  David S. Miller  <davem@davemloft.net>
60624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60625         movxtod instead of popping the value on the stack.
60627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60629 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60631         * config.h.in: Add HAVE_ARM_PCS_VFP.
60633 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60635         [BZ #13979]
60636         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60637         checking but the checks are disabled for any reason.
60639 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60641         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60642         and ELF64_R_TYPE with ELFW(R_TYPE).
60644 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60646         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60647         (ulimit): Likewise.
60649         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60650         (settimeofday): Likewise.
60652 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60654         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60655         a struct th_u2 inside the union, and move tu_block/tu_code into
60656         a new th_u3 union of tu_block/tu_code inside of that.  Move
60657         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60658         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60659         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60660         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60661         (th_stuff): Change to th_u1.tu_stuff.
60662         (th_data): Define.
60663         (th_msg): Change to th_u1.th_u2.tu_data.
60665 2012-05-07  David S. Miller  <davem@davemloft.net>
60667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60669         [BZ #14074]
60670         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60671         (SETUP_PIC_REG): Use it.
60672         (SETUP_PIC_REG_LEAF): Use it.
60674 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60676         [BZ #13885]
60677         [BZ #13923]
60678         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60679         USE_AS_EXPM1L.
60680         (EXPL_FINITE): Likewise.
60681         (FLDLOG): Likewise.
60682         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60683         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60684         e_expl.S.
60685         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60686         USE_AS_EXPM1L.
60687         (EXPL_FINITE): Likewise.
60688         (FLDLOG): Likewise.
60689         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60690         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60691         e_expl.S.
60692         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60693         test of -max_value argument for long double.
60694         * sysdeps/i386/fpu/libm-test-ulps: Update.
60695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60697 2012-05-06  David S. Miller  <davem@davemloft.net>
60699         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60700         quad soft-float symbols whose references which are compiler
60701         generated.
60702         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60704 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60706         [BZ #13884]
60707         [BZ #13914]
60708         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60709         USE_AS_EXP10L.
60710         (EXPL_FINITE): Likewise.
60711         (FLDLOG): Likewise.
60712         (c0): Likewise.
60713         (c1): Likewise.
60714         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60715         Adjust comments for base varying.
60716         (__expl_finite): Change alias to EXPL_FINITE.
60717         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60718         e_expl.S.
60719         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60720         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60721         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60722         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60724         USE_AS_EXP10L.
60725         (EXPL_FINITE): Likewise.
60726         (FLDLOG): Likewise.
60727         (c0): Likewise.
60728         (c1): Likewise.
60729         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60730         Adjust comments for base varying.
60731         (__expl_finite): Change alias to EXPL_FINITE.
60732         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60733         tests for bugs.
60734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60736         [BZ #14064]
60737         * math/libm-test.inc (check_float_internal): Correct ulp
60738         calculation for subnormal expected results.
60740 2012-05-06  Andreas Jaeger  <aj@suse.de>
60742         * Makeconfig (+math-flags): New, set to -frounding-math.
60743         (+cflags): Add +math-flags so that all of glibc gets compiled with
60744         it.
60746         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60748 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60750         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60751         Disable one test.
60753         [BZ #13787]
60754         [BZ #13922]
60755         [BZ #14036]
60756         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60757         (__ieee754_expl): Allow for and saturate large arguments.
60758         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60759         (u_threshold): Likewise.
60760         (__exp): Call __ieee754_exp before checking for overflow and
60761         underflow.
60762         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60763         (u_threshold): Likewise.
60764         (__expf): Call __ieee754_expf before checking for overflow and
60765         underflow.
60766         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60767         (u_threshold): Likewise.
60768         (__expl): Call __ieee754_expl before checking for overflow and
60769         underflow.
60770         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60771         (__ieee754_expl): Allow for and saturate large arguments.
60772         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60773         missing overflow exception on overflow.
60774         (expm1_test): Do not allow missing overflow exception on overflow.
60776         * sysdeps/i386/fpu/e_expl.c: Move to ...
60777         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60778         rather than using inline asm.
60779         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60780         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60781         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60783         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60784         (nice): Likewise.
60785         (poll): Likewise.
60786         (signal): Likewise.
60787         (time): Likewise.
60788         (times): Likewise.
60790 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60792         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60793         sysdeps/unix/common/syscalls.list.
60794         (fchmod): Likewise.
60795         (fchown): Likewise.
60796         (ftruncate): Likewise.
60797         (getrusage): Likewise.
60798         (gettimeofday): Likewise.
60799         (setpgid): Likewise.
60800         (setregid): Likewise.
60801         (setreuid): Likewise.
60802         (sigaction): Likewise.
60803         (truncate): Likewise.
60804         (vhangup): Likewise.
60805         * sysdeps/unix/common/syscalls.list: Remove file.
60806         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60807         * sysdeps/unix/sysv/linux/Implies: Likewise.
60809 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60811         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60813         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60814         Moved to ...
60815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60816         Here.
60817         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60818         to ...
60819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60820         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60821         to ...
60822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60823         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60824         to ...
60825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60826         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60827         to ...
60828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60829         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60830         to ...
60831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60832         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60833         to ...
60834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60835         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60836         to ...
60837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60838         Here.
60839         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60840         to ...
60841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60842         Here.
60843         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60844         to ...
60845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60846         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60847         Moved to ...
60848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60849         Here.
60850         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60851         to ...
60852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60854 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60856         * sysdeps/unix/common/bits/dirent.h: Remove file.
60857         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60859         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60860         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60861         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60862         * sysdeps/unix/bsd/isatty.c: Likewise.
60863         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60864         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60865         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60867 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60869         [BZ #13563]
60870         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60871         long double comparison inaccuracies.
60872         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60875 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60877         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60878         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60880 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60882         [BZ #14049]
60883         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60884         nonzero digits before rounding a hex value.
60885         * stdlib/tst-strtod.c (tests): Add another test.
60887 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60889         * sysdeps/s390/fpu/libm-test-ulps: Update.
60891 2012-05-03  Andreas Jaeger  <aj@suse.de>
60893         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60894         does not get optimized out.
60895         (malloc_opt_barrier): New.
60897 2012-05-03  Andreas Jaeger  <aj@suse.de>
60898             Roland McGrath  <roland@hack.frob.com>
60900         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60901         intermediate file deletion.
60902         (generated): Add .symlist files.
60904 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60906         [BZ #13775]
60907         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60908         Redirect under this condition.
60909         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60910         [__USE_GNU] (__dprintf_chk): Not under this condition.
60911         [__USE_GNU] (__vdprintf_chk): Likewise.
60912         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60913         under this condition.
60914         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60915         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60916         [__USE_XOPEN2K8] (vdprintf): Likewise.
60917         [__USE_GNU] (__dprintf_chk): Not under this condition.
60918         [__USE_GNU] (__vdprintf_chk): Likewise.
60919         [__USE_GNU] (dprintf): Likewise.
60920         [__USE_GNU] (vdprintf): Likewise.
60922 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60924         * elf/Makefile (common-generated): Set this instead of generated for
60925         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60926         $(all-built-dso)-derived lists.
60928 2012-05-03  Andreas Jaeger  <aj@suse.de>
60930         * sysdeps/i386/fpu/libm-test-ulps: Update.
60932         * FAQ: Removed.
60933         * FAQ.in: Likewise.
60934         * scripts/gen-FAQ.pl: Likewise.
60935         * manual/install.texi (Installation): Point to online location of
60936         FAQ.
60937         * Makefile (files-for-dist): Remove FAQ.
60938         (FAQ): Remove.
60940 2012-05-02  Allan McRae  <allan@archlinux.org>
60942         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60943         (LDFLAGS-reldepmod5.so): Likewise.
60944         (LDFLAGS-reldep6mod1.so): Likewise.
60945         (LDFLAGS-reldep6mod4.so): Likewise.
60946         (LDFLAGS-reldep8mod3.so): Likewise.
60947         (LDFLAGS-unload4mod1.so): Likewise.
60948         (LDFLAGS-unload4mod2.so): Likewise.
60949         (LDFLAGS-tst-initorder): Likewise.
60950         (LDFLAGS-tst-initordera2.so): Likewise.
60951         (LDFLAGS-tst-initordera3.so): Likewise.
60952         (LDFLAGS-tst-initordera4.so): Likewise.
60953         (LDFLAGS-tst-initorderb2.so): Likewise.
60954         (LDFLAGS-noload): Likewise.
60955         (LDFLAGS-next): Likewise.
60956         (LDFLAGS-order2mod1.so): Likewise.
60957         (LDFLAGS-order2mod2.so): Likewise.
60958         (LDFLAGS-tst-initorder2): Likewise.
60959         (LDFLAGS-tst-initorder2a.so): Likewise.
60960         (LDFLAGS-tst-initorder2b.so): Likewise.
60961         (LDFLAGS-tst-initorder2c.so): Likewise.
60962         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60964 2012-05-02  David S. Miller  <davem@davemloft.net>
60966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60968 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60970         [BZ #14055]
60971         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60973 2012-05-02  Andreas Jaeger  <aj@suse.de>
60975         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60976         since we manipulate rounding mode.
60977         (CPPFLAGS-test-idouble.c): Likewise.
60978         (CPPFLAGS-test-ifloat.c): Likewise.
60979         (CFLAGS-test-ldouble.c): Likewise.
60980         (CFLAGS-test-double.c): Likewise.
60981         (CFLAGS-test-float.c): Likewise.
60982         (CFLAGS-test-misc.c): Likewise.
60983         (CFLAGS-test-test-fenv.c): Likewise.
60985 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60987         [BZ #2550]
60988         [BZ #2570]
60989         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60990         comparisons to determine direction to adjust input.
60992 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60994         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60995         output to the target.
60997         * scripts/localplt.awk: New file.
60998         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60999         (check-localplt-CFLAGS): Variable removed.
61000         ($(all-built-dso:=.jmprel)): New static pattern rule.
61001         (generated): Add those targets.
61002         (localplt-built-dso): New variable.
61003         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
61005         * elf/check-localplt.c: File removed.
61007         * scripts/check-execstack.awk: New file.
61008         * elf/Makefile ($(objpfx)check-execstack): Target removed.
61009         (check-execstack-CFLAGS): Variable removed.
61010         ($(objpfx)check-execstack.h): Target removed.
61011         ($(objpfx)execstack-default): New target.
61012         (generated): Add that instead of check-execstack.h.
61013         ($(all-built-dso:=.phdr)): New static pattern rule.
61014         (generated): Add those targets.
61015         * elf/check-execstack.c: File removed.
61017         * scripts/check-textrel.awk: New file.
61018         * elf/Makefile ($(objpfx)check-textrel): Target removed.
61019         (check-textrel-CFLAGS): Variable removed.
61020         (all-built-dso): Use := to define.o
61021         ($(all-built-dso:=.dyn)): New static pattern rule.
61022         (generated): Add those targets.
61023         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
61024         * config.make.in (READELF): New substituted variable.
61025         * elf/check-textrel.c: File removed.
61027 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61029         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61030         allow.
61031         * conform/data/ctype.h-data [C99-based standards] (isblank):
61032         Expect function.
61033         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
61034         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
61035         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61036         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
61037         Specify type.  Require positive value.
61038         (EILSEQ): Likewise.
61039         (ERANGE): Likewise.
61040         [ISO || POSIX] (EILSEQ): Do not expect.
61041         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
61042         Specify type.  Require positive value.
61043         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
61044         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
61045         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
61046         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
61047         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
61048         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
61049         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
61050         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
61051         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
61052         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
61053         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
61054         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
61055         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
61056         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
61057         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
61058         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
61059         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
61060         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
61061         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
61062         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
61063         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
61064         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
61065         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
61066         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
61067         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
61068         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
61069         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
61070         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
61071         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
61072         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
61073         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
61074         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
61075         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
61076         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
61077         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
61078         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
61079         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
61080         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
61081         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
61082         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
61083         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
61084         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
61085         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
61086         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
61087         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
61088         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
61089         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
61090         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
61091         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
61092         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
61093         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
61094         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
61095         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
61096         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
61097         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
61098         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
61099         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
61100         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
61101         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
61102         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
61103         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
61104         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
61105         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
61106         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
61107         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
61108         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
61109         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
61110         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
61111         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
61112         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
61113         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
61114         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
61115         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
61116         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
61117         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
61118         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
61119         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
61120         Require >= 2.
61121         (FLT_ROUNDS): Expect as macro, not constant.
61122         (FLT_MANT_DIG): Use macro-int-constant.
61123         (DBL_MANT_DIG): Likewise.
61124         (LDBL_MANT_DIG): Likewise.
61125         (FLT_DIG): Likewise.
61126         (DBL_DIG): Likewise.
61127         (LDBL_DIG): Likewise.
61128         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
61129         (DBL_MIN_EXP): Likewise.
61130         (LDBL_MIN_EXP): Likewise.
61131         (FLT_MAX_EXP): Use macro-int-constant.
61132         (DBL_MAX_EXP): Likewise.
61133         (LDBL_MAX_EXP): Likewise.
61134         (FLT_MAX_10_EXP): Likewise.
61135         (DBL_MAX_10_EXP): Likewise.
61136         (LDBL_MAX_10_EXP): Likewise.
61137         (FLT_MAX): Use macro-constant.
61138         (DBL_MAX): Likewise.
61139         (LDBL_MAX): Likewise.
61140         (FLT_EPSILON): Use macro-constant.  Give upper bound.
61141         (DBL_EPSILON): Likewise.
61142         (LDBL_EPSILON): Likewise.
61143         (FLT_MIN): Likewise.
61144         (DBL_MIN): Likewise.
61145         (LDBL_MIN): Likewise.
61146         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
61147         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
61148         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
61149         [ISO11] (FLT_HAS_SUBNORM): Likewise.
61150         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
61151         [ISO11] (DBL_DECIMAL_DIG): Likewise.
61152         [ISO11] (FLT_DECIMAL_DIG): Likewise.
61153         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
61154         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
61155         [ISO11] (FLT_TRUE_MIN): Likewise.
61156         [ISO11] (LDBL_TRUE_MIN): Likewise.
61157         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61158         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
61159         (SCHAR_MIN): Use macro-int-constant.  Specify type.
61160         (SCHAR_MAX): Likewise.
61161         (UCHAR_MAX): Likewise.
61162         (CHAR_MIN): Likewise.
61163         (CHAR_MAX): Likewise.
61164         (MB_LEN_MAX): Use macro-int-constant.
61165         (SHRT_MIN): Use macro-int-constant.  Specify type.
61166         (SHRT_MAX): Likewise.
61167         (USHRT_MAX): Likewise.
61168         (INT_MAX): Likewise.
61169         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
61170         bound negative.
61171         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61172         bound with "U".
61173         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61174         bound with "L".
61175         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
61176         bound negative.  Suffix upper bound with "L".
61177         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61178         bound with "UL".
61179         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
61180         Specify type.
61181         [C99-based standards] (LLONG_MAX): Likewise.
61182         [C99-based standards] (ULLONG_MAX): Likewise.
61183         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
61184         == 0.
61185         [ISO11] (max_align_t): Require type.
61186         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61188         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
61189         from $CFLAGS, without defining away __attribute__ calls.
61190         (checknamespace): Use $CFLAGS_namespace.
61192         * conform/conformtest.pl (@keywords): Only include C99 keywords
61193         for standards based on C99 or C11.
61195         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
61196         Disable tests.
61197         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
61198         UNIX98]: Likewise.
61200         * conform/conformtest.pl: Handle "macro-int-constant" and test for
61201         usability of symbols in #if.
61203         * conform/conformtest.pl: If macro or constant types start
61204         "promoted:", expect the symbol to be of the following type
61205         promoted by the integer promotions.
61207         * conform/conformtest.pl: Parse all "constant" and "macro" lines
61208         in one place.  Also handle "macro-constant".
61210         * conform/conformtest.pl: Only accept expected macro values with
61211         "==".  Parse all "macro" lines in one place.
61212         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
61214         * conform/conformtest.pl: Handle braced types on "constant" lines
61215         instead of handling "typed-constant".
61216         * conform/data/signal.h-data: Use "constant" instead of
61217         "typed-constant".
61219         * conform/conformtest.pl: Handle "optional-" at start of lines in
61220         one place rather than duplicating several cases.  Handle each
61221         format of "macro" line with initial "optional-".
61223         * conform/conformtest.pl: Only accept expected constant or
61224         optional-constant values with "==".  Parse all "constant" lines in
61225         one place.  Parse all "optional-constant" lines in one place.
61226         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
61227         * conform/data/fmtmsg.h-data: Likewise.
61228         * conform/data/netinet/in.h-data: Likewise.
61229         * conform/data/tar.h-data: Likewise.
61230         * conform/data/limits.h-data: Use "==" form on "constant" and
61231         "optional-constant" lines.
61233         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
61234         Use -std=c99 for XOPEN2K.
61235         (@knownproblems): Remove.
61236         (newtoken): Don't check %isknown.
61238         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
61239         Do not expect macro.
61240         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
61241         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
61242         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
61243         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
61244         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
61245         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
61246         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
61247         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
61248         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
61249         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
61250         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
61251         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
61252         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
61253         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
61254         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
61255         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
61256         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
61257         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61258         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
61259         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
61260         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
61261         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
61262         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
61263         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
61264         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
61265         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
61266         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
61267         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
61268         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
61269         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
61270         [XPG3] (acosh): Likewise.
61271         [XPG3] (asinh): Likewise.
61272         [XPG3] (atanh): Likewise.
61273         [XPG3] (cbrt): Likewise.
61274         [XPG3] (expm1): Likewise.
61275         [XPG3] (ilogb): Likewise.
61276         [XPG3] (log1p): Likewise.
61277         [XPG3] (logb): Likewise.
61278         [XPG3] (nextafter): Likewise.
61279         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
61280         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61281         [XPG3] (remainder): Likewise.
61282         [XPG3] (rint): Likewise.
61283         [XPG3 || XPG4 || UNIX98] (round): Likewise.
61284         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
61285         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
61286         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
61287         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
61288         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
61289         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
61290         [UNIX98 || XOPEN2K] (scalb): Expect.
61291         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
61292         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
61293         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
61294         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
61295         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
61296         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
61297         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
61298         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
61299         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
61300         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
61301         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
61302         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
61303         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
61304         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
61305         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
61306         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
61307         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
61308         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
61309         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
61310         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
61311         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
61312         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
61313         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
61314         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
61315         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
61316         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
61317         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
61318         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
61319         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
61320         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61321         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61322         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61323         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61324         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61325         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61326         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61327         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61328         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61329         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61330         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61331         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61332         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61333         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61334         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61335         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61336         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61337         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61338         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61339         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61340         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61341         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61342         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61343         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61344         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61345         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61346         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61347         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61348         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61349         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61350         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61351         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61352         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61353         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61354         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61355         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61356         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61357         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61358         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61359         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61360         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61361         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61362         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61363         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
61364         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
61365         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
61366         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
61367         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
61368         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
61369         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
61370         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
61371         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
61372         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
61373         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
61374         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
61375         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
61376         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
61377         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
61378         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
61379         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
61380         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
61381         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
61382         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
61383         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
61384         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
61385         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
61386         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
61387         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
61388         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
61389         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
61390         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
61391         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
61392         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
61393         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
61394         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
61395         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
61396         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
61397         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
61398         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
61399         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
61400         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
61401         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
61402         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
61403         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
61404         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
61405         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
61406         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61407         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61408         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61409         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61410         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61411         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61412         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61413         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61414         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61415         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61416         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61417         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61418         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61419         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61420         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61421         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61422         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61423         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61424         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61425         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61426         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61427         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61429         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61430         _XOPEN_SOURCE_EXTENDED for XPG4.
61432         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61434         * Makeconfig (localtime): Remove variable.
61435         (inst_localtime-file): Likewise.
61437 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61440         Update.
61441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61442         Update.
61443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61444         Update.
61445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61446         Update.
61447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61448         Update.
61449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61450         Update.
61451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61452         Update.
61453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61454         Update.
61455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61456         Update.
61458 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61460         [BZ #2550]
61461         [BZ #2570]
61462         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61463         comparisons to determine direction to adjust input.
61464         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61465         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61466         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61467         Likewise.
61468         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61469         Likewise.
61470         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61471         Likewise.
61472         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61473         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61474         Likewise.
61475         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61476         Likewise.
61477         * math/libm-test.inc (nexttoward_test): Add more tests.
61479 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61481         [BZ #14040]
61482         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61483         in version GLIBC_2.1, not GLIBC_2.0.
61484         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61485         Likewise.
61487 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61489         [BZ #13942]
61490         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61491         (1 - x) * (1 + x).
61492         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61493         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61494         * math/libm-test.inc (acos_test): Add more tests.
61495         (asin_test): Likewise.
61496         * sysdeps/i386/fpu/libm-test-ulps: Update.
61497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61499         [BZ #14034]
61500         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61501         of square root.
61502         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61503         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61504         * math/libm-test.inc (acos_test_tonearest): New function.
61505         (acos_test_towardzero): Likewise.
61506         (acos_test_downward): Likewise.
61507         (acos_test_upward): Likewise.
61508         (asin_test_tonearest): Likewise.
61509         (asin_test_towardzero): Likewise.
61510         (asin_test_downward): Likewise.
61511         (asin_test_upward): Likewise.
61512         (main): Call the new functions.
61513         * sysdeps/i386/fpu/libm-test-ulps: Update.
61514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61516         [BZ #13884]
61517         [BZ #13924]
61518         * math/e_exp10.c: Include <float.h>.
61519         (__ieee754_exp10): Handle underflow here rather than multiplying
61520         large negative argument by M_LN10.
61521         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61522         of __ieee754_expf.
61523         * math/e_exp10l.c: Include <float.h>.
61524         (__ieee754_exp10l): Handle underflow here rather than multiplying
61525         large negative argument by M_LN10l.
61526         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61527         spurious overflow exception on underflow.
61529 2012-04-29  Marek Polacek  <polacek@redhat.com>
61531         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61532         (__fortify_function): New macro.
61533         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61534         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61535         __extern_always_inline.
61536         * libio/bits/stdio2.h: Likewise.
61537         * libio/bits/stdio.h: Likewise.
61538         * string/string.h: Likewise.
61539         * string/bits/string3.h: Likewise.
61540         * include/stdio.h: Likewise.
61541         * stdlib/bits/stdlib.h: Likewise.
61542         * stdlib/stdlib.h: Likewise.
61543         * rt/bits/mqueue2.h: Likewise.
61544         * rt/mqueue.h: Likewise.
61545         * posix/bits/unistd.h: Likewise.
61546         * posix/unistd.h: Likewise.
61547         * io/bits/poll2.h: Likewise.
61548         * io/bits/fcntl2.h: Likewise.
61549         * io/fcntl.h: Likewise.
61550         * io/sys/poll.h: Likewise.
61551         * misc/bits/syslog.h: Likewise.
61552         * misc/bits/syslog-ldbl.h: Likewise.
61553         * misc/sys/syslog.h: Likewise.
61554         * socket/bits/socket2.h: Likewise.
61555         * socket/sys/socket.h: Likewise.
61556         * debug/tst-chk1.c: Likewise.
61557         * wcsmbs/bits/wchar2.h: Likewise.
61558         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61559         * wcsmbs/wchar.h: Likewise.
61561 2012-04-29  Andreas Jaeger  <aj@suse.de>
61563         * Makerules (tests): Remove enable-check-abi protection.
61564         (check-abi-warn): Remove.
61565         (check-abi-%): Remove check-abi-warn usage.
61567         * configure.in: Remove check-abi configure option.
61568         * configure: Regenerated.
61569         * config.make.in (enable-check-abi): Remove.
61571 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61573         [BZ #14033]
61574         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61575         double functions to double *_finite functions.
61577         [BZ #13941]
61578         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61579         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61580         LDBL_MIN_EXP.
61581         * stdio-common/Makefile (tests): Add tst-sprintf3.
61582         * stdio-common/tst-sprintf3.c: New file.
61584         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61585         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61587 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61589         * conform/conformtest.pl: Remove duplicate typed-constant
61590         handling.
61592 2012-04-28  David S. Miller  <davem@davemloft.net>
61594         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61595         (check-abi-%): Remove AWK script prerequisite and explicit
61596         abilist directory.
61597         (check-abi): Rewrite to just diff the symlist with the abilist.
61598         (config-tls, config-abi-config): Delete, no longer used.
61599         (update-abi-%): Remove AWK script and explicit abilist directory.
61600         (update-abi): Rewrite to simply compare and conditionally copy the
61601         symlist and the sysdep abilist file.  Remove update-abi-config
61602         checks.
61603         * abilist/ld.abilist: Remove.
61604         * abilist/libBrokenLocale.abilist: Remove.
61605         * abilist/libanl.abilist: Remove.
61606         * abilist/libcrypt.abilist: Remove.
61607         * abilist/libdl.abilist: Remove.
61608         * abilist/librt.abilist: Remove.
61609         * abilist/libthread_db.abilist: Remove.
61610         * abilist/libutil.abilist: Remove.
61611         * scripts/extract-abilist.awk: Remove.
61612         * scripts/merge-abilist.awk: Remove.
61613         * sysdeps/generic/libcidn.abilist: New file.
61614         * sysdeps/generic/libnss_compat.abilist: New file.
61615         * sysdeps/generic/libnss_db.abilist: New file.
61616         * sysdeps/generic/libnss_dns.abilist: New file.
61617         * sysdeps/generic/libnss_files.abilist: New file.
61618         * sysdeps/generic/libnss_hesiod.abilist: New file.
61619         * sysdeps/generic/libnss_nis.abilist: New file.
61620         * sysdeps/generic/libnss_nisplus.abilist: New file.
61621         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61622         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61623         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61624         file.
61625         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61626         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61627         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61628         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61629         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61630         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61631         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61632         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61633         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61634         file.
61635         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61636         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61637         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61638         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61639         file.
61640         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61641         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61642         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61643         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61644         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61645         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61646         file.
61647         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61648         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61649         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61650         file.
61651         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61652         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61653         New file.
61654         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61655         New file.
61656         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61657         New file.
61658         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61659         New file.
61660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61661         New file.
61662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61663         New file.
61664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61665         New file.
61666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61667         New file.
61668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61669         New file.
61670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61671         New file.
61672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61673         New file.
61674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61675         New file.
61676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61677         New file.
61678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61679         file.
61680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61681         New file.
61682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61683         New file.
61684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61685         file.
61686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61687         New file.
61688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61689         New file.
61690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61691         file.
61692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61693         New file.
61694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61695         New file.
61696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61697         New file.
61698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61699         New file.
61700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61701         New file.
61702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61703         New file.
61704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61706         file.
61707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61708         New file.
61709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61710         file.
61711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61712         file.
61713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61714         file.
61715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61716         file.
61717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61718         file.
61719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61720         New file.
61721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61722         file.
61723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61724         file.
61725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61726         New file.
61727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61728         file.
61729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61731         file.
61732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61733         New file.
61734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61735         file.
61736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61737         file.
61738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61739         file.
61740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61741         file.
61742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61743         file.
61744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61745         New file.
61746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61747         file.
61748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61749         file.
61750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61751         New file.
61752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61753         file.
61754         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61755         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61756         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61757         file.
61758         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61759         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61760         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61761         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61762         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61763         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61764         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61765         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61766         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61767         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61770         file.
61771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61772         New file.
61773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61774         file.
61775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61776         file.
61777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61778         file.
61779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61780         file.
61781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61782         file.
61783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61784         New file.
61785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61786         New file.
61787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61788         file.
61789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61790         New file.
61791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61792         file.
61793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61795         file.
61796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61797         New file.
61798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61799         file.
61800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61801         file.
61802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61803         file.
61804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61805         file.
61806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61807         file.
61808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61809         New file.
61810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61811         New file.
61812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61813         file.
61814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61815         New file.
61816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61817         file.
61819 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61821         * conform/conformtest.pl: Fix typo in handling typed-constant from
61822         allow-header.
61824 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61826         * README: Cut down references to pre-2.6 Linux kernels and
61827         Linuxthreads.  Update lists of configurations in libc and ports
61828         and sort alphabetically.  Say "or newer" with Linux kernel version
61829         requirements.
61831         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61833 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61835         [BZ #887]
61836         * math/libm-test.inc (logb_test_downward): New test to expose
61837         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61838         rounding mode.
61840 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61842         [BZ #14027]
61843         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61844         to be done.
61845         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61846         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61848 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61850         * sysdeps/unix/i386/brk.S: Remove file.
61851         * sysdeps/unix/i386/dl-brk.S: Likewise.
61852         * sysdeps/unix/i386/pipe.S: Likewise.
61853         * sysdeps/unix/i386/sigreturn.S: Likewise.
61854         * sysdeps/unix/i386/syscall.S: Likewise.
61855         * sysdeps/unix/i386/vfork.S: Likewise.
61856         * sysdeps/unix/i386/wait.S: Likewise.
61858         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61859         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61861         * configure.in (arm*-none*): Do not allow without
61862         --enable-hacker-mode.
61863         (netbsd*): Remove case setting base_os.
61864         (386bsd*): Likewise.
61865         (freebsd*): Likewise.
61866         (bsdi*): Likewise.
61867         (osf*): Likewise.
61868         (sunos*): Likewise.
61869         (ultrix*): Likewise.
61870         (newsos*): Likewise.
61871         (dynix*): Likewise.
61872         (*bsd*): Likewise.
61873         (sysv*): Likewise.
61874         (isc*): Likewise.
61875         (esix*): Likewise.
61876         (sco*): Likewise.
61877         (minix*): Likewise.
61878         (irix4*): Likewise.
61879         (irix6*): Likewise.
61880         (solaris[2-9]*): Likewise.
61881         (none): Likewise.
61882         * configure: Regenerated.
61884 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61886         [BZ #11521]
61887         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61888         overflow or cancellation in calculating denominator.
61889         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61890         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61891         down expression to avoid unexpected rounding in newer GCCs.
61892         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61894 2012-04-26  David S. Miller  <davem@davemloft.net>
61896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61897         long-double compat symbols.
61898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61912 2012-04-25  David S. Miller  <davem@davemloft.net>
61914         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61915         HWCAP_* values only after the memory barriers have been defined.
61916         (atomic_full_barrier): Define.
61917         (atomic_read_barrier): Define.
61918         (atomic_write_barrier): Define.
61920 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61922         * shlib-versions: Add libgcc_s version information.
61923         * sysdeps/generic/libgcc_s.h: Remove.
61924         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61925         libgcc_s.h.
61926         * sysdeps/gnu/unwind-resume.c: Likewise.
61927         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61929 2012-04-25  David S. Miller  <davem@davemloft.net>
61931         * sysdeps/unix/sparc/brk.S: Delete.
61932         * sysdeps/unix/sparc/dl-brk.S: Delete.
61933         * sysdeps/unix/sparc/pipe.S: Delete.
61934         * sysdeps/unix/sparc/sysdep.S: Delete.
61935         * sysdeps/unix/sparc/sysdep.h: Delete.
61936         * sysdeps/unix/sparc/vfork.S: Delete.
61937         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61938         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61939         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61940         (ret_ERRVAL, r0, r1, MOVE): Define.
61941         (JUMPTARGET): Remove.
61942         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61943         sysdeps/unix/sparc/sysdep.h
61944         (ENTRY, END): Remove.
61945         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61947 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61949         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61950         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61951         -DIS_IN_build.
61953         * timezone/README: Update upstream location and email address for
61954         tzcode and tzdata.
61955         * timezone/zdump.c: Update from tzcode 2012b.
61956         * timezone/zic.c: Likewise.
61958         * configure.in (libc_cv_as_needed): Remove test.
61959         * configure: Regenerated.
61960         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61961         conditional definition.
61962         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61963         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61964         * config.make.in (have-as-needed): Remove variable.
61966 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61967             Paul Pluzhnikov  <ppluzhnikov@google.com>
61969         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61970         strings correctly.
61972 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61974         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61975         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61976         * sysdeps/sh/strlen.S: Likewise.
61978 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61980         * sysdeps/unix/fork.S: Remove file.
61981         * sysdeps/unix/i386/fork.S: Likewise.
61982         * sysdeps/unix/sparc/fork.S: Likewise.
61984         * sysdeps/unix/system.c: Remove file.
61985         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61987         * sysdeps/unix/getegid.S: Remove file.
61988         * sysdeps/unix/geteuid.S: Likewise.
61990 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61992         * scripts/check-localplt.awk: New file.
61993         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61994         of diff.
61995         * scripts/data/localplt-generic.data: Add a comment.
61997         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61998         NODE when __dir_mkfile failed.
61999         * sysdeps/mach/hurd/symlinkat.c: Likewise.
62000         Reported by Ludovic Courtès <ludo@gnu.org>.
62002 2012-04-24  Andreas Jaeger  <aj@suse.de>
62004         * Makerules (common-clean): Also remove gen-as-const-headers
62005         files.
62007 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62009         * Makerules (native-compile): Do not change working directory for
62010         build.  Use $(OUTPUT_OPTION) in command.
62011         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
62013 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62015         [BZ #13886]
62016         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
62017         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
62018         * math/libm-test.inc (floor_test): Add more tests.
62019         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
62021 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62023         * sysdeps/unix/getdents.c: Remove file.
62024         * sysdeps/unix/sysv/getdents.c: Likewise.
62025         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
62027         * sysdeps/unix/syscalls.list (madvise): Add syscall from
62028         sysdeps/unix/mman/syscalls.list.
62029         (mmap): Likewise.
62030         (mprotect): Likewise.
62031         (msync): Likewise.
62032         (munmap): Likewise.
62033         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
62034         * sysdeps/unix/mman/syscalls.list: Remove.
62035         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
62037         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
62038         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
62039         * configure: Regenerated.
62040         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
62041         $(libgcc_s_suffix).
62042         * config.make.in (libgcc_s_suffix): Remove variable.
62044 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
62046         * sysdeps/unix/sysv/gethostname.c: Move to ...
62047         * sysdeps/posix/gethostname.c: ... here.
62049         * sysdeps/unix/execve.S: Remove file.
62051         * sysdeps/unix/_exit.S: Remove file.
62053 2012-04-23  Andreas Jaeger  <aj@suse.de>
62055         [BZ #13739]
62056         * manual/Makefile: Remove make dist support, there's no
62057         need for a stand-alone documentation tar ball.
62058         (TEXI2DVI): Define always, it's not in Makeconfig.
62059         (dist): Removed.
62060         (tar-it): Removed.
62061         (edition): Removed.
62062         (glibc-doc-$(edition).tar): Removed
62063         (%.Z): Removed.
62064         (%.gz): Removed.
62065         (%.uu): Removed.
62066         (ETAGS): Remove, it's in Makeconfig.
62067         (move-if-change): Remove, it's in Makeconfig.
62069 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
62071         [BZ #13970]
62072         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
62073         (strtod, strtof, strtold, strtol, strtoul, strtoq)
62074         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
62075         (strtod_l, strtof_l, strtold_l): Remove __wur.
62076         It is not necessarily an error to ignore strtol's return value.
62077         One can reliably look at the stored endptr to decide whether
62078         the number had valid syntax.
62080 2012-04-21  Andreas Jaeger  <aj@suse.de>
62082         [BZ #13739]
62083         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
62085 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
62087         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
62088         * sysdeps/unix/sysv/Versions: Remove file.
62090 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
62092         [BZ #13927]
62093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62095 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
62097         [BZ #7064]
62098         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
62099         version from __vm86.
62101 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
62103         * sysdeps/unix/common/lxstat.c: Remove file.
62104         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
62106         * sysdeps/unix/sysv/Makefile: Remove file.
62108         * sysdeps/unix/sysv/direct.h: Remove file.
62110         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
62111         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
62112         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
62113         * sysdeps/unix/sysv/bits/signum.h: Likewise.
62114         * sysdeps/unix/sysv/bits/stat.h: Likewise.
62115         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
62116         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
62118         * sysdeps/unix/sysv/setrlimit.c: Remove file.
62120         * sysdeps/unix/xmknod.c: Remove file.
62121         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
62123         * sysdeps/unix/sysv/settimeofday.c: Remove file.
62125         * sysdeps/unix/sysv/i386/time.S: Remove file.
62127         * sysdeps/unix/fxstat.c: Remove file.
62128         * sysdeps/unix/xstat.c: Likewise.
62129         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
62131         * sysdeps/unix/sysv/sigaction.c: Remove file.
62133         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
62134         (sysdep_headers): Remove variable.
62135         [termio.h not in sysdep_headers] (generated): Likewise.
62136         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
62137         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
62138         * sysdeps/unix/sysv/tcdrain.c: Likewise.
62139         * sysdeps/unix/sysv/tcflow.c: Likewise.
62140         * sysdeps/unix/sysv/tcflush.c: Likewise.
62141         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
62142         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
62143         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
62144         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
62145         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
62147         * sysdeps/unix/siglist.c: Remove file.
62149         * sysdeps/unix/getppid.S: Remove file.
62151         * sysdeps/unix/mkdir.c: Remove file.
62152         * sysdeps/unix/rmdir.c: Likewise.
62154 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
62156         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
62157         ERR_MAX value.
62158         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
62159         errlist-compat value.
62161 2012-04-18  David S. Miller  <davem@davemloft.net>
62163         * sysdeps/generic/memcopy.h (reg_char): Delete.
62164         * debug/strcat_chk.c: Use char, not reg_char.
62165         * debug/strcpy_chk.c: Likewise.
62166         * debug/strncat_chk.c: Likewise.
62167         * debug/strncpy_chk.c: Likewise.
62168         * string/memchr.c: Likewise.
62169         * string/memrchr.c: Likewise.
62170         * string/rawmemchr.c: Likewise.
62171         * string/strcat.c: Likewise.
62172         * string/strchr.c: Likewise.
62173         * string/strchrnul.c: Likewise.
62174         * string/strcmp.c: Likewise.
62175         * string/strcpy.c: Likewise.
62176         * string/strncat.c: Likewise.
62177         * string/strncmp.c: Likewise.
62178         * string/strncpy.c: Likewise.
62180 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62182         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
62183         __builtin_memcopy is called when src and dest ranges are known to not
62184         overlap.
62186 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62188         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
62189         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
62190         fwd_align_merge macro call.
62191         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
62192         bwd_align_merge macro call.
62193         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62195 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62197         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
62198         bwd_align_merge macros.
62199         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
62200         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
62201         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62203 2012-04-18  David S. Miller  <davem@davemloft.net>
62205         * sysdeps/sparc/sparc64/memcopy.h: Delete.
62207 2012-04-18  Andreas Jaeger  <aj@suse.de>
62209         [BZ# 6794]
62210         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
62211         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
62212         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62214         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
62215         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
62216         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62218         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
62219         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
62220         Adjust for changed ldbl-128 files.
62222         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
62223         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
62224         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62226 2012-04-17  David S. Miller  <davem@davemloft.net>
62228         * sysdeps/sparc/sparc32/memcopy.h: Delete.
62230 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
62232         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
62233         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
62234         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
62235         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
62236         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62237         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
62239 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62241         [BZ #6794]
62242         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
62243         * math/libm-test.inc: Add ilogb errno and exception tests.
62244         * math/w_ilogb.c: New file: ilogb wrapper.
62245         * math/w_ilogbf.c: New file: ilogbf wrapper.
62246         * math/w_ilogbl.c: New file: ilogbl wrapper.
62247         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
62248         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
62249         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
62250         exception being thrown with 0.0 as argument.
62251         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
62252         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
62253         exception being thrown with 0.0 as argument.
62254         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
62255         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62256         exception being thrown with 0.0 as argument.
62257         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
62258         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62259         exception being thrown with 0.0 as argument.
62260         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
62261         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
62262         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
62263         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
62264         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
62265         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
62266         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
62267         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
62268         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
62270 2012-04-17  Petr Baudis  <pasky@ucw.cz>
62272         * include/sys/uio.h: Change __vector to __iovec to avoid clash
62273         with altivec.
62275 2012-04-16  Marek Polacek  <polacek@redhat.com>
62277         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
62279 2012-04-16  Marek Polacek  <polacek@redhat.com>
62281         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
62282         operands of fdivp instruction.
62284 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62286         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
62287         * elf/tst-auditmod3b.c: Likewise.
62288         * elf/tst-auditmod4b.c: Likewise.
62289         * elf/tst-auditmod5b.c: Likewise.
62290         * elf/tst-auditmod6b.c: Likewise.
62291         * elf/tst-auditmod6c.c: Likewise.
62292         * elf/tst-auditmod7b.c: Likewise.
62293         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
62294         * sysdeps/x86_64/preconfigure.in: Likewise.
62295         * sysdeps/x86_64/preconfigure: Regenerated.
62297 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62299         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
62300         __ILP32__.
62302 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
62304         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62305         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
62307 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
62309         [BZ #13973]
62310         * locale/iso-639.def: Fix gl language name. Spotted by
62311         Yaron Shahrabani.
62313 2012-04-12  Roland McGrath  <roland@hack.frob.com>
62315         [BZ #2074]
62316         * libio/libio.h (__io_write_fn): Update comment.
62318 2012-04-12  Petr Baudis  <pasky@ucw.cz>
62320         [BZ #2074]
62321         * stdio.texi (Hook Functions): The user provided writer function
62322         is not allowed to return -1.
62324 2012-04-11  David S. Miller  <davem@davemloft.net>
62326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62328 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
62330         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62331         Add a leading slash to rtkaio.
62333 2012-04-11  Jim Meyering  <meyering@redhat.com>
62335         [BZ #11959]
62336         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62337         It is not necessarily an error to ignore fwrite's return
62338         value.  One can reliably use ferror to test for errors after
62339         the fact.
62341 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62343         * bits/types.h (__snseconds_t): New type.
62344         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62346         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62347         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62348         (__SNSECONDS_T_TYPE): Likewise.
62349         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62350         (__SNSECONDS_T_TYPE): Likewise.
62351         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62352         (__SNSECONDS_T_TYPE): Likewise.
62354 2012-04-10  Andreas Jaeger  <aj@suse.de>
62356         [BZ #2636]
62357         * manual/time.texi (Processor Time): Return type of times is
62358         elapsed real time since an arbitrary point in the past.
62359         (CPU Time): Move CLK_TCK from here...
62360         (Processor Time): ...to here.  Correct description.
62361         * manual/conf.texi (Constants for Sysconf): Correct description of
62362         _SC_CLK_TCK.
62364 2012-04-10  David S. Miller  <davem@davemloft.net>
62366         [BZ #13967]
62367         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
62368         where the is a gap between DT_REL(A) and DT_JMPREL.
62370 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62372         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
62373         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62374         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62376 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62378         * elf/dl-support.c (_dl_inhibit_cache): New variable.
62379         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
62380         (dl_main): Handle --inhibit-cache.
62381         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
62382         _dl_inhibit_cache.
62383         * elf/dl-load.c (_dl_map_object): Use it.
62384         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62386 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62388         [BZ #13872]
62389         * sysdeps/i386/fpu/e_powl.S (p78): New object.
62390         (__ieee754_powl): Saturate large exponents rather than testing for
62391         overflow of y*log2(x).
62392         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62393         * math/libm-test.inc (pow_test): Do not permit spurious overflow
62394         exceptions.
62396         [BZ #11521]
62397         * math/s_ctan.c: Include <float.h>.
62398         (__ctan): Avoid internal overflow or cancellation in calculating
62399         denominator.
62400         * math/s_ctanf.c: Likewise.
62401         * math/s_ctanl.c: Likewise.
62402         * math/s_ctanh.c: Likewise.
62403         * math/s_ctanhf.c: Likewise.
62404         * math/s_ctanhl.c: Likewise.
62405         * math/libm-test.inc (ctan_test): Add more tests.
62406         (ctanh_test): Likewise.
62407         * sysdeps/i386/fpu/libm-test-ulps: Update.
62408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62410 2012-04-09  Andreas Jaeger  <aj@suse.de>
62412         [BZ #6894]
62413         * manual/filesys.texi (Directory Entries): Mention that d_namlen
62414         is an optional BSD extension.
62416         [BZ #10254]
62417         * manual/stdio.texi (Opening Streams): Document additional fopen
62418         parameters.
62420 2012-04-09  Roland McGrath  <roland@hack.frob.com>
62422         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62423         %eax without telling the compiler.
62425 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
62427         [BZ # 13963]
62428         * manual/install.texi: Use sourceware.org.
62430 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62432         [BZ #13873]
62433         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62434         (__ieee754_pow): Generate overflow and underflow using huge*huge
62435         and tiny*tiny rather than just returning constant infinity or zero
62436         for large exponents.
62437         * math/libm-test.inc (pow_test): Require overflow exceptions for
62438         applicable cases of large exponents.
62440         [BZ #706]
62441         * sysdeps/i386/fpu/e_pow.S (p10): New object.
62442         (__ieee754_pow): Use iterative multiplication algorithm only for
62443         integer exponents with absolute value below 1024.  Check for odd
62444         integer exponents when using algorithm for real exponents.
62445         * math/libm-test.inc (pow_test): Add more tests.
62446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62448 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
62450         [BZ #13705]
62451         * math/libm-test.inc (exp_test): Do not allow overflow exception
62452         on underflow test.
62454 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
62456         [BZ #13705]
62457         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62458         instead of __kernel_standard_f.
62460 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62462         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62463         * sysdeps/x86_64/memset_chk.S: Likewise.
62465 2012-04-08  Andreas Jaeger  <aj@suse.de>
62467         [BZ #10153]
62468         * manual/startup.texi (Environment Access): Describe return value
62469         for putenv and setenv.
62471         [BZ #6895]
62472         * manual/filesys.texi (Directory Entries): Add description for
62473         DT_LNK.
62475         [BZ #6890]
62476         * manual/filesys.texi (Directory Entries): Clarify that it's file
62477         system not operating system in the description of DT_UNKNOWN.
62479         [BZ #6578]
62480         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62482 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62484         [BZ #6649]
62485         * manual/llio.texi (Opening and Closing Files): Add cross
62486         reference to explain mode argument.
62488 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62490         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62491         * sysdeps/x86_64/memset_chk.S: Likewise.
62493 2012-04-07  David S. Miller  <davem@davemloft.net>
62495         * elf/elf.h (R_SPARC_WDISP10): Define.
62496         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62497         R_SPARC_SIZE32.
62498         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62499         R_SPARC_SIZE64 and R_SPARC_H34.
62501 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62503         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62504         conditions and remove no longer applicable assertion.
62506 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62508         * bits/byteswap.h: Include <features.h>.
62509         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62510         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62512 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62514         * bits/byteswap.h (__bswap_16): Removed.
62515         Include <bits/byteswap-16.h> to get __bswap_16.
62516         * sysdeps/i386/bits/byteswap.h: Likewise.
62517         * sysdeps/s390/bits/byteswap.h: Likewise.
62518         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62519         * bits/byteswap-16.h: New file.
62520         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62521         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62522         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62523         * string/Makefile (headers): Add bits/byteswap-16.h.
62525 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62527         [BZ #13895]
62528         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62529         extra indirection.
62530         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62531         * nss/tst-nss-static.c: New.
62533 2012-04-06  Robert Millan  <rmh@gnu.org>
62535         [BZ #6486]
62536         * manual/llio.texi (File Position Primitive): lseek
62537         refers to WHENCE when it really means OFFSET.
62539 2012-04-06  Andreas Jaeger  <aj@suse.de>
62541         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62542         strncmp declarations.
62544         * abilist/libc.abilist: Add __poll and __ppoll.
62546 2012-04-05  David S. Miller  <davem@davemloft.net>
62548         * scripts/check-local-headers.sh: Accept a host triplet in the
62549         path matched by the exclude regexp.
62551         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62552         definition.
62553         * sysdeps/powerpc/powerpc32/dl-machine.h
62554         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62555         * sysdeps/s390/s390-32/dl-machine.h
62556         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62557         * sysdeps/sparc/sparc32/dl-machine.h
62558         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62559         * sysdeps/sparc/sparc64/dl-machine.h
62560         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62562         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62563         lazy binding.
62564         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62565         undefined symbol errors.
62567         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62568         DT_NEEDED entries.
62570 2012-04-05  Michael Matz  <matz@suse.de>
62572         [BZ #13592]
62573         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62575 2012-04-05  Andreas Jaeger  <aj@suse.de>
62577         [BZ #13908]
62578         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62579         comment.
62581 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62583         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62584         which ROUND is no valid rounding mode.
62586 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62588         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62589         read again.
62590         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62592 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62594         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62595         an exception using FPU order intentionally.
62597 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62599         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62600         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62601         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62602         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62604 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62606         [BZ #12340]
62607         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62608         EINVAL when BUFLEN is too smal.
62610 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62612         [BZ #13553]
62613         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62614         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62616 2012-04-03  Andreas Jaeger  <aj@suse.de>
62618         [BZ #13938]
62619         * manual/setjmp.texi (System V contexts): Fix sentence.
62621         [BZ #13926]
62622         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62623         New macro for this case.
62624         [!__GNUC__] (__bswap_64): New inline function for this case.
62625         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62626         * bits/byteswap.h: Likewise.
62627         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62628         ull, guard with __GLIBC_HAVE_LONG_LONG.
62630         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62631         __GLIBC_HAVE_LONG_LONG.
62633         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62634         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62636 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62638         [BZ #13691]
62639         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62640         inptr and inend, rather than using last_ch.
62642 2012-04-02  David S. Miller  <davem@davemloft.net>
62644         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62645         * stdio-common/printf-parse.h (read_int): Change return type to
62646         'int', return -1 on INT_MAX overflow.
62647         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62648         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62649         overflows INT_MAX.  Check for overflow of in-format-string precision
62650         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62651         SIZE_MAX not INT_MAX for integer overflow test.
62652         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62653         skip the construct in the format string but do not record anything.
62654         * stdio-common/bug22.c: Adjust to test both width/prevision
62655         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62656         explicitly for proper errno values.
62658 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62660         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62661         CHAR_MAX.
62662         * string/test-strcmp.c [! WIDE]: Likewise.
62663         * time/tst-mktime2.c: Likewise for INT_MAX.
62664         * string/test-string.h: #include <sys/param.h> for MIN.
62666         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62667         * sysdeps/i386/init-first.c (init): Likewise.
62668         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62669         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62670         * sysdeps/sh/init-first.c (init): Likewise.
62672 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62674         * po/ru.po: Update from translation team.
62675         * po/vi.po: Likewise.
62677 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62679         * resolv/nss_dns/dns-host.c: Merge copyright years.
62681 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62683         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62684         Optimize memcpy with prefetch if
62685         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62686         src, dst pointers have unequal 16 byte alignments.
62688 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62690         [BZ #13928]
62691         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62692         from a CNAME entry and return the minimum ttl for the query.
62693         (gaih_getanswer_slice): Likewise.
62695 2012-03-30  Jeff Law  <law@redhat.com>
62697         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62698         due to long keys.
62699         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62700         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62702         * resolv/nss_dns/dns-host.c: Update copyright year.
62704 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62706         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62707         requests to save a system call.  Fix check that all bytes are sent.
62709         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62710         comments for sendmmsg.
62712 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62714         [BZ #13691]
62715         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62716         with only 1 character between 0x0041 and 0x01b0.
62717         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62718         * wcsmbs/tst-mbsnrtowcs.c: New file.
62720 2012-03-29  David S. Miller  <davem@davemloft.net>
62722         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62723         small copies by hand.
62725 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62727         [BZ #13761]
62728         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62729         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62730         group memberships.
62732 2012-03-28  David S. Miller  <davem@davemloft.net>
62734         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62735         that branches into memcpy.
62736         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62737         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62738         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62739         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62740         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62741         bits.
62742         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62743         implementation too.
62744         * sysdeps/sparc/mempcpy.S: New file.
62746         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62747         the IFUNC routine in the libc case.
62748         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62750         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62751         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62752         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62753         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62754         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62755         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62756         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62757         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62759         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62760         loop to 256 bytes instead of 64 bytes and fix test signedness.
62762         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62763         * sysdeps/sparc/sparc32/Makefile: rather than here...
62764         * sysdeps/sparc/sparc64/Makefile: and here.
62766 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62768         * malloc/mallocbug.c: Avoid warnings about unused variables.
62770 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62772         [BZ #13760]
62773         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62774         in the right place. Discard and retry query if response is
62775         larger than input buffer size.
62777 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62779         [BZ #369]
62780         [BZ #2678]
62781         [BZ #3866]
62782         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62783         x for large integer exponent.
62784         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62785         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62786         sign of result as needed afterwards.
62787         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62788         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62789         result for underflowing pow the same as for overflow.
62790         (__kernel_standard_l): Handle powl overflow and underflow here
62791         rather than calling __kernel_standard.
62792         * math/libm-test.inc (pow_test): Add more tests.
62794         [BZ #3868]
62795         [BZ #13879]
62796         [BZ #13910]
62797         [BZ #13911]
62798         [BZ #13912]
62799         [BZ #13913]
62800         [BZ #13915]
62801         [BZ #13916]
62802         [BZ #13917]
62803         [BZ #13918]
62804         [BZ #13919]
62805         [BZ #13920]
62806         [BZ #13921]
62807         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62808         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62809         (__kernel_standard_l): New function.
62810         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62811         __kernel_standard.
62812         * math/w_acosl.c (__acosl): Likewise.
62813         * math/w_asinl.c (__asinl): Likewise.
62814         * math/w_atan2l.c (__atan2l): Likewise.
62815         * math/w_atanhl.c (__atanhl): Likewise.
62816         * math/w_coshl.c (__coshl): Likewise.
62817         * math/w_exp10l.c (__exp10l): Likewise.
62818         * math/w_exp2l.c (__exp2l): Likewise.
62819         * math/w_fmodl.c (__fmodl): Likewise.
62820         * math/w_hypotl.c (__hypotl): Likewise.
62821         * math/w_j0l.c (__j0l, __y0l): Likewise.
62822         * math/w_j1l.c (__j1l, __y1l): Likewise.
62823         * math/w_jnl.c (__jnl, __ynl): Likewise.
62824         * math/w_lgammal.c (__lgammal): Likewise.
62825         * math/w_log10l.c (__log10l): Likewise.
62826         * math/w_log2l.c (__log2l): Likewise.
62827         * math/w_logl.c (__logl): Likewise.
62828         * math/w_powl.c (__powl): Likewise.
62829         * math/w_remainderl.c (__remainderl): Likewise.
62830         * math/w_scalbl.c (sysv_scalbl): Likewise.
62831         * math/w_sinhl.c (__sinhl): Likewise.
62832         * math/w_sqrtl.c (__sqrtl): Likewise.
62833         * math/w_tgammal.c (__tgammal): Likewise.
62834         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62835         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62836         * math/libm-test.inc (acos_test): Add more tests.
62837         (acosh_test): Likewise.
62838         (asin_test): Likewise.
62839         (atanh_test): Likewise.
62840         (exp_test): Likewise.
62841         (exp10_test): Likewise.
62842         (exp2_test): Likewise.
62843         (expm1_test): Likewise.
62844         (lgamma_test): Likewise.
62845         (log_test): Likewise.
62846         (log10_test): Likewise.
62847         (log1p_test): Likewise.
62848         (log2_test): Likewise.
62849         (pow_test): Do not allow some spurious overflow exceptions.
62850         (sqrt_test): Add more tests.
62851         (tgamma_test): Likewise.
62852         (y0_test): Likewise.
62853         (y1_test): Likewise.
62854         (yn_test): Likewise.
62856 2012-03-27  Anton Blanchard  <anton@samba.org>
62858         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62859         MAP_HUGETLB.
62860         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62861         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62862         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62864 2012-03-27  David S. Miller  <davem@davemloft.net>
62866         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62868         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62869         have-as-vis3 check.
62871 2012-03-27  Andreas Jaeger  <aj@suse.de>
62873         * sysdeps/x86_64/elf/configure.in: Moved to ...
62874         * sysdeps/x86_64/configure.in: ... here.
62875         * sysdeps/x86_64/elf/start.S: Moved to ...
62876         * sysdeps/x86_64/start.S: ... here.
62877         * sysdeps/x86_64/elf/configure: Delete.
62879         * sysdeps/x86_64/configure.in: Merge contents from
62880         sysdeps/i386/configure.in (without i686 check).
62882         * sysdeps/i386/elf/Versions: Merge into ...
62883         * sysdeps/i386/Versions: ... this.
62884         * sysdeps/i386/elf/Versions: Delete file.
62885         * sysdeps/i386/elf/start.S: Moved to ...
62886         * sysdeps/i386/start.S: ...here.
62887         * sysdeps/i386/elf/configure.in: Merge into...
62888         * sysdeps/i386/configure.in: ...here.
62889         * sysdeps/i386/elf/configure.in: Delete file.
62890         * sysdeps/i386/elf/configure: Delete file.
62892         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62893         * debug/backtracesyms.c: ... here.
62894         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62895         * debug/backtracesymsfd.c: ... here.
62896         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62897         * sysdeps/generic/ifunc-sel.h: ... here.
62899         * sysdeps/unix/i386/start.c: Delete file.
62900         * sysdeps/unix/sparc/start.c: Delete file.
62901         * sysdeps/unix/start.c: Delete file.
62903         * sysdeps/sh/elf/configure.in: Moved to ...
62904         * sysdeps/sh/configure.in: ... here.
62905         * sysdeps/sh/elf/start.S: Moved to ...
62906         * sysdeps/sh/start.S: ... here.
62907         * sysdeps/sh/elf/configure: Delete file.
62909         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62910         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62911         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62912         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62913         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62914         * sysdeps/powerpc/powerpc64/start.S: here.
62915         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62916         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62917         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62918         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62919         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62921         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62922         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62923         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62924         * sysdeps/powerpc/powerpc32/start.S: ... here.
62925         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62926         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62927         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62929         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62930         * sysdeps/powerpc/ifunc-sel.h: ... here.
62931         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62932         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62934         * sysdeps/sparc/elf/configure.in: Moved to ...
62935         * sysdeps/sparc/configure.in: ... here.
62936         * sysdeps/sparc/elf/configure: Delete file.
62937         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62938         * sysdeps/sparc/sparc32/start.S: ... here.
62939         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62940         * sysdeps/sparc/sparc64/start.S: ... here.
62941         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62942         * sysdeps/sparc/sparc32/Makefile: ... this.
62943         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62944         * sysdeps/sparc/sparc64/Makefile: ... this.
62946         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62947         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62948         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62949         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62950         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62951         * sysdeps/s390/s390-32/setjmp.S: ... here.
62952         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62953         * sysdeps/s390/s390-32/configure.in: ... here.
62954         * sysdeps/s390/s390-32/elf/configure: Delete file.
62955         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62956         * sysdeps/s390/s390-32/start.S: ... here.
62958         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62959         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62960         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62961         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62962         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62963         * sysdeps/s390/s390-64/setjmp.S: ... here.
62964         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62965         * sysdeps/s390/s390-64/configure.in: ... here
62966         * sysdeps/s390/s390-64/elf/configure: Delete file.
62967         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62968         * sysdeps/s390/s390-64/start.S: ... here.
62969         * sysdeps/s390/s390-64/elf/configure: Delete.
62971         * configure.in: Remove support for elf directories in sysdeps.
62973         * configure: Regenerated.
62974         * sysdeps/i386/configure: Regenerated.
62975         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62976         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62977         * sysdeps/s390/s390-32/configure: Regenerated.
62978         * sysdeps/s390/s390-64/configure: Regenerated.
62979         * sysdeps/sh/configure: Regenerated.
62980         * sysdeps/sparc/configure: Regenerated.
62981         * sysdeps/x86_64/configure: Regenerated.
62983 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62987         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62988         denormal result into account.
62990 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62992         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62993         Reported by Allan McRae <allan@archlinux.org>.
62995 2012-03-23  Jeff Law  <law@redhat.com>
62997         * nss/getnssent.c (__nss_getent): Fix typo.
62999 2012-03-23  David S. Miller  <davem@davemloft.net>
63001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63003 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
63005         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
63006         to pad to uint64_t for each field.
63007         (dl_tls_index): Replace unsigned long with uint64_t.
63009 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
63010         Paul Pluzhnikov  <ppluzhnikov@google.com>
63012         [BZ #6528]
63013         * grp/Makefile (otherlibs): Don't set it.
63014         * inet/Makefile (otherlibs): Likewise.
63015         * login/Makefile (otherlibs): Likewise.
63016         * nscd/Makefile (otherlibs): Likewise.
63017         * posix/Makefile (otherlibs): Likewise.
63018         * pwd/Makefile (otherlibs): Likewise.
63019         * rt/Makefile (otherlibs): Likewise.
63020         * sunrpc/Makefile (otherlibs): Likewise.
63021         * nss/Makefile (otherlibs): Likewise.
63022         Add libnss_files to routines and static-only-routines.
63023         ($(objpfx)getent): Remove rule.
63024         * resolv/Makefile: Add libnss_dns and libresolv to routines and
63025         static-only-routines.
63027 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63029         [BZ #13892]
63030         * math/s_cexp.c: Include <float.h>.
63031         (__cexp): Handle exp result overflowing not necessarily
63032         overflowing both real and imaginary parts of result.
63033         * math/s_cexpf.c: Likewise.
63034         * math/s_cexpl.c: Likewise.
63035         * math/libm-test.inc (cexp_test): Add more tests.
63036         * sysdeps/i386/fpu/libm-test-ulps: Update.
63037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63039 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63041         * include/link.h (ELFW): New macro.
63042         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
63043         Replace ELF64_R_TYPE with ELFW(R_TYPE).
63045 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63047         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
63048         with uint64_t.
63050 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63052         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
63053         declaration.
63054         (struct La_x32_retval): Likewise.
63056 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63058         * sysdeps/x86_64/preconfigure.in: New file.
63059         * sysdeps/x86_64/preconfigure: New generated file.
63061 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63063         [BZ #13824]
63064         * math/e_exp2l.c: Include <float.h>.
63065         (__ieee754_exp2l): Handle overflow and underflow cases
63066         separately.  Only pass fractional part of argument to
63067         __ieee754_expl.
63068         * math/libm-test.inc (exp2_test): Add more tests.
63070         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63071         negating x to take absolute value.
63072         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
63073         Likewise.
63074         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63075         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
63076         Likewise.
63077         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
63078         computing low part if x was negated.
63079         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63081 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63083         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
63084         la_x32_gnu_pltexit.
63085         (pltexit): Cast int_retval to ptrdiff_t.
63086         * elf/tst-auditmod3b.c: Likewise.
63087         * elf/tst-auditmod4b.c: Likewise.
63088         * elf/tst-auditmod5b.c: Likewise.
63089         * elf/tst-auditmod6b.c: Likewise.
63090         * elf/tst-auditmod6c.c: Likewise.
63091         * elf/tst-auditmod7b.c: Likewise.
63093         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
63094         and x32_gnu_pltexit.
63096         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
63097         __ELF_NATIVE_CLASS.
63098         (La_x32_regs): New macro.
63099         (La_x32_retval): Likewise.
63100         (la_x32_gnu_pltenter): New function prototype.
63101         (la_x32_gnu_pltexit): Likewise.
63103 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
63105         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
63106         exponent.
63108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63110         * configure.in (libc_cv_cc_nofma): Check for option to disable
63111         generation of FMA instructions.
63112         * configure: Regenerate.
63113         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
63114         * sysdeps/ieee754/dbl-64/Makefile: New file.
63115         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
63116         Remove brandred-fma4.
63117         (CFLAGS-brandred-fma4.c): Remove.
63118         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
63119         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
63120         define.
63121         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
63122         define.
63124 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63126         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63127         LLONG_MAX != LONG_MAX.
63128         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63129         (_fitoa_word): Likewise.
63130         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
63131         LLONG_MAX != LONG_MAX.
63132         * stdio-common/_itowa.h: Include <_itoa.h>.
63133         (_itowa_word): Use _ITOA_WORD_TYPE on value.
63134         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
63135         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
63136         only if not defined.
63137         (_ITOA_WORD_TYPE): Likewise.
63138         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63139         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
63141 2012-03-21  David S. Miller  <davem@davemloft.net>
63143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63145 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63147         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
63148         of x86_64 when setting libc_cv_slibdir, libdir and
63149         libc_cv_localedir.
63150         * sysdeps/unix/sysv/linux/configure: Regenerated.
63152 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63154         * manual/lang.texi (Old Varargs): Remove section.
63155         (How Variadic): Update menu.
63156         (va_start): Do not mention varargs.h.
63158 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63159             Joseph Myers  <joseph@codesourcery.com>
63161         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
63162         link test.
63163         * configure: Regenerated.
63165 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63167         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
63168         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
63169         conformtest.pl
63171 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63173         * NOTES: Remove.
63174         * Makefile (files-for-dist): Remove NOTES.
63175         (NOTES): Remove rule.
63176         * README: Don't refer to NOTES.
63177         * manual/creature.texi: Don't include macros.texi.
63178         * manual/intro.texi (creature.texi): Remove comment referring to
63179         NOTES.
63181         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
63182         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
63183         * configure: Regenerated.
63184         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
63185         LIBC_TRY_CC_OPTION.
63186         (libc_cv_as_i686): Likewise.
63187         (libc_cv_cc_avx): Likewise.
63188         (libc_cv_cc_sse2avx): Likewise.
63189         (libc_cv_cc_fma4): Likewise.
63190         (libc_cv_cc_novzeroupper): Likewise.
63191         * sysdeps/i386/configure: Regenerated.
63193         [BZ #13883]
63194         * sysdeps/i386/fpu/s_cexp.S: Remove.
63195         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63196         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63197         * math/libm-test.inc (cexp_test): Add more tests.
63198         * sysdeps/i386/fpu/libm-test-ulps: Update.
63199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63201 2012-03-21  Allan McRae  <allan@archlinux.org>
63203         * timezone/Makefile: Do not install iso3166.tab and zone.tab
63205 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63207         [BZ #13871]
63208         * math/w_exp2.c: Do not include <float.h>.
63209         (o_threshold, u_threshold): Remove.
63210         (__exp2): Calculate result before checking finiteness and calling
63211         __kernel_standard.
63212         * math/w_exp2f.c: Likewise.
63213         * math/w_exp2l.c: Likewise.
63214         * math/libm-test.inc (exp2_test): Require overflow exception for
63215         1e6 input.
63217         [BZ #3866]
63218         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
63219         range of signed 64-bit integers before using fistpll.  Remove
63220         checks for whether integers fit in mantissa bits.
63221         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
63222         the range of signed 32-bit integers before using fistpl.  Remove
63223         checks for whether integers fit in mantissa bits.
63224         * sysdeps/i386/fpu/e_powl.S (p64): New object.
63225         (__ieee754_powl): Test for y outside the range of signed 64-bit
63226         integers before using fistpll.  Reduce 64-bit values to 63-bit
63227         ones as needed.
63228         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
63229         divide-by-zero is raised for zero to large negative powers.
63230         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
63231         (__ieee754_powl): Test for y outside the range of signed 64-bit
63232         integers before using fistpll.  Reduce 64-bit values to 63-bit
63233         ones as needed.
63234         * math/libm-test.inc (pow_test): Add more tests.
63236 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63238         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
63239         <stdio-common/_itoa.h>.
63240         * debug/segfault.c: Likewise.
63241         * elf/dl-cache.c: Likewise.
63242         * elf/dl-minimal.c: Likewise.
63243         * elf/dl-misc.c: Likewise.
63244         * elf/dl-sysdep.c: Likewise.
63245         * elf/dl-version.c: Likewise.
63246         * elf/rtld.c: Likewise.
63247         * hurd/hurdsock.c: Likewise.
63248         * hurd/lookup-retry.c: Likewise.
63249         * malloc/malloc.c: Likewise.
63250         * malloc/mtrace.c: Likewise.
63251         * nscd/nscd_getgr_r.c: Likewise.
63252         * nscd/nscd_getpw_r.c: Likewise.
63253         * nscd/nscd_getserv_r.c: Likewise.
63254         * posix/getopt_init.c: Likewise.
63255         * posix/wordexp.c: Likewise.
63256         * stdio-common/_itoa.c: Likewise.
63257         * stdio-common/printf_fphex.c: Likewise.
63258         * stdio-common/vfprintf.c: Likewise.
63259         * string/_strerror.c: Likewise.
63260         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
63261         * sysdeps/i386/i686/hp-timing.h: Likewise.
63262         * sysdeps/mach/_strerror.c: Likewise.
63263         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
63264         * sysdeps/mach/hurd/sethostid.c: Likewise.
63265         * sysdeps/mach/hurd/xmknodat.c: Likewise.
63266         * sysdeps/mach/xpg-strerror.c: Likewise.
63267         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63268         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63269         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
63270         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
63271         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63272         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
63273         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
63274         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
63275         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
63276         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
63277         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
63278         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63279         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
63280         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63281         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63282         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
63283         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
63284         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
63285         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
63286         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
63287         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
63289         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
63291         * stdio-common/_itoa.h: Moved to ...
63292         * sysdeps/generic/_itoa.h: Here.
63294         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
63296         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
63297         instead of "_itoa.h" and "_itowa.h".
63298         * stdio-common/vfprintf.: Likewise.
63300 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63302         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
63303         <bits/wordsize.h>.
63304         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
63305         (__signbit): Likwise.
63306         (llrintf): Likwise.
63307         (llrint): Likwise.
63309 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63311         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
63312         __WORDSIZE != 64.
63314 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
63316         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
63317         OVERFLOW_EXCEPTION_OK.
63318         * math/libm-test.inc ("Philosophy"): Update comment about
63319         exception testing.
63320         (OVERFLOW_EXCEPTION): Define.
63321         (OVERFLOW_EXCEPTION_OK): Likewise.
63322         (INVALID_EXCEPTION_OK): Renumber.
63323         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63324         (IGNORE_ZERO_INF_SIGN): Likewise.
63325         (test_exceptions): Handle FE_OVERFLOW.
63326         (exp10_test): Expect overflow exceptions.
63327         (exp2_test): Likewise.
63328         (expm1_test): Likewise.
63329         (nextafter_test): Likewise.
63330         (pow_test): Likewise.
63331         (scalbn_test): Likewise.
63332         (scalbln_test): Likewise.
63334 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63336         * sysdeps/x86_64/bits/atomic.h
63337         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63338         64bit integer.
63339         (atomic_exchange_acq): Likewise.
63340         (__arch_exchange_and_add_body): Likewise.
63341         (__arch_add_body): Likewise.
63342         (atomic_add_negative): Likewise.
63343         (atomic_add_zero): Likewise.
63345 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63347         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63348         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63350 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63352         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63353         Check __x86_64__ instead of __WORDSIZE.
63355 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63357         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63359 2012-03-19  David S. Miller  <davem@davemloft.net>
63361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63363         * sysdeps/sparc/fpu/fenv_private.h: New file.
63364         * sysdeps/sparc/fpu/math_private.h: Use it.
63365         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
63366         Remove.
63367         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
63368         (libc_feholdexcept_setroundl): Remove.
63369         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
63370         Remove.
63371         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
63372         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
63374 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63376         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
63377         int64_t instead of long int.
63378         (INSERT_WORDS64): Likwise.
63380 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63382         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
63383         _Unwind_GetCFA return to _Unwind_Ptr first.
63385 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
63387         [BZ #13629]
63388         * math/s_clog.c: Include <float.h>.
63389         (__clog): Scale large or subnormal inputs.
63390         * math/s_clogf.c: Likewise.
63391         * math/s_clogl.c: Likewise.
63392         * math/s_clog10.c: Include <float.h>.
63393         (M_LOG10_2): Define.
63394         (__clog10): Scale large or subnormal inputs.
63395         * math/s_clog10f.c: Likewise.
63396         * math/s_clog10l.c: Likewise.
63397         * math/libm-test.inc (clog_test): Add more tests.
63398         (clog10_test): Likewise.
63399         * sysdeps/i386/fpu/libm-test-ulps: Update.
63400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63402         [BZ #11451]
63403         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
63404         x and y.
63405         * math/libm-test.inc (atan2_test): Add another test.
63407         * Makerules (common-objdir-compile): Remove.
63408         * sysdeps/unix/Makefile (config-generated): Do not add
63409         $(unix-generated) to variable.
63410         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63411         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63412         Remove rule.
63413         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63414         Likewise.
63415         [generic bits/local_lim.h] (before-compile): Do not append to
63416         variable.
63417         [generic bits/local_lim.h] (common-generated): Likewise.
63418         [generic sys/param.h] (before-compile): Do not append to variable.
63419         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63420         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63421         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63422         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63423         include.
63424         [generic sys/param.h] (sys/param.h-includes): Remove variable.
63425         [generic sys/param.h] (sys/param.h-includes): Remove rule.
63426         [generic sys/param.h] ($(addprefix
63427         $(common-objpfx),$(sys/param.h-includes))): Likewise.
63428         [generic sys/param.h] (common-generated): Do not append to
63429         variable.
63430         [generic sys/param.h] (sysdep_headers): Likewise.
63431         [generic bits/errno.h] (before-compile): Do not append to
63432         variable.
63433         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63434         rule.
63435         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63436         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63437         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63438         [generic bits/errno.h] (common-generated): Do not append to
63439         variable.
63440         [generic bits/ioctls.h] (before-compile): Do not append to
63441         variable.
63442         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63443         rule.
63444         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63445         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63446         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63447         rule.
63448         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63449         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63450         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63451         [generic bits/ioctls.h] (common-generated): Do not append to
63452         variable.
63453         [generic sys/syscall.h] (syscall.h): Remove variable.
63454         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63455         rule.
63456         [generic sys/syscall.h] (before-compile): Do not append to
63457         variable.
63458         [generic sys/syscall.h] (common-generated): Likewise.
63459         * sysdeps/unix/errnos-tmpl.c: Remove file.
63460         * sysdeps/unix/errnos.awk: Likewise.
63461         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63462         * sysdeps/unix/ioctls.awk: Likewise.
63463         * sysdeps/unix/mk-local_lim.c: Likewise.
63464         * sysdeps/unix/snarf-ioctls: Likewise.
63466 2012-03-19  Richard Henderson  <rth@twiddle.net>
63468         * sysdeps/i386/fpu/fenv_private.h: New file.
63469         * sysdeps/i386/fpu/math_private.h: Use it.
63470         (math_opt_barrier, math_force_eval): Remove.
63471         (libc_feholdexcept_setround_53bit): Remove.
63472         (libc_feupdateenv_53bit): Remove.
63473         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63474         (math_opt_barrier, math_force_eval): Remove.
63475         (libc_feholdexcept): Remove.
63476         (libc_feholdexcept_setround): Remove.
63477         (libc_fetestexcept, libc_fesetenv): Remove.
63478         (libc_feupdateenv_test): Remove.
63479         (libc_feupdateenv, libc_feholdsetround): Remove.
63480         (libc_feresetround): Remove.
63482         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63483         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63485         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63486         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63487         (libc_feupdateenv_testl): New.
63488         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63489         (libc_feupdateenv_testf): New.
63490         (libc_feupdateenv): Use libc_feupdateenv_test.
63491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63492         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63494         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63495         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63496         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63497         (libc_feresetround_noex): New.
63498         (libc_feresetround_noexf): New.
63499         (libc_feresetround_noexl): New.
63500         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63501         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63502         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63503         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63504         SET_RESTORE_ROUND.
63505         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63506         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63507         (__cos): Likewise.
63508         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63509         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63510         SET_RESTORE_ROUND_NOEX.
63511         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63512         SET_RESTORE_ROUND_NOEXF.
63513         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63514         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63515         (libc_feholdsetroundf): New.
63516         (libc_feresetround, libc_feresetroundf): New.
63518         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63519         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63520         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63522         * sysdeps/generic/math_private.h: Include <fenv.h>.
63523         (default_libc_feholdexcept): New.
63524         (default_libc_feholdexcept_setround): New.
63525         (default_libc_fesetenv, default_libc_feupdateenv): New.
63526         (libc_feholdexcept): Only define if undefined.
63527         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63528         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63529         (libc_feholdexcept_setroundl): Likewise.
63530         (libc_feholdexcept_setround_53bit): Likewise.
63531         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63532         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63533         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63534         (libc_feupdateenv_53bit): Likewise.
63535         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63536         (libc_feholdexcept): Convert from macro to inline function.
63537         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63538         (libc_fesetenv, libc_feupdateenv): Likewise.
63540         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63541         not previously defined.
63542         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63543         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63544         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63545         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63546         * sysdeps/ieee754/flt-32/math_private.h: New file.
63547         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63548         math_private.h below SET_FLOAT_WORD.
63549         (__isnan, __isinf_ns, __finite): Remove.
63550         (__isnanf, __isinf_nsf, __finitef): Remove.
63552 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63556 2012-03-17  David S. Miller  <davem@davemloft.net>
63558         [BZ #6471]
63559         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63560         for 2.16.
63562 2012-03-16  David S. Miller  <davem@davemloft.net>
63564         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63565         warnings.
63567         [BZ #6471]
63568         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63569         properly.
63570         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63571         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63572         sysdep_routines when subdir is sysvipc.
63573         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63574         __getshmlba helper.
63576         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63578 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63580         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63581         [__LP64__].
63583 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63585         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63586         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63587         (__lround): Renamed to ...
63588         (__llround): This.  Replace long int with long long int.
63589         Define lround functions as aliases of llround functions.
63590         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63592 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63594         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63595         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63596         adresses to uintptr_t.  Replace "long int" and "unsigned long
63597         int" with "greg_t" on va_arg.
63599 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63601         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63602         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63604         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63605         Move e_machine check before EI_CLASS check.  Handle x32
63606         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63607         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63608         SKIP_EM_IA_64 and include
63609         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63611         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63612         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63613         (add_system_dir): New macro.
63615         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63616         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63618 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63620         [BZ #2551]
63621         [BZ #2552]
63622         [BZ #2553]
63623         [BZ #2554]
63624         [BZ #2562]
63625         [BZ #2563]
63626         [BZ #2565]
63627         [BZ #2566]
63628         [BZ #2576]
63629         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63630         (y0): Likewise.
63631         * math/w_j0f.c (j0f): Likewise.
63632         (y0f): Likewise.
63633         * math/w_j0l.c (__j0l): Likewise.
63634         (__y0l): Likewise.
63635         * math/w_j1.c (j1): Likewise.
63636         (y1): Likewise.
63637         * math/w_j1f.c (j1f): Likewise.
63638         (y1f): Likewise.
63639         * math/w_j1l.c (__j1l): Likewise.
63640         (__y1l): Likewise.
63641         * math/w_jn.c (jn): Likewise.
63642         (yn): Likewise.
63643         * math/w_jnf.c (jnf): Likewise.
63644         (ynf): Likewise.
63645         * math/w_jnl.c (__jnl): Likewise.
63646         (__ynl): Likewise.
63647         * math/libm-test.inc (j0_test): Add more tests.
63648         (j1_test): Likewise.
63649         (jn_test): Likewise.  Add trailing semicolon to existing test.
63650         (y0_test): Likewise.
63651         (y1_test): Likewise.
63652         * sysdeps/i386/fpu/libm-test-ulps: Update.
63653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63655         [BZ #13851]
63656         [BZ #13854]
63657         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63658         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63659         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63660         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63661         (__tanl): Set errno for infinite argument.
63662         * sysdeps/i386/fpu/mptan.c: Remove.
63663         * sysdeps/i386/fpu/s_tan.S: Likewise.
63664         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63665         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63666         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63667         * math/libm-test.inc (tan_test): Add more tests and enable more
63668         tests for double and long double.
63669         * sysdeps/i386/fpu/libm-test-ulps: Update.
63670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63672 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63674         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63675         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63677 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63679         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63680         * configure.in: Use it for both main tree and add-ons.
63681         * configure: Regenerated.
63683 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63685         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63687 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63689         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63690         in comment.
63692         [BZ #13851]
63693         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63694         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63695         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63696         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63697         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63698         infinite argument.
63699         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63700         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63701         != 0 for prec == 2.
63702         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63703         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63704         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63705         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63706         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63707         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63708         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63709         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63710         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63711         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63712         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63713         * math/libm-test.inc (cos_test): Add more tests and enable more
63714         tests for long double.
63715         (sin_test): Likewise.
63716         (sincos_test): Likewise.
63717         * sysdeps/i386/fpu/libm-test-ulps: Update.
63718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63720 2012-03-16  David S. Miller  <davem@davemloft.net>
63722         * sysdeps/sparc/fpu/math_private.h: New file.
63724 2012-03-15  David S. Miller  <davem@davemloft.net>
63726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63727         file.
63728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63730         file.
63731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63733         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63734         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63735         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63736         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63737         sysdep routines.
63738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63740         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63741         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63743         * sysdeps/sparc/sparc-ifunc.h: New file.
63744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63745         sparc-ifunc.h
63746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63748         Likewise.
63749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63750         Likewise.
63751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63755         Likewise.
63756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63761         Likewise.
63762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63763         Likewise.
63764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63771         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63782         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63783         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63784         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63785         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63786         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63787         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63789 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63791         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63792         scaling.
63793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63795 2012-03-15  Andreas Jaeger  <aj@suse.de>
63797         [BZ #13852]
63798         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63799         ieee754/flt-32 implementation for sin, cos and sincos.
63800         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63801         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63802         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63803         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63804         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63805         ieee754/flt-32 implementation for tan.
63807         * math/libm-test.inc (cos_test): Enable some large input tests for
63808         float as well
63809         (sin_test): Likewise.
63810         (sincos_test): Likewise.
63811         (tan_test): Add tests for large input.
63813         * sysdeps/i386/fpu/libm-test-ulps: Update.
63815 2012-03-15  Andreas Jaeger  <aj@suse.de>
63817         [BZ #13658]
63818         * math/libm-test.inc (cos_test): Add more test cases.
63819         (sin_test): Likewise.
63820         (sincos_test): Likewise.
63822 2012-03-15  Andreas Jaeger  <aj@suse.de>
63824         [BZ #13837]
63825         * math/libm-test.inc (cos_test): Add a test case for large input
63826         value.
63827         (sin_test): Likewise.
63828         (sincos_test): Likewise.
63830 2012-03-15  Andreas Jaeger  <aj@suse.de>
63831             Joseph Myers  <joseph@codesourcery.com>
63833         [BZ #13658]
63834         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63835         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63836         * sysdeps/i386/fpu/branred.c: Likewise.
63837         * sysdeps/i386/fpu/dosincos.c: Likewise.
63838         * sysdeps/i386/fpu/mpa.c: Likewise.
63839         * sysdeps/i386/fpu/s_cos.S: Likewise.
63840         * sysdeps/i386/fpu/s_sin.S: Likewise.
63841         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63842         * sysdeps/i386/fpu/sincos32.c: Likewise.
63844         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63845         Define.
63846         (libc_feupdateenv_53bit): Define.
63847         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63848         Define.
63849         (libc_feupdateenv_53bit): Define.
63851         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63852         53 bit (without extend i386 double precision).
63854         * math/libm-test.inc (sincos_test): Add tests for large input.
63855         (sin): Likewise.
63856         (cos): Likewise.
63858         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63860 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63864 2012-03-15  David S. Miller  <davem@davemloft.net>
63866         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63867         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63868         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63869         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63882         file.
63883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63885         file.
63886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63888         file.
63889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63891         file.
63892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63893         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63894         fmin/fmax sysdep routines.
63895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63897 2012-03-14  David S. Miller  <davem@davemloft.net>
63899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63901         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63903         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63904         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63905         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63906         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63909         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63916         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63918         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63919         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63920         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63921         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63922         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63923         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63924         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63925         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63926         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63927         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63928         routines.
63929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63930         file.
63931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63933         file.
63934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63936         file.
63937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63939         file.
63940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63942         file.
63943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63945         file.
63946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63947         file.
63948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63949         file.
63950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63951         file.
63952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63953         New file.
63954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63955         file.
63956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63957         file.
63958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63960         file.
63961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63963         file.
63964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63966         file.
63967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63969         VIS3 routines.
63971         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63972         New file.
63974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63976         * sysdeps/sparc/configure.in: New file.
63977         * sysdeps/sparc/configure: Generate.
63978         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63979         * configure: Regenerate.
63980         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63981         * config.make.in (have-as-vis3): New.
63982         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63983         available use -Av9d instead of -Av9a.
63984         * sysdeps/sparc/sparc64/Makefile: Likewise.
63985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63987         New file.
63988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63989         file.
63990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63991         New file.
63992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63993         file.
63994         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63995         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63996         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63997         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63998         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
64000         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
64001         fzeros/fnegs to load 0x80000000 into a float register instead of
64002         using the stack.
64003         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
64005 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64007         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64008         bits/syscall.h.
64009         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
64010         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
64011         ($(inst_includedir)/bits/syscall.h): Remove rule.
64012         ($(objpfx)bits/syscall.d): Include instead of
64013         $(objpfx)syscall-list.d.
64014         (generated): Change syscall-list.h and syscall-list.d to
64015         bits/syscall.h and bits/syscall.d.
64017 2012-03-14  Roland McGrath  <roland@hack.frob.com>
64019         [BZ #13846]
64020         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
64022 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64024         [BZ #13841]
64025         * math/s_csqrt.c: Include <float.h>.
64026         (__csqrt): Scale large or subnormal inputs.
64027         * math/s_csqrtf.c: Likewise.
64028         * math/s_csqrtl.c: Likewise.
64029         * math/libm-test.inc (csqrt_test): Add more tests.
64030         * sysdeps/i386/fpu/libm-test-ulps: Update.
64031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64033         [BZ #13840]
64034         * math/libm-test.inc (hypot_test): Add more tests.
64036 2012-03-13  David S. Miller  <davem@davemloft.net>
64038         [BZ #13840]
64039         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
64040         double-precision for the calculation instead of scaling.
64042 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
64044         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
64045         manipulate bits before adding and subtracting TWO52[sx].
64046         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
64047         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
64048         Likewise.
64049         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
64051 2012-03-13  David S. Miller  <davem@davemloft.net>
64053         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
64054         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
64055         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
64056         rtld-global-offsets.h
64057         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64059         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
64060         large parameters.
64062         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
64064         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
64065         'err' in the ifdef scope in which it is actually used.
64067         * nss/nss_db/db-init.c: Include string.h
64069 2012-03-12  David S. Miller  <davem@davemloft.net>
64071         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64072         masking out of the most significant byte of random value used.
64073         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64074         Fix coding style in previous change.
64076         * sysdeps/unix/sysv/linux/kernel-features.h
64077         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
64078         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
64079         expression.
64080         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
64081         later.
64083 2012-03-11  David S. Miller  <davem@davemloft.net>
64085         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64086         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
64087         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
64088         for 'resultvar' otherwise things get truncated on 64-bit.
64090         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64091         Fix masking out of the most significant byte of random value used.
64093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64095 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
64097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64099 2012-03-09  David S. Miller  <davem@davemloft.net>
64101         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
64102         variables with appropriate CPP guards.
64103         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
64104         from the frame pointer, not the stack pointer.  Correct layout
64105         comments.  Fix test on resulting framesize and the management of
64106         the outregs buffer for pltexit.  Preserve floating point return
64107         values across _dl_call_pltexit call.
64108         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
64109         framesize and the management of the outregs buffer for pltexit.
64110         Preserve floating point return values across _dl_call_pltexit
64111         call.
64112         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
64113         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
64114         (la_sparc64_gnu_pltexit): New functions.
64115         (print_exit): Fix format string for return register value.
64117 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
64119         * sunrpc/Makefile (others): Add rpcgen.
64120         ($(objpfx)rpcgen): Remove special build rule and dependency on
64121         libc.
64122         * sunrpc/rpcgen.c: New file.
64124 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
64126         [BZ #13673]
64127         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
64128         * stdio-common/bug-vfprintf-nargs.c: Likewise.
64129         * sysdeps/i386/crti.S: Likewise.
64130         * sysdeps/i386/crtn.S: Likewise.
64131         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
64132         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
64133         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
64134         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
64135         * sysdeps/sh/crti.S: Likewise.
64136         * sysdeps/sh/crtn.S: Likewise.
64137         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64139         [BZ #13673]
64140         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
64141         with URL.
64142         * locale/programs/locfile-kw.gperf: Likewise.
64143         * locale/programs/charmap-kw.h: Regenerated.
64144         * locale/programs/locfile-kw.h: Likewise.
64146         [BZ #13673]
64147         * intl/plural.y: Replace FSF snail mail address with URL.
64148         * intl/plural.c: Regenerated.
64150 2012-03-09  Richard Henderson  <rth@twiddle.net>
64152         * include/math_private.h: Remove file.
64153         * math/math_private.h: Move file ...
64154         * sysdeps/generic/math_private.h: ... here.
64156         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
64157         * sysdeps/powerpc/fpu/math_private.h: Likewise.
64158         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64160         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
64161         and <math_private.h>.
64162         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64163         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64164         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64165         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64166         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64167         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
64168         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64169         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64170         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64171         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64172         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64173         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64174         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64175         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64176         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64177         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64178         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64179         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64180         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64181         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64182         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64183         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64184         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64185         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64186         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
64187         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64188         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64189         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64190         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64191         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64192         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64193         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64194         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
64195         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64196         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64197         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64198         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64199         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64200         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64202         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
64203         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64204         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64205         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
64206         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
64207         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64208         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
64209         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
64210         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64211         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64212         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
64213         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
64214         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
64215         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64216         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
64217         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64218         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64219         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
64220         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
64221         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
64222         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64223         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
64224         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64225         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64226         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
64227         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64228         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64229         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64230         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
64231         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
64232         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64233         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64234         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64235         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64236         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
64237         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
64238         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
64239         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64240         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
64241         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
64242         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64243         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
64244         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64245         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64246         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64247         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
64248         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
64249         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
64250         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64251         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64252         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64253         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64254         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64255         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64256         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64257         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64258         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64259         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64260         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64261         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64262         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64263         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64264         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64265         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64266         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64267         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64268         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64269         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64270         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64271         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64272         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64273         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64274         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64275         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64276         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
64277         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64278         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64279         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64280         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64281         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64282         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64283         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64284         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64285         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
64286         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64287         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64288         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64289         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
64290         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64291         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
64292         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
64293         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64294         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64295         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
64296         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
64297         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64298         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64299         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64300         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
64301         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64302         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64303         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64304         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64305         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
64306         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
64307         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64308         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64309         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64310         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
64311         * sysdeps/ieee754/k_standard.c: Likewise.
64312         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64313         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64314         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64315         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64316         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64317         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64318         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64319         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64320         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64321         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64322         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64323         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64324         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64325         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64326         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64327         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64328         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64329         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64330         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64331         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64332         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64333         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64334         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64335         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64336         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64337         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64338         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64339         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64340         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64341         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64342         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64343         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64344         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64345         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64346         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64347         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64348         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64349         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64350         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64351         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64352         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64353         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64354         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64355         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64356         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64357         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64358         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64359         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64360         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64361         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64362         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64363         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64364         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64365         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
64366         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64367         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64368         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
64369         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
64370         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64371         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64372         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64373         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64374         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64375         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64376         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64377         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64378         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64379         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64380         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64381         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64382         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64383         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64384         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64385         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64386         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64387         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64388         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
64389         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64390         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64391         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64392         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64393         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64394         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64395         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64396         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
64397         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64398         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64399         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
64400         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64401         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64402         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
64403         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64404         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
64405         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64406         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64407         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64408         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64409         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64410         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64411         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64412         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64413         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64414         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64415         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64416         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64417         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64418         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64419         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64420         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64421         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64422         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64423         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64424         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64425         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64426         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64427         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64428         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64429         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64430         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64431         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64432         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64433         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64434         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64435         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64436         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64437         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64438         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64439         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64440         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64441         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64442         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64443         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64444         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64445         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64446         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64447         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64448         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64449         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64450         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64451         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64452         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64453         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64454         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64455         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64456         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64457         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64458         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64459         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64460         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64461         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64462         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64463         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64464         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64465         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64466         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64467         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64468         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64469         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64470         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64471         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64472         * sysdeps/ieee754/s_lib_version.c: Likewise.
64473         * sysdeps/ieee754/s_matherr.c: Likewise.
64474         * sysdeps/ieee754/s_signgam.c: Likewise.
64475         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64476         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64477         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64478         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64479         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64480         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64481         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64482         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64483         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64484         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64485         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64486         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64487         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64488         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64489         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64490         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64491         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64492         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64493         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64494         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64495         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64497 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64499         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64500         * sunrpc/rpc_main.c: Likewise.
64501         * sunrpc/rpc_svcout.c: Likewise.
64503 2012-03-09  David S. Miller  <davem@davemloft.net>
64505         * include/math_private.h: New file.
64507 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64509         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64510         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64511         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64512         from <bits/socket_type.h>.
64513         (enum __socket_type): Don't define here.
64514         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64516         bits/socket_type.h.
64518         [BZ #13566]
64519         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64520         checking __USE_GNU.
64522         * Makerules ($(inst_includedir)/%.h): New rule.
64523         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64524         (install-others): Remove variable setting.
64525         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64527 2012-03-08  Richard Henderson  <rth@twiddle.net>
64529         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64530         from macro to inline function; merge with the
64531         !__LIBC_INTERNAL_MATH_INLINES version.
64532         (__ieee754_sqrtf): Likewise.
64534         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64535         to inline function.
64536         (__rintf, __floor, __floorf): Likewise.
64538         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64539         macro to inline function.
64540         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64542         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64543         not <math/math_private.h>.
64545 2012-03-08  David S. Miller  <davem@davemloft.net>
64547         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64548         copyright year.
64549         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64551 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64553         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64554         normalization.
64555         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64556         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64558 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64560         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64561         be defined individually, they must be defined as a block.  Define
64562         S for printing a string instead of hidint the different by using a
64563         macro for adding the 'l'.
64564         * stdio-common/tst-fphex-wide.c: Adjust.
64566 2012-03-07  Marek Polacek  <polacek@redhat.com>
64568         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64570 2012-03-08  Marek Polacek  <polacek@redhat.com>
64572         [BZ #13806]
64573         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64574         * stdio-common/tst-fphex.c: Define a few macros to make the
64575         test reusable.  Use them.
64576         * stdio-common/tst-fphex-wide.c: New file.
64578 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64580         [BZ #6911]
64581         * manual/macros.texi (gnusystems): New macro.
64582         (nongnusystems): Likewise.
64583         (gnulinuxhurdsystems): Likewise.
64584         (gnuhurdsystems): Likewise..
64585         (gnulinuxsystems): Likewise.
64586         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64587         variants of the GNU system, not "GNU system".
64588         * manual/conf.texi: Likewise.
64589         * manual/errno.texi: Likewise.  Update example of errno macro
64590         expansion.
64591         * manual/filesys.texi: Likewise.
64592         (getumask): Document as specific to GNU/Hurd.
64593         * manual/install.texi: Likewise.  Reword some references to
64594         GNU/Linux.
64595         * manual/intro.texi: Likewise.
64596         * manual/io.texi: Likewise.
64597         (File Name Portability): Detail which constraints are inapplicable
64598         to all GNU systems and which are only inapplicable to GNU/Hurd.
64599         * manual/job.texi: Likewise.
64600         * manual/llio.texi: Likewise.
64601         (O_NOCTTY): Document as present on GNU/Linux.
64602         * manual/maint.texi: Likewise.
64603         * manual/memory.texi: Likewise.
64604         * manual/pattern.texi: Likewise.
64605         * manual/pipe.texi: Likewise.
64606         * manual/process.texi: Likewise.
64607         * manual/resource.texi: Likewise.
64608         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64609         child on GNU/Hurd.
64610         * manual/setjmp.texi: Likewise.
64611         * manual/signal.texi: Likewise.
64612         * manual/startup.texi: Likewise.
64613         * manual/stdio.texi: Likewise.
64614         * manual/terminal.texi: Likewise.
64615         (ONLCR): Document as POSIX.
64616         (OXTABS): Document availability on GNU/Linux as XTABS.
64617         (ONOEOT): Document availability separately from other bits.
64618         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64619         * manual/time.texi: Likewise.
64620         * manual/users.texi: Likewise.
64621         * INSTALL: Regenerated.
64622         * sysdeps/gnu/errlist.c: Regenerated.
64624         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64625         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64626         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64627         puts.
64628         * configure: Regenerated.
64630 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64632         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64633         default includes instead of AC_HEADER_CHECK.
64634         * sysdeps/i386/configure: Regenerated.
64636         [BZ #10716]
64637         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64638         * math/s_cacoshf.c (__cacoshf): Likewise.
64639         * math/s_cacoshl.c (__cacoshl): Likewise.
64640         * math/s_casinh.c (__casinh): Set signs of result from argument.
64641         * math/s_casinhf.c (__casinhf): Likewise.
64642         * math/s_casinhl.c (__casinhl): Likewise.
64643         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64644         (casinh_test): Add more tests.
64645         * sysdeps/i386/fpu/libm-test-ulps: Update.
64646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64648 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64650         * po/zh_TW.po: Update from translation team.
64652         * login/Makefile (distribute): Remove variable.
64653         * catgets/Makefile: Likewise.
64654         * mach/Makefile: Likewise.
64655         * malloc/Makefile: Likewise.
64656         * misc/Makefile: Likewise.
64657         * iconv/Makefile: Likewise.
64658         * nscd/Makefile: Likewise.
64659         * hurd/Makefile: Likewise.
64660         * manual/Makefile: Likewise.
64661         * locale/Makefile: Likewise.
64662         * intl/Makefile: Likewise.
64663         * conform/Makefile: Likewise.
64664         * nss/Makefile: Likewise.
64665         * time/Makefile: Likewise.
64666         * soft-fp/Makefile: Likewise.
64667         * dirent/Makefile: Likewise.
64668         * gmon/Makefile: Likewise.
64669         * po/Makefile: Likewise.
64670         * rt/Makefile: Likewise.
64671         * socket/Makefile: Likewise.
64672         * math/Makefile: Likewise.
64673         * signal/Makefile: Likewise.
64674         * debug/Makefile: Likewise.
64675         * elf/Makefile: Likewise.
64676         * timezone/Makefile: Likewise.
64677         * stdlib/Makefile: Likewise.
64678         * iconvdata/Makefile: Likewise.
64679         * sunrpc/Makefile: Likewise.
64680         * io/Makefile: Likewise.
64681         * argp/Makefile: Likewise.
64682         * inet/Makefile: Likewise.
64683         * hesiod/Makefile: Likewise.
64684         * grp/Makefile: Likewise.
64685         * csu/Makefile: Likewise.
64686         * wctype/Makefile: Likewise.
64687         * crypt/Makefile: Likewise.
64688         * libio/Makefile: Likewise.
64689         * string/Makefile: Likewise.
64690         * nis/Makefile: Likewise.
64691         * resolv/Makefile: Likewise.
64692         * stdio-common/Makefile: Likewise.
64693         * wcsmbs/Makefile: Likewise.
64694         * dlfcn/Makefile: Likewise.
64695         * posix/Makefile: Likewise.
64697         [BZ #6959]
64698         * timezone/Makefile: Don't install timezone files, just the programs
64699         and scripts.
64701 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64703         * nss/databases.def: Add missing gshadow entry.
64705         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64707 2012-03-06  Marek Polacek  <polacek@redhat.com>
64709         [BZ #13726]
64710         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64711         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64712         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64713         * stdio-common/tst-long-dbl-fphex.c: New file.
64715 2012-03-06  David S. Miller  <davem@davemloft.net>
64717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64718         (set_obp_int): New function.
64719         (get_obp_int): New function.
64720         (__get_clockfreq_via_dev_openprom): Likewise.
64721         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64722         Avoid unused variable warnings on 'val' and use builtin_expect.
64723         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64724         __builtin_expect.
64725         (INLINE_CLONE_SYSCALL): Likewise.
64727 2012-03-05  David S. Miller  <davem@davemloft.net>
64729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64731 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64735         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64736         only for |x| >= 40.
64737         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64739 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64741         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64742         Replace gettimeofday with __vdso_gettimeofday.
64744         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64745         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64746         __vdso_clock_gettime and __vdso_getcpu.
64748         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64749         time with __vdso_time.
64751 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64753         * manual/lang.texi (size_t): Note types to which size_t may be
64754         equivalent with the GNU C Library, but do not describe when
64755         differences between them are significant.
64757 2012-03-05  Andreas Jaeger  <aj@suse.de>
64759         * sysdeps/i386/fpu/libm-test-ulps: Update.
64761 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64763         [BZ #3976]
64764         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64765         (__ieee754_pow): Save and restore rounding mode and use
64766         round-to-nearest for main computations.
64767         * math/libm-test.inc (pow_test_tonearest): New function.
64768         (pow_test_towardzero): Likewise.
64769         (pow_test_downward): Likewise.
64770         (pow_test_upward): Likewise.
64771         (main): Call the new functions.
64772         * sysdeps/i386/fpu/libm-test-ulps: Update.
64773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64775         [BZ #3976]
64776         * math/libm-test.inc (cosh_test_tonearest): New function.
64777         (cosh_test_towardzero): Likewise.
64778         (cosh_test_downward): Likewise.
64779         (cosh_test_upward): Likewise.
64780         (sinh_test_tonearest): Likewise.
64781         (sinh_test_towardzero): Likewise.
64782         (sinh_test_downward): Likewise.
64783         (sinh_test_upward): Likewise.
64784         (main): Call the new functions.
64785         * sysdeps/i386/fpu/libm-test-ulps: Update.
64786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64788 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64790         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64791         default stack guard is set in last bytes.
64792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64794 2012-03-05  Kees Cook  <keescook@chromium.org>
64796         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64798         [BZ #13656]
64799         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64800         possibly allocate from heap instead of stack.
64801         * stdio-common/bug-vfprintf-nargs.c: New file.
64802         * stdio-common/Makefile (tests): Add nargs overflow test.
64804 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64808 2012-03-03  Marek Polacek  <polacek@redhat.com>
64810         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64811         * math/math_private.h: Likewise.
64812         * stdlib/tst-strtod.c: Likewise.
64813         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64814         * sysdeps/x86_64/bits/atomic.h: Likewise.
64816 2012-03-02  David S. Miller  <davem@davemloft.net>
64818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64822         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64823         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64824         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64825         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64827 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64829         [BZ #13792]
64830         * manual/examples/README: New file, says the example source files
64831         can be used under GPL>=2.
64832         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64833         line containing just "*/".
64834         * manual/examples/add.c: Add copyright header (GPL>=2).
64835         * manual/examples/argp-ex1.c: Likewise.
64836         * manual/examples/argp-ex2.c: Likewise.
64837         * manual/examples/argp-ex3.c: Likewise.
64838         * manual/examples/argp-ex4.c: Likewise.
64839         * manual/examples/atexit.c: Likewise.
64840         * manual/examples/db.c: Likewise.
64841         * manual/examples/dir.c: Likewise.
64842         * manual/examples/dir2.c: Likewise.
64843         * manual/examples/execinfo.c: Likewise.
64844         * manual/examples/filecli.c: Likewise.
64845         * manual/examples/filesrv.c: Likewise.
64846         * manual/examples/fmtmsgexpl.c: Likewise.
64847         * manual/examples/genpass.c: Likewise.
64848         * manual/examples/inetcli.c: Likewise.
64849         * manual/examples/inetsrv.c: Likewise.
64850         * manual/examples/isockad.c: Likewise.
64851         * manual/examples/longopt.c: Likewise.
64852         * manual/examples/memopen.c: Likewise.
64853         * manual/examples/memstrm.c: Likewise.
64854         * manual/examples/mkfsock.c: Likewise.
64855         * manual/examples/mkisock.c: Likewise.
64856         * manual/examples/mygetpass.c: Likewise.
64857         * manual/examples/pipe.c: Likewise.
64858         * manual/examples/popen.c: Likewise.
64859         * manual/examples/rprintf.c: Likewise.
64860         * manual/examples/search.c: Likewise.
64861         * manual/examples/select.c: Likewise.
64862         * manual/examples/setjmp.c: Likewise.
64863         * manual/examples/sigh1.c: Likewise.
64864         * manual/examples/sigusr.c: Likewise.
64865         * manual/examples/stpcpy.c: Likewise.
64866         * manual/examples/strdupa.c: Likewise.
64867         * manual/examples/strftim.c: Likewise.
64868         * manual/examples/strncat.c: Likewise.
64869         * manual/examples/subopt.c: Likewise.
64870         * manual/examples/swapcontext.c: Likewise.
64871         * manual/examples/termios.c: Likewise.
64872         * manual/examples/testopt.c: Likewise.
64873         * manual/examples/testpass.c: Likewise.
64874         * manual/examples/timeval_subtract.c: Likewise.
64876         [BZ #13792]
64877         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64878         function to ...
64879         * manual/timeval_subtract.c.texi: ... here, new file.
64881 2012-03-02  David S. Miller  <davem@davemloft.net>
64883         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64885 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64887         [BZ #3976]
64888         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64889         (__sin): Save and restore rounding mode and use round-to-nearest
64890         for all computations.
64891         (__cos): Save and restore rounding mode and use round-to-nearest
64892         for all computations.
64893         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64894         <fenv.h>.
64895         (tan): Save and restore rounding mode and use round-to-nearest for
64896         all computations.
64897         * math/libm-test.inc (cos_test_tonearest): New function.
64898         (cos_test_towardzero): Likewise.
64899         (cos_test_downward): Likewise.
64900         (cos_test_upward): Likewise.
64901         (sin_test_tonearest): Likewise.
64902         (sin_test_towardzero): Likewise.
64903         (sin_test_downward): Likewise.
64904         (sin_test_upward): Likewise.
64905         (tan_test_tonearest): Likewise.
64906         (tan_test_towardzero): Likewise.
64907         (tan_test_downward): Likewise.
64908         (tan_test_upward): Likewise.
64909         (main): Call the new functions.
64910         * sysdeps/i386/fpu/libm-test-ulps: Update.
64911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64913         [BZ #10135]
64914         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64915         small n, then large n, before computing and testing k+n.
64916         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64917         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64918         Likewise.
64919         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64920         Likewise.
64921         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64922         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64923         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64924         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64925         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64926         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64927         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64928         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64929         * math/libm-test.inc (scalbn_test): Add more tests.
64930         (scalbln_test): Likewise.
64932         * manual/filesys.texi (mode_t): Describe constraints on size and
64933         signedness, not exact equivalence to a particular type.
64934         (ino_t): Likewise.
64935         (ino64_t): Likewise.
64936         (dev_t): Likewise.
64937         (nlink_t): Likewise.
64938         (blkcnt_t): Likewise.
64939         (blkcnt64_t): Likewise.
64940         * manual/llio.texi (off_t): Likewise.
64942         [BZ #3976]
64943         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64944         (__ieee754_exp): Save and restore rounding mode and use
64945         round-to-nearest for all computations.
64946         * math/libm-test.inc (exp_test_tonearest): New function.
64947         (exp_test_towardzero): Likewise.
64948         (exp_test_downward): Likewise.
64949         (exp_test_upward): Likewise.
64950         (main): Call the new functions.
64951         * sysdeps/i386/fpu/libm-test-ulps: Update.
64952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64954 2012-03-01  Chris Demetriou  <cgd@google.com>
64956         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64957         have predictable order.
64959 2012-03-01  David S. Miller  <davem@davemloft.net>
64961         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64963         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64964         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64965         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64966         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64968         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64969         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64970         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64972         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64973         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64974         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64975         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64976         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64980         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64981         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64982         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64984         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64985         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64986         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64987         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64988         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64989         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64990         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64991         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64992         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64993         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64994         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64995         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64997         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64998         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64999         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65000         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
65001         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
65002         * sysdeps/sparc/elf/configure: Regenerated.
65004 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
65006         * configure.in (AS, LD): Require binutils 2.20 or later.
65007         * configure: Regenerated.
65008         * manual/install.texi (Tools for Compilation): Give binutils 2.20
65009         as required minimum version.
65010         * INSTALL: Regenerated.
65012         [BZ #2541]
65013         [BZ #4108]
65014         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
65015         before squaring exponent.
65016         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
65017         bottom long double and 27 bits of top long double before squaring
65018         exponent.
65019         * math/libm-test.inc (erfc_test): Add more tests.
65020         * sysdeps/i386/fpu/libm-test-ulps: Update.
65021         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65024 2012-03-01  Kai Tietz  <ktietz@redhat.com>
65026         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
65027         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
65028         containing bit-fields.
65029         * soft-fp/extended.h (_FP_UNION_E): Likewise.
65030         * soft-fp/single.h (_FP_UNION_S): Likewise.
65031         * soft-fp/double.h (_FP_UNION_D): Likewise.
65033 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65035         [BZ #13786]
65036         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
65037         not include ../strcmp.S.
65038         [USE_AS_STRNCASECMP_L]: Likewise.
65039         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
65040         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
65041         * sysdeps/i386/i686/multiarch/strncase_l-c.c
65042         (__strncasecmp_l_ia32): Define as alias to
65043         __strncasecmp_l_nonascii.
65045         [BZ #5794]
65046         * math/libm-test.inc (expm1_test): Add test for bug 5794.
65047         * sysdeps/i386/fpu/libm-test-ulps: Update.
65048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65050         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
65051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65053 2012-02-29  Jeff Law  <law@redhat.com>
65055         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
65056         out of bounds read.
65058 2012-02-29  Marek Polacek  <polacek@redhat.com>
65060         [BZ #13706]
65061         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
65062         * elf/Makefile: Add rules to run tst-unused-dep.out.
65064 2012-02-28  David S. Miller  <davem@davemloft.net>
65066         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
65067         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
65068         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
65069         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
65070         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
65071         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
65073 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65075         * math/libm-test.inc (llround_test): Move one test from
65076         lround_test.  Use TEST_f_L in moved test.
65077         (lround_test): Move misplaced test to llround_test.  Add testcase
65078         from bug 2561.
65080 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
65082         * sysdeps/x86_64/fpu/e_expf.S: New file.
65083         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
65085 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
65087         [BZ #13637]
65088         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
65089         of remain_len that may cause incomplete multi-byte character and
65090         false match.
65091         * posix/bug-regex33.c: New file.
65092         * posix/Makefile (tests): Add bug-regex33.
65094 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
65096         * manual/macros.texi: New file.
65097         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
65098         * manual/libc.texinfo: Include macros.texi.
65099         * manual/creatute.texi: Likewise.
65100         * manual/install.texi: Likewise.
65101         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
65102         @glibcadj{} in references to the GNU C Library.
65103         * manual/charset.texi: Likewise.
65104         * manual/conf.texi: Likewise.
65105         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
65106         when not using those macros.
65107         * manual/creature.texi: Likewise.
65108         * manual/crypt.texi: Likewise.
65109         * manual/errno.texi: Likewise.
65110         * manual/filesys.texi: Likewise.
65111         * manual/header.texi: Likewise.
65112         * manual/install.texi: Likewise.
65113         * manual/intro.texi: Likewise.
65114         * manual/io.texi: Likewise.
65115         * manual/job.texi: Likewise.
65116         * manual/lang.texi: Likewise.
65117         * manual/libc.texiinfo: Likewise.
65118         * manual/llio.texi: Likewise.
65119         * manual/locale.texi: Likewise.
65120         * manual/maint.texi: Likewise.
65121         * manual/math.texi: Likewise.
65122         * manual/memory.texi: Likewise.
65123         * manual/message.texi: Likewise.
65124         * manual/nss.texi: Likewise.
65125         * manual/pattern.texi: Likewise.
65126         * manual/process.texi: Likewise.
65127         * manual/resource.texi: Likewise.
65128         * manual/search.texi: Likewise.
65129         * manual/setjmp.texi: Likewise.
65130         * manual/signal.texi: Likewise.
65131         * manual/socket.texi: Likewise.
65132         * manual/startup.texi: Likewise.
65133         * manual/stdio.texi: Likewise.
65134         * manual/string.texi: Likewise.
65135         * manual/sysinfo.texi: Likewise.
65136         * manual/syslog.texi: Likewise.
65137         * manual/terminal.texi: Likewise.
65138         * manual/time.texi: Likewise.
65139         * manual/users.texi: Likewise.
65140         * INSTALL: Regenerated.
65141         * NOTES: Regenerated.
65142         * sysdeps/gnu/errlist.c: Regenerated.
65144 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
65146         * include/dirent.h: Include <dirstream.h> before
65147         <dirent/dirent.h>.
65149 2012-02-28  David S. Miller  <davem@davemloft.net>
65151         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
65152         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
65153         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
65154         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
65156 2012-02-27  David S. Miller  <davem@davemloft.net>
65158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
65159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
65160         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
65161         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
65163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
65164         frame pointer instead of stack pointer relative arg slot.
65165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65166         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65167         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65169 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
65171         [BZ #3992]
65172         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
65174 2012-02-27  David S. Miller  <davem@davemloft.net>
65176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
65177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
65180         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65181         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65182         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
65183         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
65185 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65187         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
65188         later.  Allow versions 5-9.
65189         * configure: Regenerated.
65190         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
65191         required minimum version and 4.6 as recommended version.  Do not
65192         mention bugs in GCC 2.7 and 2.8.
65193         * INSTALL: Regenerated.
65195 2012-02-27  David S. Miller  <davem@davemloft.net>
65197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
65198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
65199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
65200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
65201         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
65202         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
65203         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
65204         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
65206         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
65207         manipulate bits before adding and subtracting TWO112[sx].
65208         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65210 2012-02-27  Roland McGrath  <roland@hack.frob.com>
65212         [BZ #13775]
65213         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
65214         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
65215         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
65216         being in POSIX, because they are in 1003.1-2008.
65218         * rt/tst-aio.c: Include <fcntl.h>.
65219         * rt/tst-aio7.c: Likewise.
65220         * rt/tst-aio64.c: Likewise.
65222         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
65224 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65226         * manual/install.texi (--with-headers): Describe headers as
65227         interface headers, not private headers.
65228         (Specific advice for GNU/Linux systems): Describe use of headers
65229         from "make headers_install", not private headers from older
65230         kernels.
65231         * INSTALL: Regenerated.
65232         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
65233         Change to 2.6.19.
65234         * sysdeps/unix/sysv/linux/configure: Regenerated.
65236         * manual/llio.texi (fclean): Remove documentation.
65238         * manual/Makefile (libc-texi-generated): New variable.  Include
65239         version.texi.
65240         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
65241         $(libc-texi-generated), not duplicated list of files.
65242         (version.texi, stamp-version): New rules.
65243         (realclean): Remove $(libc-texi-generated), not individual files
65244         from that list.  Do not remove dir-add.texinfo.
65245         * manual/libc.texinfo: Comment out uses of edition numbers and
65246         references to printed manual.  Remove last-updated dates.
65247         (EDITION): Comment out.
65248         (ISBN): Likewise.
65249         (VERSION, UPDATED): Remove.
65250         (version.texi): Include.
65252 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
65254         * sysdeps/posix/spawni.c: Include <signal.h>.
65255         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
65256         * sysdeps/pthread/aio_fsync.c: Likewise.
65258 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
65260         * conform/Makefile (tests): Run only when not cross-compiling and
65261         when fast-check is not defined.
65263         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
65264         * conform/data/limits.h-data: Fixes for POSIX2008.
65265         * conform/run-conformtest.sh: Run all tests.
65266         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
65267         headers.
65268         * include/bits/dlfcn.h: Likewise.
65269         * include/langinfo.h: Likewise.
65270         * include/monetary.h: Likewise.
65271         * include/sys/poll.h: Likewise.
65273         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
65274         for __USE_GNU.
65275         * posix/spawn.h: Define __need_sigset_t.
65276         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
65277         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
65278         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
65279         to get sigevent_t only.
65280         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
65281         only for __USE_GNU.
65282         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65283         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65284         process_vm_writev only for __USE_GNU.
65285         * termios/termios.h: Declare tcgetsid also for POSIX2008.
65287         * conform/Makefile: For now ignore errors from run-conformtest.
65288         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
65289         POSIX to avoid namespace pollution.  Don't prepend headers.
65290         * conform/data/aio.h-data: Fixes for POSIX testing.
65291         * conform/data/fcntl.h-data: Likewise.
65292         * conform/data/glob.h-data: Likewise.
65293         * conform/data/grp.h-data: Likewise.
65294         * conform/data/pthread.h-data: Likewise.
65295         * conform/data/pwd.h-data: Likewise.
65296         * conform/data/signal.h-data: Likewise.
65297         * conform/data/spawn.h-data: Likewise.
65298         * conform/data/stdio.h-data: Likewise.
65299         * conform/data/stdlib.h-data: Likewise.
65300         * conform/data/stropts.h-data: Likewise.
65301         * conform/data/sys/mman.h-data: Likewise.
65302         * conform/data/sys/stat.h-data: Likewise.
65303         * conform/data/sys/types.h-data: Likewise.
65304         * conform/data/sys/wait.h-data: Likewise.
65305         * conform/data/time.h-data: Likewise.
65306         * conform/data/unistd.h-data: Likewise.
65307         * conform/data/utime.h-data: Likewise.
65309         * io/sys/stat.h: fchmod was always in POSIX.
65310         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
65311         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
65312         * rt/aio.h: Define __need_timespec before including <time.h>.
65313         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
65314         struct.  Add forward declaration of pthread_attr_t and use it in
65315         sigevent.
65316         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65318         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
65319         always remove CLK_TCK definition.
65321 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
65323         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65325 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
65327         * conform/run-conformtest.sh: New file.
65328         * conform/Makefile: Run run-conformtest for tests.
65329         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
65330         support.
65332         * conform/data/uchar.h-data: New file.
65333         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65334         * conform/data/arpa/inet.h-data: Likewise.
65335         * conform/data/assert.h-data: Likewise.
65336         * conform/data/complex.h-data: Likewise.
65337         * conform/data/cpio.h-data: Likewise.
65338         * conform/data/ctype.h-data: Likewise.
65339         * conform/data/dirent.h-data: Likewise.
65340         * conform/data/dlfcn.h-data: Likewise.
65341         * conform/data/errno.h-data: Likewise.
65342         * conform/data/fcntl.h-data: Likewise.
65343         * conform/data/float.h-data: Likewise.
65344         * conform/data/fmtmsg.h-data: Likewise.
65345         * conform/data/fnmatch.h-data: Likewise.
65346         * conform/data/ftw.h-data: Likewise.
65347         * conform/data/glob.h-data: Likewise.
65348         * conform/data/grp.h-data: Likewise.
65349         * conform/data/iconv.h-data: Likewise.
65350         * conform/data/inttypes.h-data: Likewise.
65351         * conform/data/langinfo.h-data: Likewise.
65352         * conform/data/libgen.h-data: Likewise.
65353         * conform/data/limits.h-data: Likewise.
65354         * conform/data/locale.h-data: Likewise.
65355         * conform/data/math.h-data: Likewise.
65356         * conform/data/monetary.h-data: Likewise.
65357         * conform/data/mqueue.h-data: Likewise.
65358         * conform/data/ndbm.h-data: Likewise.
65359         * conform/data/net/if.h-data: Likewise.
65360         * conform/data/netdb.h-data: Likewise.
65361         * conform/data/netinet/in.h-data: Likewise.
65362         * conform/data/nl_types.h-data: Likewise.
65363         * conform/data/poll.h-data: Likewise.
65364         * conform/data/pthread.h-data: Likewise.
65365         * conform/data/pwd.h-data: Likewise.
65366         * conform/data/regex.h-data: Likewise.
65367         * conform/data/sched.h-data: Likewise.
65368         * conform/data/search.h-data: Likewise.
65369         * conform/data/semaphore.h-data: Likewise.
65370         * conform/data/setjmp.h-data: Likewise.
65371         * conform/data/signal.h-data: Likewise.
65372         * conform/data/spawn.h-data: Likewise.
65373         * conform/data/stdarg.h-data: Likewise.
65374         * conform/data/stdio.h-data: Likewise.
65375         * conform/data/stdlib.h-data: Likewise.
65376         * conform/data/string.h-data: Likewise.
65377         * conform/data/strings.h-data: Likewise.
65378         * conform/data/stropts.h-data: Likewise.
65379         * conform/data/sys/ipc.h-data: Likewise.
65380         * conform/data/sys/mman.h-data: Likewise.
65381         * conform/data/sys/msg.h-data: Likewise.
65382         * conform/data/sys/resource.h-data: Likewise.
65383         * conform/data/sys/select.h-data: Likewise.
65384         * conform/data/sys/sem.h-data: Likewise.
65385         * conform/data/sys/shm.h-data: Likewise.
65386         * conform/data/sys/socket.h-data: Likewise.
65387         * conform/data/sys/stat.h-data: Likewise.
65388         * conform/data/sys/statvfs.h-data: Likewise.
65389         * conform/data/sys/time.h-data: Likewise.
65390         * conform/data/sys/timeb.h-data: Likewise.
65391         * conform/data/sys/times.h-data: Likewise.
65392         * conform/data/sys/types.h-data: Likewise.
65393         * conform/data/sys/uio.h-data: Likewise.
65394         * conform/data/sys/un.h-data: Likewise.
65395         * conform/data/sys/utsname.h-data: Likewise.
65396         * conform/data/sys/wait.h-data: Likewise.
65397         * conform/data/syslog.h-data: Likewise.
65398         * conform/data/tar.h-data: Likewise.
65399         * conform/data/termios.h-data: Likewise.
65400         * conform/data/utime.h-data: Likewise.
65401         * conform/data/utmpx.h-data: Likewise.
65402         * conform/data/varargs.h-data: Likewise.
65403         * conform/data/wchar.h-data: Likewise.
65404         * conform/data/wctype.h-data: Likewise.
65405         * conform/data/wordexp.h-data: Likewise.
65407         * include/stropts.h: New file.
65408         * include/uchar.h: New file.
65409         * include/aio.h: Changes to allow conformtest.pl to use the headers.
65410         * include/assert.h: Likewise.
65411         * include/ctype.h: Likewise.
65412         * include/dirent.h: Likewise.
65413         * include/dlfcn.h: Likewise.
65414         * include/fcntl.h: Likewise.
65415         * include/fnmatch.h: Likewise.
65416         * include/glob.h: Likewise.
65417         * include/grp.h: Likewise.
65418         * include/libio.h: Likewise.
65419         * include/locale.h: Likewise.
65420         * include/math.h: Likewise.
65421         * include/net/if.h: Likewise.
65422         * include/netdb.h: Likewise.
65423         * include/netinet/in.h: Likewise.
65424         * include/pthread.h: Likewise.
65425         * include/pwd.h: Likewise.
65426         * include/regex.h: Likewise.
65427         * include/sched.h: Likewise.
65428         * include/search.h: Likewise.
65429         * include/setjmp.h: Likewise.
65430         * include/signal.h: Likewise.
65431         * include/stdio.h: Likewise.
65432         * include/stdlib.h: Likewise.
65433         * include/string.h: Likewise.
65434         * include/sys/cdefs.h: Likewise.
65435         * include/sys/mman.h: Likewise.
65436         * include/sys/msg.h: Likewise.
65437         * include/sys/resource.h: Likewise.
65438         * include/sys/select.h: Likewise.
65439         * include/sys/socket.h: Likewise.
65440         * include/sys/stat.h: Likewise.
65441         * include/sys/statvfs.h: Likewise.
65442         * include/sys/time.h: Likewise.
65443         * include/sys/times.h: Likewise.
65444         * include/sys/uio.h: Likewise.
65445         * include/sys/utsname.h: Likewise.
65446         * include/sys/wait.h: Likewise.
65447         * include/termios.h: Likewise.
65448         * include/time.h: Likewise.
65449         * include/ulimit.h: Likewise.
65450         * include/unistd.h: Likewise.
65451         * include/utime.h: Likewise.
65452         * include/wchar.h: Likewise.
65453         * include/wctype.h: Likewise.
65454         * include/wordexp.h: Likewise.
65456         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65458         * time/time.h: TIME_UTC must be a macro.
65459         Make timespec_get available for ISO C11 only as well.
65461 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65463         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65464         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65466 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65468         * configure.in: Use -o not -a in test for unsupported multi-arch.
65470 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65472         * manual/texinfo.tex: Update to version 2012-01-19.16.
65474 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65476         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65478 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65480         [BZ #13738]
65481         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65482         * manual/fdl-1.3.texi: New file.
65483         * manual/fdl-1.1.texi: File removed.
65485         [BZ #13738]
65486         * manual/libc.texinfo (FDL_VERSION): New @set.
65487         Use it for mention of FDL in cover text.
65488         (Documentation License): Use it in @include file name.
65490 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65491             Roland McGrath  <roland@hack.frob.com>
65493         [BZ #5461]
65494         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65495         (not LONG_LONG_MAX and LONG_LONG_MIN.
65496         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65497         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65498         name.
65499         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65501 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65503         [BZ #2547]
65504         [BZ #11365]
65505         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65506         manipulate bits before adding and subtracting TWO23[sx].
65507         * math/libm-test.inc (nearbyint_test): Add more tests.
65509 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65511         [BZ #2548]
65512         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65513         bits before adding and subtracting TWO23[sx].
65514         * math/libm-test.inc (rint_test): Add more tests.
65515         (rint_test_tonearest): Likewise.
65516         (rint_test_towardzero): Likewise.
65517         (rint_test_downward): Likewise.
65518         (rint_test_upward: Likewise.
65520 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65522         [BZ #10110]
65523         * include/stdc-predef.h: New file.  Extracted from features.h.
65524         * include/features.h: Include stdc-predef.h.
65525         * Makefile (headers): Add stdc-predef.h.
65526         * CONFORMANCE (Compiler limitations): Update.
65528 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65530         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65532 2012-02-21  David S. Miller  <davem@davemloft.net>
65534         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65535         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65537 2012-02-20  David S. Miller  <davem@davemloft.net>
65539         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65540         using a normal save/restore sequence, rather than allocating a
65541         dummy stack frame just to store a frame pointer and restore.
65542         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65544 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65546         * manual/install.texi: Fix stray word in line-wrapped comment.
65548 2012-02-20  David S. Miller  <davem@davemloft.net>
65550         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65551         both binutils and gcc support GOTDATA.
65553         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65554         "rd %pc" in the PIC register setup sequences.
65556         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65557         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65558         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65559         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65560         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65561         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65562         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65563         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65564         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65565         (SYSCALL_ERROR_HANDLER): Likewise.
65566         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65567         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65569         (SYSCALL_ERROR_HANDLER): Likewise.
65571         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65572         (HAVE_GCC_GOTDATA): New.
65573         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65574         relocation support in both binutils and gcc.
65575         * sysdeps/sparc/elf/configure: Regenerate.
65577         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65578         * sysdeps/sparc/sparc32/elf/configure: Delete.
65579         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65580         * sysdeps/sparc/sparc64/elf/configure: Delete.
65581         * sysdeps/sparc/elf/configure.in: New file.
65582         * sysdeps/sparc/elf/configure: Generate.
65584         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65585         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65586         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65587         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65588         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65590 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65592         * manual/install.texi: Do not mention specific glibc version
65593         numbers.
65594         * manual/libc.texinfo (VERSION, UPDATED): Update.
65595         (@copying): Use @copyright{} and range of years.
65597 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65599         [BZ #13695]
65600         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65601         [crti.S not in sysdirs] (generated): Do not append.
65602         [crti.S not in sysdirs] (omit-deps): Likewise.
65603         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65604         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65605         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65606         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65607         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65608         Likewise.
65609         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65610         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65611         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65612         * csu/defs.awk: Remove file.
65613         * sysdeps/generic/initfini.c: Likewise.
65614         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65615         variable.
65616         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65617         Likewise.
65619 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65621         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65622         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65623         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65624         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65625         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65626         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65627         <bits/epoll.h>.
65628         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65629         (__EPOLL_PACKED): Define to empty if not defined by
65630         <bits/epoll.h>.
65631         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65632         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65633         bits/epoll.h.
65635 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65637         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65638         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65639         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65640         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65641         <bits/timerfd.h>.
65642         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65643         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65644         bits/timerfd.h.
65646 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65648         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65649         in C locale.
65650         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65651         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65652         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65655 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65657         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65658         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65660 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65662         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65663         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65664         defined.
65665         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65666         Likewise.
65667         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65668         entry for 2.16.
65670 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65672         * math/w_acos.c: Use non-signaling floating-point comparisons.
65673         * math/w_acosf.c: Likewise.
65674         * math/w_acosh.c: Likewise.
65675         * math/w_acoshf.c: Likewise.
65676         * math/w_acoshl.c: Likewise.
65677         * math/w_acosl.c: Likewise.
65678         * math/w_asin.c: Likewise.
65679         * math/w_asinf.c: Likewise.
65680         * math/w_asinl.c: Likewise.
65681         * math/w_atanh.c: Likewise.
65682         * math/w_atanhf.c: Likewise.
65683         * math/w_atanhl.c: Likewise.
65684         * math/w_exp2.c: Likewise.
65685         * math/w_exp2f.c: Likewise.
65686         * math/w_exp2l.c: Likewise.
65687         * math/w_j0.c: Likewise.
65688         * math/w_j0f.c: Likewise.
65689         * math/w_j0l.c: Likewise.
65690         * math/w_j1.c: Likewise.
65691         * math/w_j1f.c: Likewise.
65692         * math/w_j1l.c: Likewise.
65693         * math/w_jn.c: Likewise.
65694         * math/w_jnf.c: Likewise.
65695         * math/w_log.c: Likewise.
65696         * math/w_log10.c: Likewise.
65697         * math/w_log10f.c: Likewise.
65698         * math/w_log10l.c: Likewise.
65699         * math/w_log2.c: Likewise.
65700         * math/w_log2f.c: Likewise.
65701         * math/w_log2l.c: Likewise.
65702         * math/w_logf.c: Likewise.
65703         * math/w_logl.c: Likewise.
65704         * math/w_sqrt.c: Likewise.
65705         * math/w_sqrtf.c: Likewise.
65706         * math/w_sqrtl.c: Likewise.
65707         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65708         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65709         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65710         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65711         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65713 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65715         [BZ #9739]
65716         * manual/string.texi (strnlen): Use correct parameter name in
65717         equivalent expression.
65719 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65721         [BZ #11174]
65722         * manual/users.texi (seteuid): Consistently use neweuid for
65723         argument name.
65725 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65727         [BZ #13704]
65728         * manual/nss.texi (Services in the NSS configuration): Correct
65729         list of services in example configuration file.
65731 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65733         [BZ #11322]
65734         * manual/arith.texi: Remove statements about negative zero
65735         behaving identically to zero.
65737 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65739         [BZ #5993]
65740         * manual/install.texi: Do not document upgrading from libc5.
65742 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65744         [BZ #4596]
65745         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65747 2012-02-18  David S. Miller  <davem@davemloft.net>
65749         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65750         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65751         %o7 across the call.
65752         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65753         instead.
65754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65755         SETUP_PIC_REG_LEAF.
65756         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65757         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65758         * sysdeps/sparc/crtn.S: Likewise.
65760 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65762         * aout/Makefile: Remove.
65764 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65766         [BZ #13058]
65767         * manual/examples/argp-ex1.c (main): Format definition in GNU
65768         style.
65769         * manual/examples/argp-ex2.c (main): Likewise.
65770         * manual/examples/argp-ex3.c (main): Likewise.
65771         * manual/examples/argp-ex4.c (main): Likewise.
65772         * manual/examples/longopt.c (main): Use new-style prototype
65773         definition.
65774         * manual/examples/strncat.c (main): Specify return type and use
65775         (void) for arguments.
65776         * manual/examples/subopt.c (main): Use char **argv argument.
65778 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65780         [BZ #5077]
65781         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65782         rounding modes.
65784 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65786         [BZ #6907]
65787         * manual/string.texi (strchr): Change when strchrnul is
65788         recommended.
65790 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65792         [BZ #174]
65793         * manual/locale.texi (setlocale): Document LOCPATH.
65795 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65797         [BZ #10210]
65798         * manual/process.texi (execle): Move @dots{} before last argument.
65800 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65802         [BZ #12047]
65803         * manual/charset.texi (Generic Charset Conversion): Fix typo
65804         (LC_TYPE -> LC_CTYPE).
65806 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65808         [BZ #5805]
65809         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65810         (scalbnf): Likewise.
65811         (scalbnl): Likewise.
65812         (scalbln): Likewise.
65813         (scalblnf): Likewise.
65814         (scalblnl): Likewise.
65815         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65816         (vwarnx): Likewise.
65817         (verr): Likewise.
65818         (verrx): Likewise.
65819         * manual/filesys.texi (telldir): Use braces around return type.
65820         * manual/llio.texi (mmap): Add space after comma.
65821         (mmap64): Likewise.
65822         * manual/math.texi (jn): Use @var{} on parameter names.
65823         (jnf): Likewise.
65824         (jnl): Likewise.
65825         (yn): Likewise.
65826         (ynf): Likewise.
65827         (ynl): Likewise.
65828         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65829         line.
65830         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65831         "...".
65832         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65833         (sched_get_priority_max): Likewise.
65834         * manual/signal.texi (sigvec): Add space after comma.
65835         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65836         names.
65837         (if_indextoname): Likewise.
65838         (if_freenameindex): Likewise.
65839         (sendto): Use ',' instead of '.' in prototype.
65840         * manual/startup.texi (syscall): Use @dots{} instead of literal
65841         "...".
65842         * manual/stdio.texi (__fpending): Separate initial words of
65843         paragraph from @deftypefun line.
65844         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65845         "...".
65846         (vsyslog): Use @var{} on parameter names.
65847         * manual/terminal.texi (stty): Use @var{} on parameter names.
65848         * manual/users.texi (getutmp): Use @var{} on parameter names.
65849         (getutmpx): Likewise.
65851 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65853         [BZ #6884]
65854         * manual/stdio.texi (fopen): Fix typos in description of
65855         ",ccs=STRING".
65857 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65859         [BZ #4026]
65860         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65861         get clock_id definition.
65863 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65865         [BZ #4822]
65866         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65867         (madvise): Cast every argument to void on its own.
65869 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65871         [BZ #9902]
65872         * manual/startup.texi (Exit Status): Fix typo.
65874 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65876         [BZ #10140]
65877         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65878         * manual/examples/argp-ex2.c: Likewise.
65879         * manual/examples/argp-ex3.c: Likewise.
65881 2012-02-16  Richard Henderson  <rth@redhat.com>
65883         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65884         * sysdeps/s390/s390-32/initfini.c: Remove.
65885         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65886         * sysdeps/s390/s390-64/initfini.c: Remove.
65888 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65890         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65891         compiler output for sysdeps/generic/initfini.c.
65892         * sysdeps/sh/elf/initfini.c: Remove file.
65894 2012-02-16  David S. Miller  <davem@davemloft.net>
65896         [BZ #11494]
65897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65899         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65900         * sysdeps/sparc/crti.S: New file.
65901         * sysdeps/sparc/crtn.S: New file.
65902         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65903         * sysdeps/sparc/sparc64/Makefile: Likewise.
65905 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65907         [BZ #3335]
65908         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65910 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65912         [BZ #4822]
65913         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65915         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65916         (write, read, close): Likewise.
65917         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65919 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65921         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65922         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65923         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65924         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65925         <bits/signalfd.h>.
65926         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65928         bits/signalfd.h.
65930 2012-02-14  Marek Polacek  <polacek@redhat.com>
65932         * sysdeps/x86_64/crti.S: New file.
65933         * sysdeps/x86_64/crtn.S: New file.
65934         * sysdeps/x86_64/elf/initfini.c: Remove file.
65936 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65938         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65939         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65940         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65941         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65942         <bits/inotify.h>.
65943         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65945         bits/inotify.h.
65947 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65949         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65950         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65951         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65952         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65953         <bits/eventfd.h>.
65954         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65955         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65956         bits/eventfd.h.
65958 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65960         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65961         __feraiseexcept instead of feraiseexcept.
65963         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65964         nanosleep invocations.
65965         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65966         strings, and add error checking for a nanosleep invocations.
65968 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65970         Replace FSF snail mail address with URLs, as per GNU coding standards.
65971         Most of the snail mail addresses were wrong anyway, and omitting
65972         them makes the source code easier to maintain.  Almost all of the
65973         changes are to license notices and to locale LC_IDENTIFICATION
65974         addresses, except for this one:
65975         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65976         not its snail mail address.
65978 2012-02-09  Richard Henderson  <rth@twiddle.net>
65980         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65981         of kernel-features.h.
65983         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65985 2012-02-08  Marek Polacek  <polacek@redhat.com>
65987         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65988         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65989         * sysdeps/gnu/_G_config.h: Likewise.
65990         * sysdeps/generic/_G_config.h: Likewise.
65992 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65994         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65995         tests.
65996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65998         * sysdeps/powerpc/powerpc32/crti.S: New file.
65999         * sysdeps/powerpc/powerpc32/crtn.S: New file.
66000         * sysdeps/powerpc/powerpc64/crti.S: New file.
66001         * sysdeps/powerpc/powerpc64/crtn.S: New file.
66003         * Makeconfig (have-initfini): Don't set.
66004         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
66005         * configure.in (nopic_initfini): Don't substitute.
66006         * config.h.in (HAVE_INITFINI): Don't #undef.
66007         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
66008         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
66010 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
66012         Support crti.S and crtn.S provided directly by architectures.
66013         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
66014         [crti.S in sysdirs] (omit-deps): Likewise.
66015         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
66016         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
66017         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
66018         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
66019         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
66020         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
66021         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
66022         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
66023         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
66024         compiler output for sysdeps/generic/initfini.c.
66025         * sysdeps/i386/elf/Makefile: Remove file.
66026         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
66028 2012-02-07  Marek Polacek  <polacek@redhat.com>
66030         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
66031         * sysdeps/gnu/_G_config.h: Likewise.
66032         * sysdeps/mach/hurd/_G_config.h: Likewise.
66034 2012-02-07  Marek Polacek  <polacek@redhat.com>
66036         * math/Makefile (tests): Add tst-CMPLX2.
66037         * math/tst-CMPLX2.c: New file.
66039 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
66041         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66043         * math/libm-test.inc (jn_test): Add missing L suffix.
66045 2012-02-06  Marek Polacek  <polacek@redhat.com>
66047         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
66048         * sysdeps/i386/fpu/e_powf.S: Likewise.
66049         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66050         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66051         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66052         * sysdeps/i386/fpu/e_pow.S: Likewise.
66053         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66054         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66055         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66056         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66057         * sysdeps/i386/fpu/e_log2.S: Likewise.
66058         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66059         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66060         * sysdeps/i386/fpu/e_powl.S: Likewise.
66061         * sysdeps/i386/fpu/s_log1p.S: Likewise.
66062         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66063         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66064         * sysdeps/i386/fpu/e_logl.S: Likewise.
66065         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66066         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
66067         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66068         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66069         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66070         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66071         * sysdeps/i386/fpu/e_log.S: Likewise.
66072         * sysdeps/i386/fpu/s_cexp.S: Likewise.
66073         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66074         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
66075         * sysdeps/i386/fpu/e_logf.S: Likewise.
66076         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66077         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66078         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
66079         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66080         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66081         * sysdeps/i386/fpu/e_log10.S: Likewise.
66082         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66083         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66084         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66085         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66086         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66087         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66088         * sysdeps/i386/asm-syntax.h: Likewise.
66089         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66090         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66091         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66092         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
66093         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
66094         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66095         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66096         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66097         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66098         * sysdeps/powerpc/sysdep.h: Likewise.
66099         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
66100         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66102 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66104         [BZ #411]
66105         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
66107 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66109         * sysdeps/i386/sysdep.h: Include <features.h>.
66110         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
66111         version.
66113 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
66115         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
66116         Define.
66117         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
66118         LOAD_PIC_REG_STR.
66120 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66122         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
66123         (SETUP_PIC_REG): Use GET_PC_THUNK.
66124         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
66125         macro.
66127 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66129         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
66130         for non-PIC compilation.
66131         (SETUP_PIC_REG): Add .p2align directive.
66132         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
66133         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
66134         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66135         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66136         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
66137         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66138         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
66139         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66140         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66141         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66142         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66143         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66144         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66145         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66146         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66147         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
66148         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
66149         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66150         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66151         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66152         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66153         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
66154         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66155         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66156         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
66157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
66158         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66159         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
66160         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66161         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66162         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66163         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66164         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66165         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66166         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66167         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66168         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66169         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66170         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66171         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66172         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66174 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66176         * math/tst-CMPLX.c: Include <stdio.h>.
66178 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
66180         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
66181         float.
66182         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66183         * sysdeps/sparc/bits/mathdef.h: Likewise.
66185 2012-01-31  Marek Polacek  <polacek@redhat.com>
66187         * libio/libio.h: Don't define _PARAMS.
66188         * locale/programs/config.h: Don't define PARAMS.
66189         * stdlib/strtol_l.c: Likewise.
66190         (__strtol_l): Remove PARAMS from the prototype.
66192 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
66194         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
66195         names.  Just use the correct names.  Remove unnecessary wrapper
66196         functions.
66197         * malloc/arena.c: Likewise.
66198         * malloc/hooks.c: Likewise.
66200         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
66201         ARENA_TEST says not to.  Simplify test for creation of a new arena.
66202         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
66204 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
66206         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
66207         into tail calls.
66208         (update_get_addr): New function.
66209         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
66210         GET_ADDR_MODULE parameter.
66212 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66214         * crypt/cert.c: Remove __STDC__ conditionals.
66215         * crypt/crypt-entry.c: Likewise.
66216         * crypt/crypt_util.c: Likewise.
66217         * libio/filedoalloc.c: Likewise.
66218         * libio/fileops.c: Likewise.
66219         * libio/genops.c: Likewise.
66220         * libio/iofclose.c: Likewise.
66221         * libio/iofdopen.c: Likewise.
66222         * libio/iofopen.c: Likewise.
66223         * libio/iofopen64.c: Likewise.
66224         * libio/iogetdelim.c: Likewise.
66225         * libio/iopopen.c: Likewise.
66226         * libio/obprintf.c: Likewise.
66227         * libio/oldfileops.c: Likewise.
66228         * libio/oldiofclose.c: Likewise.
66229         * libio/oldiofdopen.c: Likewise.
66230         * libio/oldiofopen.c: Likewise.
66231         * libio/oldiopopen.c: Likewise.
66232         * libio/wfiledoalloc.c: Likewise.
66233         * libio/wgenops.c: Likewise.
66234         * locale/programs/xmalloc.c: Likewise.
66235         * misc/syslog.c: Likewise.
66236         * stdio-common/xbug.c: Likewise.
66237         * string/memchr.c: Likewise.
66238         * string/memcmp.c: Likewise.
66239         * string/memrchr.c: Likewise.
66240         * string/rawmemchr.c: Likewise.
66241         * sysdeps/posix/getcwd.c: Likewise.
66242         * time/strftime_l.c: Likewise.
66244 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66246         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
66247         * config.make.in (config-cflags-sse2avx): Define.
66248         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
66249         Fix typo.
66251 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
66253         * scripts/config.guess: Update from upstream config git repository.
66254         * scripts/config.sub: Likewise.
66256 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
66258         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
66259         (EM_NUM): Update.
66260         (R_TILEPRO_*, R_TILEGX_*): New macros.
66262         * scripts/firstversions.awk: Fix bug in version range handling.
66264         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
66266         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
66268         * include/sys/epoll.h: New file.
66269         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
66270         libc_hidden_def.
66272 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
66274         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
66275         Avoid unnecessary __WORDSIZE == 64 test.
66276         (fmaxf): Use VEX format if possible.
66277         (fmax): Likewise.
66278         (fminf): Likewise.
66279         (fmin): Likewise.
66281         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
66282         * math/math_private.h: Remove libc_fegetround* and
66283         libc_fesetround*.
66284         * sysdeps/i386/configure.in: Check for -msse2avx.
66285         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
66286         also if SSE2AVX is defined.
66287         Remove libc_fegetround* and libc_fesetround*.
66288         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
66289         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
66290         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
66291         of HAS_YMM_USABLE.
66292         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66293         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66294         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66295         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66296         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66298         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
66300 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66302         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
66303         size is not set.
66304         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66306 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
66308         [BZ #13618]
66309         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
66310         relocation.
66311         * Makeconfig (libm): Define.
66312         * elf/Makefile: Add rules to build and run tst-relsort1.
66313         * elf/tst-relsort1.c: New file.
66314         * elf/tst-relsort1mod1.c: New file.
66315         * elf/tst-relsort1mod2.c: New file.
66317 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
66319         * math/s_ldexp.c: Remove __STDC__ conditionals.
66320         * math/s_ldexpf.c: Likewise.
66321         * math/s_ldexpl.c: Likewise.
66322         * math/s_nextafter.c: Likewise.
66323         * math/s_nexttowardf.c: Likewise.
66324         * math/s_significand.c: Likewise.
66325         * math/s_significandf.c: Likewise.
66326         * math/s_significandl.c: Likewise.
66327         * math/w_jnl.c: Likewise.
66328         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66329         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66330         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66331         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66332         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66333         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66334         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66335         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66336         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66337         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66338         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66339         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66340         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66341         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66342         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66343         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66344         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66345         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66346         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66347         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66348         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66349         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66350         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66351         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66352         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66353         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66354         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66355         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66356         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66357         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66358         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66359         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66360         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66361         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66362         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66363         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66364         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66365         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66366         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66367         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66368         * sysdeps/ieee754/k_standard.c: Likewise.
66369         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66370         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66371         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66372         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66373         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66374         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66375         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66376         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66377         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66378         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66379         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66380         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66381         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66382         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66383         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66384         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66385         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66386         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66387         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66388         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66389         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66390         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66391         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66392         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66393         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66394         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66395         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66396         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66397         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66398         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66400         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
66401         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66402         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66403         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66404         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66405         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
66406         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66407         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66408         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66409         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66410         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66411         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66412         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66413         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66414         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66415         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66416         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66417         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66418         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66419         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66420         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66421         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66422         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66423         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66424         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66425         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66426         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66427         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66428         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66429         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66430         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66431         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66432         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66433         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66434         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66435         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66436         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66437         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66438         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66439         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66440         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66441         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66442         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66443         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66444         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66445         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66446         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66447         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66448         * sysdeps/ieee754/s_matherr.c: Likewise.
66449         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66450         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66451         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66452         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66454 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66456         * crypt/md5.h: Remove __STDC__ conditionals.
66457         * libio/libioP.h: Likewise.
66458         * locale/programs/config.h: Likewise.
66459         * sysdeps/generic/sysdep.h: Likewise.
66460         * sysdeps/i386/asm-syntax.h: Likewise.
66461         * sysdeps/s390/asm-syntax.h: Likewise.
66462         * sysdeps/unix/sysdep.h: Likewise.
66463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66466 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66468         * libio/libio.h: Remove __STDC__ conditionals.
66469         * malloc/obstack.h: Likewise.
66470         * math/complex.h: Likewise.
66471         * math/math.h: Likewise.
66472         * sysdeps/generic/_G_config.h: Likewise.
66473         * sysdeps/gnu/_G_config.h: Likewise.
66474         * sysdeps/mach/hurd/_G_config.h: Likewise.
66475         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66476         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66477         * sysdeps/sparc/bits/mathdef.h: Likewise.
66479 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66481         [BZ #13583]
66482         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66483         Clean up HAS_* macros.
66484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66485         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66486         possible.
66487         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66488         HAS_AVX.
66489         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66490         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66491         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66492         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66493         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66495 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66497         * elf/tst-unique3.cc (gets): Remove declaration.
66498         * elf/tst-unique3lib.cc (gets): Likewise.
66499         * elf/tst-unique3lib2.cc (gets): Likewise.
66500         * elf/tst-unique4.cc (gets): Likewise.
66502 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66504         * include/stdio.h: Add C++ protection.  Add gets declarations and
66505         definitions.
66506         * debug/tst-chk1.c: Don't declare gets here.
66507         * stdio-common/tst-gets.c: Likewise.
66509 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66511         * posix/glob: Remove directory.
66513 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66515         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66517 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66519         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66520         of the non-standard EPFNOSUPPORT.
66522 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66524         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66525         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66526         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66528 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66530         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66532 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66534         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66535         transient errors.
66536         * nscd/grpcache.c (cache_addgr): Likewise.
66537         * nscd/hstcache.c (cache_addhst): Likewise.
66538         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66539         * nscd/pwdcache.c (cache_addpw): Likewise.
66540         * nscd/servicescache.c (cache_addserv): Likewise.
66542 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66544         * malloc/malloc.c: Various cleanups.
66545         * malloc/hooks.c: Likewise.
66547         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66548         * stdlib/bug-fmtmsg1.c: New file.
66550         * stdlib/fmtmsg.c (init): Add missing unlock.
66551         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66553 2012-01-12  Marek Polacek  <polacek@redhat.com>
66555         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66556         and _GNU_SOURCE.
66558 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66560         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66561         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66562         macro to ensure uniqueness of label name.
66563         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66564         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66566 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66568         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66570         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66571         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66572         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66575 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66577         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66579         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66580         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66581         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66583         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66585         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66586         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66587         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66588         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66590         * math/bits/math-finite.h: Add ldexp support.
66592 2012-01-10  Marek Polacek  <polacek@redhat.com>
66594         * locale/programs/localedef.h (show_archive_content): Add noreturn
66595         attribute.
66597 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66599         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66601 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66603         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66605         * io/Makefile (headers): Add bits/poll2.h.
66607 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66610         typo #include statement.
66612 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66614         * include/sys/cdefs.h: Define __attribute_alloc_size.
66615         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66616         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66617         * elf/pldd.c: Likewise.
66618         * iconv/iconv_charmap.c: Likewise.
66619         * iconv/iconvconfig.c: Likewise.
66620         * iconv/strtab.c: Likewise.
66621         * locale/programs/locale.c: Likewise.
66622         * locale/programs/localedef.h: Likewise.
66623         * locale/programs/simple-hash.c: Likewise.
66624         * nscd/nscd.h: Likewise.
66625         * nss/makedb.c: Likewise.
66626         * sysdeps/generic/ldconfig.h: Likewise.
66627         * locale/programs/localedef.c: Remove xmalloc prototype.
66628         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66630 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66632         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66633         appropriate.
66635 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66637         * math/Makefile (tests): Add tst-CMPLX.
66638         * math/tst-CMPLX.c: New file.
66640         * math/complex.h (CMPLXL): Fix typo.
66642         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66643         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66644         GLIBC_2.16.
66645         * debug/tst-chk1.c: Add poll and ppoll tests.
66646         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66647         * include/sys/poll.h: Add hidden proto for ppoll.
66648         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66649         * sysdeps/mach/hurd/ppoll.c: Likewise.
66650         * io/ppoll.c: Likewise.
66651         * debug/poll_chk.c: New file.
66652         * debug/ppoll_chk.c: New file.
66653         * include/bits/poll2.h: New file.
66654         * io/bits/poll2.h: New file.
66656         [BZ #1350]
66657         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66659         * configure.in: static is always set to yes.  Remove.
66660         * config.make.in: Don't set build-static.
66661         * Makeconfig: Remove use of build-static.
66662         * dlfcn/Makefile: Likewise.
66663         * elf/Makefile: Likewise.
66664         * math/Makefile: Likewise.
66665         * misc/Makefile: Likewise.
66666         * nptl/Makefile: Likewise.
66667         * sysdeps/mach/hurd/Makefile: Likewise.
66669         * configure.in: PWD_P is not used anymore.
66670         * config.make.in: Remove PWD_P entry.
66672         * configure.in: Remove last remnants of RANLIB.
66673         No need to check for signed size_t anymore.
66674         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66675         and IA-64.
66676         Remove __builtin_expect test because we require at least gcc 3.4.
66677         * aclocal.m4: Likewise.
66679         * wcsmbs/mbrtoc16.c: Implement using towc function.
66680         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66681         * wcsmbs/wcsmbsload.c: Likewise.
66682         * iconv/gconv_simple.c: Likewise.
66683         * iconv/gconv_int.h: Likewise.
66684         * iconv/gconv_builtin.h: Likewise.
66685         * iconv/iconv_prog.c: Remove CHAR16 handling.
66687         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66689         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66691         * configure.in: Remove --with-elf and --enable-bounded options.
66692         Dont set base_machine for ia64.  More non-ELF conditions removed.
66693         Remove testing and setting of leading underscore information.
66694         * config.make.in (build-bounded): Set to no.
66695         * config.h.in: Remove NO_UNDERSCORES entry.
66696         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66697         them.
66698         * csu/start.c: Remove !NO_UNDERSCORE code.
66699         * locale/localeinfo.h: Likewise.
66700         * sysdeps/generic/machine-gmon.h: Likewise.
66701         * sysdeps/generic/sysdep.h: Likewise.
66702         * sysdeps/i386/sysdep.h: Likewise.
66703         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66704         * sysdeps/mach/sysdep.h: Likewise.
66705         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66706         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66707         * sysdeps/sh/sysdep.h: Likewise.
66708         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66709         * sysdeps/unix/i386/sysdep.S: Likewise.
66710         * sysdeps/unix/sparc/start.c: Likewise.
66711         * sysdeps/unix/sparc/sysdep.S: Likewise.
66712         * sysdeps/unix/sparc/sysdep.h: Likewise.
66713         * sysdeps/unix/start.c: Likewise.
66714         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66715         * sysdeps/x86_64/sysdep.h: Likewise.
66717 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66719         [BZ #13553]
66720         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66721         for non-gcc.
66722         * argp/argp-fmtstream.h: Use const instead __const.
66723         * argp/argp.h: Likewise.
66724         * assert/assert.h: Likewise.
66725         * bits/fenv.h: Likewise.
66726         * bits/sched.h: Likewise.
66727         * bits/sigset.h: Likewise.
66728         * bits/sigthread.h: Likewise.
66729         * catgets/nl_types.h: Likewise.
66730         * conform/data/pthread.h-data: Likewise.
66731         * crypt/crypt-private.h: Likewise.
66732         * crypt/crypt.h: Likewise.
66733         * crypt/crypt_util.c: Likewise.
66734         * ctype/ctype.h: Likewise.
66735         * debug/execinfo.h: Likewise.
66736         * debug/mbsnrtowcs_chk.c: Likewise.
66737         * debug/mbsrtowcs_chk.c: Likewise.
66738         * debug/wcsnrtombs_chk.c: Likewise.
66739         * debug/wcsrtombs_chk.c: Likewise.
66740         * debug/wcstombs_chk.c: Likewise.
66741         * dirent/dirent.h: Likewise.
66742         * dlfcn/dlfcn.h: Likewise.
66743         * elf/neededtest4.c: Likewise.
66744         * grp/grp.h: Likewise.
66745         * gshadow/gshadow.h: Likewise.
66746         * iconv/gconv.h: Likewise.
66747         * iconv/gconv_int.h: Likewise.
66748         * iconv/gconv_simple.c: Likewise.
66749         * iconv/iconv.h: Likewise.
66750         * iconv/loop.c: Likewise.
66751         * iconv/skeleton.c: Likewise.
66752         * include/aio.h: Likewise.
66753         * include/aliases.h: Likewise.
66754         * include/argz.h: Likewise.
66755         * include/arpa/inet.h: Likewise.
66756         * include/assert.h: Likewise.
66757         * include/dirent.h: Likewise.
66758         * include/dlfcn.h: Likewise.
66759         * include/execinfo.h: Likewise.
66760         * include/fcntl.h: Likewise.
66761         * include/fenv.h: Likewise.
66762         * include/glob.h: Likewise.
66763         * include/grp.h: Likewise.
66764         * include/libintl.h: Likewise.
66765         * include/mntent.h: Likewise.
66766         * include/netdb.h: Likewise.
66767         * include/pwd.h: Likewise.
66768         * include/rpc/netdb.h: Likewise.
66769         * include/sched.h: Likewise.
66770         * include/search.h: Likewise.
66771         * include/shadow.h: Likewise.
66772         * include/signal.h: Likewise.
66773         * include/stdio.h: Likewise.
66774         * include/stdlib.h: Likewise.
66775         * include/string.h: Likewise.
66776         * include/sys/socket.h: Likewise.
66777         * include/sys/stat.h: Likewise.
66778         * include/sys/statfs.h: Likewise.
66779         * include/sys/statvfs.h: Likewise.
66780         * include/sys/syslog.h: Likewise.
66781         * include/sys/time.h: Likewise.
66782         * include/sys/uio.h: Likewise.
66783         * include/time.h: Likewise.
66784         * include/unistd.h: Likewise.
66785         * include/utmp.h: Likewise.
66786         * include/wchar.h: Likewise.
66787         * include/wctype.h: Likewise.
66788         * inet/aliases.h: Likewise.
66789         * inet/arpa/inet.h: Likewise.
66790         * inet/netinet/ether.h: Likewise.
66791         * inet/netinet/in.h: Likewise.
66792         * intl/libintl.h: Likewise.
66793         * io/bits/fcntl2.h: Likewise.
66794         * io/fcntl.h: Likewise.
66795         * io/ftw.h: Likewise.
66796         * io/sys/poll.h: Likewise.
66797         * io/sys/stat.h: Likewise.
66798         * io/sys/statfs.h: Likewise.
66799         * io/sys/statvfs.h: Likewise.
66800         * io/utime.h: Likewise.
66801         * libio/bits/stdio.h: Likewise.
66802         * libio/bits/stdio2.h: Likewise.
66803         * libio/libio.h: Likewise.
66804         * libio/libioP.h: Likewise.
66805         * libio/stdio.h: Likewise.
66806         * locale/lc-ctype.c: Likewise.
66807         * locale/locale.h: Likewise.
66808         * login/utmp.h: Likewise.
66809         * malloc/arena.c: Likewise.
66810         * malloc/malloc.c: Likewise.
66811         * malloc/malloc.h: Likewise.
66812         * malloc/mcheck.c: Likewise.
66813         * malloc/mtrace.c: Likewise.
66814         * math/bits/mathcalls.h: Likewise.
66815         * math/fenv.h: Likewise.
66816         * math/math_private.h: Likewise.
66817         * misc/bits/error.h: Likewise.
66818         * misc/bits/syslog.h: Likewise.
66819         * misc/err.h: Likewise.
66820         * misc/error.h: Likewise.
66821         * misc/fstab.h: Likewise.
66822         * misc/mntent.h: Likewise.
66823         * misc/regexp.h: Likewise.
66824         * misc/search.h: Likewise.
66825         * misc/sgtty.h: Likewise.
66826         * misc/sys/mman.h: Likewise.
66827         * misc/sys/syslog.h: Likewise.
66828         * misc/sys/uio.h: Likewise.
66829         * misc/sys/xattr.h: Likewise.
66830         * misc/ttyent.h: Likewise.
66831         * nis/rpcsvc/ypclnt.h: Likewise.
66832         * nss/nss.h: Likewise.
66833         * posix/bits/unistd.h: Likewise.
66834         * posix/fnmatch.h: Likewise.
66835         * posix/glob.h: Likewise.
66836         * posix/sched.h: Likewise.
66837         * posix/spawn.h: Likewise.
66838         * posix/sys/wait.h: Likewise.
66839         * posix/unistd.h: Likewise.
66840         * posix/wordexp.h: Likewise.
66841         * pwd/pwd.h: Likewise.
66842         * resolv/netdb.h: Likewise.
66843         * resource/sys/resource.h: Likewise.
66844         * rt/aio.h: Likewise.
66845         * rt/bits/mqueue2.h: Likewise.
66846         * rt/mqueue.h: Likewise.
66847         * shadow/shadow.h: Likewise.
66848         * signal/signal.h: Likewise.
66849         * socket/send.c: Likewise.
66850         * socket/sendto.c: Likewise.
66851         * socket/sys/socket.h: Likewise.
66852         * stdio-common/printf.h: Likewise.
66853         * stdlib/bits/stdlib.h: Likewise.
66854         * stdlib/fmtmsg.h: Likewise.
66855         * stdlib/monetary.h: Likewise.
66856         * stdlib/stdlib.h: Likewise.
66857         * stdlib/ucontext.h: Likewise.
66858         * streams/stropts.h: Likewise.
66859         * string/argz.h: Likewise.
66860         * string/bits/string2.h: Likewise.
66861         * string/string.h: Likewise.
66862         * string/strings.h: Likewise.
66863         * sunrpc/rpc/auth.h: Likewise.
66864         * sunrpc/rpc/auth_des.h: Likewise.
66865         * sunrpc/rpc/clnt.h: Likewise.
66866         * sunrpc/rpc/netdb.h: Likewise.
66867         * sunrpc/rpc/pmap_clnt.h: Likewise.
66868         * sunrpc/rpc/xdr.h: Likewise.
66869         * sysdeps/generic/inttypes.h: Likewise.
66870         * sysdeps/generic/net/if.h: Likewise.
66871         * sysdeps/generic/sys/swap.h: Likewise.
66872         * sysdeps/gnu/net/if.h: Likewise.
66873         * sysdeps/gnu/utmpx.h: Likewise.
66874         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66875         * sysdeps/i386/i486/bits/string.h: Likewise.
66876         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66877         * sysdeps/s390/bits/string.h: Likewise.
66878         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66879         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66880         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66881         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66882         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66883         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66884         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66885         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66886         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66887         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66888         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66889         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66890         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66891         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66892         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66893         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66894         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66895         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66896         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66897         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66898         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66899         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66900         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66901         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66902         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66903         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66904         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66905         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66906         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66907         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66908         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66909         * sysvipc/sys/ipc.h: Likewise.
66910         * sysvipc/sys/msg.h: Likewise.
66911         * sysvipc/sys/sem.h: Likewise.
66912         * sysvipc/sys/shm.h: Likewise.
66913         * termios/termios.h: Likewise.
66914         * time/sys/time.h: Likewise.
66915         * time/time.h: Likewise.
66916         * wcsmbs/bits/wchar2.h: Likewise.
66917         * wcsmbs/uchar.h: Likewise.
66918         * wcsmbs/wchar.h: Likewise.
66919         * wctype/wctype.h: Likewise.
66921         [BZ #13551]
66922         * Makeconfig: Remove all but ELF support including AIX support.
66923         * Makerules: Likewise.
66924         * config.h.in: Likewise.
66925         * config.make.in: Likewise.
66926         * configure: Likewise.
66927         * configure.in: Likewise.
66928         * csu/Makefile: Likewise.
66929         * csu/version.c: Likewise.
66930         * debug/Makefile: Likewise.
66931         * dlfcn/Makefile: Likewise.
66932         * elf/Makefile: Likewise.
66933         * extra-lib.mk: Likewise.
66934         * iconv/Makefile: Likewise.
66935         * include/libc-symbols.h: Likewise.
66936         * include/shlib-compat.h: Likewise.
66937         * resolv/Makefile: Likewise.
66938         * resolv/res_libc.c: Likewise.
66939         * rt/Makefile: Likewise.
66940         * sysdeps/i386/asm-syntax.h: Likewise.
66941         * sysdeps/i386/sysdep.h: Likewise.
66942         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66943         * sysdeps/mach/sysdep.h: Likewise.
66944         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66945         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66946         * sysdeps/s390/asm-syntax.h: Likewise.
66947         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66948         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66949         * sysdeps/sh/sysdep.h: Likewise.
66950         * sysdeps/unix/sparc/sysdep.h: Likewise.
66951         * sysdeps/wordsize-32/divdi3.c: Likewise.
66952         * sysdeps/x86_64/sysdep.h: Likewise.
66954         * argp/Versions: Remove _argp_unlock_xxx.
66956         [BZ #13559]
66957         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66958         * abilist/libBrokenLocale.abilist: Likewise.
66959         * abilist/libanl.abilist: Likewise.
66960         * abilist/libc.abilist: Likewise.
66961         * abilist/libcrypt.abilist: Likewise.
66962         * abilist/libdl.abilist: Likewise.
66963         * abilist/libm.abilist: Likewise.
66964         * abilist/libnsl.abilist: Likewise.
66965         * abilist/libpthread.abilist: Likewise.
66966         * abilist/libresolv.abilist: Likewise.
66967         * abilist/librt.abilist: Likewise.
66968         * abilist/libthread_db.abilist: Likewise.
66969         * abilist/libutil.abilist: Likewise.
66970         * abilist/libnss_db.abilist: New file.
66972         * scripts/abilist.awk: Add support for indirect functions.
66974         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66976         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66978         * shlib-versions: Remove entries for ports architectures.
66980         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66981         files in ports.
66982         * elf/stackguard-macros.h: Remove support for IA-64.
66983         * elf/tst-auditmod1.c: Likewise.
66984         * sysdeps/generic/ldsodefs.h: Likewise.
66986         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66987         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66988         configure files.
66990         [BZ #13552]
66991         * configure.in: Remove --enable-omitfp support.
66992         * FAQ.in: Adjust.
66993         * config.make.in: Likewise.
66994         * Makeconfig: Likewise.
66995         * manual/install.texi: Likewise.
66997         In case anyone cares, the IA-64 architecture could move to ports.
66998         * sysdeps/ia64/*: Removed.
66999         * sysdeps/unix/sysv/linux/ia64/*: Removed.
67000         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
67002         [BZ #13555]
67003         * configure.in: Remove entries for unsupported architectures.
67005         [BZ #13533]
67006         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
67007         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
67008         routines.
67009         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
67010         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
67011         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
67012         fall back to using wcrtomb.
67013         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
67014         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
67015         renaming.
67016         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
67017         * wcsmbs/tst-c16c32-1.c: New file.
67019         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
67020         local variable.
67022         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
67024         * elf/tst-unique3.cc: Add explicit declaration of gets.
67025         * elf/tst-unique3lib.cc: Likewise.
67026         * elf/tst-unique3lib2.cc: Likewise.
67027         * elf/tst-unique4.cc: Likewise.
67029         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
67031 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
67033         [BZ #13566]
67034         * assert/assert.h (static_assert): Don't define for C++.
67035         * libio/stdio.h (gets): Do declare for C++ <= C++11.
67036         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
67038 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
67040         * iconv/loop.c (single loop): Fix assertion in storing of
67041         remaining bytes.
67043         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
67045 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
67047         * posix/getconf.c: Update copyright year.
67048         * nss/getent.c: Likewise.
67049         * nss/makedb.c: Likewise.
67050         * iconv/iconvconfig.c: Likewise.
67051         * iconv/iconv_prog.c: Likewise.
67052         * elf/ldconfig.c: Likewise.
67053         * elf/pldd.c: Likewise.
67054         * elf/sotruss.ksh: Likewise.
67055         * catgets/gencat.c: Likewise.
67056         * csu/version.c: Likewise.
67057         * elf/ldd.bash.in: Likewise.
67058         * elf/sprof.c (print_version): Likewise.
67059         * locale/programs/locale.c: Likewise.
67060         * locale/programs/localedef.c: Likewise.
67061         * login/programs/pt_chown.c: Likewise.
67062         * nscd/nscd.c (print_version): Likewise.
67063         * debug/xtrace.sh: Likewise.
67064         * malloc/memusage.sh: Likewise.
67065         * malloc/mtrace.pl: Likewise.
67066         * debug/catchsegv.sh: Likewise.
67068 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
67070         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
67071         pure attribute.
67073 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
67075         [BZ #13533]
67076         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
67077         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
67078         transformations.
67079         * iconv/gconv_int.h: Likewise.
67080         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
67081         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
67082         from libc for GLIBC_2.16.
67083         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
67084         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
67085         * wcsmbs/uchar.h: Really define mbstate_t.
67086         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
67087         * wcsmbs/c16rtomb.c: New file.
67088         * wcsmbs/mbrtoc16.c: New file.
67089         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
67090         for C/POSIX locale.
67091         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
67092         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
67094         * wcsmbs/wchar.h: Add missing __restrict.
67096 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67098         [BZ #13532]
67099         * time/Makefile (routines): Add timespec_get.
67100         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
67101         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
67102         timespec for ISO C11.
67103         * time/timespec_get.c: New file.
67104         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
67105         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
67107         [BZ #13531]
67108         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
67109         * stdlib/stdlib.h: Declare aligned_alloc.
67110         * Versions.def: Add GLIBC_2.16 for libc.
67111         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
67113         [BZ 13527]
67114         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
67115         ISO C11.
67117         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
67118         code.
67120         [BZ #13528]
67121         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
67123         [BZ #13529]
67124         * assert/assert.h (static_assert): Define.
67126         * version.h: Update for 2.16 development version.
67128         [BZ #13526]
67129         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
67130         _ISOC11_SOURCE.
67132         * version.h (RELEASE): Bump for 2.15 release.
67133         * include/features.h (__GLIBC_MINOR__): Bump to 15.
67135         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
67136         Patch by Marek Polacek <mpolacek@redhat.com>.
67138         * bits/byteswap.h: Protect long long constants with __extension__.
67139         * sysdeps/i386/bits/byteswap.h: Likewise.
67140         * sysdeps/ia64/bits/byteswap.h: Likewise.
67141         * sysdeps/s390/bits/byteswap.h: Likewise.
67142         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67144 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67146         [BZ #13540]
67147         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
67148         destination buffer.
67149         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
67151 2011-12-23  Marek Polacek  <polacek@redhat.com>
67153         * elf/dl-addr.c (determine_info): Add inline keyword.
67154         * elf/tst-auditmod4b.c (check_avx): Likewise.
67155         * elf/tst-auditmod6b.c (check_avx): Likewise.
67156         * elf/tst-auditmod6c.c (check_avx): Likewise.
67157         * elf/tst-auditmod7b.c (check_avx): Likewise.
67159 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67161         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
67162         !__SSE_MATH__.
67164 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67166         [BZ #13540]
67167         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
67168         processing for last bytes.
67170 2011-08-06  Bruno Haible  <bruno@clisp.org>
67172         [BZ #13061]
67173         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
67174         U+0385, not to U+1FEE.
67176         [BZ #13062]
67177         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
67178         entry for U+00A5 U+0301.
67180 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67182         [BZ #13166]
67183         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
67184         buffer for the output is too small.
67186         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
67187         optimization.
67189         [BZ #13185]
67190         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
67191         SSE flags if possible.
67193 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67195         [BZ #13540]
67196         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
67197         processing for last bytes.
67199 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
67201         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
67202         (syscall-list-default-options, syscall-list-default-condition)
67203         (syscall-list-includes): Define.
67204         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
67205         list of ABIs and options and #if conditions for each ABI.  Do not
67206         handle common syscalls between ABIs specially.
67207         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
67208         Remove.
67209         (syscall-list-variants, syscall-list-32bit-options)
67210         (syscall-list-32bit-condition, syscall-list-64bit-options)
67211         (syscall-list-64bit-condition): Define.
67212         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
67213         (syscall-list-variants, syscall-list-32bit-options)
67214         (syscall-list-32bit-condition, syscall-list-64bit-options)
67215         (syscall-list-64bit-condition): Define.
67216         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
67217         Remove.
67218         (syscall-list-variants, syscall-list-32bit-options)
67219         (syscall-list-32bit-condition, syscall-list-64bit-options)
67220         (syscall-list-64bit-condition): Define.
67221         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
67222         Remove.
67223         (syscall-list-variants, syscall-list-32bit-options)
67224         (syscall-list-32bit-condition, syscall-list-64bit-options)
67225         (syscall-list-64bit-condition): Define.
67227 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67229         * locale/iso-639.def: Add brx entry.
67231         [BZ #13328]
67232         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
67233         Proposed by Mariusz_Cukr <marcukr@op.pl>.
67235         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
67236         __feraiseexcept_renamed.
67238 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67240         [BZ #13538]
67241         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
67242         EPOLLET with unsigned values.
67243         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67244         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67246         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
67247         to large cancellation.
67248         * math/s_cacoshf.c: Likewise.
67249         * math/s_cacoshl.c: Likewise.
67251 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
67253         [BZ #13305]
67254         [BZ #12786]
67255         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
67256         * math/s_cacoshf.c: Likewise.
67257         * math/s_cacoshl.c: Likewise.
67259 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67261         [BZ #13439]
67262         * iconv/gconv.h: Define __GCONV_SWAP.
67263         * iconvdata/unicode.c: The swap bit must be stored in __flags.
67264         * iconvdata/utf-16.c: Likewise.
67265         * iconvdata/utf-32.c: Likewise.
67267 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
67269         [BZ #13524]
67270         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
67271         numerator after shifting it by one limb.
67273 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
67275         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
67276         under [__USE_EXTERN_INLINES].
67278 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67280         [BZ #13446]
67281         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
67283 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67285         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
67286         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
67287         optimized code.
67288         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
67289         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
67290         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
67291         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
67292         for strncasecmp/strncasecmp_l compilation.
67293         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
67294         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
67296 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
67298         [BZ #13484]
67299         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
67300         of __asm__.
67302 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67304         [BZ #13506]
67305         * time/tzfile.c (__tzfile_read): Check values from file header.
67307 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67309         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
67310         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
67311         * powerpc/powerpc32/dl-start.S: Likewise.
67312         * powerpc/powerpc32/elf/start.S: Likewise.
67313         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
67314         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
67315         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
67316         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
67317         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
67318         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
67319         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
67320         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67321         * powerpc/powerpc32/fpu/s_round.S: Likewise.
67322         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67323         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67324         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67325         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67326         * powerpc/powerpc32/memset.S: Likewise.
67327         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67328         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67329         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67330         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67331         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67332         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67333         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67334         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67335         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67336         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67337         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67338         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67339         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67341 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67343         * math/libm-test.inc: Added more nearbyint tests.
67344         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67345         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67346         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67347         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67349 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
67351         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67352         FD_CLOEXEC.
67354 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67356         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67357         Add wcscpy-ssse3 wcscpy-c.
67358         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67359         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67360         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67361         * sysdeps/x86_64/wcschr.S: New file.
67362         * sysdeps/x86_64/wcsrchr.S: New file.
67363         * string/test-strcmp.c: Remove checking of wcscmp function for
67364         wrong alignments.
67365         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
67366         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
67367         wcsrchr-sse2 wcsrchr-c.
67368         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
67369         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
67370         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
67371         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
67372         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
67373         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
67374         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
67375         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
67376         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
67377         * wcsmbc/wcschr.c (WCSCHR): New macro.
67379 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67381         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
67382         * wcsmbs/test-wcsrchr.c: New file.
67383         * string/test-strrchr.c: Add wcsrchr support.
67384         (WIDE): New macro.
67385         * wcsmbs/test-wcscpy.c: New file.
67386         * string/test-strcpy.c: Add wcscpy support.
67387         (WIDE): New macro.
67389 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
67391         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
67392         the inner loop.
67394 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
67396         [BZ #13472]
67397         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
67399 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
67401         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
67402         Minor optimizations.
67404         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
67405         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
67406         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67408 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
67410         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67411         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67412         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67413         for gcc to avoid warnings.
67414         * inet/Makefile (tests): Add tst-checks.
67415         * inet/tst-checks.c: New file.
67417         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67418         warning.
67420         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67421         __wmemcmp_sse2.
67423         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67424         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67426         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67428 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
67430         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67431         problem.
67433         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67435 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
67437         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67438         conditional on GCC version.
67439         (__arch_compare_and_exchange_val_8_acq)
67440         (__arch_compare_and_exchange_val_16_acq)
67441         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67442         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67443         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67445 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
67447         * sysdeps/sh/backtrace.c: New file.
67449 2011-12-02  Andreas Schwab  <schwab@redhat.com>
67451         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
67452         parenthesis.
67454 2011-12-01  Andreas Schwab  <schwab@redhat.com>
67456         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67457         falling back to utime.
67459 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67461         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67462         expectations for float.
67464 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67466         * locale/weight.h (findidx): Add parameter len.
67467         * locale/weightwc.h (findidx): Likewise.
67468         * posix/fnmatch_loop.c (FCT): Adjust caller.
67469         * posix/regcomp.c (build_equiv_class): Likewise.
67470         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67471         * posix/regexec.c (check_node_accept_bytes): Likewise.
67472         * string/strcoll_l.c (STRCOLL): Likewise.
67473         * string/strxfrm_l.c (STRXFRM): Likewise.
67475 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67477         * Makefile.in: Remove CVSOPT handling.
67478         * configure.in: Remove use of AC_REVISION.
67479         * iconvdata/Makefile (distribute): No need to filter out CVS.
67480         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67481         handling.
67483 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67485         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67486         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67487         [USE_AS_STRNCASECMP_L]: Likewise.
67488         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67489         NO_TLS_DIRECT_SEG_REFS.
67490         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67491         Fix argument offsets for non-PIC.
67492         [USE_AS_STRNCASECMP_L]: Likewise.
67493         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67494         NO_TLS_DIRECT_SEG_REFS.
67496 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67498         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67499         O_CLOEXEC.
67500         * locale/loadlocale.c (_nl_load_locale): Likewise.
67502 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67504         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67505         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67506         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67507         (SYSCALL_GETTIME): Set errno on error.
67509         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67510         count references to noai6ai_cached.
67512 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67514         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67516         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67517         FD_CLOEXEC for /proc/self/maps.
67519         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67520         FD_CLOEXEC for /proc/meminfo.
67522         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67523         gai.conf.
67525         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67526         FD_CLOEXEC for given file.
67528         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67530         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67531         FD_CLOEXEC for /etc/hosts.
67532         (_gethtent): Likewise.
67534         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67536         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67537         cancellation and set FD_CLOEXEC for /etc/netgroup.
67539         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67540         reading /etc/publickey.
67542         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67543         allow cancellation when reading /etc/group.
67545         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67546         cancellation.
67547         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67549         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67550         when using data file.
67552         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67554         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67555         (write_nis_obj): Use "c" and "e" in fopen.
67557         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67559         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67561         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67563         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67565         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67566         locale.alias.
67568         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67570         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67572         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67574         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67575         file parsing and set FD_CLOEXEC.
67577 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67579         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67581 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67583         * malloc/arena.c (arena_get2): Don't call reused_arena when
67584         _int_new_arena failed.
67586 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67588         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67589         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67590         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67591         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67592         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67593         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67594         to compile strcasecmp and strncasecmp.
67595         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67596         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67598         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67600 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67602         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67603         locale-defines.sym to gen-as-const-headers.
67604         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67605         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67606         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67607         to compile strcasecmp and strncasecmp.
67608         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67609         strcasecmp_l and strncasecmp_l.
67610         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67611         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67612         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67613         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67614         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67615         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67616         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67617         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67618         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67619         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67620         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67622 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67624         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67625         result of SYSDEP_GETTIME_CPU to retval.
67626         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67627         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67629         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67630         variable.
67632         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67633         mantissa words.
67634         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67636         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67637         from unused variable.
67639         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67640         DWARF definitions.
67641         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67642         for assembling.
67644         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67645         over namespaces.
67647         * sunrpc/rpc_prot.c (rejected): Fix case value.
67649         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67650         unsigned long long int to avoid warnings in shift.
67652         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67653         of use of trans.
67654         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67655         variable tmp.
67657         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67658         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67659         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67661         * nis/nis_table.c (nis_list): Use variable of correct type for
67662         result of __follow_path call.
67664 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67666         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67667         of math functions ceil, trunc, floor, round, and sqrt, when
67668         avaliable on the platform.
67669         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67670         name clash.
67671         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67672         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67673         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67675 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67677         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67678         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67680 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67682         * include/unistd.h: Fix __readlink return type.
67683         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67685 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67687         * stdlib/ucontext.h: Undo last change for makecontext.
67689 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67691         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67693         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67694         * setjmp/setjmp.h: Mark functions as non-leaf.
67695         * setjmp/bits/setjmp2.h: Likewise.
67696         * stdlib/ucontext.h: Likewise.
67698 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67700         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67701         (reused_arena): Don't check arena limit.
67702         (arena_get2): Atomically check arena limit.
67704 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67706         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67707         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67709         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67710         instructions.
67712 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67714         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67715         handler when locking.
67717         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67718         Fix size of allocated buffer.
67720 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67722         [BZ #10103]
67723         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67724         declarations for long double functions.
67725         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67727         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67729 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67731         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67732         installed.
67734         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67735         is disabled.
67737 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67739         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67741 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67743         * include/alloca.h (stackinfo_alloca_round): Define.
67744         (extend_alloca): Use it.
67745         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67746         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67747         here.
67749         * scripts/check-local-headers.sh: Ignore libaudit.h.
67751         * nscd/Makefile (extra-objs): Make recursively expanded.
67753 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67755         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67756         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67758         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67759         * posix/tst-rfc3484-2.c: Likewise.
67760         * posix/tst-rfc3484-3.c: Likewise.
67762         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67763         process_vm_writev.
67764         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67765         process_vm_writev.
67766         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67767         process_vm_writev from libc using GLIBC_2.15 version.
67769         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67771 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67773         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67774         stack usage.
67776 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67778         [BZ #13367]
67779         * nss/getent.c (initgroups_keys): Show error message in case no group
67780         names are given.
67782         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67783         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67784         __bump_nl_timestamp.
67785         * nscd/connections (nscd_init): When host database is served open
67786         netlink socket and request notification about configuration changes.
67787         (main_loop_poll): Track netlink file descriptor and bump timestamp
67788         in case data becomes available.
67789         (main_loop_epoll): Likewise.
67790         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67791         (database_pers_head): Add extra_data fileds.
67792         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67793         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67794         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67795         Adjust caller.
67796         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67797         in6ai data, call __free_in6ai.
67798         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67799         Add -DHAVE_NETLINK.
67800         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67801         interface information.  Reuse previous data if netlink timestamp
67802         is not changed.
67803         (__bump_nl_timestamp): New function.
67804         (__free_in6ai): New function.
67806 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67808         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67809         close_not_cancel_no_status here.
67810         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67812 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67814         [BZ #13276]
67815         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67816         return value.
67818         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67819         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67820         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67822 2011-07-03  Andreas Jaeger  <aj@suse.de>
67824         [BZ #10709]
67825         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67826         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67827         * math/libm-test.inc (sin_test): Add test case.
67829 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67831         [BZ #13337]
67832         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67833         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67835         * elf/chroot_canon.c (chroot_canon): Cleanups.
67837         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67839         [BZ #13335]
67840         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67841         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67843         * string/test-strchr.c: Make usable for strchrnul testing.
67844         * string/test-strchrnul.c: New file.
67845         * string/Makefile (strop-tests): Add strchrnul.
67847         * po/it.po: Update from translation team.
67848         * po/es.po: Likewise.
67850 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67852         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67853         the three constants needed as parameters.  Drop the others.
67854         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67855         __m128i_strloadu_tolower.
67856         Create and initialize variable zero and use it in all the places
67857         where _mm_setzero_si128 was used.
67859         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67860         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67861         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67862         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67863         anymore.
67864         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67865         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67866         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67867         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67868         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67869         __mpranred, __mptan.
67870         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67871         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67872         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67873         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67874         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67875         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67876         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67877         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67878         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67880 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67882         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67883         redefine if SHARED.
67884         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67886         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67887         wide char related routines to wcsmbs subdir.
67889 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67891         [BZ #13344]
67892         * misc/sys/cdefs.h (__THROWNL): Define.
67893         * posix/unistd.h: Use __THREADNL instead of __THREAD
67894         for memory synchronization functions.
67896 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67898         [BZ #13349]
67899         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67900         doesn't exist.
67901         * manual/stdio.texi (Obstack Streams): Node removed.
67903 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67905         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67906         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67907         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67909         * math/math_private.h (math_force_eval): Allow non-addressable
67910         arguments.
67911         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67913 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67915         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67916         file is not needed.
67918         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67919         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67920         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67921         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67922         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67923         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67924         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67925         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67926         Add AVX variants.
67927         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67928         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67929         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67930         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67931         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67932         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67933         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67934         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67935         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67936         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67937         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67938         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67939         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67940         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67941         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67942         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67943         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67944         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67945         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67947         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67948         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67950         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67951         place.  Use VEX encoding when compiling for AVX.
67953 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67955         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67956         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67958         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67960 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67962         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67963         useless if() expression.
67964         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67965         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67966         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67967         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67968         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67969         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67970         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67971         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67972         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67973         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67974         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67975         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67976         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67977         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67978         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67979         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67980         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67981         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67982         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67984         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67986 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67988         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67989         condition.
67990         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67992 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67994         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67995         .text section.  Avoid duplicate constants.
67996         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67998         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68000         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68004         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68005         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
68006         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68007         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68008         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68009         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68010         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68011         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68012         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68013         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68014         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68015         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68016         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68017         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68018         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68019         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
68020         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
68021         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
68022         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
68023         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
68024         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
68025         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
68026         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
68027         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
68028         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68029         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
68030         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
68031         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
68032         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
68033         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
68034         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
68035         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
68036         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
68037         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
68038         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
68039         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
68040         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
68042 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
68044         * sysdeps/x86_64/dla.h: Move to ...
68045         * sysdeps/x86_64/fpu/dla.h: ...here.
68046         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
68047         situations.  Use __builtin_fma only for gcc 4.6 and up.
68049         * config.make.in: Add have-mfma4 entry.
68050         * configure.in: Substitute libc_cv_cc_fma4.
68051         * math/Makefile (dbl-only-routines): Add sincostab.
68052         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
68053         Use __sincostab not sincos.
68054         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
68055         name is a macro.
68056         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68057         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68058         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68059         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
68060         using __copysign.
68061         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
68062         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
68063         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
68064         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
68065         and __inv.
68066         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
68067         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
68068         __copysign.
68069         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
68070         define aliases when function name is a macro.
68071         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
68072         sysdeps/ieee754/dbl-64/sincos.tbl.
68073         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
68074         fma4-enabled routines.
68075         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
68076         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
68077         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
68078         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
68079         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
68080         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
68081         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
68082         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
68083         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
68084         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
68085         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
68086         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
68087         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
68088         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
68089         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
68090         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
68091         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
68092         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
68093         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
68094         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
68095         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
68096         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
68097         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
68098         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
68099         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
68100         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
68101         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
68102         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
68103         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
68104         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
68106         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
68107         rename.
68108         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68109         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68110         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68111         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68112         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68113         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68114         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68115         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68117 2011-10-24  Andreas Schwab  <schwab@redhat.com>
68119         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
68121 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68123         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
68125         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
68126         prediction.
68127         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
68129         * string/strnlen.c: Don't define STRNLEN, reverse logic.
68130         Remove unused variable magic_bits.
68131         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
68133         * string/strnlen.c: Define and use STRNLEN macro.
68134         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
68135         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
68136         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
68137         * wcsmbs/wcslen.c: Define and use WCSLEN.
68138         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
68139         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
68140         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
68141         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
68142         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
68143         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
68144         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68146 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68149         strnlen-sse2-no-bsf.
68150         Rename strlen-no-bsf to strlen-sse2-no-bsf.
68151         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
68152         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
68153         Add strnlen support.
68154         (USE_AS_STRNLEN): New macro.
68155         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
68156         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
68157         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
68158         * sysdeps/x86_64/wcslen.S: New file.
68160 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
68162         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68163         XMM-moves are used for copying on small sizes.
68165 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68167         * wcsmbs/Makefile (strop-tests): Add wcschr.
68168         * wcsmbs/test-wcschr.c: New file.
68169         * string/test-strchr.c: Update.
68170         Add wcschr support.
68171         (WIDE): New macro.
68173 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68175         * wcsmbs/Makefile (strop-tests): Add wcslen.
68176         * wcsmbs/test-wcslen.c: New file.
68177         * string/test-strlen.c: Update.
68178         Add wcslen support.
68179         (WIDE): New macro.
68181 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68183         * po/it.po: Update from translation team.
68185 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68187         * sysdeps/x86_64/wcscmp.S: Update.
68188         Fix wrong comparison semantics.
68189         wcscmp shall use signed comparison not unsigned.
68190         Don't use substraction to avoid overflow bug.
68191         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
68192         * wcsmbc/wcscmp.c: Likewise.
68193         * string/test-strcmp.c: Likewise.
68194         Add new tests to check cases with negative values.
68196 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68198         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
68199         * sysdeps/x86_64/dla.h: ...here.  New file.
68200         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
68201         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68202         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68203         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68204         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68205         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68206         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68207         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68208         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68210 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
68212         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
68213         __ynl_finite aliases.
68215 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68217         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68219         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
68220         define DLA_FMA.
68221         [DLA_FMA] (EMULV): Use DLA_FMA.
68222         [DLA_FMA] (MUL12): Use EMULV.
68223         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
68224         that are not needed.
68225         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68226         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68228         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68230         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68231         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68233 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
68235         * math/s_nan.c: Undef __nan.
68236         * math/s_nanf.c: Undef __nanf.
68237         * math/s_nanl.c: Undef __nanl.
68238         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
68239         "math_private.h".
68241 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68243         * math/s_catan.c: Add branch predictions.
68244         * math/s_catanf.c: Likewise.
68245         * math/s_catanh.c: Likewise.
68246         * math/s_catanhf.c: Likewise.
68247         * math/s_catanhl.c: Likewise.
68248         * math/s_catanl.c: Likewise.
68249         * math/s_cexp.c: Likewise.
68250         * math/s_cexpf.c: Likewise.
68251         * math/s_cexpl.c: Likewise.
68252         * math/s_clog.c: Likewise.
68253         * math/s_clog10.c: Likewise.
68254         * math/s_clog10f.c: Likewise.
68255         * math/s_clog10l.c: Likewise.
68256         * math/s_clogf.c: Likewise.
68257         * math/s_clogl.c: Likewise.
68258         * math/s_csqrt.c: Likewise.
68259         * math/s_csqrtf.c: Likewise.
68260         * math/s_csqrtl.c: Likewise.
68261         * math/s_ctanf.c: Likewise.
68262         * math/s_ctanh.c: Likewise.
68263         * math/s_ctanhf.c: Likewise.
68264         * math/s_ctanhl.c: Likewise.
68265         * math/s_ctanl.c: Likewise.
68267         * math/math_private.h: Define __nan, __nanf, __nanl.
68268         * math/s_cacosh.c: Include <math_private.h>.
68269         * math/s_cacoshl.c: Likewise.
68270         * math/s_casinh.c: Likewise.
68271         * math/s_casinhf.c: Likewise.
68272         * math/s_casinhl.c: Likewise.
68273         * math/s_ccos.c: Rely entire on ccosh.
68274         * math/s_ccosf.c: Rely entire on ccoshf.
68275         * math/s_ccosl.c: Rely entirely on ccoshl.
68276         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
68277         Remove tests for FE_INVALID.
68278         * math/s_ccoshf.c: Likewise.
68279         * math/s_ccoshl.c: Likewise.
68280         * math/s_csin.c: Likewise.
68281         * math/s_csinf.c: Likewise.
68282         * math/s_csinh.c Likewise.
68283         * math/s_csinhf.c: Likewise.
68284         * math/s_csinhl.c: Likewise.
68285         * math/s_csinl.c: Likewise.
68286         * math/s_ctan.c: Likewise.
68287         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
68288         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
68289         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
68291 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
68293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
68294         compilation problems.
68296         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
68297         __builtin_expect.
68299 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
68301         * sysdeps/i386/configure.in: Test for -mfma4 option.
68302         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
68303         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
68304         COMMON_CPUID_INDEX_80000001.
68305         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
68306         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
68307         use it if FMA3 is not supported.
68308         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
68310         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
68311         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68313 2011-10-20  Andreas Schwab  <schwab@redhat.com>
68315         [BZ #12892]
68316         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
68317         it would create a cycle with a link time dependency.
68319 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
68321         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68322         instruction.
68323         * string/Makefile (strop-tests): Add rawmemchr.
68324         * string/test-rawmemchr.c: New file.
68326         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68327         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
68328         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
68329         when compiling str{,n}casecmp and when AVX is available.  Hook up
68330         new optimized code in initializers.
68332 2011-10-19  Andreas Schwab  <schwab@redhat.com>
68334         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68335         __feraiseexcept instead of feraiseexcept.
68337 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
68339         * math/math_private.h: Define defaults for libc_fetestexcept and
68340         libc_feupdateenv.
68341         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68342         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68343         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68344         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68345         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68346         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68347         libc_fetestexcept and libc_feupdateenv.
68349         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68350         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68351         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68352         * sysdeps/x86_64/fpu/math_private.h: Define special version of
68353         libc_feholdexcept_setround.
68355         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68356         Add s_nearbyint-c and s_nearbyintf-c.
68357         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68358         nearbyintf inlines.
68359         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68360         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68361         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68362         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68364         * math/math_private.h: Define defaults for libc_fegetround,
68365         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
68366         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
68367         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
68368         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
68369         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
68370         standard functions.
68371         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68372         Remove comments and hacks for old compiler versions.
68373         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68374         libc_fegetround, libc_fesetround, libc_feholdexcept, and
68375         libc_feholdexceptl.
68377 2011-10-18  Andreas Schwab  <schwab@redhat.com>
68379         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
68380         (__feraiseexcept_renamed): Add __NTH.
68381         (feraiseexcept): Add __NTH.  Rename local variables to fix
68382         namespace violations.
68384 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
68386         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
68388         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
68390         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
68391         recently added interfaces.
68392         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
68394         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
68395         about macro parameter expansion.
68397         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
68398         __NO_MATH_INLINES is defined.  Cleanups.
68400         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
68401         and __floorf is target has SSE4.1.
68402         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
68403         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
68404         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
68405         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
68407         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68408         name.
68409         (floorf): Likewise.
68411         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68413 2011-10-17  Andreas Schwab  <schwab@redhat.com>
68415         * misc/sys/cdefs.h: Fix last change.
68417         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68418         database lookup.
68420 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
68422         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68424         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68425         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68426         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68427         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68428         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68429         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68430         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68431         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68432         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68433         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68434         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68435         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68436         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68437         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68438         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68439         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68440         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68441         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68442         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68443         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68444         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68445         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68447         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68448         ceil, ceilf, floor, floorf.
68450         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68451         Perform IRELATIVE relocations last.
68453         * elf/do-rel.h: Add another parameter nrelative, replacing the
68454         local variable with the same name.  Change name of the function
68455         to end in Rel or Rela (uppercase).
68456         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68457         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
68458         elf_dynamic_do_##reloc function.
68460 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68462         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68463         is sufficient, at least on modern CPUs.
68465         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68467         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68468         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68470         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68471         __expl_finite.
68472         * math/bits/math-finite.h: Add entries for exp.
68473         * math/e_expl.c: Add __*_finite alias.
68474         * sysdeps/i386/fpu/e_exp.S: Likewise.
68475         * sysdeps/i386/fpu/e_expf.S: Likewise.
68476         * sysdeps/i386/fpu/e_expl.c: Likewise.
68477         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68478         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68479         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68480         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68481         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68482         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68483         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68485         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68486         is sufficient, at least on modern CPUs.
68488         * ctype/ctype-info.c (__ctype_init): Define.
68489         * include/ctype.h (__ctype_init): Declare.
68490         (__ctype_b_loc): The variable is always initialized.
68491         (__ctype_toupper_loc): Likewise.
68492         (__ctype_tolower_loc): Likewise.
68493         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68494         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68496 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68498         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68500         * configure.in: Also look in $cxxmachine/include for C++ system
68501         headers.
68503 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68505         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68506         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68507         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68508         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68509         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68510         (USE_AS_WMEMCMP): New macro.
68511         Fixing indents.
68512         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68513         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68514         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68515         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68516         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68517         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68518         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68519         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68520         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68521         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68522         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68523         (USE_AS_WMEMCMP): New macro.
68524         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68525         * sysdeps/string/test-memcmp.c: Update.
68526         Fix simple_wmemcmp.
68527         Add new tests.
68528         * wcsmbs/wmemcmp.c: Update.
68529         (WMEMCMP): New macro.
68530         Fix overflow bug.
68532 2011-10-12  Andreas Jaeger  <aj@suse.de>
68534         [BZ #13268]
68535         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68537 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68539         * libio/iofwide.c (do_length): Avoid warning.
68541         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68543 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68545         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68547         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68548         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68549         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68550         * sysdeps/i386/i686/fpu/e_log.S: New file.
68551         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68552         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68554         * ctype/ctype.h: Add support for inlined isXXX functions when
68555         compiling C++ code.
68557 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68559         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68561         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68563 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68565         [BZ #13291]
68566         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68568 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68570         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68571         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68572         feraiseexcept.
68574         * sysdeps/x86_64/memrchr.S: Check for zero size.
68576         * string/stratcliff.c: Add memrchr tests.
68578 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68581         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68582         rawmemchr-sse2 rawmemchr-sse2-bsf.
68583         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68584         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68585         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68586         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68587         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68588         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68589         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68590         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68591         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68592         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68593         * string/memrchr.c (MEMRCHR): New macro.
68595 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68597         Add integration with gcc's -ffinite-math-only and optimize wrapper
68598         functions in libm.
68599         * Versions.def: Define GLIBC_2.15 version for libm.
68600         * math/Makefile (headers): Add bits/math-finite.h.
68601         * math/bits/math-finite.h: New file.
68602         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68603         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68604         * math/e_acoshl.c: Add __*_finite alias.
68605         * math/e_acosl.c: Likewise.
68606         * math/e_asinl.c: Likewise.
68607         * math/e_atan2l.c: Likewise.
68608         * math/e_atanhl.c: Likewise.
68609         * math/e_coshl.c: Likewise.
68610         * math/e_exp10.c: Likewise.
68611         * math/e_exp10f.c: Likewise.
68612         * math/e_exp10l.c: Likewise.
68613         * math/e_exp2l.c: Likewise.
68614         * math/e_fmodl.c: Likewise.
68615         * math/e_gammal_r.c: Likewise.
68616         * math/e_hypotl.c: Likewise.
68617         * math/e_j0l.c: Likewise.
68618         * math/e_j1l.c: Likewise.
68619         * math/e_jnl.c: Likewise.
68620         * math/e_lgammal_r.c: Likewise.
68621         * math/e_log10l.c: Likewise.
68622         * math/e_log2l.c: Likewise.
68623         * math/e_logl.c: Likewise.
68624         * math/e_powl.c: Likewise.
68625         * math/e_sinhl.c: Likewise.
68626         * math/e_sqrtl.c: Likewise.
68627         * math/e_scalb.c: Completely rewritten and optimized.
68628         * math/e_scalbf.c: Likewise.
68629         * math/e_scalbl.c: Likewise.
68630         * math/w_acos.c: Likewise.
68631         * math/w_acosf.c: Likewise.
68632         * math/w_acosl.c: Likewise.
68633         * math/w_acosh.c: Likewise.
68634         * math/w_acoshf.c: Likewise.
68635         * math/w_acoshl.c: Likewise.
68636         * math/w_asin.c: Likewise.
68637         * math/w_asinf.c: Likewise.
68638         * math/w_asinl.c: Likewise.
68639         * math/w_atan2.c: Likewise.
68640         * math/w_atan2f.c: Likewise.
68641         * math/w_atan2l.c: Likewise.
68642         * math/w_atanh.c: Likewise.
68643         * math/w_atanhf.c: Likewise.
68644         * math/w_atanhl.c: Likewise.
68645         * math/w_exp10.c: Likewise.
68646         * math/w_exp10f.c: Likewise.
68647         * math/w_exp10l.c: Likewise.
68648         * math/w_fmod.c: Likewise.
68649         * math/w_fmodf.c: Likewise.
68650         * math/w_fmodl.c: Likewise.
68651         * math/w_j0.c: Likewise.
68652         * math/w_j0f.c: Likewise.
68653         * math/w_j0l.c: Likewise.
68654         * math/w_j1.c: Likewise.
68655         * math/w_j1f.c: Likewise.
68656         * math/w_j1l.c: Likewise.
68657         * math/w_jn.c: Likewise.
68658         * math/w_jnf.c: Likewise.
68659         * math/w_log.c: Likewise.
68660         * math/w_logf.c: Likewise.
68661         * math/w_logl.c: Likewise.
68662         * math/w_log10.c: Likewise.
68663         * math/w_log10f.c: Likewise.
68664         * math/w_log10l.c: Likewise.
68665         * math/w_log2.c: Likewise.
68666         * math/w_log2f.c: Likewise.
68667         * math/w_log2l.c: Likewise.
68668         * math/w_pow.c: Likewise.
68669         * math/w_powf.c: Likewise.
68670         * math/w_powl.c: Likewise.
68671         * math/w_remainder.c: Likewise.
68672         * math/w_remainderf.c: Likewise.
68673         * math/w_remainderl.c: Likewise.
68674         * math/w_scalb.c: Likewise.
68675         * math/w_scalbf.c: Likewise.
68676         * math/w_scalbl.c: Likewise.
68677         * math/w_sqrt.c: Likewise.
68678         * math/w_sqrtf.c: Likewise.
68679         * math/w_sqrtl.c: Likewise.
68680         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68681         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68682         used.
68683         * math/math_private.h: Declare __kernel_standard_f.
68684         * math/w_cosh.c: Remove cruft and optimize a bit.
68685         * math/w_coshf.c: Likewise.
68686         * math/w_coshl.c: Likewise.
68687         * math/w_exp2.c: Likewise.
68688         * math/w_exp2f.c: Likewise.
68689         * math/w_exp2l.c: Likewise.
68690         * math/w_hypot.c: Likewise.
68691         * math/w_hypotf.c: Likewise.
68692         * math/w_hypotl.c: Likewise.
68693         * math/w_lgamma.c: Likewise.
68694         * math/w_lgamma_r.c: Likewise.
68695         * math/w_lgammaf.c: Likewise.
68696         * math/w_lgammaf_r.c: Likewise.
68697         * math/w_lgammal.c: Likewise.
68698         * math/w_lgammal_r.c: Likewise.
68699         * math/w_sinh.c: Likewise.
68700         * math/w_sinhf.c: Likewise.
68701         * math/w_sinhl.c: Likewise.
68702         * math/w_tgamma.c: Likewise.
68703         * math/w_tgammaf.c: Likewise.
68704         * math/w_tgammal.c: Likewise.
68705         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68706         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68707         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68708         Minor optimizations.  Pretty printing.  Remove cruft.
68709         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68710         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68711         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68712         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68713         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68714         * sysdeps/i386/fpu/e_asin.S: Likewise.
68715         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68716         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68717         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68718         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68719         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68720         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68721         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68722         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68723         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68724         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68725         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68726         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68727         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68728         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68729         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68730         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68731         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68732         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68733         * sysdeps/i386/fpu/e_log.S: Likewise.
68734         * sysdeps/i386/fpu/e_log10.S: Likewise.
68735         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68736         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68737         * sysdeps/i386/fpu/e_log2.S: Likewise.
68738         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68739         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68740         * sysdeps/i386/fpu/e_logf.S: Likewise.
68741         * sysdeps/i386/fpu/e_logl.S: Likewise.
68742         * sysdeps/i386/fpu/e_pow.S: Likewise.
68743         * sysdeps/i386/fpu/e_powf.S: Likewise.
68744         * sysdeps/i386/fpu/e_powl.S: Likewise.
68745         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68746         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68747         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68748         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68749         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68750         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68751         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68752         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68753         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68754         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68755         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68757         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68758         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68759         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68760         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68761         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68762         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68763         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68764         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68765         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68767         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68768         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68769         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68770         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68771         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68772         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68773         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68774         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68775         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68776         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68777         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68778         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68779         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68780         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68781         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68782         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68783         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68784         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68785         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68786         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68787         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68788         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68789         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68790         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68791         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68792         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68793         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68794         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68795         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68796         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68797         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68798         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68799         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68800         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68801         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68802         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68803         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68804         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68805         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68806         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68807         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68808         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68809         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68810         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68811         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68812         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68813         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68814         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68815         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68816         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68817         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68818         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68819         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68820         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68821         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68822         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68823         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68824         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68825         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68826         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68827         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68828         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68829         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68830         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68831         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68832         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68833         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68834         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68835         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68836         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68837         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68838         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68839         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68840         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68841         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68842         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68843         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68844         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68845         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68846         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68847         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68848         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68849         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68850         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68851         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68852         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68853         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68854         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68855         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68856         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68857         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68858         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68859         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68860         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68861         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68862         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68863         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68864         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68865         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68866         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68867         (__isnanf): Likewise.
68868         (__isinf_ns): Likewise.
68869         (__isinf_nsf): Likewise.
68870         (__finite): Likewise.
68871         (__finitef): Likewise.
68872         (__ieee754_sqrt): Define as macro.
68873         (__ieee754_sqrtf): Define as macro.
68874         (__ieee754_sqrtl): Define as macro.
68875         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68876         inlined copy.
68877         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68878         __FINITE_MATH_ONLY__ consistent.
68879         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68881 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68883         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68884         of rawmemchr.
68886         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68888 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68890         * po/ja.po: Update from translation team.
68892 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68894         * locale/programs/locarchive.c (prepare_address_space): New function.
68895         (create_archive, enlarge_archive, open_archive): Use it.
68897         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68898         inside [SHARED], where it is used.
68900         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68902         * nss/getent.c (netgroup_keys): Remove unused variable.
68903         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68905 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68907         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68908         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68909         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68910         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68911         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68912         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68913         * math/Makefile (libm-calls): Add s_isinf_ns.
68914         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68915         * math/multc3.c: Likewise.
68916         * math/s_casin.c: Likewise.
68917         * math/s_casinf.c: Likewise.
68918         * math/s_casinl.c: Likewise.
68919         * math/s_ccos.c: Likewise.
68920         * math/s_ccosf.c: Likewise.
68921         * math/s_ccosl.c: Likewise.
68922         * math/s_ctan.c: Likewise.
68923         * math/s_ctanf.c: Likewise.
68924         * math/s_ctanh.c: Likewise.
68925         * math/s_ctanhf.c: Likewise.
68926         * math/s_ctanhl.c: Likewise.
68927         * math/s_ctanl.c: Likewise.
68928         * math/w_fmod.c: Likewise.
68929         * math/w_fmodf.c: Likewise.
68930         * math/w_fmodl.c: Likewise.
68931         * math/w_remainder.c: Likewise.
68932         * math/w_remainderf.c: Likewise.
68933         * math/w_remainderl.c: Likewise.
68934         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68935         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68936         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68937         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68938         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68939         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68940         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68941         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68943         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68944         of the number.
68945         * stdio-common/printf_fphex.c: Likewise.
68946         * stdio-common/printf_size.c: Likewise.
68948         * math/e_exp10.c: Include math_private.h using <...> not "...".
68949         * math/e_exp10f.c: Likewise.
68950         * math/e_exp10l.c: Likewise.
68951         * math/e_exp2l.c: Likewise.
68952         * math/e_j0l.c: Likewise.
68953         * math/e_j1l.c: Likewise.
68954         * math/e_jnl.c: Likewise.
68955         * math/e_lgammal_r.c: Likewise.
68956         * math/e_rem_pio2l.c: Likewise.
68957         * math/e_scalb.c: Likewise.
68958         * math/e_scalbf.c: Likewise.
68959         * math/e_scalbl.c: Likewise.
68960         * math/k_cosl.c: Likewise.
68961         * math/k_sinl.c: Likewise.
68962         * math/k_tanl.c: Likewise.
68963         * math/s_cacoshf.c: Likewise.
68964         * math/s_catan.c: Likewise.
68965         * math/s_catanf.c: Likewise.
68966         * math/s_catanh.c: Likewise.
68967         * math/s_catanhf.c: Likewise.
68968         * math/s_catanhl.c: Likewise.
68969         * math/s_catanl.c: Likewise.
68970         * math/s_ccosh.c: Likewise.
68971         * math/s_ccoshf.c: Likewise.
68972         * math/s_ccoshl.c: Likewise.
68973         * math/s_cexp.c: Likewise.
68974         * math/s_cexpf.c: Likewise.
68975         * math/s_cexpl.c: Likewise.
68976         * math/s_clog.c: Likewise.
68977         * math/s_clog10.c: Likewise.
68978         * math/s_clog10f.c: Likewise.
68979         * math/s_clog10l.c: Likewise.
68980         * math/s_clogf.c: Likewise.
68981         * math/s_clogl.c: Likewise.
68982         * math/s_csin.c: Likewise.
68983         * math/s_csinf.c: Likewise.
68984         * math/s_csinh.c: Likewise.
68985         * math/s_csinhf.c: Likewise.
68986         * math/s_csinhl.c: Likewise.
68987         * math/s_csinl.c: Likewise.
68988         * math/s_csqrt.c: Likewise.
68989         * math/s_csqrtf.c: Likewise.
68990         * math/s_csqrtl.c: Likewise.
68991         * math/s_ctan.c: Likewise.
68992         * math/s_ctanf.c: Likewise.
68993         * math/s_ctanh.c: Likewise.
68994         * math/s_ctanhf.c: Likewise.
68995         * math/s_ctanhl.c: Likewise.
68996         * math/s_ctanl.c: Likewise.
68997         * math/s_ldexp.c: Likewise.
68998         * math/s_ldexpf.c: Likewise.
68999         * math/s_ldexpl.c: Likewise.
69000         * math/s_significand.c: Likewise.
69001         * math/s_significandf.c: Likewise.
69002         * math/s_significandl.c: Likewise.
69003         * math/w_acos.c: Likewise.
69004         * math/w_acosf.c: Likewise.
69005         * math/w_acosh.c: Likewise.
69006         * math/w_acoshf.c: Likewise.
69007         * math/w_acoshl.c: Likewise.
69008         * math/w_acosl.c: Likewise.
69009         * math/w_asin.c: Likewise.
69010         * math/w_asinf.c: Likewise.
69011         * math/w_asinl.c: Likewise.
69012         * math/w_atan2.c: Likewise.
69013         * math/w_atan2f.c: Likewise.
69014         * math/w_atan2l.c: Likewise.
69015         * math/w_atanh.c: Likewise.
69016         * math/w_atanhf.c: Likewise.
69017         * math/w_atanhl.c: Likewise.
69018         * math/w_cosh.c: Likewise.
69019         * math/w_coshf.c: Likewise.
69020         * math/w_coshl.c: Likewise.
69021         * math/w_dremf.c: Likewise.
69022         * math/w_exp10.c: Likewise.
69023         * math/w_exp10f.c: Likewise.
69024         * math/w_exp10l.c: Likewise.
69025         * math/w_exp2.c: Likewise.
69026         * math/w_exp2f.c: Likewise.
69027         * math/w_fmod.c: Likewise.
69028         * math/w_fmodf.c: Likewise.
69029         * math/w_fmodl.c: Likewise.
69030         * math/w_hypot.c: Likewise.
69031         * math/w_hypotf.c: Likewise.
69032         * math/w_hypotl.c: Likewise.
69033         * math/w_j0.c: Likewise.
69034         * math/w_j0f.c: Likewise.
69035         * math/w_j0l.c: Likewise.
69036         * math/w_j1.c: Likewise.
69037         * math/w_j1f.c: Likewise.
69038         * math/w_j1l.c: Likewise.
69039         * math/w_jn.c: Likewise.
69040         * math/w_jnf.c: Likewise.
69041         * math/w_jnl.c: Likewise.
69042         * math/w_lgamma.c: Likewise.
69043         * math/w_lgamma_r.c: Likewise.
69044         * math/w_lgammaf.c: Likewise.
69045         * math/w_lgammaf_r.c: Likewise.
69046         * math/w_lgammal.c: Likewise.
69047         * math/w_lgammal_r.c: Likewise.
69048         * math/w_log.c: Likewise.
69049         * math/w_log10.c: Likewise.
69050         * math/w_log10f.c: Likewise.
69051         * math/w_log10l.c: Likewise.
69052         * math/w_log2.c: Likewise.
69053         * math/w_log2f.c: Likewise.
69054         * math/w_log2l.c: Likewise.
69055         * math/w_logf.c: Likewise.
69056         * math/w_logl.c: Likewise.
69057         * math/w_pow.c: Likewise.
69058         * math/w_powf.c: Likewise.
69059         * math/w_powl.c: Likewise.
69060         * math/w_remainder.c: Likewise.
69061         * math/w_remainderf.c: Likewise.
69062         * math/w_remainderl.c: Likewise.
69063         * math/w_scalb.c: Likewise.
69064         * math/w_scalbf.c: Likewise.
69065         * math/w_scalbl.c: Likewise.
69066         * math/w_sinh.c: Likewise.
69067         * math/w_sinhf.c: Likewise.
69068         * math/w_sinhl.c: Likewise.
69069         * math/w_sqrt.c: Likewise.
69070         * math/w_sqrtf.c: Likewise.
69071         * math/w_sqrtl.c: Likewise.
69072         * math/w_tgamma.c: Likewise.
69073         * math/w_tgammaf.c: Likewise.
69074         * math/w_tgammal.c: Likewise.
69076         * po/ja.po: Update from translation team.
69078 2011-09-29  Andreas Jaeger  <aj@suse.de>
69080         [BZ #13179]
69081         * sunrpc/netname.c (netname2host): Fix logic.
69083         [BZ #6779]
69084         [BZ #6783]
69085         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
69086         correctly.
69087         * math/w_remainder.c (__remainder): Likewise.
69088         * math/w_remainderf.c (__remainderf): Likewise.
69089         * math/libm-test.inc (remainder_test): Add test cases.
69091 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69093         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
69094         sdiv_qrnnd.
69096 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69098         * string/test-memcmp.c: Avoid unncessary #defines.
69099         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69101 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69103         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
69104         Use new sse2 version for core i3 - i7 as it's faster
69105         than sse42 version.
69106         (bit_Prefer_PMINUB_for_stringop): New.
69107         * sysdeps/x86_64/rawmemchr.S: Update.
69108         Replace with faster SSE2 version.
69109         * sysdeps/x86_64/memrchr.S: New file.
69110         * sysdeps/x86_64/memchr.S: Update.
69111         Replace with faster SSE2 version.
69113 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
69115         * elf/dl-load.c (lose): Add cast to avoid warning.
69117 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69119         * po/ca.po: Update from translation team.
69121         * inet/getnetgrent_r.c: Hook up nscd.
69122         * nscd/Makefile (routines): Add nscd_netgroup.
69123         (nscd-modules): Add netgroupcache.
69124         (CFLAGS-netgroupcache.c): Define.
69125         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
69126         (cache_search): Add const to second parameter.
69127         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
69128         INNETGR.
69129         (dbs): Add netgrdb entry.
69130         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
69131         (verify_persistent_db): Handle netgrdb.
69132         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
69133         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
69134         GETFDNETGR.
69135         (netgroup_response_header): Define.
69136         (innetgroup_response_header): Define.
69137         (datahead): Add netgroup_response_header and innetgroup_response_header
69138         elements.
69139         * nscd/nscd.conf: Add entries for netgroup cache.
69140         * nscd/nscd.h (dbtype): Add netgrdb.
69141         (_PATH_NSCD_NETGROUP_DB): Define.
69142         (netgroup_iov_disabled): Declare.
69143         (xmalloc, xcalloc, xrealloc): Move declarations here.
69144         (cache_search): Adjust prototype.
69145         Add netgroup-related prototypes.
69146         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
69147         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
69148         (__nscd_innetgr): Declare.
69149         * nscd/selinux.c (perms): Use access_vector_t as element type and
69150         add netgroup-related initializers.
69151         * nscd/netgroupcache.c: New file.
69152         * nscd/nscd_netgroup.c: New file.
69153         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
69154         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
69155         For four parameters use innetgr.
69156         * nss/nss_files/files-init.c: Add definition and callback for netgr.
69157         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
69158         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
69159         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
69161         * nscd/connections.c (register_traced_file): Don't register file
69162         for disabled databases.
69164 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
69166         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
69168         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
69169         from tree and freeing node.
69171 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
69173         * nss/nsswitch.c (__nss_database_lookup): Handle
69174         nss_parse_service_list out of memory case.
69176 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
69178         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
69179         out of memory case.
69181 2011-10-04  Andreas Schwab  <schwab@redhat.com>
69183         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
69184         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
69185         pass it down.
69186         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
69187         elf_machine_rela, elf_machine_lazy_rel.
69188         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
69189         (ELF_DYNAMIC_DO_REL): Likewise.
69190         (ELF_DYNAMIC_DO_RELA): Likewise.
69191         (ELF_DYNAMIC_RELOCATE): Likewise.
69192         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
69193         to ELF_DYNAMIC_DO_REL.
69194         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
69195         (dl_main): In trace mode always set __RTLD_NOIFUNC.
69196         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
69197         elf_machine_rela.
69198         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
69199         skip_ifunc, don't call ifunc function if non-zero.
69200         (elf_machine_rela): Likewise.
69201         (elf_machine_lazy_rel): Likewise.
69202         (elf_machine_lazy_rela): Likewise.
69203         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
69204         (elf_machine_lazy_rel): Likewise.
69205         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
69206         Likewise.
69207         (elf_machine_lazy_rel): Likewise.
69208         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69209         Likewise.
69210         (elf_machine_lazy_rel): Likewise.
69211         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
69212         (elf_machine_lazy_rel): Likewise.
69213         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
69214         (elf_machine_lazy_rel): Likewise.
69215         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
69216         (elf_machine_lazy_rel): Likewise.
69217         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
69218         (elf_machine_lazy_rel): Likewise.
69219         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
69220         (elf_machine_lazy_rel): Likewise.
69221         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
69222         (elf_machine_lazy_rel): Likewise.
69224 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
69226         * nss/nss_files/files-init.c (_nss_files_init): Use static
69227         initialization for all the *_traced_file variables.
69229 2011-09-28  Andreas Schwab  <schwab@redhat.com>
69231         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69233 2011-09-27  Roland McGrath  <roland@hack.frob.com>
69235         [BZ #13226]
69236         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
69238 2011-09-27  Andreas Schwab  <schwab@redhat.com>
69240         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69241         Reread the line before reparsing it.
69243 2011-09-26  Andreas Schwab  <schwab@redhat.com>
69245         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
69247 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
69248             Maxim Kuvyrkov  <maxim@codesourcery.com>
69249             Joseph Myers  <joseph@codesourcery.com>
69251         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
69252         if needed for __stack_chk_guard.
69254 2011-09-19  Roland McGrath  <roland@hack.frob.com>
69256         * sysdeps/posix/spawni.c (script_execute): Always define it.
69257         It will be optimized away if unused.
69258         (maybe_script_execute): New function.
69259         (__spawni): Call it.
69261         * Makerules: Don't include tls.make.
69262         (config-tls): Always set to thread.
69263         * tls.make.c: File removed.
69265 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
69267         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
69268         * config.make.in (CPPFLAGS-config): New substituted variable.
69270 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69272         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
69274         [BZ #13192]
69275         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
69276         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
69278 2011-09-15  Roland McGrath  <roland@hack.frob.com>
69280         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
69281         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
69282         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69283         (CALL_FAIL): Likewise.
69284         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
69285         (CALL_FAIL): Macro removed.
69286         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
69288 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69290         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
69291         for __FINITE_MATH_ONLY__ == 1.
69293 2011-09-15  Andreas Schwab  <schwab@redhat.com>
69295         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
69296         __ieee754_sqrt instead of sqrt.
69297         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
69298         __ieee754_sqrtf instead of sqrtf.
69299         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
69300         __floorf instead of floorf.
69301         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
69302         __floorf, __truncf instead of floorf, truncf.
69304 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
69306         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
69308         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
69309         __extern_always_inline.
69310         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
69311         32-bit.
69313 2011-09-14  Andreas Schwab  <schwab@redhat.com>
69315         * elf/rtld.c (dl_main): Also relocate in dependency order when
69316         doing symbol dependency testing.
69318 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
69320         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69321         Always define `refsym'.
69323 2011-09-13  Andreas Schwab  <schwab@redhat.com>
69325         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69326         (__FD_ELT): Renamed from __FDELT.
69327         * misc/bits/select2.h (__FD_ELT): Likewise.
69328         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69329         __FD_MASK instead of __FDELT, __FDMASK.
69330         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69331         Likewise.
69332         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69333         Likewise.
69335         * elf/Makefile (gen-ldd): Fix pattern.
69337         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69338         (init_tls): Likewise.
69340 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
69342         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69344 2011-09-12  Andreas Schwab  <schwab@redhat.com>
69346         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69347         `struct cmsghdr *' instead of `void *'.
69348         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69349         Likewise.
69351 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
69353         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69354         if non-absolute.
69355         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69356         ldd_rewrite_script.
69358 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
69360         * configure.in: Remove --with-tls option.
69361         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69362         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69363         out in case it is missing.
69364         * sysdeps/ia64/elf/configure.in: Likewise.
69365         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
69366         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
69367         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
69368         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
69369         * sysdeps/sh/elf/configure.in: Likewise.
69370         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
69371         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69372         * sysdeps/x86_64/elf/configure.in: Likewise.
69373         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
69374         * sysdeps/mach/hurd/tls.h: Likewise.
69376         [BZ #13067]
69377         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
69379         [BZ #13090]
69380         * configure.in: Fix use of AC_INIT.
69382         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
69384 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
69386         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
69387         __set_errno.
69388         * malloc/hooks.c: Likewise.
69390         [BZ #11929]
69391         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
69392         variables statically.
69393         (narenas): Initialize.
69394         (list_lock): Initialize.
69395         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
69396         initializtion of main_arena and list_lock.  Small cleanups.
69397         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
69398         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
69399         Add initializers to main_arena and mp_.
69400         (malloc_state): Remove pagesize member.  Change all users to use
69401         GLRO(dl_pagesize).
69403         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
69404         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
69405         is always initialized.
69407         * malloc/malloc.c: Removed unused configurations and dead code.
69408         * malloc/arena.c: Likewise.
69409         * malloc/hooks.c: Likewise.
69410         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69412         * include/tls.h: Removed.  USE___THREAD must always be defined.
69413         * bits/libc-tsd.h: Don't handle !USE___THREAD.
69414         * elf/dl-libc.c: Likewise.
69415         * elf/dl-tsd.c: Likewise.
69416         * include/errno.h: Likewise.
69417         * include/netdb.h: Likewise.
69418         * include/resolv.h: Likewise.
69419         * inet/herrno-loc.c: Likewise.
69420         * inet/herrno.c: Likewise.
69421         * malloc/arena.c: Likewise.
69422         * malloc/hooks.c: Likewise.
69423         * malloc/malloc.c: Likewise.
69424         * resolv/res-state.c: Likewise.
69425         * resolv/res_libc.c: Likewise.
69426         * sysdeps/i386/dl-machine.h: Likewise.
69427         * sysdeps/ia64/dl-machine.h: Likewise.
69428         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69429         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69430         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69431         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69432         * sysdeps/sh/dl-machine.h: Likewise.
69433         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69434         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69435         * sysdeps/unix/i386/sysdep.S: Likewise.
69436         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69437         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69441         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69442         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69443         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69444         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69446         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69447         * sysdeps/x86_64/dl-machine.h: Likewise.
69448         * tls.make.c: Likewise.
69450         * configure.in: Remove --with-__thread option.  Make tests for
69451         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69452         tls_model attribute fail if no support is available.  Remove
69453         USE_IN_LIBIO.
69454         * Makeconfig: Adjust for dropped configure option.  All features are
69455         now mandatory.
69456         * Makerules: Likewise.
69457         * Versions.def: Likewise.
69458         * argp/argp-fmtstream.c: Likewise.
69459         * argp/argp-fmtstream.h: Likewise.
69460         * argp/argp-help.c: Likewise.
69461         * assert/assert.c: Likewise.
69462         * config.h.in: Likewise.
69463         * config.make.in: Likewise.
69464         * configure: Likewise.
69465         * configure.in: Likewise.
69466         * csu/Versions: Likewise.
69467         * csu/init.c: Likewise.
69468         * elf/tst-audit2.c: Likewise.
69469         * elf/tst-tls10.c: Likewise.
69470         * elf/tst-tls10.h: Likewise.
69471         * elf/tst-tls11.c: Likewise.
69472         * elf/tst-tls12.c: Likewise.
69473         * elf/tst-tls14.c: Likewise.
69474         * elf/tst-tlsmod11.c: Likewise.
69475         * elf/tst-tlsmod12.c: Likewise.
69476         * elf/tst-tlsmod13.c: Likewise.
69477         * elf/tst-tlsmod13a.c: Likewise.
69478         * elf/tst-tlsmod14a.c: Likewise.
69479         * elf/tst-tlsmod15b.c: Likewise.
69480         * elf/tst-tlsmod16a.c: Likewise.
69481         * elf/tst-tlsmod16b.c: Likewise.
69482         * elf/tst-tlsmod7.c: Likewise.
69483         * elf/tst-tlsmod8.c: Likewise.
69484         * elf/tst-tlsmod9.c: Likewise.
69485         * gmon/gmon.c: Likewise.
69486         * grp/fgetgrent_r.c: Likewise.
69487         * grp/putgrent.c: Likewise.
69488         * hurd/fopenport.c: Likewise.
69489         * include/libc-symbols.h: Likewise.
69490         * include/tls.h: Likewise.
69491         * intl/gettextP.h: Likewise.
69492         * intl/loadinfo.h: Likewise.
69493         * locale/global-locale.c: Likewise.
69494         * locale/localeinfo.h: Likewise.
69495         * mach/devstream.c: Likewise.
69496         * malloc/arena.c: Likewise.
69497         * malloc/set-freeres.c: Likewise.
69498         * misc/err.c: Likewise.
69499         * misc/getttyent.c: Likewise.
69500         * misc/mntent_r.c: Likewise.
69501         * posix/getopt.c: Likewise.
69502         * posix/wordexp.c: Likewise.
69503         * pwd/fgetpwent_r.c: Likewise.
69504         * resolv/Versions: Likewise.
69505         * resolv/res_hconf.c: Likewise.
69506         * shadow/fgetspent_r.c: Likewise.
69507         * shadow/putspent.c: Likewise.
69508         * stdio-common/printf_fphex.c: Likewise.
69509         * stdio-common/tmpfile.c: Likewise.
69510         * stdlib/abort.c: Likewise.
69511         * stdlib/fmtmsg.c: Likewise.
69512         * sunrpc/auth_unix.c: Likewise.
69513         * sunrpc/clnt_perr.c: Likewise.
69514         * sunrpc/clnt_tcp.c: Likewise.
69515         * sunrpc/clnt_udp.c: Likewise.
69516         * sunrpc/clnt_unix.c: Likewise.
69517         * sunrpc/openchild.c: Likewise.
69518         * sunrpc/svc_simple.c: Likewise.
69519         * sunrpc/svc_tcp.c: Likewise.
69520         * sunrpc/svc_udp.c: Likewise.
69521         * sunrpc/svc_unix.c: Likewise.
69522         * sunrpc/xdr.c: Likewise.
69523         * sunrpc/xdr_array.c: Likewise.
69524         * sunrpc/xdr_rec.c: Likewise.
69525         * sunrpc/xdr_ref.c: Likewise.
69526         * sunrpc/xdr_stdio.c: Likewise.
69528 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69530         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69532 2011-07-03  Andreas Jaeger  <aj@suse.de>
69534         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69535         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69536         regenerate with gen-libm-tests.pl.
69538 2010-05-12  Petr Baudis  <pasky@suse.cz>
69540         [BZ #11589]
69541         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69542         around j0() zero points by switching to j1().
69543         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69544         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69545         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69546         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69548 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69550         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69551         instead of 0.
69552         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69553         instead of 0.
69554         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69555         Patch in part by Pavel Roskin <proski@gnu.org>.
69557         [BZ #13138]
69558         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69559         realloc.
69560         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69561         Free memory block if necessary.
69563         [BZ #12847]
69564         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69565         be NULL.  Don't lock in this case.
69567 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69569         * elf/elf.h (ELFOSABI_GNU): New macro.
69570         (ELFOSABI_LINUX): Define to that.
69572 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69574         * string/strncat.c (strncat): Undef the symbol in case it has been
69575         defined in bits/string.h.
69577 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69579         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69581         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69582         link map.
69584 2011-08-17  Andreas Jaeger  <aj@suse.de>
69586         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69588 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69589             Ian Lance Taylor  <iant@google.com>
69591         * math/libm-test.inc (lround_test): New testcase.
69592         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69594 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69596         * Makefile: Remove support for automatic cvs check-ins.
69597         * Makerules: Likewise.
69598         * config.make.in: Likewise.
69599         * configure.in: Likewise.
69600         * intl/Makefile: Likewise.
69601         * locale/Makefile: Likewise.
69602         * po/Makefile: Likewise.
69603         * posix/Makefile: Likewise.
69604         * sysdeps/gnu/Makefile: Likewise.
69605         * sysdeps/mach/hurd/Makefile: Likewise.
69606         * sysdeps/sparc/sparc32/Makefile: Likewise.
69608         [BZ #13118]
69609         * posix/Makefile (bug-regex32-ENV): Define.
69610         Patch by John Stanley <jpsinthemix@verizon.net>.
69612         * misc/Makefile (headers): Add bits/select2.h.
69613         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69614         * misc/bits/select2.h: New file.
69615         * include/bits/select2.h: New file.
69616         * debug/Makefile (routines): Add fdelt_chk.
69617         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69618         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69619         FD_ISSET.
69620         * debug/fdelt_chk.c: New file.
69622         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69623         * wcsmbs/test-wmemcmp.c: Likewise.
69624         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69625         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69627 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69629         * string/Makefile (strop-tests): Add memcmp.
69630         * string/test-wmemcmp.c: New file.
69631         * string/test-memcmp.c: Add wmemcmp support.
69633 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69635         [BZ #13153]
69636         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69637         2011-07-19 change.
69639         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69640         garbage value in a __mach_port_mod_refs call in the cases of the
69641         task-self and thread-self ports.
69643 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69645         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69647 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69649         * elf/dl-load.c (lose): Check for non-null L.
69651 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69653         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69655         * elf/dl-libc.c (dlerror_run): Pass back error code from
69656         dl_catch_error.
69658         [BZ #13123]
69659         * elf/dl-load.c (lose): Free l_origin if it is valid.
69661         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69662         names.
69663         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69664         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69665         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69666         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69667         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69668         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69670 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69672         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69673         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69674         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69675         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69676         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69677         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69678         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69679         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69680         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69681         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69683 2011-08-15  Alan Modra  <amodra@gmail.com>
69685         [BZ #13092]
69686         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69687         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69688         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69689         ppc_mcount to static-only-routines.
69690         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69691         __mcount_internal.
69692         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69693         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69695 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69697         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69698         for finite and infinity parameters.
69700 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69702         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69703         and add nop instructions for throughput optimization.
69704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69706 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69708         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69709         aligned copy for power7 with vector-scalar instructions.
69710         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69712 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69715         AVX check.
69717 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69719         [BZ #13144]
69720         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69721         last change.
69723 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69725         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69726         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69727         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69728         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69729         clock_gettime.
69731 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69733         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69734         Forgot to demangle the pointer.
69736         * sysdeps/i386/sysdep.h: Define atom_text_section.
69737         * sysdeps/x86_64/sysdep.h: Likewise.
69738         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69739         section with atom_text_section.
69740         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69741         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69742         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69743         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69744         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69746         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69747         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69748         already be defined.  Change to take two parameters and don't assign
69749         result to variable.  Adjust all users.
69750         Define INTERNAL_GETTIME if not already defined.
69751         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69752         call.
69753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69754         HAVE_CLOCK_GETTIME_VSYSCALL.
69755         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69757         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69758         gettimeofday vsyscall, just use time.
69760 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69762         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69763         <errno.h>.
69765 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69767         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69768         syscall on x86-64.
69769         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69770         syscall.
69771         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69772         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69773         syscall if possible.
69775 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69777         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69778         e_ident.  Don't pass to find_mapsXX.
69779         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69781 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69784         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69785         * sysdeps/x86_64/multiarch/strchr.S: Update.
69786         Check bit_slow_BSF bit.
69787         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69788         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69789         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69791 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69793         [BZ #13134]
69794         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69795         before glibc 2.15.
69796         (tryshell): Define.
69797         (__spawni): Change last parameter to be flag.  Test
69798         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69799         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69800         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69801         * posix/spawni.c: Likewise.
69802         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69803         * posix/spawnp.c: Likewise.  Change normal version to use
69804         SPAWN_XFLAGS_USE_PATH.
69805         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69806         SPAWN_XFLAGS_TRY_SHELL.
69808         [BZ #13150]
69809         * posix/glob.h: Remove gcc 1.x support.
69811         [BZ #13068]
69812         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69814 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69817         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69818         strrchr-sse2-bsf
69819         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69820         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69821         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69822         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69823         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69824         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69826 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69828         * sysdeps/x86_64/wcscmp.S: New file.
69830         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69831         wcscmp-c wcscmp-sse2
69832         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69833         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69834         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69835         * wcsmbs/wcscmp.c: Allow renaming.
69837 2011-09-05  David S. Miller  <davem@davemloft.net>
69839         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69840         stack slot, rather than the struct return pointer slot.
69841         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69842         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69844         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69846 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69848         * po/ja.po: Update from translation team.
69850         [BZ #13144]
69851         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69852         kernel in 64-bit binaries.
69854 2011-09-01  David S. Miller  <davem@davemloft.net>
69856         * elf/elf.h (HWCAP_SPARC_*): Move to..
69857         * sysdeps/sparc/sysdep.h: this new file and add new values.
69858         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69859         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69860         _DL_HWCAP_COUNT to 24.
69861         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69862         entries.
69863         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69864         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69865         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69866         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69867         instead of magic constants.
69868         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69870 2011-08-31  David S. Miller  <davem@davemloft.net>
69872         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69873         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69874         Reimplement to do errno handling inline.
69875         (SYSCALL_ERROR_HANDLER): New macro.
69876         (__SYSCALL_STRING): Do not do errno handling in asm.
69877         (__CLONE_SYSCALL_STRING): Delete.
69878         (__INTERNAL_SYSCALL_STRING): Delete.
69879         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69880         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69881         (PSEUDO): Reimplement to do errno handling inline.
69882         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69883         (SYSCALL_ERROR_HANDLER): New macro.
69884         (__SYSCALL_STRING): Do not do errno handling in asm.
69885         (__CLONE_SYSCALL_STRING): Delete.
69886         (__INTERNAL_SYSCALL_STRING): Delete.
69887         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69888         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69889         i386.
69890         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69891         (inline_syscall*): Add 'err' argument.
69892         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69893         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69894         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69895         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69897         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69898         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69900 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69902         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69904 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69906         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69907         directive.
69909 2011-08-24  David S. Miller  <davem@davemloft.net>
69911         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69913 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69915         * elf/Makefile: Add rules to build and run unload8 test.
69916         * elf/unload8.c: New file.
69917         * elf/unload8mod1.c: New file.
69918         * elf/unload8mod1x.c: New file.
69919         * elf/unload8mod2.c: New file.
69920         * elf/unload8mod3.c: New file.
69922         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69923         it wasn't used.
69925 2011-08-23  David S. Miller  <davem@davemloft.net>
69927         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69928         subtract stack bias.
69929         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69930         %sp not %fp in calculations.
69931         (_JMPBUF_UNWINDS_ADJ): Likewise.
69933         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69934         (aio_suspend): Call it to force an exception region around the
69935         AIO_MISC_WAIT() invocation.
69937 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69939         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69940         backslash.
69942 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69944         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69945         protection macro.
69946         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69947         and <dl-machine.h>.
69948         (Elf64_FuncDesc): Remove.
69950 2011-08-22  David S. Miller  <davem@davemloft.net>
69952         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69953         sigaltstack check, add missing cfi directives.
69954         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69955         missing cfi directives, and sigaltstack handling.
69957 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69959         [BZ #11724]
69960         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69961         object is seen twice.
69962         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69964         * elf/Makefile (distribute): Add tst-initorder2.c.
69965         (tests): Add tst-initorder2.
69966         (modules-names): Add tst-initorder2a tst-initorder2b
69967         tst-initorder2c tst-initorder2d.  Add rules to build them.
69968         ($(objpfx)tst-initorder2.out): New rule.
69969         * elf/tst-initorder2.c: New file.
69970         * elf/tst-initorder2.exp: New file.
69972 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69974         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69976         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69977         dependencies back to end of function.
69979         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69980         $(elfobjdir)/ld.so.
69982 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69984         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69985         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69986         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69987         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69988         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69989         of __vdso_gettimeofday.
69990         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69991         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69992         attribute_hidden.
69993         (_libc_vdso_platform_setup): Remove initialization of
69994         __vdso_gettimeofday and __vdso_time.
69996 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69998         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69999         and fgetc_unlocked.
70000         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
70001         getc_unlocked.
70003         * elf/dl-open.c (add_to_global): Report additions to the global scope
70004         for LD_DEBUG=scopes.
70005         (dl_open_worker): Also print scope of newly loaded dependencies.
70006         (_dl_show_scope): Indicate if there is no scope.
70008         [BZ #13114]
70009         * stdio-common/Makefile (tests): Add bug24.
70010         * stdio-common/bug24.c: New file.
70012 2011-08-19  Andreas Jaeger  <aj@suse.de>
70014         [BZ #13114]
70015         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
70016         non-existant file when using close-on-exec mode.
70018 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70020         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
70021         the very first instruction.
70023         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
70024         the CFI state in the end.
70025         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
70026         inclusion of dl-trampoline.h.
70027         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
70029 2011-08-19  Andreas Schwab  <schwab@redhat.com>
70031         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
70032         expectations for long double.
70034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
70035         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
70037 2011-08-14  David S. Miller  <davem@davemloft.net>
70039         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
70040         artificual limit depends upon the system page size.
70042 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70044         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
70045         * resolv/Makefile: Define CFLAGS-libresolv.
70047 2011-08-17  Andreas Schwab  <schwab@redhat.com>
70049         * nss/makedb.c (compute_tables): Make variables used in nested
70050         function static.
70052 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70054         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
70055         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
70056         if buffer was too small.
70058         * elf/pldd.c (main): Attach to all threads in the process.
70059         Rewrite /proc handling to use *at functions.
70061 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
70063         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
70064         specifies first scope to show.
70065         (dl_open_worker): Update callers.  Move printing scope of new
70066         object to before the relocation.
70067         * elf/rtld.c (dl_main): Update _dl_show_scope call.
70068         * sysdeps/generic/ldsodefs.h: Update declaration.
70070         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
70071         string for the scope number.
70073 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
70075         * nscd/servicescache.c (cache_addserv): Make sure written is always
70076         initialized.
70078 2011-08-14  Roland McGrath  <roland@hack.frob.com>
70080         * sysdeps/i386/i486/bits/atomic.h
70081         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
70082         statement expression, so as to suppress "set but not used" warning.
70083         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
70085         * string/strncat.c (STRNCAT): Use prototype definition.
70087         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
70088         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
70089         -Iprograms here.
70090         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
70091         (localedef-modules): Add localedef.
70092         (locale-modules): Add locale.
70094         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
70095         * elf/rtld.c (dl_main): Invert order of assignment in last change,
70096         to avoid a warning.
70098 2011-08-14  David S. Miller  <davem@davemloft.net>
70100         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
70101         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
70103 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
70105         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
70106         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
70107         * elf/rtld.c (dl_main): Set l_name of vDSO.
70108         Call _dl_show_scope when DL_DEBUG_SCOPES.
70109         (process_dl_debug): Recognize scopes flag and also set it for all.
70110         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
70111         Declare _dl_show_scope.
70113         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
70114         (do_dlopen): Pass caller_dlopen to dl_open.
70115         (__libc_dlopen_mode): Initialize caller_dlopen.
70117         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
70118         of libc.  Make tolower call locale-independent.  Optimize a bit by
70119         using isdigit instead of isalnum.
70120         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
70122 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
70124         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
70125         was a dependency or dynamically loaded.
70127 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
70129         * intl/l10nflist.c: Allow architecture-specific pop function.
70130         * sysdeps/x86_64/l10nflist.c: New file.
70132         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
70133         classification.
70135 2011-08-10  Andreas Schwab  <schwab@redhat.com>
70137         * include/dirent.h: Add libc_hidden_proto for scandirat and
70138         scandirat64.  Don't declare __scandirat64.
70139         * dirent/scandirat.c: Add libc_hidden_def.
70140         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
70141         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
70143 2011-08-10  David S. Miller  <davem@davemloft.net>
70145         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
70146         enum.
70147         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70148         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70149         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70151 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
70153         * Versions.def [libc]: Add GLIBC_2.15.
70154         * dirent/Makefile (routines): Add scandirat and scandirat64.
70155         * dirent/Versions [libc]: Export scandirat and scandirat64 for
70156         GLIBC_2.15.
70157         * dirent/dirent.h: Declare scandirat and scandirat64.
70158         * dirent/scandirat.c: New file.
70159         * dirent/scandirat64.c: New file.
70160         * sysdeps/wordsize-64/scandirat.c: New file.
70161         * sysdeps/wordsize-64/scandirat64.c: New file.
70162         * dirent/opendir.c: Define opendirat.
70163         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
70164         using scandirat.
70165         * dirent/scandir64.c: Adjust for scandir.c change.
70166         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
70167         __scandirat64, and __scandir_cancel_handler.
70168         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
70169         additional parameter and use openat instead of open (outside of ld.so).
70170         Add new __opendir as wrapper around __opendirat.
70171         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
70172         here without requiring old scandirat implementation.
70174 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
70176         * dirent/scandir.c (cancel_handler): Renamed to
70177         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
70178         defined.  Adjust users.
70179         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
70180         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
70182 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
70184         * string/test-string.h (IMPL): Use __STRING to expand name and then
70185         stringify it.
70187         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
70188         of cleanups.
70190 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70192         * string/Makefile: Update.
70193         (strop-tests): Append strncat.
70194         * string/test-wcscmp.c: New file.
70195         New comprehensive test for wcscmp.
70196         * string/test-strcmp.c: Update.
70197         (WIDE): New define.
70199 2011-07-22  Andreas Schwab  <schwab@redhat.com>
70201         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
70202         line.
70204 2011-07-26  Andreas Schwab  <schwab@redhat.com>
70206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70207         encoding to ACE if AI_IDN.
70209 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
70211         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
70212         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
70214 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70216         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
70217         Fix overflow bug in strncat.
70218         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
70220         * string/test-strncat.c: Update.
70221         Add new tests for checking overflow bugs.
70223 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70225         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70226         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
70227         * sysdeps/i386/i686/multiarch/strcat.S: New file.
70228         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
70229         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
70230         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
70231         * sysdeps/i386/i686/multiarch/strncat.S: New file.
70232         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
70233         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
70235         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
70236         (USE_AS_STRCAT): Define.
70237         Add strcat and strncat support.
70238         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70240 2011-07-25  Andreas Schwab  <schwab@redhat.com>
70242         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
70243         __n bigger than INT_MAX+1.
70244         (__strncmp_g): Likewise.
70246 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
70248         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
70249         * libio/stido.h: Likewise.
70251         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
70252         (AF_NFC): Define.
70253         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
70254         (AF_NFC): Define.
70256         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
70257         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70258         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70259         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
70260         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70262         [BZ #13021]
70263         * scripts/test-installation.pl: Don't expect libnss_test1 to be
70264         installed.
70266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
70267         typo.
70268         (_dl_x86_64_save_sse): Likewise.
70270 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
70272         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
70273         OSXSAVE.
70274         (_dl_x86_64_save_sse): Likewise.
70276         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
70278         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
70280 2011-07-21  Andreas Schwab  <schwab@redhat.com>
70282         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
70283         change.
70284         (_dl_x86_64_save_sse): Use correct AVX check.
70286 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70288         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
70289         bug in strncpy/strncat.
70290         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
70292 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
70294         * string/tester.c (test_strcat): Add tests for different alignments
70295         of source and destination.
70296         (test_strncat): Likewise.
70298 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70300         [BZ #12852]
70301         * posix/glob.c (glob): Check passed in values before using them in
70302         expressions to avoid some overflows.
70303         (glob_in_dir): Likewise.
70305         [BZ #13007]
70306         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
70307         check for AVX enablement so that we don't crash with old kernels and
70308         new hardware.
70309         * elf/tst-audit4.c: Add same checks here.
70310         * elf/tst-audit6.c: Likewise.
70312         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
70314 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
70316         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
70318 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70320         * po/cs.po: Update from translation team.
70321         * po/bg.po: Likewise.
70323 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
70325         * misc/sys/cdefs.h: Add support for const attribute.
70326         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70327         to gnu_dev_{major,minor,makedev} functions.
70329 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
70331         * intl/dcigettext.c (get_output_charset): Add missing bracket.
70333 2011-07-20  Andreas Schwab  <schwab@redhat.com>
70335         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70336         strlen results.
70338 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70340         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70341         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70342         register in order to avoid conflicts with the soft frame pointer
70343         being held in r11 when necessary.
70344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70345         (INTERNAL_VSYSCALL_NCS): Likewise.
70347 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
70349         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70350         * elf/dl-fini.c (_dl_fini): Adjust caller.
70351         * elf/dl-close.c (_dl_close_worker): Likewise.
70352         * sysdeps/generic/ldsodefs.h: Adjust declaration.
70354 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70356         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70357         "aux_cache->nlibs < 0".
70359         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70360         in the reload-count case.
70362 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70365         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
70366         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
70367         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
70368         * sysdeps/x86_64/multiarch/strcat.S: New file.
70369         * sysdeps/x86_64/multiarch/strncat.S: New file.
70370         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
70371         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
70372         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
70373         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
70374         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
70375         (USE_AS_STRCAT): Define.
70376         Add strcat and strncat support.
70377         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70378         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
70379         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
70380         * string/strncat.c: Update.
70381         (USE_AS_STRNCAT): Define.
70382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70383         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
70384         and i7.
70385         * sysdeps/x86_64/multiarch/init-arch.h
70386         (bit_Prefer_PMINUB_for_stringop): New.
70387         (index_Prefer_PMINUB_for_stringop): Likewise.
70388         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
70389         bit_Prefer_PMINUB_for_stringop.
70391 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70393         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
70394         buffer64.
70395         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
70396         of casting of buffer.
70397         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
70398         buffer32 and buffer64.
70399         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
70400         writes instead of casting of buffer.
70401         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
70402         buffer32.
70403         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
70404         casting of buffer.
70406 2011-07-19  Andreas Schwab  <schwab@redhat.com>
70408         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70410 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70412         * nscd/nscd.c (termination_handler): Don't do anything for a database
70413         if it has not yet been initialized.
70415 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70417         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70419 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70421         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70423 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70425         * po/nl.po: Update from translation team.
70426         * po/sv.po: Likewise.
70428 2011-07-16  Roland McGrath  <roland@hack.frob.com>
70430         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70431         now disallowed by GCC.
70433         * configure.in (use-default-link): Default to yes if a test -shared
70434         link meets our qualifications.
70435         * configure: Regenerated.
70437         * config.make.in (output-format): New variable.
70438         * configure.in: Check for ld --print-output-format support.
70439         * configure: Regenerated.
70440         * Makerules ($(common-objpfx)format.lds)
70441         [$(output-format) != unknown]: Just use $(output-format),
70442         instead of the linker-script munging.
70444 2011-07-14  Roland McGrath  <roland@hack.frob.com>
70446         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70447         of $(common-objpfx)shlib.lds.
70448         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70450         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70451         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70453         * configure.in (-z relro check): Adjust test code to add a large
70454         writable data section after it.
70455         * configure: Regenerated.
70457 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70459         * configure.in (-z relro check): Fix test code to make the variable
70460         truly const.
70461         * configure: Regenerated.
70463 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70465         * nscd/nscd.h (struct traced_file): Define.
70466         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70467         elements.  Add traced_files.
70468         (inotify_fd): Declare.
70469         (register_traced_file): Declare.
70470         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70471         (inotify_fd): Export.
70472         (resolv_conf_descr): Remove.
70473         (nscd_init): Move inotify descriptor creation to main.
70474         Don't register files for notification here.
70475         (register_traced_file): New function.
70476         (invalidate_cache): Don't use reset_res to determine whether to call
70477         res_init, go through the list of registered files.
70478         (main_loop_poll): The inotify descriptors are now stored in the
70479         structures for the traced files.
70480         (main_loop_epoll): Likewise.
70481         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70482         to __nss_disable_nscd.
70483         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70484         for a database anymore.  Check the records for all the registered
70485         files instead.
70486         * nss/Makefile (libnss_files-routines): Add files-init.
70487         (libnss_db-routines): Add db-init.
70488         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70489         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70490         * nss/nss_db/db-init.c: New file.
70491         * nss/nss_files/files-init.c: New file.
70492         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70493         __nss_lookup_function.
70494         (__nss_lookup_function): Call nss_load_library.
70495         (nss_load_all_libraries): New function.
70496         (__nss_disable_nscd): Take parameter with callback function for files
70497         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70498         used for the cached services.
70499         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70500         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70501         options for features to all the files in nscd.
70503         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70505 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70507         * csu/elf-init.c (__libc_csu_init): Comment typo.
70509 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70511         * po/pl.po: Update from translation team.
70512         * po/ja.po: Likewise.
70513         * po/ru.po: Likewise.
70514         * po/ko.po: Likewise.
70515         * po/fr.po: Likewise.
70517 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70519         * configure.in (.ctors/.dtors header and trailer check):
70520         Use an empirical test on a built program.
70521         * configure: Regenerated.
70523         * configure.in (-z relro check): Use an empirical test on a built DSO.
70524         Detect, but do not require, on ia64.
70525         * configure: Regenerated.
70527         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70528         Update tests that use readelf to use $READELF instead.
70529         * configure: Regenerated.
70531 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70533         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70534         if the result is not used.
70536 2011-07-05  Andreas Jaeger  <aj@suse.de>
70538         [BZ#9696]
70539         * stdlib/tst-strtod.c: Add testcase.
70541 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70543         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70544         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70545         The latter has a higher limit.  Take additional parameter to pass to
70546         the new function.
70547         (__pathconf): Pass file to __statfs_link_max.
70548         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70549         __statfs_link_max.
70550         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70551         __statfs_link_max.
70553         [BZ #12868]
70554         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70555         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70556         Handle Lustre.
70557         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70558         (__statfs_filesize_max): Likewise.
70559         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70561 2011-07-05  Andreas Jaeger  <aj@suse.de>
70563         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70565 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70567         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70568         `status' variable.
70569         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70570         Likewise.
70572 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70574         * Makefile (strop-tests): Add strncat.
70575         * string/test-strncat.c: New file.
70577 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70579         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70581 2011-06-21  Andreas Jaeger  <aj@suse.de>
70583         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70584         Copy rule from iconvdata/Makefile.
70586 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70588         [BZ #12922]
70589         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70590         but no long options are defined, just return 'W'.
70592 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70594         [BZ #9696]
70595         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70597 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70599         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70600         netgroups to read.
70601         (innetgr): Likewise.
70603 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70605         * config.make.in (install_root): Default to $(DESTDIR).
70607 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70609         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70611 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70613         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70615         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70616         containing directory rather than embedding absolute directory names.
70618         * scripts/check-local-headers.sh: Rewritten using awk.
70619         Match by word, not by line.  Print error messages for matches.
70620         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70622         * Makerules [shlib-lds-flags empty]:
70623         ($(common-objpfx)libc_pic.opts): New target.
70624         ($(common-objpfx)libc_pic.os.clean): New target.
70625         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70627         * config.make.in (OBJCOPY): New variable.
70628         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70629         * configure: Regenerated.
70631         * config.make.in (use-default-link): New variable.
70632         * configure.in (use_default_link): Grok --with-default-link to set it.
70633         * configure: Regenerated.
70634         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70635         (shlib-lds, shlib-lds-flags): Define to empty.
70637         * Makerules (shlib-lds): New variable.
70638         (shlib-lds-flags): New variable.
70639         (build-shlib, build-moduile, build-module-asneeded): Use it.
70640         ($(common-objpfx)libc.so): Use $(shlib-lds).
70641         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70642         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70644         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70645         DT_FLAGS/DT_FLAGS_1 with zero flags.
70647         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70648         linker script munging.
70650 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70652         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70653         as 128-bit value.
70654         * crypt/sha512.c (sha512_process_block): Perform total addition using
70655         128-bit if possible.
70656         (__sha512_finish_ctx): Likewise.
70657         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70658         as 64-bit value.
70659         * crypt/sha256.c (SWAP64): Define.
70660         (sha256_process_block): Perform total addition using 64-bit if
70661         possible.
70662         (__sha256_finish_ctx): Likewise.
70664 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70666         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70667         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70668         * nscd/hstcache.c (cache_addhst): Likewise.
70669         * nscd/grpcache.c (cache_addgr): Likewise.
70670         * nscd/aicache.c (addhstaiX): Likewise.
70671         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70673 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70675         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70676         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70677         * nscd/hstcache.c (cache_addhst): Likewise.
70678         * nscd/grpcache.c (cache_addgr): Likewise.
70679         * nscd/aicache.c (addhstaiX): Likewise.
70681 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70683         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70684         domain only when needed.
70686 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70689         is always restored.
70691 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70693         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70694         are re-adding the entry.
70695         * nscd/servicescache.c (cache_addserv): Likewise.
70697 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70699         * sysdeps/generic/dl-irel.h: fix protection against multiple
70700         inclusions.
70701         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70703 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70705         [BZ #12935]
70706         * malloc/memusage.sh: Fix quoting in message.
70707         * debug/xtrace.sh: Likewise.
70709         * configure.in: Remove support for --experimental-malloc option, make
70710         it the default.
70711         * config.make.in: Likewise.
70712         * malloc/Makefile: Likewise.
70714 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70716         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70717         two-byte characters.
70719 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70721         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70722         AC_CACHE_CHECK invocation.
70723         * configure: Regenerated.
70725         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70727 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70729         [BZ #12350]
70730         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70731         bit from old_res_options.
70733         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70735         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70736         value type for setfct.
70738 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70740         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70741         __gettimeofday instead of gettimeofday.
70743 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70745         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70747 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70749         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70751         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70752         info.
70754 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70757         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70758         strcpy-sse2-unaligned strncpy-sse2-unaligned
70759         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70760         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70761         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70762         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70763         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70764         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70765         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70766         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70767         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70768         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70769         (STRCPY): Support SSE2 and SSSE3 versions.
70771 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70773         [BZ #12874]
70774         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70775         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70776         kernels which artificially limit size of requests.
70778 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70780         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70781         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70782         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70783         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70784         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70785         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70786         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70787         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70788         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70789         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70790         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70791         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70792         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70793         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70794         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70796         Enable unaligned load optimization for Intel Core i3, i5 and i7
70797         processors.
70798         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70799         Define.
70800         (index_Fast_Unaligned_Load): Define.
70801         (HAS_FAST_UNALIGNED_LOAD): Define.
70803 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70805         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70807 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70809         [BZ #12907]
70810         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70811         until it is clear that the information is realy needed.
70812         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70814 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70818 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70820         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70821         /sys/devices/system/cpu/online if it is usable.
70823         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70824         reading the information from the /proc filesystem to once a second.
70826 2011-06-21  Andreas Jaeger  <aj@suse.de>
70828         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70829         NULL after inclusion of kernel headers.
70831 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70833         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70834         calls to internal_setent.
70836         [BZ #12885]
70837         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70838         addresses using gethostbyname4_r ignore IPv4 addresses.
70840         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70841         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70843         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70845 2011-06-20  David S. Miller  <davem@davemloft.net>
70847         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70848         inclusions.
70849         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70851         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70852         (elf_irel): Use it.
70853         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70854         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70855         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70856         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70857         * sysdeps/x86_64/dl-irel.h: Likewise.
70859         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70860         * elf/dl-sym.c: Likewise.
70862 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70864         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70865         need to dereference resplen2.
70867 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70869         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70871 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70873         * Makeconfig: Define vardbdir and inst_vardbdir.
70874         * nss/Makefile: Add rules to install db-Makefile.
70876         * nss/nss_db/db-XXX.c: Cleanup.
70878         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70879         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70880         GLIBC_PRIVATE.
70881         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70882         * nss/makedb.c: Implement -g option to specify that value strings
70883         are generated and should not be added to table iterated over for
70884         get*ent calls.
70885         * nss/nss_db/db-initgroups.c: New file.
70887         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70888         interface.
70890         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70891         (internal_getgrouplist): Adjust to name change.
70892         Update use_initgroups_entry if this is not the first call.
70893         * nss/databases.def: Add initgroups entry.
70895         * nss/makedb.c (compute_tables): Check result of multiple hash table
70896         sizes to minimize maximum chain length.
70898 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70900         * Versions.def: Add entry for libnss_db.
70901         * shlib-versions: Likewise.
70902         * nss/Makefile: Add rules to build libnss_db.
70903         * nss/Versions: Add libnss_db information.  Organize libnss_files
70904         entries better.
70905         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70906         makedb progra.  Some minor improvements to generate smaller files.
70907         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70908         here from...
70909         * nss/makedb.c: ...here.
70910         Improve database format to be smaller and require less memory at
70911         runtime.
70912         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70913         db anymore.
70914         * nss/nss_db/db-netgrp.c: Likewise.
70915         * nss/nss_db/db-open.c: Likewise.
70916         * nss/nss_files/flies-XXX.x: Adjust comments.
70917         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70918         * nss/nss_files/files-grp.c: Likewise.
70919         * nss/nss_files/files-hosts.c: Likewise.
70920         * nss/nss_files/files-network.c: Likewise.
70921         * nss/nss_files/files-proto.c: Likewise.
70922         * nss/nss_files/files-pwd.c: Likewise.
70923         * nss/nss_files/files-rpc.c: Likewise.
70924         * nss/nss_files/files-service.c: Likewise.
70925         * nss/nss_files/files-sgrp.c: Likewise.
70926         * nss/nss_files/files-spwd.c: Likewise.
70927         * nss/nss_db/db-alias.c: Removed.
70928         * nss/nss_db/dummy-db.h: Removed.
70930 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70932         * nss/makedb.c: Rewritten to not use database library.
70933         * nss/Makefile: Update to build new makedb program.
70935 2011-06-14  Andreas Jaeger  <aj@suse.de>
70937         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70938         memset declaration.
70940 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70943         tmpbuf.
70945 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70947         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70948         * elf/Makefile ($(objpfx)ld.so): Likewise.
70950         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70951         Don't list ld.so twice in dependencies.
70953         * posix/bug-regex31.c: Include <stdlib.h>.
70955         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70957         * nis/nss_compat/compat-spwd.c
70958         (getspent_next_nss_netgr): Remove unused variable.
70959         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70961         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70962         nonmembers" output to use the right array.
70964         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70966         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70968         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70969         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70970         * catgets/gencat.c (read_input_file): Likewise.
70971         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70973         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70974         variable definition inside #if's controlling its use.
70976         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70978         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70980         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70982         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70983         unreachable code.
70985         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70987         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70988         * configure: Regenerated.
70990         * Makerules: Revert last change.
70991         * elf/Makefile: Likewise.
70993 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70995         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70996         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70997         (reloc-link): Likewise.
70999 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
71001         * elf/Makefile: Add rules to build pldd.
71002         * elf/pldd.c: New file.
71003         * elf/pldd-xx.c: New file.
71005 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
71007         * version.h: Update for 2.15 development version.
71009 2011-06-07  David S. Miller  <davem@davemloft.net>
71011         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
71012         ifuncs.
71013         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
71014         elf_machine_lazy_rel): Likewise.
71015         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
71016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
71017         elf_machine_lazy_rel): Likewise.
71018         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
71019         dl_hwcap via passed in argument.
71020         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
71021         Likewise.
71023 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71025         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
71027 2011-06-06  Roland McGrath  <roland@hack.frob.com>
71029         [BZ #12849]
71030         * manual/fdl-1.1.texi: New file, verbatim from:
71031         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
71032         * manual/lgpl-2.1.texi: New file, verbatim from:
71033         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
71034         * manual/Makefile (licenses): New variable, list those new file names.
71035         (texis): Use it.
71036         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
71038         * manual/fdl.texi: File removed.
71039         * manual/lesser.texi: File removed.
71040         * manual/libc.texinfo (Copying, Documentation License):
71041         Use new @include file names, put @appendix directive before @include.
71043 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
71045         [BZ #12841]
71046         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
71047         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
71048         (mq_open): Add __NTH.
71050 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
71052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71053         Assume Intel Core i3/i5/i7 processor if AVX is available.
71055 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71057         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71058         typo.
71060 2011-05-31  Andreas Schwab  <schwab@redhat.com>
71062         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
71063         memory.  Use alloca_account.  Fix memory leak when retrying.
71065 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71067         * version.h (RELEASE): Bump for 2.14 release.
71068         * include/features.h (__GLIBC_MINOR__): Bump to 14.
71070         * config.make.in (RANLIB): Remove entry.
71072 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
71074         * po/Makefile (po-sed-cmd): Add ksh to extensions.
71075         (libc.pot): Work around missing support for .ksh extension in xgettext.
71077         [BZ #12684]
71078         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
71079         if both request failed.
71080         (send_dg): In case of server errors clear resplen or *resplen2.
71082         [BZ #12454]
71083         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
71084         when there are multiple maps.
71085         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
71086         (_dl_fini): Remove test here.
71088         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
71090 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
71092         [BZ #12350]
71093         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
71094         bit from old_res_options.
71095         (gaih_inet): Likewise.
71097         [BZ #11099]
71098         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
71099         as signed.
71101         * resolv/res_init.c (res_setoptions): Make the code more compact.
71103         [BZ #11558]
71104         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
71105         set RES_USEVC.
71107         [BZ #11634]
71108         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
71110         * malloc/malloc.h: Mark malloc hook variables as deprecated.
71112         [BZ #11781]
71113         * malloc/malloc.h: Declare malloc hook variables as volatile.
71115         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
71116         in last patch.
71118         [BZ #11799]
71119         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
71120         raise in the comment.
71121         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71122         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71123         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
71125 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
71127         [BZ #12811]
71128         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
71129         grow the buffers more if it already has to be sufficient.
71130         (build_wcs_upper_buffer): Likewise.
71131         * posix/regexec.c (check_matching): Likewise.
71132         (clean_state_log_if_needed): Likewise.
71133         (extend_buffers): Don't enlarge buffers beyond size of the input
71134         buffer.
71135         Patches mostly by Emil Wojak <emil@wojak.eu>.
71136         * posix/bug-regex32.c: New file.
71137         * posix/Makefile (tests): Add bug-regex32.
71139         * locale/findlocale.c (_nl_find_locale): Return right away if
71140         _nl_explode_name failed.
71141         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
71143         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
71145         * debug/xtrace.sh: Unify messages.
71146         * malloc/memusage.sh: Likewise.
71148         [BZ #12813]
71149         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
71150         time symbol from vDSO.  Substitute with vsyscall if not available.
71151         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
71152         __vdso_time.
71154         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
71155         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
71156         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
71157         Add sendmmsg and internal_sendmmsg.
71158         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
71159         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
71160         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
71162         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
71163         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
71164         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
71166 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
71168         [BZ #12813]
71169         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
71170         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
71171         available.
71172         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
71173         __vdso_getcpu.
71175         [BZ #12814]
71176         * iconvdata/Makefile (tests): Add bug-iconv9.
71177         * iconvdata/bug-iconv9.c: New file.
71179 2011-05-27  Andreas Schwab  <schwab@redhat.com>
71181         [BZ #12814]
71182         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
71184 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
71186         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71187         (struct user_regs_struct): Change intcs field back to cs.
71189 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
71191         * po/ja.po: Update from translation team.
71193 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
71195         [BZ #12795]
71196         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
71197         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
71199 2011-05-20  Andreas Schwab  <schwab@redhat.com>
71201         * stdlib/longlong.h: Update from GCC.
71203 2011-05-23  Andreas Schwab  <schwab@redhat.com>
71205         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
71206         parameter name.
71207         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
71208         Add parameter name.
71209         (__sysconf): Pass it down.
71211 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
71213         [BZ #12671]
71214         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
71215         some situations.
71216         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
71217         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
71218         add in in __libc_use_alloca calls.  Adjust callers.
71219         (glob): Use malloc in some situations.
71221         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
71222         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
71223         pltexit.
71225 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
71227         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
71228         and CLOCK_BOOTTIME_ALARM.
71230         [BZ #12782]
71231         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
71232         is returned.
71234         * string/_strerror.c (__strerror_r): Print negative errors as signed
71235         numbers.
71237         [BZ #12777]
71238         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
71239         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
71240         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
71242         * configure.in: Fix typo in redirection and correct removal of test
71243         files in two cases.
71245         [BZ #12788]
71246         * locale/setlocale.c (new_composite_name): Fix test to check for
71247         identical name of all categories.
71249         [BZ #12792]
71250         * libio/filedoalloc.c (local_isatty): New function.
71251         (_IO_file_doallocate): Use local_isatty.
71252         * stdio-common/perror.c (perror): In case a new stream is used
71253         forward the stream error.
71254         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
71255         error flag.
71257 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
71259         [BZ #11884]
71260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
71261         alloca.
71262         * include/alloca.h (extend_alloca_account): Define.
71264         [BZ #11857]
71265         * posix/regex.h: Fix comments with documentation of user-accessible
71266         fields after compilation and describe correct free'ing of pattern
71267         after re_compile_pattern.
71268         Patch by Reuben Thomas <rrt@sc3d.org>.
71270 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
71272         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
71273         and -mno-altivec to prevent the compiler from using Altivec and/or
71274         VSX instructions when the corresponding registers are not available.
71276 2011-05-19  Andreas Schwab  <schwab@redhat.com>
71278         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
71280 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
71282         * libio/freopen.c (freopen): Use __dup2, not dup2.
71283         * libio/freopen64.c (freopen64): Likewise.
71285 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71287         [BZ #12775]
71288         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
71289         * math/Makefile (tests): Add test-powl.
71290         (CFLAGS-test-powl.c): Define.
71291         * math/test-powl.c: New file.
71293 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71295         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
71297 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
71299         [BZ #11837]
71300         * iconvdata/gb18030.c: Update to GB18020-2005.
71302 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
71304         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
71305         RE_SYNTAX_POSIX_AWK): Update to match recent development.
71306         Patch by Aharon Robbins <arnold@skeeve.com>.
71308         [BZ #11892]
71309         * stdlib/putenv.c (putenv): Don't always create copy of the variable
71310         on the stack.
71312         [BZ #11895]
71313         * misc/pselect.c (__pselect): Handle timeout value errors hidden
71314         through underflows.
71316         [BZ #12766]
71317         * misc/error.c (error_at_line): Ensure file_name and old_file_name
71318         point to strings before performing equality test for error_one_per_line
71319         mode.
71321         [BZ #11697]
71322         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71324         [BZ #11820]
71325         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71326         (struct user_fpregs_struct): Avoid __uint*_t types.
71328         [BZ #6420]
71329         * malloc/mtrace.c (tr_where): Add additional parameter to point to
71330         symbol info.  Use it instead of calling _dl_addr locally.
71331         (lock_and_info): New function.
71332         (tr_freehook): Call lock_and_info and pass symbol info as additional
71333         parameter to tr_where.
71334         (tr_mallochook): Likewise.
71335         (tr_reallochook): Likewise.
71336         (tr_memalignhook): Likewise.
71338         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
71339         used and couldn't be at all thread-safe.
71341 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
71343         * libio/freopen.c (freopen): Don't close old file descriptor
71344         before the new one is opened.  Instead dup the new file descriptor
71345         to the old one after the new stream is created.
71346         * libio/freopen64.c (freopen64): Likewise.
71347         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71348         * libio/fileops.c (_IO_new_file_close_it): Handle new
71349         _IO_FLAGS2_NOCLOSE flag.
71350         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71351         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71352         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71353         _IO_FLAGS2_NOCLOSE flag.
71354         * include/unistd.h: Add hidden_proto for dup3.
71355         Define __have_dup3.
71356         * io/dup3.c: Define hidden symbol.
71357         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71359         [BZ #7101]
71360         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71361         when an incomplete long option is used.
71362         * posix/tst-getopt_long1.c: New file.
71363         * posix/Makefile (tests): Add tst-getopt_long1.
71365         [BZ #10138]
71366         * scripts/config.guess: Update from autoconf-2.68.
71367         * scripts/config.sub: Likewise.
71369         [BZ #10157]
71370         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
71371         tests into ...
71372         (has_cpuclock): ...this.  New function.
71373         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
71374         macro here based on has_cpuclock code.
71376         [BZ #10149]
71377         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71378         First byte (not low byte) is now always NUL.
71379         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
71381         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71382         Use non-cancelable interfaces.
71384         [BZ #9809]
71385         * locale/iso-639.def: Add entry for Sorani.
71387         [BZ #11901]
71388         * include/stdlib.h: Move include protection to the right place.
71389         Define abort_msg_s.  Declare __abort_msg with it.
71390         * stdlib/abort.c (__abort_msg): Adjust type.
71391         * assert/assert.c (__assert_fail_base): New function.  Majority
71392         of code from __assert_fail.  Allocate memory for __abort_msg with
71393         mmap.
71394         (__assert_fail): Now call __assert_fail_base.
71395         * assert/assert-perr.c: Remove bulk of implementation.  Use
71396         __assert_fail_base.
71397         * include/assert.hL Declare __assert_fail_base.
71398         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
71399         mmap.
71400         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
71402 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
71404         [BZ #11952]
71405         [BZ #12453]
71406         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71407         until all modules are registered in the DTV.
71408         * elf/Makefile: Add rules to build and run tst-tls19.
71409         * elf/tst-tls19.c: New file.
71410         * elf/tst-tls19mod1.c: New file.
71411         * elf/tst-tls19mod2.c: New file.
71412         * elf/tst-tls19mod3.c: New file.
71413         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71415         [BZ #12083]
71416         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71417         correctly.
71419         [BZ #12601]
71420         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71421         two-byte sequence errors.
71422         * iconvdata/Makefile (tests): Add bug-iconv8.
71423         * iconvdata/bug-iconv8.c: New file.
71425         [BZ #12626]
71426         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71427         buf2 definition.
71429         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71431         [BZ #12432]
71432         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71433         (dummy_getcfa): New function.
71434         (init): Get _Unwind_GetCFA address, use dummy if not found.
71435         (backtrace_helper): In recursion check, also check whether CFA changes.
71436         (__backtrace): Completely initialize arg.
71438         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71439         storing incomplete byte sequence in state object.  Avoid testing for
71440         guaranteed too small input if we know there is enough data available.
71442 2011-05-11  Andreas Schwab  <schwab@redhat.com>
71444         * Makeconfig (+link-pie): Indent.
71445         * Rules (binaries-pie): Define if $(have-fpie) and
71446         $(build-shared).
71447         (binaries-shared): Also filter out $(binaries-pie).
71448         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71449         * nscd/Makefile (others-pie): Add nscd.
71450         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71451         ($(objpfx)nscd): Remove command override.
71452         * login/Makefile (others-pie): Add pt_chown.
71453         ($(objpfx)pt_chown): Remove command override.
71454         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71455         remove command overrides.
71457 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71459         * libio/tst_putwc.c: Fix error messages.
71461         [BZ #12724]
71462         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71463         currently writing and seek to current position when not.
71464         * libio/Makefile (tests): Add bug-fclose1.
71465         * libio/bug-fclose1.c: New file.
71467 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71469         [BZ #12511]
71470         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71471         don't set DF_1_NODELETE here.
71472         (do_lookup_x): When entering new entry test for copy relocation
71473         and if necessary set DF_1_NODELETE flag.
71474         * elf/tst-unique4.cc: New file.
71475         * elf/tst-unique4.h: New file.
71476         * elf/tst-unique4lib.cc: New file.
71477         * elf/Makefile: Add rules to build and run tst-unique4.
71478         Patch by Piotr Bury <pbury@goahead.com>.
71480 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71482         [BZ #12052]
71483         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71485         [BZ #12625]
71486         * misc/mntent_r.c (addmntent): Flush the stream after the output
71488         [BZ #12393]
71489         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71490         (is_trusted_path_normalize): Skip initial colon.  Append slash
71491         to empty buffer.  Duplicate is_trusted_path code but allow
71492         constructed patch to be prefix.
71493         (is_dst): Allow $ORIGIN followed by /.
71494         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71495         Correct testing of result of is_trusted_path_normalize
71496         (decompose_rpath): Fix warning.
71498 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71500         [BZ #11257]
71501         * grp/initgroups.c (internal_getgrouplist): When we found the service
71502         list through the initgroups entry in nsswitch.conf do not always
71503         continue on a successful lookup.  Don't always use the
71504         __nss_group_database value if it is set.
71505         * nss/nsswitch.conf (initgroups): Change action for successful db
71506         lookup to continue for compatibility.
71508 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71510         [BZ #11532]
71511         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71512         and CP774 modules.
71513         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71514         and CP774 modules.
71515         * iconvdata/tst-tables.sh: Likewise.
71516         * iconvdata/cp770.c: New file.
71517         * iconvdata/cp771.c: New file.
71518         * iconvdata/cp772.c: New file.
71519         * iconvdata/cp773.c: New file.
71520         * iconvdata/cp774.c: New file.
71521         * iconvdata/testdata/CP770: New file.
71522         * iconvdata/testdata/CP770..UTF8: New file.
71523         * iconvdata/testdata/CP771: New file.
71524         * iconvdata/testdata/CP771..UTF8: New file.
71525         * iconvdata/testdata/CP772: New file.
71526         * iconvdata/testdata/CP772..UTF8: New file.
71527         * iconvdata/testdata/CP773: New file.
71528         * iconvdata/testdata/CP773..UTF8: New file.
71529         * iconvdata/testdata/CP774: New file.
71530         * iconvdata/testdata/CP774..UTF8: New file.
71532         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71533         END CHARMAP line.
71534         * iconvdata/gen-8bit-gap.sh: Likewise.
71535         * iconvdata/gen-8bit.sh: Likewise.
71537         * locale/iso-639.def: Add ary entry.
71539         [BZ #11258]
71540         * locale/C-translit.h.in: Add U20A1 transliteration.
71542         [BZ #12178]
71543         * locale/iso-639.def: Add wae entry.
71544         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71546         [BZ #12545]
71547         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71548         for n.
71550         [BZ #12711]
71551         * locale/C-translit.h.in: Add entry for U20B9.
71552         Patch by pravin.d.s@gmail.com.
71554 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71556         [BZ #12713]
71557         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71558         ENAMETOOLONG use generic getcwd.
71559         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71560         in rtld.  Use *stat64.
71561         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71562         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71563         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71564         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71565         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71566         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71567         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71568         __fstatat64 macros.
71569         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71570         * dirent/rewinddir.c: Add libc_hidden_def.
71571         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71572         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71574         * include/dirent.h (__alloc_dir): Add flags parameter.
71575         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71576         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71577         __alloc_dir.
71578         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71579         from fdopendir if O_CLOEXEC is already set.
71581 2011-03-15  Alan Modra  <amodra@gmail.com>
71583         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71584         l_tls_firstbyte_offset non-zero.  Save padding offset in
71585         l_tls_firstbyte_offset for later use.
71586         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71587         freeing static tls block.
71589 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71591         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71592         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71593         being defined by the kernel headers.
71595 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71597         [BZ #12734]
71598         * resolv/resolv.h: Define RES_NOTLDQUERY.
71599         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71600         no-tld-query and set RES_NOTLDQUERY.
71601         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71602         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71603         modern BIND to search name as TLD unless forbidden.
71605 2011-05-07  Petr Baudis  <pasky@suse.cz>
71606             Ulrich Drepper  <drepper@gmail.com>
71608         [BZ #12393]
71609         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71610         (is_trusted_path): ...to here.
71611         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71612         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71613         using is_trusted_path_normalize() in setuid scripts.
71615 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71617         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71618         __BEGIN/__END_DECLS.
71620 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71622         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71623         NSS_STATUS_NOTFOUND if no record was found.
71625 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71627         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71628         (headers-not-in-tirpc): Remove rpc/netdb.h
71629         * resolv/netdb.h: Revert last change.
71631 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71633         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71634         circular dependency between libgcc.a and libc.a.
71636 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71638         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71639         * nis/Makefile: Don't install rpcsvc/*.
71640         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71641         instead of <rpc/types.h>.
71642         (MAXHOSTNAMELEN): Define.
71644 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71646         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71648 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71650         [BZ #12714]
71651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71652         gethostbyname4_r when IPv6 results are possible.
71654 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71656         [BZ #12723]
71657         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71658         _PC_PIPE_BUF handling.
71660 2011-04-30  Bruno Haible  <bruno@clisp.org>
71662         [BZ #12717]
71663         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71664         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71665         to 'int'.
71666         * inet/getnameinfo.c (getnameinfo): Likewise.
71668 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71670         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71671         to groups setting in database lookup.
71672         * nss/nsswitch.conf: Add initgroups entry.
71674 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71676         [BZ #12685]
71677         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71678         mode string.
71679         Patch by Eric Blake <eblake@redhat.com>.
71681 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71683         * sunrpc/Makefile (need-export-routines): Add svc_run.
71684         (routines): Remove svc_run.
71685         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71686         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71687         * sunrpc/svc_run.c (svc_run): Likewise.
71688         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71690 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71692         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71693         problem in reallocation in last patch.
71695 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71697         * sunrpc/Makefile: Move inclusion of Rules.
71699 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71701         * nss/nss_files/files-initgroups.c: New file.
71702         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71703         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71704         _nss_files_initgroups_dyn.
71706 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71708         * elf/elf.h (R_ARM_IRELATIVE): Define.
71710 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71712         * po/ru.po: Update from translation team.
71714 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71716         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71717         dependencies.
71719 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71721         [BZ #12653]
71722         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71723         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71724         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71725         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71726         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71728 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71730         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71731         differing bytes.
71732         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71733         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71734         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71736 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71738         [BZ #12420]
71739         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71740         storing it.
71741         * stdlib/bug-getcontext.c: New file.
71742         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71744 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71746         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71747         instructions into .machine "z9-109".
71748         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71749         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71751 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71753         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71754         between environment variables and auxiliary vector.
71756 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71758         * Makefile: Add rules to build linkobj/libc.so.
71759         * include/libc-symbols.h: Define libc_hidden_nolink.
71760         * include/rpc/auth.h: Mark functions which are to be hidden.
71761         * include/rpc/auth_des.h: Likewise.
71762         * include/rpc/auth_unix.h: Likewise.
71763         * include/rpc/clnt.h: Likewise.
71764         * include/rpc/des_crypt.h: Likewise.
71765         * include/rpc/key_prot.h: Likewise.
71766         * include/rpc/pmap_clnt.h: Likewise.
71767         * include/rpc/pmap_prot.h: Likewise.
71768         * include/rpc/pmap_rmt.h: Likewise.
71769         * include/rpc/rpc_msg.h: Likewise.
71770         * include/rpc/svc.h: Likewise.
71771         * include/rpc/svc_auth.h: Likewise.
71772         * include/rpc/xdr.h: Likewise.
71773         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71774         * nss/Makefile: Likewise.
71775         * sunrpc/Makefile: Don't install headers.  Build library with normal
71776         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71777         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71778         for the compat linking library.  Remove use of INTDEF/INTUSE.
71779         * sunrpc/auth_none.c: Likewise.
71780         * sunrpc/auth_unix.c: Likewise.
71781         * sunrpc/authdes_prot.c: Likewise.
71782         * sunrpc/authuxprot.c: Likewise.
71783         * sunrpc/clnt_gen.c: Likewise.
71784         * sunrpc/clnt_perr.c: Likewise.
71785         * sunrpc/clnt_raw.c: Likewise.
71786         * sunrpc/clnt_simp.c: Likewise.
71787         * sunrpc/clnt_tcp.c: Likewise.
71788         * sunrpc/clnt_udp.c: Likewise.
71789         * sunrpc/clnt_unix.c: Likewise.
71790         * sunrpc/des_crypt.c: Likewise.
71791         * sunrpc/des_soft.c: Likewise.
71792         * sunrpc/get_myaddr.c: Likewise.
71793         * sunrpc/key_call.c: Likewise.
71794         * sunrpc/key_prot.c: Likewise.
71795         * sunrpc/netname.c: Likewise.
71796         * sunrpc/pm_getmaps.c: Likewise.
71797         * sunrpc/pm_getport.c: Likewise.
71798         * sunrpc/pmap_clnt.c: Likewise.
71799         * sunrpc/pmap_prot.c: Likewise.
71800         * sunrpc/pmap_prot2.c: Likewise.
71801         * sunrpc/pmap_rmt.c: Likewise.
71802         * sunrpc/publickey.c: Likewise.
71803         * sunrpc/rpc_cmsg.c: Likewise.
71804         * sunrpc/rpc_common.c: Likewise.
71805         * sunrpc/rpc_dtable.c: Likewise.
71806         * sunrpc/rpc_prot.c: Likewise.
71807         * sunrpc/rpc_thread.c: Likewise.
71808         * sunrpc/rtime.c: Likewise.
71809         * sunrpc/svc.c: Likewise.
71810         * sunrpc/svc_auth.c: Likewise.
71811         * sunrpc/svc_authux.c: Likewise.
71812         * sunrpc/svc_raw.c: Likewise.
71813         * sunrpc/svc_run.c: Likewise.
71814         * sunrpc/svc_simple.c: Likewise.
71815         * sunrpc/svc_tcp.c: Likewise.
71816         * sunrpc/svc_udp.c: Likewise.
71817         * sunrpc/svc_unix.c: Likewise.
71818         * sunrpc/svcauth_des.c: Likewise.
71819         * sunrpc/xcrypt.c: Likewise.
71820         * sunrpc/xdr.c: Likewise.
71821         * sunrpc/xdr_array.c: Likewise.
71822         * sunrpc/xdr_float.c: Likewise.
71823         * sunrpc/xdr_intXX_t.c: Likewise.
71824         * sunrpc/xdr_mem.c: Likewise.
71825         * sunrpc/xdr_rec.c: Likewise.
71826         * sunrpc/xdr_ref.c: Likewise.
71827         * sunrpc/xdr_sizeof.c: Likewise.
71828         * sunrpc/xdr_stdio.c: Likewise.
71830 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71832         [BZ #12650]
71833         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71834         * sysdeps/ia64/dl-tls.h: Likewise.
71835         * sysdeps/powerpc/dl-tls.h: Likewise.
71836         * sysdeps/s390/dl-tls.h: Likewise.
71837         * sysdeps/sh/dl-tls.h: Likewise.
71838         * sysdeps/sparc/dl-tls.h: Likewise.
71839         * sysdeps/x86_64/dl-tls.h: Likewise.
71840         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71842 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71844         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71845         rpath element also skip the following colon.
71846         (expand_dynamic_string_token): Add is_path parameter and pass
71847         down to DL_DST_REQUIRED and _dl_dst_substitute.
71848         (decompose_rpath): Call expand_dynamic_string_token with
71849         non-zero is_path.  Ignore empty rpaths.
71850         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71851         with zero is_path.
71853 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71856         Make cancelable.
71858 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71860         [BZ #12655]
71861         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71862         Patch by Filipe David Manana <fdmanana@apache.org>.
71864 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71866         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71867         Maintain aligned stack.
71868         (CHECK_RSP): Remove unused macro.
71870 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71872         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71873         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71875 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71877         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71879         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71881 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71883         [BZ #12518]
71884         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71885         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71886         * sysdeps/x86_64/memmove.c: New file.
71887         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71888         (memcpy): Renamed to ...
71889         (__new_memcpy): This.
71890         (memcpy): Provide GLIBC_2_14 memcpy.
71891         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71892         (memcpy): Provide GLIBC_2_2_5 memcpy.
71894 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71896         [BZ #12631]
71897         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71899 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71901         * misc/syncfs.c: New file.
71902         * misc/Makefile (routines): Add syncfs.
71903         * posix/unistd.h: Declare syncfs.
71904         * sysdeps/unix/syscalls.list: Add syncfs.
71906 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71908         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71909         open_by_handle_at.
71910         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71911         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71913         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71915         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71916         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71918 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71920         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71921         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71922         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71923         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71924         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71925         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71926         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71928         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71929         sync_file_range.c with -fexceptions.
71930         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71931         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71932         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71933         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71934         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71935         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71936         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71937         sync_file_range as cancellation point
71938         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71939         now a wrapper around __call_sync_file_range with cancellation handling.
71940         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71941         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71942         function name to __call_sync_file_range.
71943         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71944         Add call_sync_file_range.
71946 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71949         bits/timex.h.
71951 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71953         * iconv/iconv.h: Fix typo in comment.
71954         * io/fcntl.h: Likewise.
71955         * libio/stdio.h: Likewise.
71956         * posix/spawn.h: Likewise.
71957         * posix/unistd.h: Likewise.
71958         * stdlib/stdlib.h: Likewise.
71959         * time/time.h: Likewise.
71960         * wcsmbs/wchar.h: Likewise.
71962         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71963         open_by_handle): Add.
71964         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71965         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71966         Augment a few comments.
71967         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71968         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71969         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71971         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71972         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71973         open_by_handle.
71975         * io/fcntl.h (AT_EMPTY_PATH): Define.
71977 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71979         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71980         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71981         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71982         to...
71983         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71984         * Versions.def: Add GLIBC_2.14.
71985         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71986         Export.
71988 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71990         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71991         round counter.
71992         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71994 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71996         [BZ #12597]
71997         * string/test-strncmp.c (do_page_test): New function.
71998         (check2): Likewise.
71999         (test_main): Call check2.
72000         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
72002 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
72004         [BZ #12587]
72005         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
72006         Handle cache information in CPU leaf 4.
72007         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72009 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
72011         [BZ #12583]
72012         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
72013         character representation.
72014         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
72016 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
72018         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
72019         END(__isnan) to END(__isnanf) to match function entry point/label
72020         EALIGN(__isnanf,...).
72022 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
72024         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
72026 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
72028         [BZ #12510]
72029         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
72030         copy from the symbol referenced in the relocation to initialize the
72031         used variable.
72032         Patch by Piotr Bury <pbury@goahead.com>.
72033         * elf/Makefile: Add rules to build and tst-unique3.
72034         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
72035         * elf/tst-unique3.cc: New file.
72036         * elf/tst-unique3.h: New file.
72037         * elf/tst-unique3lib.cc: New file.
72038         * elf/tst-unique3lib2.cc: New file.
72040         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
72042 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
72044         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
72045         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
72046         to _start.
72048 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
72050         * elf/dl-load.c (_dl_map_object): If we are looking for the first
72051         to-be-loaded object along a path to loader is ld.so.
72053 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72054             Ulrich Drepper  <drepper@gmail.com>
72056         * sysdeps/x86_64/memset.S: After aligning destination, code
72057         branches to different locations depending on the value of
72058         misalignment, when multiarch is enabled. Fix this.
72060 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72062         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
72063         Set _x86_64_preferred_memory_instruction for AMD processsors.
72064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72065         Set bit_Prefer_SSE_for_memop for AMD processors.
72067 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
72069         * libio/fmemopen.c (fmemopen): Optimize a bit.
72071 2011-03-03  Andreas Schwab  <schwab@redhat.com>
72073         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
72075 2011-03-03  Roland McGrath  <roland@redhat.com>
72077         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
72079 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
72081         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
72082         __bzero_ultra1 instead of __memset_ultra1.
72084 2011-02-23  Andreas Schwab  <schwab@redhat.com>
72085             Ulrich Drepper  <drepper@gmail.com>
72087         [BZ #12509]
72088         * include/link.h (struct link_map): Add l_orig_initfini.
72089         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
72090         returning unsuccessfully.
72091         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
72092         close of a file loaded at startup, restore the original l_initfini
72093         list.
72094         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
72095         list, store the pointer.
72096         * elf/Makefile ($(objpfx)noload-mem): New rule.
72097         (noload-ENV): Define.
72098         (tests): Add $(objpfx)noload-mem.
72099         * elf/noload.c: Include <memcheck.h>.
72100         (main): Call mtrace.  Close all opened handles.
72102 2011-02-17  Andreas Schwab  <schwab@redhat.com>
72104         [BZ #12454]
72105         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
72106         dependencies are missing.
72108 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72110         Fix __if_freereq crash: Unlike the generic version which uses free,
72111         Hurd needs munmap.
72112         * sysdeps/mach/hurd/ifreq.h: New file.
72114 2011-01-27  Petr Baudis  <pasky@suse.cz>
72115             Ulrich Drepper  <drepper@gmail.com>
72117         [BZ 12445]#
72118         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
72119         to extend_alloca().
72120         * stdio-common/bug23.c: New file.
72121         * stdio-common/Makefile (tests): Add bug23.
72123 2010-09-28  Andreas Schwab  <schwab@redhat.com>
72124             Ulrich Drepper  <drepper@gmail.com>
72126         [BZ #12489]
72127         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
72128         before performing relro protection.  At old place add assertion
72129         to make sure nothing changed.
72131 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
72132             Glauber de Oliveira Costa  <glommer@gmail.com>
72134         * elf/elf.h: Add new ARM TLS relocs.
72136 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
72138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72139         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
72140         cast from r3.
72141         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
72142         'tests' variable.
72143         * sysdeps/wordsize-64/tst-writev.c: New file.
72145 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
72147         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
72148         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
72149         insns in _dl_start to prevent a TOC reference before relocs are
72150         resolved.
72152 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
72154         [BZ #12469]
72155         * Makeconfig: Remove RANLIB definition.
72156         * Makerules: Don't use RANLIB.
72157         * aclocal.m4: Remove ranlib test.
72158         * configure.in: No need to check for ranlib.
72159         * elf/rtld-Rules: Don't use RANLIB.
72161 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72163         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
72164         protection macro.
72165         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
72166         inclusion protection macro.
72168         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
72169         SIGRTMIN and SIGRTMAX and print information in that case only when
72170         SIGRTMIN is defined.
72172 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
72174         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
72175         arginfo fn returning -1.
72177         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
72178         and thousands string is zero terminated.
72180 2011-02-03  Andreas Schwab  <schwab@redhat.com>
72182         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
72183         sysdeps/unix/sysv/linux/bits/socket.h.
72185 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72187         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
72188         (__CPU_COUNT): Remove old macros.
72189         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
72190         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
72191         (__CPU_ALLOC, __CPU_FREE): Add macros.
72192         (__sched_cpualloc, __sched_cpufree): Add declarations.
72194 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
72196         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
72197         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
72198         * nscd/aicache.c (addhstaiX): Return timeout of added value.
72199         (readdhstai): Return value of addhstaiX call.
72200         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
72201         (addgrbyX): Return value returned by cache_addgr.
72202         (readdgrbyname): Return value returned by addgrbyX.
72203         (readdgrbygid): Likewise.
72204         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
72205         (addpwbyX): Return value returned by cache_addpw.
72206         (readdpwbyname): Return value returned by addhstbyX.
72207         (readdpwbyuid): Likewise.
72208         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
72209         (addservbyX): Return value returned by cache_addserv.
72210         (readdservbyname): Return value returned by addservbyX:
72211         (readdservbyport): Likewise.
72212         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
72213         (addhstbyX): Return value returned by cache_addhst.
72214         (readdhstbyname): Return value returned by addhstbyX.
72215         (readdhstbyaddr): Likewise.
72216         (readdhstbynamev6): Likewise.
72217         (readdhstbyaddrv6): Likewise.
72218         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
72219         (readdinitgroups): Return value returned by addinitgroupsX.
72220         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
72221         (prune_cache): Keep track of timeout value of re-added entries.
72222         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
72223         * nscd/nscd.h: Adjust prototypes of readd* functions.
72225 2011-02-04  Roland McGrath  <roland@redhat.com>
72227         * nis/nis_server.c (nis_servstate): Use the right name for 0.
72228         (nis_stats): Likewise.
72229         * nis/nis_modify.c (nis_modify): Likewise.
72230         * nis/nis_remove.c (nis_remove): Likewise.
72231         * nis/nis_add.c (nis_add): Likewise.
72233         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
72235         * posix/fnmatch_loop.c: Add some consts.
72237         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
72239 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
72241         [BZ #12460]
72242         * config.make.in (config-cflags-novzeroupper): Define.
72243         * configure.in: Substitute libc_cv_cc_novzeroupper.
72244         * elf/Makefile (AVX-CFLAGS): Define.
72245         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
72246         (CFLAGS-tst-auditmod4a.c): Likewise.
72247         (CFLAGS-tst-auditmod4b.c): Likewise.
72248         (CFLAGS-tst-auditmod6b.c): Likewise.
72249         (CFLAGS-tst-auditmod6c.c): Likewise.
72250         (CFLAGS-tst-auditmod7b.c): Likewise.
72251         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
72253 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
72255         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
72256         function to the callback.
72257         Patch partly by Jiri Olsa <jolsa@redhat.com>.
72259 2011-02-02  Andreas Schwab  <schwab@redhat.com>
72261         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
72262         of errno.
72264 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
72266         [BZ #11724]
72267         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
72268         of constructors.
72269         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
72270         of destructors.
72271         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
72273         [BZ #11724]
72274         * elf/Makefile: Add rules to build and run new test.
72275         * elf/tst-initorder.c: New file.
72276         * elf/tst-initorder.exp: New file.
72277         * elf/tst-initordera1.c: New file.
72278         * elf/tst-initordera2.c: New file.
72279         * elf/tst-initordera3.c: New file.
72280         * elf/tst-initordera4.c: New file.
72281         * elf/tst-initorderb1.c: New file.
72282         * elf/tst-initorderb2.c: New file.
72283         * elf/tst-order-a1.c: New file.
72284         * elf/tst-order-a2.c: New file.
72285         * elf/tst-order-a3.c: New file.
72286         * elf/tst-order-a4.c: New file.
72287         * elf/tst-order-b1.c: New file.
72288         * elf/tst-order-b2.c: New file.
72289         * elf/tst-order-main.c: New file.
72290         New test case by George Gensure <werkt0@gmail.com>.
72292 2010-10-01  Andreas Schwab  <schwab@redhat.com>
72294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72295         decoding ACE if AI_CANONIDN.
72297 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
72299         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
72301 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
72303         * version.h (RELEASE): Bump for 2.13 release.
72304         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
72306         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
72308         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
72309         MADV_NOHUGEPAGE.
72310         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
72311         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
72312         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72313         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72314         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72315         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72317         * posix/getconf.c: Update copyright year.
72318         * catgets/gencat.c: Likewise.
72319         * csu/version.c: Likewise.
72320         * debug/catchsegv.sh: Likewise.
72321         * debug/xtrace.sh: Likewise.
72322         * elf/ldconfig.c: Likewise.
72323         * elf/ldd.bash.in: Likewise.
72324         * elf/sprof.c (print_version): Likewise.
72325         * iconv/iconv_prog.c: Likewise.
72326         * iconv/iconvconfig.c: Likewise.
72327         * locale/programs/locale.c: Likewise.
72328         * locale/programs/localedef.c: Likewise.
72329         * malloc/memusage.sh: Likewise.
72330         * malloc/mtrace.pl: Likewise.
72331         * nscd/nscd.c (print_version): Likewise.
72332         * nss/getent.c: Likewise.
72334         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72335         PF_CAIF, and PF_ALG.
72336         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72338 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
72340         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72341         (modules-names): Use them.
72342         (ifunc-test-modules, ifunc-pie-tests): Define.
72343         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72344         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72345         (test-extras): Likewise.
72346         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72347         $(compile-command.c).
72348         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72349         (all-built-dso): Define.
72350         (check-textrel.out, check-execstack.out): Depend on it.
72352         * configure.in: Don't override --enable-multi-arch.
72354 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
72356         [BZ #6812]
72357         * nscd/hstcache.c (tryagain): Define.
72358         (cache_addhst): Return tryagain not notfound for temporary errors.
72359         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72360         failed.
72362 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
72364         [BZ #10563]
72365         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
72366         to make the syscall.
72367         * sysdeps/unix/sysv/linux/setgroups.c: New file.
72369         [BZ #12378]
72370         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
72371         and fall back to matching as normal character if the string ends before
72372         the matching ']' is found.  This is what POSIX requires.
72373         * posix/testfnm.c: Adjust test result.
72374         * posix/globtest.sh: Adjust test result.  Add new test.
72375         * posix/tst-fnmatch.input: Likewise.
72376         * posix/tst-fnmatch2.c: Add new test.
72378 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
72380         * elf/Makefile (check-execstack): Revert last change.  Depend on
72381         check-execstack.h.
72382         (check-execstack.h): New target.
72383         (generated): Add check-execstack.h.
72384         * elf/check-execstack.c: Include "check-execstack.h".
72385         (main): Revert last change.
72386         (handle_file): Return zero if GNU_STACK is absent and
72387         DEFAULT_STACK_PERMS doesn't include PF_X.
72389 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
72391         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
72392         in child fails because the descriptor is already closed.
72393         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
72394         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
72395         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
72397         [BZ #12397]
72398         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
72399         syscall.
72401         [BZ #10484]
72402         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
72403         temporary buffer used to handle multi lookups locally.
72404         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
72406 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72408         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72409         loader is ld.so.
72411 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
72413         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72414         alignment for SSE2.
72416 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72418         [BZ #12394]
72419         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72420         characters.  When rounding increased number of integer digits recompute
72421         number of groups.
72422         * stdio-common/tst-grouping.c: New file.
72423         * stdio-common/Makefile: Add rules to build and run tst-grouping.
72425 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
72427         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72428         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
72430         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72431         void.
72432         * bits/select.h: Likewise.
72434 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
72436         * po/ja.po: Update from translation team.
72438 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
72440         [BZ #11155]
72441         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72442         implementation just like for lxstat, fxstatat, et al.
72444 2010-12-27  Jim Meyering  <meyering@redhat.com>
72446         [BZ #12348]
72447         * posix/regexec.c (build_trtable): Return failure indication upon
72448         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
72450 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
72452         [BZ #12201]
72453         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72454         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72455         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72456         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72458         [BZ #12207]
72459         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72461         [BZ #12204]
72462         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72463         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72465 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72467         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72468         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72469         script has SORT_BY_INIT_PRIORITY.
72470         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72471         NO_CTORS_DTORS_SECTIONS is defined.
72472         * elf/soinit.c: Likewise.
72473         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72474         NO_CTORS_DTORS_SECTIONS is defined.
72475         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72476         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72477         * sysdeps/sh/init-first.c: Likewise.
72478         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72480 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72482         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72483         always use the slow path.
72485 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72487         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72488         similar rule which adds the sysdep directories to the header search in
72489         order to pick up the correct platform stackinfo.h.
72490         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72491         perform test if it is, otherwise return successfully without testing.
72492         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72493         DEFAULT_STACK_PERMS define in stackinfo.h.
72494         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72495         defined in stackinfo.h.
72496         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72497         DEFAULT_STACK_PERMS defined in stackinfo.h.
72498         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72499         * sysdeps/ia64/stackinfo.h: Likewise.
72500         * sysdeps/s390/stackinfo.h: Likewise.
72501         * sysdeps/sh/stackinfo.h: Likewise.
72502         * sysdeps/sparc/stackinfo.h: Likewise.
72503         * sysdeps/x86_64/stackinfo.h: Likewise.
72504         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72505         PF_X for powerpc64.  Retain PF_X for powerpc32.
72507 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72509         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72510         accurately.
72511         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72512         GETDENTS_64BIT_ALIGNED.
72514 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72516         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72518 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72520         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72521         _GNU_SOURCE.
72523         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72524         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72525         Remove __restrict.
72526         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72527         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72529 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72531         [BZ #11655]
72532         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72533         are initialized.
72535 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72537         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72539 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72541         * po/it.po: Update from translation team.
72543 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72545         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72546         unused codes.
72548 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72550         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72552 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72554         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72555         specially.
72556         (gaih_getanswer_slice): Likewise.
72558 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72562 2010-05-31  Petr Baudis  <pasky@suse.cz>
72564         [BZ #11149]
72565         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72566         silently even in the chroot mode.
72568 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72570         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72571         last patch a bit.  Pretty printing
72573 2010-05-31  Petr Baudis <pasky@suse.cz>
72575         [BZ #10085]
72576         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72577         initialization of skip_initgroups_dyn.
72579 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72581         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72582         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72584 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72586         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72588 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72590         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72591         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72592         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72593         ($(objpfx)tst-fnmatch-mem): New rule.
72594         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72595         * posix/tst-fnmatch.c (main): Call mtrace.
72597 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72600         Support Intel processor model 6 and model 0x2c.
72602 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72604         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72605           signed comparison.
72607 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72609         [BZ #12205]
72610         * string/test-strncasecmp.c (check_result): New function.
72611         (do_one_test): Use it.
72612         (check1): New function.
72613         (test_main): Use it.
72614         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72615         Support strcasecmp and strncasecmp.
72617 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72619         [BZ #12194]
72620         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72621         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72623 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72625         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72626         IFUNC support.
72627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72628         memset-x86-64.
72629         * sysdeps/x86_64/multiarch/bzero.S: New file.
72630         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72631         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72632         * sysdeps/x86_64/multiarch/memset.S: New file.
72633         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72634         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72635         Set bit_Prefer_SSE_for_memop for Intel processors.
72636         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72637         Define.
72638         (index_Prefer_SSE_for_memop): Define.
72639         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72641 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72643         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72644         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72646 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72648         [BZ #12191]
72649         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72650         (__x86_64_raw_data_cache_size_half): Likewise.
72651         (__x86_64_raw_shared_cache_size): Likewise.
72652         (__x86_64_raw_shared_cache_size_half): Likewise.
72654         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72655         (__x86_64_raw_data_cache_size_half): Likewise.
72656         (__x86_64_raw_shared_cache_size): Likewise.
72657         (__x86_64_raw_shared_cache_size_half): Likewise.
72658         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72659         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72660         and __x86_64_raw_shared_cache_size_half.  Round
72661         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72662         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72663         to multiple of 256 bytes.
72665 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72667         [BZ #12167]
72668         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72669         of inacessible symlinks.  Verify result of symlink before returning it.
72670         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72671         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72673 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72675         * math/math.h (isinf): Fix typo in comment.
72677 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72679         * po/da.po: Update from translation team.
72681 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72683         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72684         is added to the list.
72686 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72687             Ulrich Drepper  <drepper@gmail.com>
72689         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72690         the global list here.  Move code to...
72691         (_dl_add_to_namespace_list): ...here.  New function.
72692         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72693         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72694         * elf/dl-load.c (lose): Don't remove the element from the list.
72695         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72696         (_dl_map_object): Likewise.
72698 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72700         [BZ #12159]
72701         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72702         into all bytes of SSE register.
72703         Patch by Richard Li <richardpku@gmail.com>.
72705 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72707         [BZ #12140]
72708         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72709         perturbing.
72711 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72713         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72714         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72715         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72716         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72718         submachine.
72719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72721 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72723         * include/dlfcn.h (__RTLD_SECURE): Define.
72724         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72725         mode & __RTLD_SECURE instead.
72726         (open_path): Rename preloaded parameter to secure.
72727         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72728         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72729         * elf/dl-deps.c (openaux): Likewise.
72730         * elf/rtld.c (struct map_args): Remove is_preloaded.
72731         (map_doit): Don't use it.
72732         (dl_main): Likewise.
72733         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72734         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72736 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72738         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72739         (sysd-rules-targets): Remove duplicates.
72740         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72741         rtld-%.$o dependency.
72743 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72745         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72746         _dl_map_object do it.
72748 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72750         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72751         fast fma builtins, define the macros in the C99 standard.
72752         (FP_FAST_FMAF): Likewise.
72753         (FP_FAST_FMAL): Likewise.
72754         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72756         * bits/mathdef.h: Update copyright year.
72757         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72759 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72761         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72762         builtins, define the macros in the C99 standard.
72763         (FP_FAST_FMAF): Likewise.
72764         (FP_FAST_FMAL): Likewise.
72765         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72766         multiply/add.
72767         (FP_FAST_FMAF): Likewise.
72769 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72771         [BZ #3268]
72772         * math/libm-test.inc (fma_test): Some new testcases.
72773         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72774         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72775         y and infinite z.  Do multiplication by C already in long double.
72776         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72778         y and infinite z.  Do bitwise or of inexact bit into u.d.
72779         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72780         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72781         * sysdeps/i386/fpu/s_fma.S: Removed.
72782         * sysdeps/i386/fpu/s_fmal.S: Removed.
72784 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72786         [BZ #3268]
72787         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72788         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72789         computation is not scheduled after fetestexcept.  Fix value
72790         of minimum denormal long double.
72792 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72794         [BZ #3268]
72795         * math/libm-test.inc (fma_test): Add some more tests.
72796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72797         correctly.
72799 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72801         * scripts/data/localplt-s390-linux-gnu.data: New file.
72802         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72804 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72806         [BZ #3268]
72807         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72808         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72809         instead of dbl-64.
72810         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72811         inlines.
72812         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72814         if one of x and y is very large and the other is subnormal.
72815         * sysdeps/s390/fpu/s_fmaf.c: New file.
72816         * sysdeps/s390/fpu/s_fma.c: New file.
72817         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72818         * sysdeps/powerpc/fpu/s_fma.S: New file.
72819         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72820         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72821         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72823 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72825         [BZ #3268]
72826         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72827         fma tests.
72828         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72829         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72830         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72831         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72832         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72833         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72834         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72836 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72838         [BZ #12078]
72839         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72840         * posix/bug-regex31.input: Add test case.
72842 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72844         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72845         * posix/bug-regex31.input: New file.
72847         [BZ #12078]
72848         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72849         (parse_sub_exp): Fix last change, use postorder.
72851         * posix/bug-regex31.c: New file.
72852         * posix/Makefile: Add rules to build and run bug-regex31.
72854         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72856         [BZ #12078]
72857         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72859         [BZ #12108]
72860         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72861         to have entries in sys_siglist.
72863         [BZ #12093]
72864         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72865         be NULL.
72867 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72869         [BZ #3268]
72870         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72871         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72872         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72873         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72874         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72875         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72876         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72877         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72878         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72879         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72880         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72881         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72882         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72883         * math/ftestexcept.c (fetestexcept): Likewise.
72884         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72885         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72886         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72887         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72888         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72889         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72890         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72892 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72894         [BZ #12107]
72895         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72896         newline.
72898 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72900         * string/bug-strstr1.c: New file.
72901         * string/Makefile: Add rules to build and run bug-strstr1.
72903 2010-10-05  Eric Blake  <eblake@redhat.com>
72905         [BZ #12092]
72906         * string/str-two-way.h (two_way_long_needle): Always clear memory
72907         when skipping input due to the shift table.
72909 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72911         [BZ #12005]
72912         * malloc/mcheck.c: Handle large requests.
72914         [BZ #12077]
72915         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72916         for strncmp and strncasecmp.
72917         * string/stratcliff.c: Add tests for strcmp and strncmp.
72918         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72920 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72922         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72923         __set_fpscr.
72925 2010-09-30  Andreas Jaeger  <aj@suse.de>
72927         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72928         (CGROUP_SUPER_MAGIC): Define.
72929         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72930         Handle btrfs and cgroup file systems.
72931         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72932         Likewise.
72934 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72936         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72937         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72939 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72941         [BZ #12067]
72942         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72943         trying to locate the ELF header.
72945 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72947         [BZ #11611]
72948         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72949         Mask out sign-bit copies when constructing f_fsid.
72951 2010-09-24  Petr Baudis <pasky@suse.cz>
72953         * debug/stack_chk_fail_local.c: Add missing licence exception.
72954         * debug/warning-nop.c: Likewise.
72956 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72958         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72959         implementing getdents64 using getdents syscall, set d_type if
72960         __ASSUME_GETDENTS32_D_TYPE.
72962 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72964         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72965         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72967 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72969         [BZ #12037]
72970         * posix/unistd.h: Undo change of feature selection for ftruncate from
72971         2010-01-11.
72973 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72975         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72976         detection.
72978 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72980         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72981         fanotify_mark.
72982         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72984 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72986         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72987         variables after CHECK_SP call.
72988         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72990 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72991             Ulrich Drepper  <drepper@redhat.com>
72993         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72994         re-relocationg ld.so.
72995         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72996         _dl_init_paths call.
72997         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72998         here anymore.
73000 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
73002         * resolv/res_init.c (__res_vinit): Count the default server we added.
73004 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
73005             Ulrich Drepper  <drepper@redhat.com>
73007         [BZ #11968]
73008         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73009         (____longjmp_chk): Use %ebx for saving value across system call.
73010         Add unwind info.
73012 2010-09-06  Andreas Schwab  <schwab@redhat.com>
73014         * manual/Makefile: Don't mix pattern rules with normal rules.
73016 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73018         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
73019         operation.
73020         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
73021         * libio/iofopncook.c (_IO_cookie_init): Likewise.
73022         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
73023         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
73024         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73025         Likewise.
73027 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
73029         [BZ #11979]
73030         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
73031         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
73033 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
73035         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
73036         * sysdeps/x86_64/addmul_1.S: Likewise.
73037         * sysdeps/x86_64/lshift.S: Likewise.
73038         * sysdeps/x86_64/mul_1.S: Likewise.
73039         * sysdeps/x86_64/rshift.S: Likewise.
73040         * sysdeps/x86_64/sub_n.S: Likewise.
73041         * sysdeps/x86_64/submul_1.S: Likewise.
73043 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73045         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
73046         Define __sched_param instead of SCHED_* and sched_param when
73047         <bits/sched.h> is included with __need_schedparam defined.
73048         * bits/sched.h [__need_schedparam]
73049         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
73050         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
73051         (__defined_schedparam): Define to 1.
73052         (__sched_param): New structure, identical to sched_param.
73053         (__need_schedparam): Undefine.
73055 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
73057         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
73058         (epoll_create1): Declare.
73060         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
73062 2010-08-31  Andreas Schwab  <schwab@redhat.com>
73064         [BZ #7066]
73065         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
73066         shifting retval into place.
73068 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
73070         * nis/rpcsvc/nis.h: Update copyright notice.
73071         * nis/rpcsvc/nis.x: Likewise.
73072         * nis/rpcsvc/nis_callback.h: Likewise.
73073         * nis/rpcsvc/nis_callback.x: Likewise.
73074         * nis/rpcsvc/nis_object.x: Likewise.
73075         * nis/rpcsvc/nis_tags.h: Likewise.
73076         * nis/rpcsvc/yp.h: Likewise.
73077         * nis/rpcsvc/yp.x: Likewise.
73078         * nis/rpcsvc/ypupd.h: Likewise.
73079         * nis/yp_xdr.c: Likewise.
73080         * nis/ypupdate_xdr.c: Likewise.
73082         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
73083         mainly the body of pmap_getport.  Add parameters to specify timeouts.
73084         (pmap_getport): Use __libc_rpc_getport.
73085         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
73086         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
73087         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
73089 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
73091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
73092         fanotify_mark.
73094 2010-08-27  Roland McGrath  <roland@redhat.com>
73096         * sysdeps/i386/i686/multiarch/Makefile
73097         (CFLAGS-varshift.c): New variable.
73099 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
73101         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
73102         * sysdeps/i386/i686/multiarch/varshift.c: New file.
73104         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
73106         * sysdeps/x86_64/strlen.S: Minimal code improvement.
73108 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
73110         * sysdeps/x86_64/strlen.S: Unroll the loop.
73111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73112         strlen-sse2 strlen-sse2-bsf.
73113         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
73114         __strlen_no_bsf if bit_Slow_BSF is set.
73115         (__strlen_sse42): Removed.
73116         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
73117         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
73119 2010-08-25  Roland McGrath  <roland@redhat.com>
73121         * sysdeps/x86_64/multiarch/varshift.S: File removed.
73122         * sysdeps/x86_64/multiarch/varshift.c: New file.
73123         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
73124         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
73125         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
73126         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73128 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
73130         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73131         strlen-sse2 strlen-sse2-bsf.
73132         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
73133         __strlen_sse2_bsf if bit_Slow_BSF is unset.
73134         (__strlen_sse2): Removed.
73135         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
73136         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
73137         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
73138         bit_Slow_BSF for Atom.
73139         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
73140         (index_Slow_BSF): Define.
73141         (HAS_SLOW_BSF): Define.
73143 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
73145         [BZ #10851]
73146         * resolv/res_init.c (__res_vinit): When no server address at all
73147         is given default to loopback.
73149 2010-08-24  Roland McGrath  <roland@redhat.com>
73151         * configure.in: Remove config-name.h generation.
73152         * configure: Regenerated.
73153         * config-name.in: File removed.
73154         * scripts/config-uname.sh: New file.
73155         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
73156         ($(objdir)config-name.h): New target.
73158         * sunrpc/rpc_parse.h: Avoid nested comment.
73160 2010-08-24  Richard Henderson  <rth@redhat.com>
73161             Ulrich Drepper  <drepper@redhat.com>
73162             H.J. Lu  <hongjiu.lu@intel.com>
73164         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
73165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
73166         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
73167         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
73168         _mm_alignr_epi8 with _mm_loadu_si128.
73169         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
73170         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
73171         (__m128i_shift_right): Removed.
73172         * sysdeps/i386/i686/multiarch/varshift.h: New file.
73173         * sysdeps/i386/i686/multiarch/varshift.S: New file.
73174         * sysdeps/x86_64/multiarch/varshift.h: New file.
73175         * sysdeps/x86_64/multiarch/varshift.S: New file.
73177 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
73179         * configure.in: Move assembler checks to before sysdep dir checking.
73181 2010-08-20  Petr Baudis  <pasky@suse.cz>
73183         * LICENSES: Sync the sunrpc license.
73185 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
73187         * sunrpc/auth_des.c: Update copyright notice once again.
73188         * sunrpc/auth_none.c: Likewise.
73189         * sunrpc/auth_unix.c: Likewise.
73190         * sunrpc/authdes_prot.c: Likewise.
73191         * sunrpc/authuxprot.c: Likewise.
73192         * sunrpc/bindrsvprt.c: Likewise.
73193         * sunrpc/clnt_gen.c: Likewise.
73194         * sunrpc/clnt_perr.c: Likewise.
73195         * sunrpc/clnt_raw.c: Likewise.
73196         * sunrpc/clnt_simp.c: Likewise.
73197         * sunrpc/clnt_tcp.c: Likewise.
73198         * sunrpc/clnt_udp.c: Likewise.
73199         * sunrpc/clnt_unix.c: Likewise.
73200         * sunrpc/des_crypt.c: Likewise.
73201         * sunrpc/des_soft.c: Likewise.
73202         * sunrpc/get_myaddr.c: Likewise.
73203         * sunrpc/getrpcport.c: Likewise.
73204         * sunrpc/key_call.c: Likewise.
73205         * sunrpc/key_prot.c: Likewise.
73206         * sunrpc/openchild.c: Likewise.
73207         * sunrpc/pm_getmaps.c: Likewise.
73208         * sunrpc/pm_getport.c: Likewise.
73209         * sunrpc/pmap_clnt.c: Likewise.
73210         * sunrpc/pmap_prot.c: Likewise.
73211         * sunrpc/pmap_prot2.c: Likewise.
73212         * sunrpc/pmap_rmt.c: Likewise.
73213         * sunrpc/rpc/auth.h: Likewise.
73214         * sunrpc/rpc/auth_unix.h: Likewise.
73215         * sunrpc/rpc/clnt.h: Likewise.
73216         * sunrpc/rpc/des_crypt.h: Likewise.
73217         * sunrpc/rpc/key_prot.h: Likewise.
73218         * sunrpc/rpc/netdb.h: Likewise.
73219         * sunrpc/rpc/pmap_clnt.h: Likewise.
73220         * sunrpc/rpc/pmap_prot.h: Likewise.
73221         * sunrpc/rpc/pmap_rmt.h: Likewise.
73222         * sunrpc/rpc/rpc.h: Likewise.
73223         * sunrpc/rpc/rpc_des.h: Likewise.
73224         * sunrpc/rpc/rpc_msg.h: Likewise.
73225         * sunrpc/rpc/svc.h: Likewise.
73226         * sunrpc/rpc/svc_auth.h: Likewise.
73227         * sunrpc/rpc/types.h: Likewise.
73228         * sunrpc/rpc/xdr.h: Likewise.
73229         * sunrpc/rpc_clntout.c: Likewise.
73230         * sunrpc/rpc_cmsg.c: Likewise.
73231         * sunrpc/rpc_common.c: Likewise.
73232         * sunrpc/rpc_cout.c: Likewise.
73233         * sunrpc/rpc_dtable.c: Likewise.
73234         * sunrpc/rpc_hout.c: Likewise.
73235         * sunrpc/rpc_main.c: Likewise.
73236         * sunrpc/rpc_parse.c: Likewise.
73237         * sunrpc/rpc_parse.h: Likewise.
73238         * sunrpc/rpc_prot.c: Likewise.
73239         * sunrpc/rpc_sample.c: Likewise.
73240         * sunrpc/rpc_scan.c: Likewise.
73241         * sunrpc/rpc_scan.h: Likewise.
73242         * sunrpc/rpc_svcout.c: Likewise.
73243         * sunrpc/rpc_tblout.c: Likewise.
73244         * sunrpc/rpc_util.c: Likewise.
73245         * sunrpc/rpc_util.h: Likewise.
73246         * sunrpc/rpcinfo.c: Likewise.
73247         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
73248         * sunrpc/rpcsvc/key_prot.x: Likewise.
73249         * sunrpc/rpcsvc/klm_prot.x: Likewise.
73250         * sunrpc/rpcsvc/mount.x: Likewise.
73251         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
73252         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
73253         * sunrpc/rpcsvc/rex.x: Likewise.
73254         * sunrpc/rpcsvc/rstat.x: Likewise.
73255         * sunrpc/rpcsvc/rusers.x: Likewise.
73256         * sunrpc/rpcsvc/sm_inter.x: Likewise.
73257         * sunrpc/rpcsvc/spray.x: Likewise.
73258         * sunrpc/rpcsvc/yppasswd.x: Likewise.
73259         * sunrpc/rtime.c: Likewise.
73260         * sunrpc/svc.c: Likewise.
73261         * sunrpc/svc_auth.c: Likewise.
73262         * sunrpc/svc_authux.c: Likewise.
73263         * sunrpc/svc_raw.c: Likewise.
73264         * sunrpc/svc_run.c: Likewise.
73265         * sunrpc/svc_simple.c: Likewise.
73266         * sunrpc/svc_tcp.c: Likewise.
73267         * sunrpc/svc_udp.c: Likewise.
73268         * sunrpc/svc_unix.c: Likewise.
73269         * sunrpc/svcauth_des.c: Likewise.
73270         * sunrpc/xcrypt.c: Likewise.
73271         * sunrpc/xdr.c: Likewise.
73272         * sunrpc/xdr_array.c: Likewise.
73273         * sunrpc/xdr_float.c: Likewise.
73274         * sunrpc/xdr_mem.c: Likewise.
73275         * sunrpc/xdr_rec.c: Likewise.
73276         * sunrpc/xdr_ref.c: Likewise.
73277         * sunrpc/xdr_sizeof.c: Likewise.
73278         * sunrpc/xdr_stdio.c: Likewise.
73280         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
73281         handling.
73283 2010-08-19  Andreas Schwab  <schwab@redhat.com>
73285         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
73287 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
73289         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
73290         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
73291         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
73292         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
73293         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
73294         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
73295         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
73296         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
73297         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
73298         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
73299         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
73300         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
73301         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
73302         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
73304 2010-07-26  Anton Blanchard  <anton@samba.org>
73306         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
73307         * malloc/arena.c (heap_trim): Likewise.
73309 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
73311         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
73312         here.  Not...
73313         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
73314         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
73316 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
73318         * sysdeps/i386/elf/Makefile: New file.
73320 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73322         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73323         from fanotify_init.
73324         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73325         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73327 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
73329         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73330         of strncasecmp_l.
73331         * sysdeps/multiarch/strcmp.S: Likewise.
73333 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
73335         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73336         strncase_l-nonascii.
73337         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73338         Add strncase_l-ssse3.
73339         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73340         * sysdeps/x86_64/strcmp.S: Likewise.
73341         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73342         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73343         * sysdeps/x86_64/strncase.S: New file.
73344         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73345         * sysdeps/x86_64/strncase_l.S: New file.
73346         * string/Makefile (strop-tests): Add strncasecmp.
73347         * string/test-strncasecmp.c: New file.
73349         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73350         warning.
73352         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73353         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73355 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73357         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73359 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
73361         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73362         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73363         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73365 2010-05-01  Alan Modra  <amodra@gmail.com>
73367         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
73368         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
73369         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
73370         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
73371         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
73372         tidying.  Don't tail-call __sigjmp_save for static lib.
73373         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
73374         save location.
73375         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
73376         (CALL_MCOUNT): Add eh info, and nop after bl.
73377         (TAIL_CALL_SYSCALL_ERROR): New macro.
73378         (PSEUDO_RET): Use it.
73379         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
73380         Correct save location of integer regs and cr.
73381         (_dl_profile_resolve): Correct cr save location.  Delete nops
73382         after bl when SHARED.  Reduce cfi size a little by better
73383         placement of cfi directives.
73384         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
73385         make a stack frame.  Instead use parm save area as a temp.
73386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
73387         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
73388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
73389         Don't make a stack frame for parent, use parm save area.
73390         Increase child stack frame to 112 bytes.  Don't save unused reg,
73391         and adjust reg usage.  Set up cfi on error recovery and
73392         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
73393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73394         (__makecontext): Add dummy nop after jump to exit.
73395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
73396         Use correct parm save area and cr save, reduce stack frame.
73397         Correct cfi for possible PSEUDO_RET frame setup.
73398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
73399         Branch to local label emitted by PSEUDO_RET rather than
73400         __syscall_error.
73402 2010-08-12  Andreas Schwab  <schwab@redhat.com>
73404         [BZ #11904]
73405         * locale/programs/locale.c (print_assignment): New function.
73406         (show_locale_vars): Use it.
73408 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
73410         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73411         field.
73412         (struct statfs64): Likewise.
73413         (_STATFS_F_FLAGS): Define.
73414         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73415         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73416         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73417         (ST_VALID): Define locally.
73418         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73419         __statvfs_getflags, use the provided value.
73420         * sysdeps/unix/sysv/linux/kernel-features.h: Define
73421         __ASSUME_STATFS_F_FLAGS.
73423         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73425         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73426         Add sys/fanotify.h.
73427         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73428         fanotify_mask for GLIBC_2.13.
73429         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73430         fanotify_init and fanotify_mark.
73431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73432         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73434         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73435         Add prlimit.
73436         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73437         prlimit64 for GLIBC_2.13.
73438         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73439         prlimit64.
73440         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73441         syscall.
73442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73443         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73444         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73445         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73446         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
73447         add prlimit alias.
73448         * sysdeps/unix/sysv/linux/prlimit.c: New file.
73450         [BZ #11903]
73451         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73452         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73454         * nss/Makefile: Add rules to build and run tst-nss-test1.
73455         * shlib-versions: Add entry for libnss_test1.
73456         * nss/nss_test1.c: New file.
73457         * nss/tst-nss-test1.c: New file.
73459         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73460         (__nss_configure_lookup): Set appropriate entry in
73461         __nss_configure_lookup to true.
73462         * nss/nsswitch.h: Define enum with indeces of databases in
73463         databases and __nss_database_custom arrays.  Declare
73464         __nss_database_custom.
73465         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73466         to avoid using nscd when custom rules are installed.
73467         * nss/getXXbyYY_r.c: Likewise.
73468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73470         * nss/nss_files/files-parse.c: Whitespace fixes.
73472 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73474         [BZ #11883]
73475         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73476         * posix/fnmatch_loop.c: Likewise.
73478 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73480         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73481         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73482         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73483         * Versions.def [GLIBC_2.13]: Add.
73485 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73487         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73488         Also fail if tpwd after pwuid call is NULL.
73490 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73492         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73493         when converting to ms.
73495 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73497         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73498         EOPNOTSUPP errors with ENOTTY.
73499         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73500         EOPNOTSUPP errors with ENOTTY.
73502 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73504         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73505         Add strcasecmp_l-ssse3.
73506         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73507         strcasecmp.
73508         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73509         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73510         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73512 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73514         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73516         * string/Makefile (strop-tests): Add strcasecmp.
73517         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73518         strcasecmp_l-nonascii.
73519         (gen-as-const-headers): Add locale-defines.sym.
73520         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73521         * sysdeps/x86_64/strcasecmp.S: New file.
73522         * sysdeps/x86_64/strcasecmp_l.S: New file.
73523         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73524         * sysdeps/x86_64/locale-defines.sym: New file.
73525         * string/test-strcasecmp.c: New file.
73527         * string/test-strcasestr.c: Test both ends of the range of characters.
73528         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73530 2010-07-29  Roland McGrath  <roland@redhat.com>
73532         [BZ #11856]
73533         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73535 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73537         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73538         for ld.so.
73540 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73542         * manual/memory.texi (Malloc Tunable Parameters): Document
73543         M_PERTURB.
73545 2010-07-26  Roland McGrath  <roland@redhat.com>
73547         [BZ #11840]
73548         * configure.in (-fgnu89-inline check): Set and substitute
73549         gnu89_inline, not libc_cv_gnu89_inline.
73550         * configure: Regenerated.
73551         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73553 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73555         * string/test-strnlen.c: New file.
73556         * string/Makefile (strop-tests): Add strnlen.
73557         * string/tester.c (test_strnlen): Add a few more test cases.
73558         * string/tst-strlen.c: Better error reporting.
73560         * sysdeps/x86_64/strnlen.S: New file.
73562 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73564         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73565         lower-latency instructions.
73567 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73569         * string/test-strcasestr.c: New file.
73570         * string/test-strstr.c: New file.
73571         * string/Makefile (strop-tests): Add strstr and strcasestr.
73572         * string/str-two-way.h: Don't undefine MAX.
73573         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73575 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73577         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73578         strcasestr-nonascii.
73579         (CFLAGS-strcasestr-nonascii.c): Define.
73580         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73581         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73582         Remove unused attribute.
73584 2010-07-20  Roland McGrath  <roland@redhat.com>
73586         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73587         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73588         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73589         like LD_HWCAP_MASK can disable hwcaps.
73591 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73593         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73595 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73597         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73598         call in strcasestr.
73599         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73600         __strcasestr_sse42_nonascii.
73601         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73602         strcasestr-nonascii.c.
73603         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73605 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73607         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73608         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73609         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73610         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73612 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73614         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73615         fcntl.
73617 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73619         [BZ #11577]
73620         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73621         dl_signal_cerror.
73623 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73625         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73626         _PC_PIPE_BUF using F_GETPIPE_SZ.
73628 2010-07-05  Roland McGrath  <roland@redhat.com>
73630         * manual/arith.texi (Rounding Functions): Fix rint description
73631         implicit in round description.
73633 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73635         * elf/Makefile: Fix linking for a few tests to make recent linker
73636         happy.
73638 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73640         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73641         $(common-objpfx)libc_nonshared.a.
73643 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73645         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73646         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73647         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73648         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73649         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73650         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73651         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73652         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73667         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73668         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73669         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73670         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73671         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73672         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73673         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73674         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73675         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73676         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73677         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73678         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73694 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73696         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73697         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73698         * string/memmove.c (memmove): Renamed to ...
73699         (MEMMOVE): ...this.  Default to memmove.
73700         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73701         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73702         (END_CHK): Define.
73703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73704         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73705         mempcpy-ssse3-back memmove-ssse3-back.
73706         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73707         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73708         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73709         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73710         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73711         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73712         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73713         * sysdeps/x86_64/multiarch/memmove.c: New file.
73714         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73715         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73716         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73717         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73718         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73719         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73720         Define.
73721         (index_Fast_Copy_Backward): Define.
73722         (HAS_ARCH_FEATURE): Define.
73723         (HAS_FAST_REP_STRING): Define.
73724         (HAS_FAST_COPY_BACKWARD): Define.
73726 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73728         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73729         Restore proper fallback handling.
73731 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73733         [BZ #11701]
73734         * posix/group_member.c (__group_member): Correct checking loop.
73736         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73737         OOM in getpwuid_r correctly.  Return error number when the caller
73738         should return, otherwise -1.
73739         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73740         call returning > 0 value.
73741         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73743 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73745         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73746         libc_nonshared.a from targets in modules-names.
73748 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73750         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73751         requires it.
73753 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73755         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73756         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73757         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73758         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73760 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73762         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73764 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73766         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73767         and F_GETPIPE_SZ.
73768         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73769         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73770         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73771         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73772         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73773         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73775 2010-06-14  Roland McGrath  <roland@redhat.com>
73777         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73779 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73781         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73782         __REDIRECT followed by __THROW.
73783         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73784         * posix/getopt.h (getopt): Likewise.
73786 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73788         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73789         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73790         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73791         in AT_FLAGS.
73792         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73793         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73795 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73797         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73799 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73801         [BZ #11640]
73802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73803         Properly check family and model.
73805 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73807         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73809 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73811         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73813 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73815         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73816         symbol reference.
73818 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73820         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73821         symbol reference.
73823 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73825         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73826         and internal_recvmmsg.
73827         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73828         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73829         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73830         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73832         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73833         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73834         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73836 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73838         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73840 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73842         POWER7 optimizations.
73843         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73844         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73846 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73848         * version.h: Update for 2.13 development version.
73850 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73852         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73853         exceptions.  Return 0.
73855 2010-05-07  Roland McGrath  <roland@redhat.com>
73857         * elf/ldconfig.c (main): Add a const.
73859 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73861         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73862         (args_options): Add no-idn option.
73863         (ahosts_keys_int): Add idn_flags to ai_flags.
73864         (parse_option): Handle 'i' option to clear idn_flags.
73866         * malloc/malloc.c (_int_free): Possible race in the most recently
73867         added check.  Only act on the data if no current modification
73868         happened.
73870 See ChangeLog.17 for earlier changes.