Call x86-64 __mcount_internal/__sigjmp_save directly
[glibc.git] / ChangeLog
blob787fef118f10ef9381d9597a7d7f8fbff4704add
1 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4         __mcount_internal directly.
5         (C_LABEL(__fentry__)): Likewise.
6         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7         directly.
9 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12         (__start_context): Call __setcontext directly.
14 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
19         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
26         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
27         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
28         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
30         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
31         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
33         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
35         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
36         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
37         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
39         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
40         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
41         Remove conditional code.
42         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
43         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
44         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
45         * sysdeps/unix/sysv/linux/sh/kernel-features.h
46         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
47         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
48         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
49         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
50         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
51         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
52         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
55 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
57         * NEWS (2.23): Fix typo in bug 19048 text.
59 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
61         [BZ #14259]
62         * Makeconfig: Rename msgcatdir to localedir.
63         Rename inst_msgcatdir to inst_localedir.
64         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
65         * config.make.in: Add localedir.
66         * elf/Makefile ($(objpfx)sotruss): Use localedir.
67         (ldd-rewrite): Likewise.
68         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
69         (install-others): Use inst_localedir.
70         (CPPFLAGS): Use localedir.
71         * locale/Makefile (locale-CPPFLAGS): Likewise.
72         * po/Makefile (mo-installed): Use inst_localedir.
74         [BZ #19575]
75         * localedata/charmaps/GB18030: Update comments regarding PAU to
76         non-PUA mappings.
78 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
80         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
81         test for header.
82         * sysdeps/unix/sysv/linux/configure: Regenerated.
83         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
84         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
85         Remove conditional code.
86         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
88         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
89         Define to 3.2.0.
90         (arch_minimum_kernel): Likewise.
91         * sysdeps/unix/sysv/linux/configure: Regenerated.
92         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
93         Define to 2.6.32.
94         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
95         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
96         (arch_minimum_kernel): Define to 2.6.32.
97         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
98         * README: Document Linux 3.2 requirement.
99         * manual/install.texi (Linux): Document Linux 3.2 headers
100         requirement.
101         * INSTALL: Regenerated.
103 2016-02-24  Andreas Schwab  <schwab@suse.de>
105         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
106         if !NO_LONG_DOUBLE.
108 2016-02-22  Roland McGrath  <roland@hack.frob.com>
110         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
111         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
113 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
115         [BZ #19512]
116         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
118 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
120         * posix/tst-dir.c: Include libc-internal.h.
122 2016-02-20  Florian Weimer  <fweimer@redhat.com>
124         [BZ #19056]
125         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
126         * manual/filesys.texi (Reading/Closing Directory): Mention
127         deprecaion.
128         * posix/tst-dir.c (main): Disable deprecation warning in test.
130 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
132         [BZ #19679]
133         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
134         Renamed to ...
135         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
136         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
137         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
138         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
139         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
140         * sysdeps/x86_64/dl-trampoline.h
141         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
142         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
144 2016-02-19  Mark Wielaard  <mjw@redhat.com>
146         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
148 2016-02-19  Mark Wielaard  <mjw@redhat.com>
150         * elf/elf.h (R_386_GOT32X): New.
151         (R_386_NUM): Update.
152         (R_X86_64_GOTPCRELX: New.
153         (R_X86_64_REX_GOTPCRELX): New.
154         (R_X86_64_NUM): Update.
156 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
158         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
160 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
162         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
163         assign attr->stackaddr to it, and adjust it down when
164         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
165         [_STACK_GROWS_UP]: Delete assert.
166         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
167         Implement stack grows up logic.
168         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
169         stack grows up logic.
171 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
173         * NEWS: Update with 2.24 template.
175 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
177         [BZ #19678]
178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
179         Ensure +0.0 is returned when taking the next value below the least
180         positive value.
182 2016-02-19  Florian Weimer  <fweimer@redhat.com>
184         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
185         available.  Do not define NO_THREADS.
186         * malloc/malloc.c: Do not check NO_THREADS.
187         * malloc/arena.c: Likewise.
189 2016-02-19  Florian Weimer  <fweimer@redhat.com>
191         * malloc/malloc.c (__libc_mallinfo): Update comment.
192         (struct malloc_par): Remove max_total_mem member, it was always 0.
193         (int_mallinfo): Store 0 into usmblks (no functional change).
194         * malloc/hooks.c (struct malloc_state): Document that
195         max_total_mem is always 0.
196         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
197         always 0.
198         * manual/memory.texi (Statistics of Malloc): Likewise.
200 2016-02-19  Florian Weimer  <fweimer@redhat.com>
202         * malloc/malloc.c (sysmalloc): Do not update arena_max.
203         * malloc/arena.c (arena_max): Remove.
204         (heap_trim, _int_new_arena): Do not update arena_max.
206 2016-02-19  Florian Weimer  <fweimer@redhat.com>
208         * resolv/res_init.c (res_ninit): Update comment.
210 2016-02-19  Florian Weimer  <fweimer@redhat.com>
212         [BZ #19505]
213         * posix/spawn_int.h: Add headers and include guard.
214         (__spawn_valid_fd): New function.
215         * posix/spawn_faction_addopen.c
216         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
217         * posix/spawn_faction_addclose.c
218         (posix_spawn_file_actions_addclose): Likewise.
219         * posix/spawn_faction_adddup2.c
220         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
221         second file descriptor.
222         * posix/spawn_valid_fd.c: New file.
223         * posix/tst-posix_spawn-fd.c: New file.
224         * posix/Makefile (routines): Add spawn_valid_fd.
225         (tests): Add tst-posix_spawn-fd.
227 2016-02-19  Florian Weimer  <fweimer@redhat.com>
229         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
230         (do_test): Limit the number of arenas, so that we can use fewer
231         outer threads.  Limit timeout to 3 seconds, in preparation for a
232         larger TIMEOUT value.
234 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
236         [BZ #19674]
237         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
238         sign in overflowing and underflowing results when overflow or
239         underflow is detected early.  Include sign in result before rather
240         than after scaling.
242         [BZ #19603]
243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
244         (__ieee754_remainderl): Adjust sign of integer version of low part
245         when taking absolute value of high part.
246         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
247         * math/libm-test.inc (remainder_test_data): Add another test.
248         (remquo_test_data): Likewise.
250 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
252         [BZ #19602]
253         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
254         equal high parts and both low parts zero specially.
255         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
256         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
257         Add test-fmodl-ldbl-128ibm.
259         [BZ #19595]
260         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
261         common logic for all cases of shifting subnormal results.  Do not
262         insert sign bit in shifted mantissa.  Always pass -1023 as biased
263         exponent to ldbl_insert_mantissa in subnormal case.
265         [BZ #19594]
266         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
267         on high and low parts then adjust result and use
268         ldbl_canonicalize_int if needed.
270         [BZ #19593]
271         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
272         on high part and __floor or __ceil on low part then use
273         ldbl_canonicalize_int if needed.
275         [BZ #19592]
276         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
277         high and low parts then use ldbl_canonicalize_int if needed.
279         [BZ #17899]
280         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
281         New function.
282         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
283         on high and low parts then use ldbl_canonicalize_int if needed.
285 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
287         * configure: Regenerated.
289         * po/libc.pot: Regenerated.
291         * po/be.po: Updated translation.
292         * po/bg.po: Likewise.
293         * po/ca.po: Likewise.
294         * po/cs.po: Likewise.
295         * po/da.po: Likewise.
296         * po/el.po: Likewise.
297         * po/eo.po: Likewise.
298         * po/es.po: Likewise.
299         * po/fi.po: Likewise.
300         * po/fr.po: Likewise.
301         * po/gl.po: Likewise.
302         * po/hr.po: Likewise.
303         * po/hu.po: Likewise.
304         * po/ia.po: Likewise.
305         * po/id.po: Likewise.
306         * po/it.po: Likewise.
307         * po/ja.po: Likewise.
308         * po/lt.po: Likewise.
309         * po/nb.po: Likewise.
310         * po/nl.po: Likewise.
311         * po/pt_BR.po: Likewise.
312         * po/rw.po: Likewise.
313         * po/sk.po: Likewise.
314         * po/sl.po: Likewise.
315         * po/sv.po: Likewise.
316         * po/tr.po: Likewise.
317         * po/zh_CN.po: Likewise.
318         * po/zh_TW.po: Likewise.
320         * version.h (RELEAES): Set to "development".
321         (VERSION): Set to 2.23.90.
323         * version.h (RELEASE): Set to "stable".
324         (VERSION): Set to 2.23.
325         * include/feature.h (__GLIBC_MINOR__): Set to 23.
327         * NEWS: Updated fixed bugs.
329 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
330             Wilco Dijkstra  <wdijkstr@arm.com>
332         [BZ #19462]
333         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
334         (_STRING_INLINE_unaligned): This.
335         * include/string.h: Include <string_private.h>.
336         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
337         _STRING_INLINE_unaligned.
338         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
339         (_STRING_INLINE_unaligned): New.
340         * sysdeps/aarch64/string_private.h: New file.
341         * sysdeps/generic/string_private.h: Likewise.
342         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
343         * sysdeps/s390/string_private.h: Likewise.
344         * sysdeps/x86/string_private.h: Likewise.
345         * sysdeps/m68k/m680x0/m68020/bits/string.h
346         (_STRING_ARCH_unaligned): Renamed to ...
347         (_STRING_INLINE_unaligned): This.
348         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
349         to ...
350         (_STRING_INLINE_unaligned): This.
351         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
352         to ...
353         (_STRING_INLINE_unaligned): This.
354         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
355         to ...
356         (_STRING_INLINE_unaligned): This.
358 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
359             H.J. Lu  <hongjiu.lu@intel.com>
361         [BZ #19590]
362         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
363         relocation.
365 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
367         [BZ #18665]
368         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
369         *herrno_p.
370         (gaih_getanswer): Document functional behviour. Return tryagain
371         if any result is tryagain.
372         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
373         when freed.
374         * resolv/res_send.c: Add copyright text.
375         (__libc_res_nsend): Document that MAXPACKET is expected.
376         (send_vc): Document. Remove buffer reuse.
377         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
378         size of the buffer. Add Dprint for truncated UDP buffer.
380 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
382         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
383         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
384         * INSTALL: Regenerate.
386 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
387             Jonathan Wakely  <jwakely@redhat.com>
388             Carlos O'Donell  <carlos@redhat.com>
390         [BZ 19439]
391         * math/Makefile (tests): Add test-math-isinff.
392         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
393         * math/bits/mathcalls.h [__USE_MISC]: Use
394         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
395         functions not in C++11 and which don't conflict e.g. isinff,
396         isinfl etc.
397         * math/test-math-isinff.cc: New file.
399 2016-02-12  Florian Weimer  <fweimer@redhat.com>
401         * misc/bug18240.c (do_test): Set RLIMIT_AS.
403 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
405         [BZ #19529]
406         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
408 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
410         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
412 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
414         [BZ #19550]
415         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
416         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
417         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
418         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
419         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
420         New syscall entry.
421         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
422         New syscall entry.
423         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
424         syscall entry.
426 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
428         [BZ #18240]
429         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
430         unsigned int wraparound.
432 2016-01-27  Florian Weimer  <fweimer@redhat.com>
434         [BZ #18240]
435         * misc/bug18240.c: New test.
436         * misc/Makefile (tests): Add it.
438 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
439             Joseph Myers  <joseph@codesourcery.com>
441         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
442         load in branch delay slot when less than a word of input left.
444 2016-01-27  Andreas Schwab  <schwab@suse.de>
446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
447         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
448         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
449         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
451 2016-01-26  David S. Miller  <davem@davemloft.net>
453         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
455 2016-01-25  David S. Miller  <davem@davemloft.net>
457         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
458         __sqrtl_finite.
459         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
460         instead using versioned_symbol.
461         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
462         of entries.
464         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
465         __sqrtl_finite to GLIBC_2.23
467 2016-01-25  Ricchard Henderson  <rth@redhat.com>
469         * sysdeps/alpha/fpu/libm-test-ulps: Update.
471 2016-01-25  Andreas Schwab  <schwab@suse.de>
473         [BZ #17514]
474         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
475         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
476         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
477         * nptl/tst-mutex-errorcheck.c: New file.
479 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
481         [BZ #18560]
482         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
483         (IPCOP_semop): Likewise.
484         (IPCOP_semget): Likewise.
485         (IPCOP_semctl): Likewise.
486         (IPCOP_msgsnd): Likewise.
487         (IPCOP_msgrcv): Likewise.
488         (IPCOP_msgget): Likewise.
489         (IPCOP_msgctl): Likewise.
490         (IPCOP_shmat): Likewise.
491         (IPCOP_shmdt): Likewise.
492         (IPCOP_shmget): Likewise.
493         (IPCOP_shmctl): Likewise.
495 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
497         * string/tst-endian.c: Include <libc-internal.h>.
498         (do_test): Ignore tautological-compare warnings around
499         "htobeXX (beXXtoh (i)) != i" and
500         "htoleXX (leXXtoh (i)) != i" if-statements.
502 2016-01-24  David S. Miller  <davem@davemloft.net>
504         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
505         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
506         alias.
507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
508         __sqrtl_finite.
510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
512 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
514         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
515         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
516         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
518 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
520         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
521         (thread_func): Use new function to simplify barrier check.
522         (do_test): Use new function to simplify checking barrier exit
523         code, and actually join the child thread.
525 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
527         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
528         semicolon.
529         (__libc_tend): Likewise.
530         (__libc_tabort): Likewise.
532 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
534         * sysdeps/nios2/libm-test-ulps: Update.
535         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
536         (__gtsf2): Likewise.
537         (__unorddf2): Likewise.
538         (__unordsf2): Likewise.
539         (__ledf2): Likewise.
541 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
543         * nis/nis_table.c (__follow_path): Disable diagnostic for
544         uninitialized variable that is a false positive for gcc 4.7.
545         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
547 2016-01-20  Roland McGrath  <roland@hack.frob.com>
549         * sysdeps/nacl/lowlevellock-futex.h
550         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
551         Always evaluate PRIVATE argument.
553 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
555         [BZ #19490]
556         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
557         (pthread_cond_broadcast): Use ENTRY/END
558         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
559         (pthread_cond_signal): Likewise
560         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
561         Likewise
562         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
563         Likewise
564         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
565         Likewise
567 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
569         * sysdeps/ieee754/dbl-64/s_finite.c
570         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
571         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
572         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
573         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
574         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
577         (__gtsf2): Add as optional for libc.so.
578         (__unordsf2): Likewise.
579         (__signbit): Remove for libc.so.
580         (__signbitl): Likewise.
582 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
584         * iconvdata/bug-iconv11.c (test_ibm93x):
585         Use %zu printf format specifier for size_t argument.
587 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
589         * math/gen-libm-test.pl (parse_ulps): Do not reduce
590         already-recorded ulps.
591         * sysdeps/arm/libm-test-ulps: Regenerated.
592         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
593         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
594         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
596 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
597             Paul Pluzhnikov  <ppluzhnikov@google.com>
599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
600         assembler not supporting AVX-512.
602 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
604         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
606 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
608         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
609         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
611         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
613         * sysdeps/arm/libm-test-ulps: Regenerated.
615 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
617         [BZ #19451]
618         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
620 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
622         [BZ #19486]
623         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
624         * sysdeps/generic/fix-fp-int-convert-overflow.h
625         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
626         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
627         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
628         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
629         Likewise.
630         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
631         Avoid conversions to long int where inexact exceptions
632         could be raised.
633         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
634         Likewise.
635         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
636         Avoid conversions to long long int where inexact exceptions
637         could be raised.
638         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
639         Likewise.
641 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
643         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
644         * configure: Regenerated.
646 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
648         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
650 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
652         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
653         outside of comment.
655 2016-01-15  Torvald Riegel  <triegel@redhat.com>
657         * nptl/tst-barrier1.c: Add description on first line.
658         * nptl/tst-barrier2.c: Likewise.
659         * nptl/tst-barrier3.c: Likewise.
660         * nptl/tst-barrier4.c: Likewise.
661         * nptl/tst-barrier5.c: Likewise.
663 2016-01-15  Torvald Riegel  <triegel@redhat.com>
665         [BZ #18868]
666         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
668 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
672         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
673         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
674         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
675         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
676         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
677         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
678         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
679         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
680         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
682 2016-01-15  Torvald Riegel  <triegel@redhat.com>
684         [BZ #13065]
685         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
686         new implementation.
687         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
688         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
689         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
690         (BARRIER_IN_THRESHOLD): New macro.
691         * nptl/pthread_barrierattr_setpshared.c
692         (pthread_barrierattr_setpshared): Clean up.
693         * nptl/tst-barrier4.c: Correct comment.
694         * nptl/tst-barrier5.c: New file.
695         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
696         (gen-as-const-headers): Remove lowlevelbarrier.sym.
697         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
698         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
699         * nptl/lowlevelbarrier.sym: Remove.
700         * nptl/DESIGN-barrier.txt: Remove.
701         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
702         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
703         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
704         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
705         error.
706         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
707         implementation.
709 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
711         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
712         (do_child): Mask SIGRTMIN while thr is running.
714 2016-01-15  Martin Sebor  <msebor@redhat.com>
716         [BZ #19432]
717         * iconvdata/Makefile: Add bug-iconv11.
718         * iconvdata/bug-iconv11.c: New test.
719         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
720         * iconvdata/ibm933.c: Same.
721         * iconvdata/ibm935.c: Same.
722         * iconvdata/ibm937.c: Same.
723         * iconvdata/ibm939.c: Same.
725 2016-01-15  Martin Sebor  <msebor@redhat.com>
727         [BZ #19443]
728         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
729         [DEBUG] (_ufc_set_bits): Declare used.
730         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
731         [DEBUG] (print_all): Declare used.
732         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
733         operands of the ternary ?: expression to target type.
734         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
735         calling the undeclared abort.
736         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
738 2016-01-15  Martin Sebor  <msebor@redhat.com>
740         [BZ #18755]
741         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
742         warnings.
743         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
744         (__gai_create_helper_thread): Same.
745         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
746         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
747         to suppress -Wmaybe-uninitialized warnings.
749 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
751         [BZ #19465]
752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
753         inside if.
754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
755         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
758 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
760         [BZ #19466]
761         * time/tst-mktime2.c (time_t_max): Removed.
762         (time_t_min): Likewise.
763         (TYPE_SIGNED): New.
764         (TYPE_MINIMUM): Likewise.
765         (TYPE_MAXIMUM): Likewise.
766         (TIME_T_MIN): Likewise.
767         (TIME_T_MAX): Likewise.
768         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
769         and TIME_T_MIN.
770         (do_test): Likewise.
772 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
774         [BZ #19467]
775         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
776         index_Fast_Unaligned_Load flag for Excavator family CPUs.
778 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
780         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
782 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
784         * benchtests/Makefile (PYTHON): Define.
785         (bench-func): Use $(PYTHON) to run python scripts.
786         ($(objpfx)bench-%.c): Likewise.
788 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
790         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
791         leading slash when `file_name' is "/".
793 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
795         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
796         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
797         Likewise.
798         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
799         Likewise.
800         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
801         Likewise.
802         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
803         enum constant and macro.
804         (PTRACE_SETSIGMASK): Likewise.
805         (PTRACE_SECCOMP_GET_FILTER): Likewise.
806         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
807         (PTRACE_GETSIGMASK): Likewise.
808         (PTRACE_SETSIGMASK): Likewise.
809         (PTRACE_SECCOMP_GET_FILTER): Likewise.
810         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
811         Likewise.
812         (PTRACE_SETSIGMASK): Likewise.
813         (PTRACE_SECCOMP_GET_FILTER): Likewise.
814         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
815         (PTRACE_GETSIGMASK): Likewise.
816         (PTRACE_SETSIGMASK): Likewise.
817         (PTRACE_SECCOMP_GET_FILTER): Likewise.
818         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
819         Likewise.
820         (PTRACE_SETSIGMASK): Likewise.
821         (PTRACE_SECCOMP_GET_FILTER): Likewise.
822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
823         Likewise.
824         (PTRACE_SETSIGMASK): Likewise.
825         (PTRACE_SECCOMP_GET_FILTER): Likewise.
826         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
827         Likewise.
828         (PTRACE_SETSIGMASK): Likewise.
829         (PTRACE_SECCOMP_GET_FILTER): Likewise.
831 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
832             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
834         [BZ #19439]
835         * math/bits/mathcalls.h
836         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
837         prototype.
838         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
840 2016-01-11  Andreas Schwab  <schwab@suse.de>
842         [BZ #19253]
843         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
844         cache when TZDEFRULES was used.
845         * time/tst-tzname.c: New file.
846         * time/Makefile (test): Add tst-tzname.
847         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
848         * timezone/Makefile (test-zones): Add $(posixrules-file).
849         ($(testdata)/$(posixrules-file)): New rule.
851 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
853         Fix doc quoting problems with Texinfo 5
854         Without this change, in the info file output, Texinfo 5 quotes code
855         in text with undirected single quotes 'like this' and generates
856         code examples that with many PDF readers cannot be cut out of PDFs
857         and pasted into code.
858         * manual/libc.texinfo: Configure the libc manual like the GNU
859         Emacs manual, by using @documentencoding and setting
860         txicodequoteundirected and txicodequotebacktick.  This way,
861         Texinfo 5 quotes code in text with directed single quotes ‘like
862         this’ and produces examples that can be cut out of PDFs.  This
863         change causes Texinfo 5 to generate info files that contain UTF-8
864         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
865         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
867 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
869         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
870         __libc_tabort, __libc_tend): New wrappers that enforce compiler
871         barriers to their respective compiler built-ins.
872         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
873         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
874         * sysdeps/powerpc/sysdep.h: Likewise.
875         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
876         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
877         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
879 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
881         * scripts/config.guess: Revert previous shebang change.
882         * scripts/config.sub: Likewise.
883         * scripts/mkinstalldirs: Likewise.
885 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
887         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
888         PPC_FEATURE2_HAS_IEEE128.
889         * sysdeps/powerpc/dl-procinfo.c:
890         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
892 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
894         [BZ #19415]
895         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
896         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
897         (_dl_lookup_address): Rewrite using function resolver trampoline.
898         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
899         two bits in address.
901 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
903         * longlong.h: Change !__SHMEDIA__ to
904         (!defined (__SHMEDIA__) || !__SHMEDIA__).
905         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
907 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
908             Joseph Myers  <joseph@codesourcery.com>
909             Mark Shinwell  <shinwell@codesourcery.com>
910             Andrew Stubbs  <ams@codesourcery.com>
911             Rich Felker <dalias@libc.org>
913         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
915 2016-01-07  Richard Henderson  <rth@redhat.com>
917         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
919 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
921         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
922         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
923         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
924         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
925         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
927 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
928             Joseph Myers  <joseph@codesourcery.com>
930         * timezone/private.h: Update from tzcode 2015g.
931         * timezone/tzfile.h: Likewise.
932         * timezone/tzselect.ksh: Likewise.
933         * timezone/zdump.c: Likewise.
934         * timezone/zic.c: Likewise.
935         * timezone/ialloc.c: Remove file.
936         * timezone/scheck.c: Likewise.
937         * timezone/Makefile (extra-objs): Remove variable.
938         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
939         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
940         -Wno-maybe-uninitialized.
941         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
942         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
943         (CFLAGS-ialloc.c): Remove variable.
944         (CFLAGS-scheck.c): Likewise.
945         * timezone/README: Update list of files from tzcode.
947 2016-01-07  Khem Raj  <raj.khem@gmail.com>
949         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
950         instead of __fxprintf when _LIBC is undefined.
952 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
954         * catgets/test-gencat.sh: Remove space after shebang.
955         * conform/GlibcConform.pm: Likewise.
956         * conform/check-header-lists.sh: Likewise.
957         * conform/conformtest.pl: Likewise.
958         * conform/linknamespace.pl: Likewise.
959         * conform/list-header-symbols.pl: Likewise.
960         * debug/catchsegv.sh: Likewise.
961         * elf/genrtldtbl.awk: Likewise.
962         * elf/tst-pathopt.sh: Likewise.
963         * elf/tst-rtld-load-self.sh: Likewise.
964         * grp/tst_fgetgrent.sh: Likewise.
965         * iconvdata/gen-8bit-gap-1.sh: Likewise.
966         * iconvdata/gen-8bit-gap.sh: Likewise.
967         * iconvdata/gen-8bit.sh: Likewise.
968         * iconvdata/run-iconv-test.sh: Likewise.
969         * intl/tst-gettext.sh: Likewise.
970         * intl/tst-gettext2.sh: Likewise.
971         * intl/tst-gettext4.sh: Likewise.
972         * intl/tst-gettext6.sh: Likewise.
973         * intl/tst-translit.sh: Likewise.
974         * io/ftwtest-sh: Likewise.
975         * libio/test-freopen.sh: Likewise.
976         * locale/gen-translit.pl: Likewise.
977         * malloc/tst-mtrace.sh: Likewise.
978         * manual/check-safety.sh: Likewise.
979         * manual/libc-texinfo.sh: Likewise.
980         * manual/tsort.awk: Likewise.
981         * manual/xtract-typefun.awk: Likewise.
982         * nptl/tst-cancel-wrappers.sh: Likewise.
983         * nptl/tst-tls6.sh: Likewise.
984         * posix/globtest.sh: Likewise.
985         * posix/tst-getconf.sh: Likewise.
986         * posix/wordexp-tst.sh: Likewise.
987         * scripts/check-c++-types.sh: Likewise.
988         * scripts/check-local-headers.sh: Likewise.
989         * scripts/config.guess: Likewise.
990         * scripts/config.sub: Likewise.
991         * scripts/cpp: Likewise.
992         * scripts/cross-test-ssh.sh: Likewise.
993         * scripts/documented.sh: Likewise.
994         * scripts/evaluate-test.sh: Likewise.
995         * scripts/gen-libc-abis: Likewise.
996         * scripts/gen-sorted.awk: Likewise.
997         * scripts/list-fixed-bugs.py: Likewise.
998         * scripts/merge-test-results.sh: Likewise.
999         * scripts/mkinstalldirs: Likewise.
1000         * scripts/rellns-sh: Likewise.
1001         * scripts/test-installation.pl: Likewise.
1002         * scripts/update-copyrights: Likewise.
1003         * stdio-common/tst-printf.sh: Likewise.
1004         * stdio-common/tst-unbputc.sh: Likewise.
1005         * stdlib/tst-fmtmsg.sh: Likewise.
1006         * stdlib/tst-setcontext3.sh: Likewise.
1007         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1008         * sysdeps/unix/make-syscalls.sh: Likewise.
1010 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1012         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1013         asm stw with atomic_exchange_rel.  Add explanatory comment.
1014         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1015         Likewise.
1017 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1019         [BZ #19122]
1020         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1021         * sysdeps/generic/dl-unistd.h: New file.
1022         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1024 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1026          [BZ #19122]
1027          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1028          * sysdeps/generic/dl-mman.h: New file.
1029          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1031 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1033         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1034         trailing whitespace removed.
1035         * scripts/config.guess: Update to version 2016-01-01.
1036         * scripts/config.sub: Update to version 2016-01-01.
1037         * scripts/move-if-change: Update from gnulib.
1039 2016-01-04  Anton Blanchard  <anton@samba.org>
1041         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1042         for array indices.
1043         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1045 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1047         * NEWS: Update copyright dates.
1048         * catgets/gencat.c (print_version): Likewise.
1049         * csu/version.c (banner): Likewise.
1050         * debug/catchsegv.sh: Likewise.
1051         * debug/pcprofiledump.c (print_version): Likewise.
1052         * debug/xtrace.sh (do_version): Likewise.
1053         * elf/ldconfig.c (print_version): Likewise.
1054         * elf/ldd.bash.in: Likewise.
1055         * elf/pldd.c (print_version): Likewise.
1056         * elf/sotruss.sh: Likewise.
1057         * elf/sprof.c (print_version): Likewise.
1058         * iconv/iconv_prog.c (print_version): Likewise.
1059         * iconv/iconvconfig.c (print_version): Likewise.
1060         * locale/programs/locale.c (print_version): Likewise.
1061         * locale/programs/localedef.c (print_version): Likewise.
1062         * login/programs/pt_chown.c (print_version): Likewise.
1063         * malloc/memusage.sh (do_version): Likewise.
1064         * malloc/memusagestat.c (print_version): Likewise.
1065         * malloc/mtrace.pl: Likewise.
1066         * manual/libc.texinfo: Likewise.
1067         * nptl/version.c (banner): Likewise.
1068         * nscd/nscd.c (print_version): Likewise.
1069         * nss/getent.c (print_version): Likewise.
1070         * nss/makedb.c (print_version): Likewise.
1071         * posix/getconf.c (main): Likewise.
1072         * scripts/test-installation.pl: Likewise.
1073         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1075         * All files with FSF copyright notices: Update copyright dates
1076         using scripts/update-copyrights.
1077         * intl/plural.c: Regenerated.
1078         * locale/programs/charmap-kw.h: Likewise.
1079         * locale/programs/locfile-kw.h: Likewise.
1081 2016-01-02  Helge Deller  <deller@gmx.de>
1083         [BZ #19285]
1084         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1085         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1086         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1087         (MADV_xxK_PAGES): Remove.
1089 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1091         [BZ #15421]
1092         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1093         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1094         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1095         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1097 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1099         [BZ #19408]
1100         * sysdeps/unix/sysv/linux/personality.c: New file.
1101         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1102         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1103         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1104         (sysdep_routines): Add personality.
1105         (tests): Add tst-personality.
1106         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1107         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1108         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1109         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1110         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1111         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1112         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1115         Likewise.
1116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1119         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1120         Likewise.
1122 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1124         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1125         (PATH_ARM_SYSTYPE): Remove.
1126         (PATH_CPUINFO): Likewise.
1127         (IO_BASE_FOOTBRIDGE): Likewise.
1128         (IO_SHIFT_FOOTBRIDGE): Likewise.
1129         (struct platform): Likewise.
1130         (init_iosys): Remove compatibility code for 2.4 kernels.
1131         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1133 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1135         * malloc/tst-malloc-thread-fail.c: New file.
1136         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1137         (tst-malloc-thread-fail): Link against libpthread.
1139 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1141         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1142         (get_parser): New function.
1143         (main): New function.
1145 2015-12-29  Rob Wu  <rob@robwu.nl>
1147         [BZ #19369]
1148         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1150 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1152         [BZ #19270]
1153         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1155 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1157         [BZ #15421]
1158         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1160 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1162         [BZ #13690]
1163         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1164         after releasing it.
1165         (__lll_robust_unlock): Likewise.
1166         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1167         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1168         (lll_robust_unlock): Likewise.
1169         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1170         Prevent warnings in callers.
1172 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1174         * malloc/arena.c (list_lock): Update comment.
1176 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1178         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1179         __parse_hwcap_and_convert_at_platform to libc.a.
1181 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1183         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1184         platform and feature support for POWER9.
1185         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1186         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1187         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1188         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1189         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1190         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1191         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1192         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1194 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1196         Harmonize generic stdio-lock support with nptl
1198         This fixes build when _IO_funlockfile is a macro, fixes build where
1199         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1200         stack unwind.
1202         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1203         _IO_release_lock ): Use cleanup attribute on new
1204         _IO_acquire_lock_file variable instead of assuming that
1205         _IO_release_lock will be called.
1206         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1207         _IO_acquire_lock_needs_exceptions_enabled.
1208         (_IO_acquire_lock_clear_flags2): New macro.
1210 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1212         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1214 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1216         [BZ #19182]
1217         * malloc/arena.c (list_lock): Document lock ordering requirements.
1218         (free_list_lock): New lock.
1219         (ptmalloc_lock_all): Comment on free_list_lock.
1220         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1221         (detach_arena): Update comment.  free_list_lock is now needed.
1222         (_int_new_arena): Use free_list_lock around detach_arena call.
1223         Acquire arena lock after list_lock.  Add comment, including FIXME
1224         about incorrect synchronization.
1225         (get_free_list): Switch to free_list_lock.
1226         (reused_arena): Acquire free_list_lock around detach_arena call
1227         and attached threads counter update.  Add two FIXMEs about
1228         incorrect synchronization.
1229         (arena_thread_freeres): Switch to free_list_lock.
1230         * malloc/malloc.c (struct malloc_state): Update comments to
1231         mention free_list_lock.
1233 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1235         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1236         Remove functions.
1237         (sloww, sloww1): Accept argument to offset quadrant.
1238         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1239         quadrant.
1240         (__sin, __cos): Consolidate common code into new functions.
1241         (reduce_sincos_1, do_sincos_1): New functions.
1242         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1244         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1245         code to new functions.
1246         (reduce_sincos_2, do_sincos_2): New functions.
1247         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1249         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1250         common code for sincos.
1251         (__cos) [!IN_SINCOS]: Likewise.
1252         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1253         New function.
1254         (__sincos): Use it.
1256 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
1258         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1259         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1260         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1262 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1264         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1267         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1268         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1269         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1270         index_Prefer_No_VZEROUPPER): New feature.
1271         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1272         Prefer_No_VZEROUPPER for Knights Landing.
1274 015-12-18  Torvald Riegel  <triegel@redhat.com>
1276         * math/atest-exp2.c (mp_exp_m1): Remove.
1278 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1280         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1281         syscalls.
1282         (__SYSCALL0): New macro.
1283         (__SYSCALL1): Likewise.
1284         (__SYSCALL2): Likewise.
1285         (__SYSCALL3): Likewise.
1286         (__SYSCALL4): Likewise.
1287         (__SYSCALL5): Likewise.
1288         (__SYSCALL6): Likewise.
1289         (__SYSCALL_CONCAT_X): Likewise.
1290         (__SYSCALL_CONCAT): Likewise.
1291         (__SYSCALL_DIST): Likewise.
1292         (__SYSCALL_CALL): Likewise.
1294 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
1296         [BZ #19363]
1297         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1299 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1301         [BZ #19375]
1302         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1303         negative subnormals.
1305 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
1307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1308         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1309         (INTERNAL_SYSCALL_NCS): Use it.
1310         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1312 2015-12-16  Florian Weimer  <fweimer@redhat.com>
1314         [BZ #19243]
1315         * malloc/arena.c (get_free_list): Remove assert and adjust
1316         reference count handling.  Add comment about reused_arena
1317         interaction.
1318         (reused_arena): Add comments abount get_free_list interaction.
1319         * malloc/tst-malloc-thread-exit.c: New file.
1320         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1321         (tst-malloc-thread-exit): Link against libpthread.
1323 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1325         [BZ #19367]
1326         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1327         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1328         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1329         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1330         (index_Prefer_MAP_32BIT_EXEC): Likewise.
1332 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
1334         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1335         Silvermont optimizations for Knights Landing.
1337 2015-12-15  Andreas Schwab  <schwab@suse.de>
1339         [BZ #17197]
1340         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1341         immediately after emitting SI.
1342         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1343         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1344         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1345         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1346         * iconvdata/bug-iconv10.c: New file.
1347         * iconvdata/Makefile (tests): Add bug-iconv10.
1348         ($(objpfx)bug-iconv10.out): New rule.
1350 2015-12-15  Florian Weimer  <fweimer@redhat.com>
1352         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1353         aliasing violation.
1355 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
1357         [BZ #18472]
1358         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1359         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1360         conditionals for them.
1361         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1362         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1364         sys/kdaemon.h.
1365         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1366         compat-only syscall, obsoleted in glibc 2.23.
1367         (create_module): Likewise.
1368         (get_kernel_syms): Likewise.
1369         (query_module): Likewise.
1370         (uselib): Likewise.
1371         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1373 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
1375         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1376         <linux/version.h>.
1377         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1378         conditional code.
1379         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1380         and ioshift_name initialization.
1382 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1384         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1385         Fix indentation.
1387 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1389         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1391 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1393         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1395 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1396             Jakub Wilk  <jwilk@debian.org>
1398         [BZ #19347]
1399         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1400         to change the group of the device to the tty group.
1402 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1404         Split large string section; add truncation advice
1405         * manual/examples/strncat.c: Remove.
1406         This example was misleading, as the code would have undefined
1407         behavior if "hello" was longer than SIZE.  Anyway, the manual
1408         shouldn't encourage strncpy+strncat for this sort of thing.
1409         * manual/string.texi (Copying Strings and Arrays): Split into
1410         three sections Copying Strings and Arrays, Concatenating Strings,
1411         and Truncating Strings, as this section was way too long.  All
1412         cross-referenced changed.  Add advice about string-truncation
1413         functions.  Remove misleading strncat example.
1415 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1417         * manual/nss.texi (NSS Modules Interface): Document
1418         NSS_STATUS_NOTFOUND and SUCCESS.
1420 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1422         [BZ 18568]
1423         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1424         201505L, for Unicode 8.
1426 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1428         * locale/C-translit.h: Regenerate.
1430 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1432         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1433         and U+0153.
1435 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1437         [BZ #19351]
1438         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1439         expanding log(1+z), compare z rather than its square with epsilon
1440         to determine when to avoid evaluating the expansion.
1442         [BZ #19350]
1443         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1444         Increase overflow threshold.
1446         [BZ #19349]
1447         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1448         when small.
1450         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1451         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1452         New macro.
1453         [__LINUX_KERNEL_VERSION >= 0x040300]
1454         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1455         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1456         Likewise.
1457         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1458         Likewise.
1459         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1460         Likewise.
1461         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1462         Likewise.
1463         [__LINUX_KERNEL_VERSION >= 0x040300]
1464         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1465         [__LINUX_KERNEL_VERSION >= 0x040300]
1466         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1467         [__LINUX_KERNEL_VERSION >= 0x040300]
1468         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1469         [__LINUX_KERNEL_VERSION >= 0x040300]
1470         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1471         [__LINUX_KERNEL_VERSION >= 0x040300]
1472         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1473         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1474         Likewise.
1475         [__LINUX_KERNEL_VERSION >= 0x040300]
1476         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1478         Likewise.
1479         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1480         Likewise.
1481         [__LINUX_KERNEL_VERSION >= 0x040300]
1482         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1483         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1484         Likewise.
1485         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1486         Likewise.
1487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1488         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1489         Likewise.
1490         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1491         Likewise.
1492         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1493         Likewise.
1494         [__LINUX_KERNEL_VERSION >= 0x040300]
1495         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1497         Likewise.
1498         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1499         Likewise.
1500         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1501         Likewise.
1502         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1503         Likewise.
1504         [__LINUX_KERNEL_VERSION >= 0x040300]
1505         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1506         [__LINUX_KERNEL_VERSION >= 0x040300]
1507         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1508         [__LINUX_KERNEL_VERSION >= 0x040300]
1509         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1510         [__LINUX_KERNEL_VERSION >= 0x040300]
1511         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1512         [__LINUX_KERNEL_VERSION >= 0x040300]
1513         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1514         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1515         Likewise.
1516         [__LINUX_KERNEL_VERSION >= 0x040300]
1517         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1518         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1519         Likewise.
1520         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1521         Likewise.
1522         [__LINUX_KERNEL_VERSION >= 0x040300]
1523         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1524         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1525         Likewise.
1526         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1527         Likewise.
1528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1529         (__ASSUME_SOCKET_SYSCALL): Likewise.
1530         (__ASSUME_BIND_SYSCALL): Likewise.
1531         (__ASSUME_CONNECT_SYSCALL): Likewise.
1532         (__ASSUME_LISTEN_SYSCALL): Likewise.
1533         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1534         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1535         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1536         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1537         (__ASSUME_SEND_SYSCALL): Likewise.
1538         (__ASSUME_SENDTO_SYSCALL): Likewise.
1539         (__ASSUME_RECV_SYSCALL): Likewise.
1540         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1541         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1542         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1543         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1544         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1545         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1546         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1547         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1548         Likewise.
1549         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1550         Likewise.
1551         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1552         Likewise.
1553         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1554         Likewise.
1555         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1556         Likewise.
1557         [__LINUX_KERNEL_VERSION >= 0x020625]
1558         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1559         [__LINUX_KERNEL_VERSION >= 0x020625]
1560         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1561         [__LINUX_KERNEL_VERSION >= 0x020625]
1562         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1563         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1564         Likewise.
1565         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1566         Likewise.
1567         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1568         Likewise.
1569         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1570         Likewise.
1571         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1572         Likewise.
1573         [__LINUX_KERNEL_VERSION >= 0x020625]
1574         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1575         [__LINUX_KERNEL_VERSION >= 0x020625]
1576         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1577         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1578         Likewise.
1579         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1580         Likewise.
1582 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1584         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1585         record the current if the current ABI and CPU support the FP64
1586         extension.
1587         (has-modd-spreg): Define to record the current if the current ABI and
1588         CPU support 32-bit floating point values in odd FPU registers.
1589         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1590         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1591         $(has-modd-spreg) equals yes.
1592         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1593         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1594         $(has-modd-spreg) equal yes.
1596 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1598         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1599         basename.
1601 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1603         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1604         (bench-string): ... here.
1605         (bench): Add bench-string.
1606         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1607         to *-benchset to reflect what they are.
1608         (benchset): Adjust.
1610         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1611         cos-inputs.
1613 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1615         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1616         __attribute__ ((__simd__)) for vector math function declarations.
1618 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1620         Fix typo in strncat, wcsncat manual entries
1621         * manual/string.texi (Copying and Concatenation): Fix typos in
1622         sample implementations of strncat and wcsncat, by having them use
1623         the old value of the destination length, not the new one.
1625 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1627         [BZ #16961]
1628         [BZ #16962]
1629         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1630         string on the stack for strtod.
1631         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1632         a string on the stack for strtof.
1633         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1634         constructing a string on the stack for strtold.
1635         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1636         __strtold_nan to GLIBC_PRIVATE.
1637         * math/test-nan-overflow.c: New file.
1638         * math/test-nan-payload.c: Likewise.
1639         * math/Makefile (tests): Add test-nan-overflow and
1640         test-nan-payload.
1642 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1644         Consistency about byte vs character in string.texi
1645         * manual/string.texi (String and Array Utilities):
1646         Distinguish more carefully among bytes, multibyte characters,
1647         and wide characters.  Use "byte" when talking about C 'char',
1648         to distinguish it more clearly from multibyte characters.
1649         Say "wide character" or "multibyte character" instead of
1650         "character", when a wide or multibyte character is intended.
1651         Similarly for "multibyte string" versus "string".
1652         Define these terms more carefully.
1654 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1656         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1657         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1658         Likewise.
1659         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1660         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1661         * sysdeps/sh/math_private.h: New file.
1662         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1663         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1664         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1665         long double function name.
1666         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1667         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1668         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1670         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1672         Remove __finitel, __isinfl, and __isnanl.
1673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1674         Likewise.
1675         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1677         Remove __finitel.
1678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1679         Likewise.
1680         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1682 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1684         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1685         installed libmvec_nonshared.a.
1687 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1689         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1690         (sysdep_routines): Likewise.
1691         (sysdep-rtld-routines): Likewise.
1692         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1693         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1694         * sysdeps/powerpc/Versions: Added new
1695         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1696         * sysdeps/powerpc/hwcapinfo.c: New file.
1697         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1698         and parse hwcap, hwcap2 and platform number information.
1699         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1700         to store HWCAP+HWCAP2 and platform number.
1701         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1702         for HWCAP+HWCAP2 and platform number in the TCB.
1703         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1704         the HWCAP, HWCAP2 and platform number in the TCB.
1705         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1706         (TLS_INIT_TP): Included calls to add the hwcap and
1707         at_platform values in the TCB in TP initialization.
1708         (TLS_DEFINE_INIT_TP): Likewise.
1709         (THREAD_GET_HWCAP): New macro.
1710         (THREAD_SET_HWCAP): Likewise.
1711         (THREAD_GET_AT_PLATFORM): Likewise.
1712         (THREAD_SET_AT_PLATFORM): Likewise.
1713         * sysdeps/powerpc/powerpc32/dl-machine.h:
1714         (dl_platform_init): New function that calls
1715         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1716         powerpc32.
1717         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1718         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1719         this functionality, static linking case.
1720         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1721         linking case.
1722         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1723         __parse_hwcap_and_convert_at_platform for the static linking case.
1724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1725         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1726         ABI list for GLIBC 2.23.
1727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1728         Likewise.
1729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1730         Likewise.
1732 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1734         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1735         * configure: Regenerate.
1736         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1737         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1739 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1741         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1742         * iconvdata/ibm933.c: Likewise.
1743         * iconvdata/ibm935.c: Likewise.
1744         * iconvdata/ibm937.c: Likewise.
1745         * iconvdata/ibm939.c: Likewise.
1747 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1749         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1750         pthread_join.
1751         * nptl/tst-cancel21.c (tf): Likewise.
1753 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1755         [BZ #19313]
1756         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1757         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1758         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1759         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1760         Likewise.
1761         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1762         Likewise.
1763         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1764         Likewise.
1765         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1766         Likewise.
1767         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1768         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1769         unsigned long int with __CPU_MASK_TYPE.
1771 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1773         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1775 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1777         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1778         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1779         t512.x.
1780         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1782 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1784         [BZ #19214]
1785         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1786         argument to return extended model.  Update family and model
1787         with extended family and model when family == 0x0f.
1788         (init_cpu_features): Updated.
1790 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1792         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1793         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1795         * sysdeps/mach/hurd/mmap64.c: New file.
1797 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1799         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1800         rights for its main user thread in NEWTASK.
1802 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1804         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1805         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1807 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1809         [BZ #14259]
1810         * Makeconfig: Rename localedir to complocaledir.
1811         Rename inst_localedir to inst_complocaledir.
1812         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1813         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1814         * configure.ac: Use libc_cv_complocaledir.
1815         * configure: Regenerate.
1816         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1817         -DCOMPLOCALEDIR.
1818         * locale/findlocale.c: Use COMPLOCALEDIR.
1819         * locale/loadarchive.c: Likewise.
1820         * locale/programs/locale.c: Likewise.
1821         * locale/programs/localedef.c: Likewise.
1822         * locale/programs/locarchive.c: Likewise.
1823         * localedata/Makefile: Use inst_complocaledir.
1824         * sysdeps/gnu/configure: Regenerate.
1825         * sysdeps/hppa/configure: Regenerate.
1826         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1827         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1829         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1830         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1831         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1832         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1834 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1836         [BZ #19058]
1837         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1838         AS_NEEDED.
1839         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1840         workaround.
1841         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1842         libmvec-static-only-routines): Added new file.
1843         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1845 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1847         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1848         of interrupted RPC instead of restoring it.
1850         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1851         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1852         libc_hidden_def.
1853         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1854         into initialized data instead of common. Define rtld_hidden_data_def.
1855         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1856         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1857         libc_hidden_def.
1858         (if_freenameindex): Add libc_hidden_weak.
1859         (if_nameindex): Add libc_hidden_weak.
1860         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1861         __open64.
1862         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1863         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1864         * sysdeps/mach/nanosleep.c: Include <time.h>
1865         (__nanosleep): Rename to __libc_nanosleep.
1866         (__nanosleep): Add weak_alias.
1867         (nanosleep): Update alias.
1869 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1871         * stdlib/strtod_nan.c: New file.
1872         * stdlib/strtod_nan_double.h: Likewise.
1873         * stdlib/strtod_nan_float.h: Likewise.
1874         * stdlib/strtod_nan_main.c: Likewise.
1875         * stdlib/strtod_nan_narrow.h: Likewise.
1876         * stdlib/strtod_nan_wide.h: Likewise.
1877         * stdlib/strtof_nan.c: Likewise.
1878         * stdlib/strtold_nan.c: Likewise.
1879         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1880         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1881         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1882         * wcsmbs/wcstod_nan.c: Likewise.
1883         * wcsmbs/wcstof_nan.c: Likewise.
1884         * wcsmbs/wcstold_nan.c: Likewise.
1885         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1886         strtold_nan.
1887         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1888         wcstof_nan.
1889         * include/stdlib.h (__strtof_nan): Declare and use
1890         libc_hidden_proto.
1891         (__strtod_nan): Likewise.
1892         (__strtold_nan): Likewise.
1893         (__wcstof_nan): Likewise.
1894         (__wcstod_nan): Likewise.
1895         (__wcstold_nan): Likewise.
1896         * include/wchar.h (____wcstoull_l_internal): Declare.
1897         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1898         (____strtoull_l_internal): Remove declaration.
1899         (STRTOF_NAN): Define macro.
1900         (SET_MANTISSA): Remove macro.
1901         (STRTOULL): Likewise.
1902         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1903         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1904         (STRTOF_NAN): Define macro.
1905         (SET_MANTISSA): Remove macro.
1906         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1907         (SET_MANTISSA): Remove macro.
1908         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1909         macro.
1910         (SET_MANTISSA): Remove macro.
1911         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1912         macro.
1913         (SET_MANTISSA): Remove macro.
1914         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1915         (SET_MANTISSA): Remove macro.
1916         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1917         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1918         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1920         [BZ #19266]
1921         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1922         upper case and lower case letters inside NAN(), not using TOLOWER.
1923         * stdlib/tst-strtod-nan-locale-main.c: New file.
1924         * stdlib/tst-strtod-nan-locale.c: Likewise.
1925         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1926         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1927         Depend on $(gen-locales).
1928         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1929         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1930         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1931         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1932         Depend on $(gen-locales).
1933         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1935 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1937         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1939         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1941         __finitel, __isinfl, and __isnanl.
1942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1943         Likewise.
1944         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1946         __finitel.
1947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1948         Likewise.
1949         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1951 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1953         * malloc/memusage.c (me): Remove redundant getenv call.
1955 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1957         [BZ #19143]
1958         [BZ #19164]
1959         * nptl/check-cpuset.h: Remove.
1960         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1961         Remove CPU set size check.
1962         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1963         Likewise.
1964         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1965         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1966         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1967         (__pthread_setaffinity_new): Remove CPU set size check.
1968         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1969         (__kernel_cpumask_size): Remove.
1970         (__sched_setaffinity_new): Remove CPU set size check.
1971         * manual/threads.texi (Default Thread Attributes): Remove stale
1972         reference to check_cpuset_attr, determine_cpumask_size in comment.
1973         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1974         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1975         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1976         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1977         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1978         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1979         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1980         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1981         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1982         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1983         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1984         skeleton test file.
1985         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1986         tst-affinity-pid.
1988 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1990         * scripts/update-abilist.sh: New file.
1991         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1992         * Makerules (update-all-abi-%, update-all-abi)
1993         (subdir_update-all-abi): New targets.
1994         * elf/Makefile (update-all-abi): New target.
1996 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1998         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1999         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2000         (__libc_lock_define_initialized): Use it.
2001         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2002         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2003         * malloc/malloc.c (main_arena): Likewise.
2004         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2005         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2007 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2009         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2010         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2011         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2012         (PTRACE_O_MASK): Update value.
2013         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2014         New value in enum __ptrace_setoptions.
2015         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2016         (PTRACE_O_MASK): Update value.
2017         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2018         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2019         (PTRACE_O_MASK): Update value.
2020         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2021         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2022         (PTRACE_O_MASK): Update value.
2023         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2024         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2025         (PTRACE_O_MASK): Update value.
2026         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2027         New value in enum __ptrace_setoptions.
2028         (PTRACE_O_MASK): Update value.
2029         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2030         New value in enum __ptrace_setoptions.
2031         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2032         (PTRACE_O_MASK): Update value.
2034         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2035         New macro.
2036         (PACKET_AUXDATA): Likewise.
2037         (PACKET_ORIGDEV): Likewise.
2038         (PACKET_VERSION): Likewise.
2039         (PACKET_HDRLEN): Likewise.
2040         (PACKET_RESERVE): Likewise.
2041         (PACKET_TX_RING): Likewise.
2042         (PACKET_LOSS): Likewise.
2043         (PACKET_VNET_HDR): Likewise.
2044         (PACKET_TX_TIMESTAMP): Likewise.
2045         (PACKET_TIMESTAMP): Likewise.
2046         (PACKET_FANOUT): Likewise.
2047         (PACKET_TX_HAS_OFF): Likewise.
2048         (PACKET_QDISC_BYPASS): Likewise.
2049         (PACKET_ROLLOVER_STATS): Likewise.
2050         (PACKET_FANOUT_DATA): Likewise.
2051         (PACKET_MR_UNICAST): Likewise.
2053         [BZ #19242]
2054         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2055         (TOUPPER): Likewise.
2056         * stdlib/tst-strtol-locale-main.c: New file.
2057         * stdlib/tst-strtol-locale.c: Likewise.
2058         * stdlib/Makefile (tests): Add tst-strtol-locale.
2059         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2060         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2061         Depend on $(gen-locales).
2062         * wcsmbs/tst-wcstol-locale.c: New file.
2063         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2064         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2065         tr_TR.ISO-8859-9.
2066         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2067         Depend on $(gen-locales).
2069 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2071         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2072         __glibc_likely instead of __builtin_expect.  After falling back to
2073         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2074         system interface to register the code pages as occupied.
2076 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2078         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2079         [!ARM_MATH_PRIVATE_H].
2080         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2081         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2082         [!HPPA_MATH_PRIVATE_H].
2083         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2084         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2085         to [!I386_MATH_PRIVATE_H].
2086         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2087         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2088         Change guard to [!M68K_MATH_PRIVATE_H].
2089         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2090         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2091         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2092         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2093         macro.
2094         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2095         [!MIPS_MATH_PRIVATE_H].
2096         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2097         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2098         [!NIO2_MATH_PRIVATE_H].
2099         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2100         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2101         [!TILE_MATH_PRIVATE_H].
2102         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2104         [BZ #15421]
2105         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2106         initialize with 0 and define as weak alias of __signgam.
2107         * include/math.h [!_ISOMAC] (__signgam): Declare.
2108         * math/Makefile (libm-calls): Add w_lgamma_compat.
2109         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2110         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2111         test-signgam-ullong-init.
2112         (tests-static): Add test-signgam-uchar-static,
2113         test-signgam-uchar-init-static, test-signgam-uint-static,
2114         test-signgam-uint-init-static, test-signgam-ullong-static and
2115         test-signgam-ullong-init-static.
2116         (CFLAGS-test-signgam-uchar.c): New variable.
2117         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2118         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2119         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2120         (CFLAGS-test-signgam-uint.c): Likewise.
2121         (CFLAGS-test-signgam-uint-init.c): Likewise.
2122         (CFLAGS-test-signgam-uint-static.c): Likewise.
2123         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2124         (CFLAGS-test-signgam-ullong.c): Likewise.
2125         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2126         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2127         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2128         * math/Versions (libm): Add GLIBC_2.23.
2129         * math/lgamma-compat.h: New file.
2130         * math/test-signgam-main.c: Likewise.
2131         * math/test-signgam-uchar-init-static.c: Likewise.
2132         * math/test-signgam-uchar-init.c: Likewise.
2133         * math/test-signgam-uchar-static.c: Likewise.
2134         * math/test-signgam-uchar.c: Likewise.
2135         * math/test-signgam-uint-init-static.c: Likewise.
2136         * math/test-signgam-uint-init.c: Likewise.
2137         * math/test-signgam-uint-static.c: Likewise.
2138         * math/test-signgam-uint.c: Likewise.
2139         * math/test-signgam-ullong-init-static.c: Likewise.
2140         * math/test-signgam-ullong-init.c: Likewise.
2141         * math/test-signgam-ullong-static.c: Likewise.
2142         * math/test-signgam-ullong.c: Likewise.
2143         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2144         wrapper of w_lgamma_main.c.
2145         * math/w_lgamma_compat.c: New file.
2146         * math/w_lgamma_compatf.c: Likewise.
2147         * math/w_lgamma_compatl.c: Likewise.
2148         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2149         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2150         defining compatibility symbols.
2151         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2152         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2153         wrapper of w_lgammaf_main.c.
2154         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2155         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2156         defining compatibility symbols.
2157         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2158         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2159         wrapper of w_lgammal_main.c.
2160         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2161         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2162         defining compatibility symbols.
2163         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2164         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2165         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2166         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2167         <lgamma-compat.h>.
2168         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2169         (__ieee754_gamma): Define as alias.
2170         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2171         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2172         <lgamma-compat.h>.
2173         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2174         (__ieee754_gammaf): Define as alias.
2175         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2176         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2177         <lgamma-compat.h>.
2178         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2179         (__ieee754_gammal): Define as alias.
2180         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2181         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2182         <math/w_lgamma_compat.c>.
2183         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2184         Define as alias of __lgamma_compat and use in defining lgammal.
2185         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2186         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2187         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2188         (USE_AS_COMPAT): New macro.
2189         (LGAMMA_OLD_VER): Undefine and redefine.
2190         (lgammal): Do not define here.
2191         (gammal): Only define here if [GAMMA_ALIAS].
2192         * conform/linknamespace.pl (@whitelist): Remove signgam.
2193         * sysdeps/nacl/libm.abilist: Update.
2194         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2196         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2205         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2207         Likewise.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2209         Likewise.
2210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2211         Likewise.
2212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2213         Likewise.
2214         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2215         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2216         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2217         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2218         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2220         Likewise.
2221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2222         Likewise.
2223         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2224         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2225         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2227 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2229         [BZ #16364]
2230         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2231         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2233 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2235         * sysdeps/s390/fpu/bits/mathinline.h:
2236         Use __asm__ [__volatile__] instead of asm [volatile].
2237         * sysdeps/s390/abort-instr.h: Likewise.
2238         * sysdeps/s390/atomic-machine.h: Likewise.
2239         * sysdeps/s390/bits/string.h: Likewise.
2240         * sysdeps/s390/dl-tls.h: Likewise.
2241         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2242         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2243         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2244         * sysdeps/s390/fpu/fesetround.c: Likewise.
2245         * sysdeps/s390/fpu/fpu_control.h: Likewise.
2246         * sysdeps/s390/fpu/s_fma.c: Likewise.
2247         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2248         * sysdeps/s390/memusage.h: Likewise.
2249         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2250         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2251         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2252         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2253         * sysdeps/s390/nptl/tls.h: Likewise.
2254         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2255         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2256         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2257         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2258         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2259         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2260         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2261         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2262         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2263         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2264         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2265         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2266         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2267         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2268         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2269         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2270         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2271         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2272         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2274         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2275         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2276         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2278 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2279             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2281         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2282         Add lwarx hint, and use macro for acquire instruction.
2283         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2284         Likewise.
2285         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2286         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2287         update to use new atomic macros.
2289 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2291         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2292         (__lll_trylock_elision): Fix setting of adapt_count.
2293         * sysdeps/unix/sysv/linux/powerpc/htm.h
2294         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2295         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2296         (_ABORT_SYSCALL): Renumber, and clarify definition.
2297         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2299 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2301         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2302         after system headers to prevent MIN/MAX redefinition.  Define
2303         HAVE_ALLOCA to preserve builtin alloca usage.
2305 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2307         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2308         static and don't set or restore rounding.
2309         (__cos)[IN_SINCOS]: Likewise.
2310         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2311         (__sincos): Set and restore rounding mode.  Remove check for infinite
2312         or NaN input.
2314         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2316         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2317         as used.
2319 2015-11-16  Florian Weimer  <fweimer@redhat.com>
2321         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2323 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2325         * config.make.in (have-glob-dat-reloc): New.
2326         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
2327         target supports GLOB_DAT relocaton. AC_SUBST.
2328         * configure: Regenerated.
2329         * elf/Makefile (tests): Add tst-prelink.
2330         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2331         (tst-prelink-ENV): New.
2332         ($(objpfx)tst-prelink-conflict.out): Likewise.
2333         ($(objpfx)tst-prelink-cmp.out): Likewise.
2334         * sysdeps/x86/tst-prelink.c: Moved to ...
2335         * elf/tst-prelink.c: Here.
2336         * sysdeps/x86/tst-prelink.exp: Moved to ...
2337         * elf/tst-prelink.exp: Here.
2338         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2339         (tst-prelink-ENV): Removed.
2340         ($(objpfx)tst-prelink-conflict.out): Likewise.
2341         ($(objpfx)tst-prelink-cmp.out): Likewise.
2342         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2344 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
2346         [BZ #14551]
2347         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2348         (__mpn_construct_long_double): If high part overflows to infinity,
2349         set errno and recompute overflowed result of the correct sign.
2350         * sysdeps/ieee754/ldbl-128ibm/Makefile
2351         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2352         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2353         $(libm).
2354         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2356 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
2358         [BZ #15479]
2359         [BZ #19238]
2360         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2361         floating-point state after first operation on input.  Restore full
2362         state rather than just rounding mode.
2363         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2364         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2365         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2367         [BZ #19235]
2368         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2369         add 0.5 to integer arguments.
2370         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2371         Likewise.
2372         (.LC2): New object.
2374 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
2376         * scripts/pylintrc (reports): Set to no.
2378 2015-11-10  Roland McGrath  <roland@hack.frob.com>
2380         * elf/dl-load.c (open_verify): Take new argument FD.
2381         Skip __open call if passed FD is not -1.
2382         (_dl_map_object, open_path): Update callers.
2383         * elf/dl-sysdep-open.h: New file.
2384         * elf/dl-load.c: Include it.
2385         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2386         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2387         * sysdeps/nacl/dl-sysdep-open.h: New file.
2388         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2389         from libc to rtld.
2391 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2393         [BZ #19228]
2394         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2395         and restore full floating-point state.
2396         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2397         Likewise.
2398         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2399         Likewise.
2400         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2401         Likewise.
2402         * math/test-nearbyint-except-2.c: New file.
2403         * math/Makefile (tests): Add test-nearbyint-except-2.
2405 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2407         [BZ #19178]
2408         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2409         (tst-prelink-ENV): New.
2410         ($(objpfx)tst-prelink-conflict.out): Likewise.
2411         ($(objpfx)tst-prelink-cmp.out): Likewise.
2412         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2413         * sysdeps/x86/tst-prelink.c: New file.
2414         * sysdeps/x86/tst-prelink.exp: Likewise.
2416 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2418         * math/auto-libm-test-in: Add another test of pow.
2419         * math/auto-libm-test-out: Regenerated.
2420         * math/libm-test.inc (pow_test_data): Add another test.
2422 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2424         [BZ #19219]
2425         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2426         weak_alias to nearbyintl.
2428 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2430         * sysdeps/aarch64/bits/string.h: New file.
2431         (_STRING_ARCH_unaligned): Define.
2433 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2435         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2436         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2437         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2438         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2441 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2443         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2444         for original name of the DSO.  Add it to the name list of the DSO
2445         if it is actually given.
2446         (_dl_map_object): Keep track of whether an audit module rewrote
2447         the file name.  If yes, pass the original name to
2448         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2449         debugging is enabled, log the change of the file name.
2450         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2451         _dl_map_object_from_fd.
2452         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2453         * elf/tst-audit11.c: New file
2454         * elf/tst-auditmod11.c: New file.
2455         * elf/tst-audit11mod1.c: New file.
2456         * elf/tst-audit11mod2.c: New file.
2457         * elf/tst-audit11mod2.map: New file.
2458         * elf/tst-audit12.c: New file
2459         * elf/tst-auditmod12.c: New file.
2460         * elf/tst-audit12mod1.c: New file.
2461         * elf/tst-audit12mod2.c: New file.
2462         * elf/tst-audit12mod2.map: New file.
2463         * elf/tst-audit12mod3.c: New file.
2465 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2467         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2468         Don't create weak aliases,
2469         because versioned symbols are created later.
2470         * sysdeps/s390/s390-32/setjmp.S
2471         (setjmp, _setjmp): Remove weak and rename to an unique name
2472         in SHARED case due to existing versioned symbols.
2473         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2474         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2475         (getcontext): Create weak alias only in non SHARED case.
2476         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2478 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2480         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2481         (__ASSUME_*_SYSCALL) Define new macros.
2482         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2483         Remove socketcall syscalls.
2484         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2485         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2486         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2487         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2488         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2489         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2491 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2493         [BZ #12926]
2494         Terminate process on invalid netlink response.
2495         * sysdeps/unix/sysv/linux/netlinkaccess.h
2496         (__netlink_assert_response): Declare.
2497         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2498         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2499         (sysdep_routines): Add netlink_assert_response.
2500         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2501         __netlink_assert_response.
2502         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2503         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2504         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2505         __netlink_assert_response.
2507 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2509         [BZ #19178]
2510         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2511         (RTYPE_CLASS_PLT): Likewise.
2512         (RTYPE_CLASS_COPY): Likewise.
2513         (RTYPE_CLASS_TLS): Likewise.
2514         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2515         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2516         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2517         DL_DEBUG_PRELINK.
2519 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2521         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2522         calls with argument -0.5.
2523         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2525         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2526         (libc_cv_z_nodlopen): Likewise.
2527         (libc_cv_z_initfirst): Likewise.
2528         * configure: Regenerated.
2530 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2532         Simplify abilist format to be line-based.
2533         * scripts/abilist.awk: Collect descriptors in the descs variable.
2534         (emit): Write descs variable and sort it
2535         externally, with sort.
2536         * sysdeps/**/*.abilist: Convert to new format.
2538 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2540         [BZ #11460]
2541         * io/Makefile (routines): Add fts64.
2542         (tests): Add tst-fts and tst-fts-lfs.
2543         (CFLAGS-fts64.c): New.
2544         * io/Versions (GLIBC_2.23): New.
2545         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2546         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2547         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2548         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2549         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2550         (FTSENT64): Likewise.
2551         (fts64_children): Likewise.
2552         (fts64_close): Likewise.
2553         (fts64_open): Likewise.
2554         (fts64_read): Likewise.
2555         (fts64_set): Likewise.
2556         * io/fts64.c: New file.
2557         * io/tst-fts.c: New test.
2558         * io/tst-fts-lfs.c: Likewise.
2559         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2560         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2561         fts64_set.
2562         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2568         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2571         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2572         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2573         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2574         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2576         Likewise.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2578         Likewise.
2579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2581         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2582         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2583         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2584         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2588         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2589         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2590         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2591         * sysdeps/wordsize-64/fts.c: New file.
2592         * sysdeps/wordsize-64/fts64.c: Likewise.
2593         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2594         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2595         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2596         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2598 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2600         * math/libm-test.inc (NON_FINITE): New macro.
2601         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2602         * math/gen-libm-test.pl (show_exceptions): Add argument
2603         $non_finite.
2604         (parse_args): Update call to show_exceptions.
2605         * math/test-math-finite.h: New file.
2606         * math/test-math-no-finite.h: Likewise.
2607         * math/test-double-finite.c: Likewise.
2608         * math/test-float-finite.c: Likewise.
2609         * math/test-ldouble-finite.c: Likewise.
2610         * math/test-double.c: Include "test-math-no-finite.h".
2611         * math/test-float.c: Include "test-math-no-finite.h".
2612         * math/test-ldouble.c: Include "test-math-no-finite.h".
2613         * math/test-math-inline.h (TEST_FINITE): New macro.
2614         * math/test-math-vector.h (TEST_FINITE): Likewise.
2615         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2616         (libm-tests): Add test-float-finite and test-double-finite.
2617         ($(objpfx)test-float-finite.o): New dependency on
2618         $(objpfx)libm-test.stmp.
2619         ($(objpfx)test-double-finite.o): Likewise.
2620         ($(objpfx)test-ldouble-finite.o): Likewise.
2621         (libm-test-no-inline-cflags): New variable.
2622         (libm-test-finite-cflags): Likewise.
2623         (CFLAGS-test-float-finite.c): Likewise.
2624         (CFLAGS-test-double-finite.c): Likewise.
2625         (CFLAGS-test-ldouble-finite.c): Likewise.
2626         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2627         (CFLAGS-test-double.c): Likewise.
2628         (CFLAGS-test-ldouble.c): Likewise.
2630 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2632         * io/fcntl.c (__fcntl): Add ... to prototype.
2633         * misc/ioctl.c (__ioctl): Likewise.
2634         * misc/syscall.c (syscall): Likewise.
2636 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2638         * scripts/list-fixed-bugs.py: New file.
2640         [BZ #19213]
2641         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2642         returned for argument 1.
2643         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2644         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2645         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2646         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2647         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2648         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2650         [BZ #19211]
2651         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2652         __USE_XOPEN], not if [!__USE_ISOC99].
2653         (lgammaf): Likewise.
2654         (lgammal): Likewise.
2655         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2656         (gammaf): Likewise.
2657         (gammal): Likewise.
2658         * math/test-signgam-finite-c11.c: New file.
2659         * math/test-signgam-finite-c99.c: Likewise.
2660         * math/test-signgam-finite.c: Likewise.
2661         * math/Makefile (tests): Add test-signgam-finite,
2662         test-signgam-finite-c99 and test-signgam-finite-c11.
2663         (CFLAGS-test-signgam-finite.c): New variable.
2664         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2665         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2667         [BZ #19212]
2668         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2669         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2670         500].
2671         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2672         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2673         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2674         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2675         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2676         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2677         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2678         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2679         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2680         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2682         [BZ #19209]
2683         * math/bits/math-finite.h (ldexp): Remove declaration.
2684         (ldexpf): Likewise.
2685         (ldexpl): Likewise.
2687         [BZ #19205]
2688         * math/bits/math-finite.h (acosf): Condition declaration on
2689         [__USE_ISOC99].
2690         (acosl): Likewise.
2691         (acoshf): Likewise.
2692         (acoshl): Likewise.
2693         (asinf): Likewise.
2694         (asinl): Likewise.
2695         (atan2f): Likewise.
2696         (atan2l): Likewise.
2697         (atanhf): Likewise.
2698         (atanhl): Likewise.
2699         (coshf): Likewise.
2700         (coshl): Likewise.
2701         (expf): Likewise.
2702         (expl): Likewise.
2703         (fmodf): Likewise.
2704         (fmodl): Likewise.
2705         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2706         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2707         (j0l): Likewise.
2708         (y0f): Likewise.
2709         (y0l): Likewise.
2710         (j1f): Likewise.
2711         (j1l): Likewise.
2712         (y1f): Likewise.
2713         (y1l): Likewise.
2714         (jnf): Likewise.
2715         (jnl): Likewise.
2716         (ynf): Likewise.
2717         (ynl): Likewise.
2718         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2719         (lgammal_r): Likewise.
2720         (__lgamma_r_finite): New declaration.
2721         (__lgammaf_r_finite): Likewise.
2722         (__lgammal_r_finite): Likewise.
2723         (lgamma): Use __lgamma_r_finite.
2724         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2725         __lgammaf_r_finite.
2726         (lgammal): Condition definition on [__USE_ISOC99].  Use
2727         __lgammal_r_finite.
2728         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2729         __lgamma_r_finite.
2730         (gammaf): Condition definition on [__USE_ISOC99].  Use
2731         __lgammaf_r_finite.
2732         (gammal): Condition definition on [__USE_ISOC99].  Use
2733         __lgammal_r_finite.
2734         (logf): Condition declaration on [__USE_ISOC99].
2735         (logl): Likewise.
2736         (log10f): Likewise.
2737         (log10l): Likewise.
2738         (ldexpf): Likewise.
2739         (ldexpl): Likewise.
2740         (powf): Likewise.
2741         (powl): Likewise.
2742         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2743         __USE_ISOC99].
2744         (remainderf): Condition declaration on [__USE_ISOC99].
2745         (remainderl): Likewise.
2746         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2747         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2748         (scalbl): Likewise.
2749         (sinhf): Condition declaration on [__USE_ISOC99].
2750         (sinhl): Likewise.
2751         (sqrtf): Likewise.
2752         (sqrtl): Likewise.
2754 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2756         * sysdeps/arm/atomic-machine.h
2757         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2758         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2759         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2760         Remove conditional code.
2761         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2762         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2763         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2764         Change conditional to [__ASSEMBLER__].
2765         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2766         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2767         [!__ASSEMBLER__].
2768         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2769         code.
2770         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2771         conditional macro definitions.
2772         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2773         (__arch_compare_and_exchange_val_16_acq): Likewise.
2774         (__arch_compare_and_exchange_val_32_acq): Likewise.
2775         (atomic_exchange_and_add): Likewise.
2776         (atomic_add): Likewise.
2777         (atomic_add_negative): Likewise.
2778         (atomic_add_zero): Likewise.
2779         (atomic_bit_set): Likewise.
2780         (atomic_bit_test_set): Likewise.
2781         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2782         code unconditional.
2783         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2785         * math/test-math-errno.h: New file.
2786         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2787         empty.
2788         (TEST_ERRNO): New macro.
2789         (TEST_EXCEPTIONS): Likewise.
2790         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2791         (TEST_EXCEPTIONS): Likewise.
2792         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2793         * math/test-double.c: Include "test-math-errno.h".
2794         * math/test-float.c: Likewise.
2795         * math/test-ldouble.c: Likewise.
2796         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2797         code unconditional.
2798         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2799         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2800         unconditional.
2801         (test_errno): Only run code if TEST_ERRNO.
2802         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2804 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2806         * nptl/tst-once5.cc: Remove attribution.
2808 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2810         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2811         sqrt, tan, tanh, y0, y1 and yn.
2812         * math/auto-libm-test-out: Regenerated.
2813         * math/libm-test.inc (scalb_test_data): Add more tests.
2814         (scalbn_test_data): Likewise.
2815         (scalbln_test_data): Likewise.
2816         (signbit_test_data): Likewise.
2817         (sin_test_data): Likewise.
2818         (sincos_test_data): Likewise.
2819         (sinh_test_data): Likewise.
2820         (sqrt_test_data): Likewise.
2821         (tan_test_data): Likewise.
2822         (tanh_test_data): Likewise.
2823         (tgamma_test_data): Likewise.
2824         (y0_test_data): Likewise.
2825         (y1_test_data): Likewise.
2826         (yn_test_data): Likewise.
2827         (significand_test_data): Likewise.
2828         * sysdeps/i386/fpu/libm-test-ulps: Update.
2830 2015-11-03  David Kastrup  <dak@gnu.org>
2832         [BZ #18604]
2833         * assert/assert.h (assert): Don't macro-expand failed assertion
2834         expression in error message.
2835         * malloc/malloc.c (assert): Likewise.
2837 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2839         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2840         test.
2841         * configure: Regenerated.
2843 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2845         * math/libm-test.inc (modf_test_data): Add more tests.
2846         (nearbyint_test_data): Likewise.
2847         (nextafter_test_data): Likewise.
2848         (nexttoward_test_data): Likewise.
2849         (pow_test_data): Likewise.
2850         (remainder_test_data): Likewise.
2851         (remquo_test_data): Likewise.
2852         (rint_test_data): Likewise.
2854         [BZ #19201]
2855         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2856         Check for zero remainder in case of large exponents and ensure
2857         correct sign of result in that case.
2858         * math/libm-test.inc (remainder_test_data): Add more tests.
2860         [BZ #6799]
2861         * math/s_nextafter.c: Include <errno.h>.
2862         (__nextafter): Set errno on overflow and underflow.
2863         * math/s_nexttowardf.c: Include <errno.h>.
2864         (__nexttowardf): Set errno on overflow and underflow.
2865         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2866         (__nextafterl): Set errno on overflow and underflow.
2867         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2868         (__nexttoward): Set errno on overflow and underflow.
2869         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2870         (__nexttowardf): Set errno on overflow and underflow.
2871         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2872         (__nextafterf): Set errno on overflow and underflow.
2873         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2874         (__nextafterl): Set errno on overflow and underflow.
2875         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2876         (__nexttoward): Set errno on overflow and underflow.
2877         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2878         (__nexttowardf): Set errno on overflow and underflow.
2879         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2880         (__nextafterl): Set errno on overflow and underflow.
2881         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2882         (__nexttoward): Set errno on overflow and underflow.
2883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2884         (__nexttowardf): Set errno on overflow and underflow.
2885         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2886         (__nexttoward): Set errno on overflow and underflow.
2887         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2888         (__nexttowardf): Set errno on overflow and underflow.
2889         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2890         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2891         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2892         (__nextafterl): Set errno on overflow and underflow.
2893         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2894         setting to be missing on overflow.  Add more tests.
2895         (nexttoward_test_data): Likewise.
2897         * configure.ac (libc_cv_initfini_array): Remove configure test.
2898         * configure: Regenerated.
2900 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2902         [BZ #19189]
2903         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2904         non-finite argument handle arguments with negative sign.
2906         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2907         result from infinite argument.
2908         (j1_test_data): Likewise.
2909         (jn_test_data): Likewise.
2910         (y0_test_data): Likewise.
2911         (y1_test_data): Likewise.
2912         (yn_test_data): Likewise.
2914         [BZ #16171]
2915         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2916         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2917         * math/w_remainderf.c (dremf): Define as weak alias of
2918         __remainderf.
2919         * math/w_remainderl.c (dreml): Define as weak alias of
2920         __remainderl.
2921         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2922         __remainder.
2923         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2924         __remainderf.
2925         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2926         __remainderl.
2927         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2928         weak alias of remainderl.
2929         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2930         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2931         alias of __remainder.
2932         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2933         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2934         strong alias of __remainderl.
2935         (dreml): Use long_double_symbol.
2936         * math/Makefile (libm-calls): Remove w_drem.
2937         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2938         (CFLAGS-nldbl-drem.c): Remove variable.
2939         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2940         * math/w_drem.c: Remove file.
2941         * math/w_dremf.c: Likewise.
2942         * math/w_dreml.c: Likewise.
2943         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2944         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2945         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2947         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2948         * sysdeps/i386/configure: Regenerated.
2949         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2950         * sysdeps/x86_64/configure: Regenerated.
2952         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2953         test.
2954         (libc_cv_visibility_attribute): Likewise.
2955         (libc_cv_protected_data): Test unconditionally.
2956         (libc_cv_broken_visibility_attribute): Remove configure test.
2957         (libc_cv_have_sdata_section): Test unconditionally.
2958         * configure: Regenerated.
2960         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2961         * include/scratch_buffer.h: Include <stddef.h> instead of
2962         <libc-internal.h>.
2963         (struct scratch_buffer): Use max_align_t instead of
2964         libc_max_align_t.
2966 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2968         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2969         instead of extend_alloca.  Change control flow to avoid a goto.
2970         Remove assert which is trivially always true.
2972 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2974         [BZ #16068]
2975         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2976         (FE_ALL_EXCEPT_X86): New macro.
2977         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2978         FE_ALL_EXCEPT.  Ensure precision control is included in
2979         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2980         handle "denormal operand exception" and clear FZ and DAZ bits.
2981         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2982         (FE_ALL_EXCEPT_X86): New macro.
2983         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2984         FE_ALL_EXCEPT.  Ensure precision control is included in
2985         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2986         handle "denormal operand exception" and clear FZ and DAZ bits.
2987         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2988         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2989         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2990         test-fenv-x87 and test-fenv-sse-2.
2991         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2993         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2994         * math/test-double.h (BUILD_COMPLEX): New macro.
2995         * math/test-float.h (BUILD_COMPLEX): Likewise.
2996         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2998         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2999         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3000         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3002         instead of DBL_DENORM_MIN in comment.
3003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3004         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3005         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3006         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3007         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3008         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3010 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3012         [BZ# 19048]
3013         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3014         attached_threads member.
3015         (main_arena): Initialize attached_threads.
3016         * malloc/arena.c (list_lock): Update comment.
3017         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3018         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3019         (deattach_arena): New function.
3020         (_int_new_arena): Initialize arena reference count and deattach
3021         replaced arena.
3022         (get_free_list, reused_arena): Update reference count and deattach
3023         replaced arena.
3024         (arena_thread_freeres): Update arena reference count and only put
3025         unreferenced arenas on the free list.
3027 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3029         [BZ #19181]
3030         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3031         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3032         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3033         * math/test-fenv-clear-main.c: New file.
3034         * math/test-fenv-clear.c: Likewise.
3035         * math/Makefile (tests): Add test-fenv-clear.
3036         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3037         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3038         test-fenv-clear-sse.
3039         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3041         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3042         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3043         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3045 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3047         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3048         static libc.
3050 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3052         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3053         test.
3054         * sysdeps/i386/configure: Regenerated.
3055         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3056         test.
3057         * sysdeps/x86_64/configure: Regenerated.
3058         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3060         memset-avx2 unconditionally instead of conditionally on
3061         [$(config-cflags-avx2) = yes].
3062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3063         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3064         unconditional.
3065         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3066         * sysdeps/x86_64/multiarch/memset_chk.S
3067         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3068         to [IS_IN (libc) && SHARED].
3070 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3072         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3073         configure test.
3074         * sysdeps/arm/configure: Regenerated.
3075         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3076         Define variable if not already defined.
3078         [BZ #17404]
3079         * sysdeps/mips/atomic-machine.h
3080         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3081         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3082         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3084         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3085         unconditional.
3086         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3087         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3088         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3089         unconditional.
3090         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3091         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3092         unconditional.
3093         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3094         * stdlib/setenv.c
3095         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3096         code unconditional.
3097         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3098         Remove conditional code.
3099         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3100         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3101         unconditional.
3102         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3103         code.
3104         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3105         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3106         unconditional.
3107         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3108         code.
3109         * sysdeps/ieee754/ldbl-128/k_tanl.c
3110         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3111         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3112         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3113         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3114         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3115         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3116         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3117         unconditional.
3118         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3119         code.
3120         * sysdeps/ieee754/ldbl-96/k_tanl.c
3121         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3122         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3124         * nptl/tst-initializers1-c11.c: New file.
3125         * nptl/tst-initializers1-gnu11.c: Likewise.
3126         * nptl/Makefile (tests): Add these new tests.
3127         (CFLAGS-tst-initializers1-c11.c): New variable.
3128         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3130         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3131         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3132         instead of -std=gnu99.
3133         * configure.ac (systemtap): Test with -std=gnu11 instead of
3134         -std=gnu99.
3135         * configure: Regenerated.
3136         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3137         in compilation command in comment.
3139         * sysdeps/nptl/configure.ac: Remove file.
3140         * sysdeps/nptl/configure: Remove generated file.
3141         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3142         * configure: Regenerated.
3143         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3144         * config.make.in (have-forced-unwind): Remove variable.
3145         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3146         unconditional.
3147         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3148         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3149         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3150         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3151         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3152         unconditional.
3154 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3156         [BZ #19174]
3157         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3158         .skip_lock_out_of_tbegin_retries.
3159         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3160         (__lll_lock_elision): Likewise, and respect a value of
3161         try_tbegin <= 0.
3163 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3165         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3166         statement.
3168 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3170         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3171         variable.
3172         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3173         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3175         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3176         of -std=c1x -D_ISOC11_SOURCE.
3178         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3179         * configure: Regenerated.
3180         * manual/install.texi (Tools for Compilation): Document
3181         requirement for GCC 4.7 or later.
3182         * INSTALL: Regenerated.
3184 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3186         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3187         on CNT to a conditional jump to 'puntdata'.
3189 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3191         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3192         (libc_cv_gcc_tls_model_attr): Likewise.
3193         * configure: Regenerated.
3195         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3196         * configure: Regenerated.
3197         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3199 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3201         * configure.ac (old_glibc_headers): Remove configure test.
3202         * configure: Regenerated.
3203         * config.make.in (old-glibc-headers): Remove variable.
3204         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3205         (install): Remove dependency on remove-old-headers.
3206         (headers2_0): Remove variable.
3207         (remove-old-headers): Remove rule.
3209         * configure.ac (libc_cv_dot_text): Remove configure test.
3210         (libc_cv_asm_set_directive): Use .text instead of
3211         ${libc_cv_dot_text} in configure test.
3212         * configure: Regenerated.
3214 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3216         [BZ #19168]
3217         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3219 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3221         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3222         not support static linking.
3223         * configure: Regenerate.
3225 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3227         * math/libm-test.inc (check_float_internal): Do not special-case
3228         errors up to 0.5 ulp.
3230         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3231         log2.
3232         * math/auto-libm-test-out: Regenerated.
3233         * math/libm-test.inc (MAX_EXP): New macro.
3234         (ilogb_test_data): Add more tests.
3235         (isfinite_test_data): Likewise.
3236         (isgreater_test_data): Likewise.
3237         (isgreaterequal_test_data): Likewise.
3238         (isinf_test_data): Likewise.
3239         (isless_test_data): Likewise.
3240         (islessequal_test_data): Likewise.
3241         (islessgreater_test_data): Likewise.
3242         (isnan_test_data): Likewise.
3243         (isnormal_test_data): Likewise.
3244         (issignaling_test_data): Likewise.
3245         (isunordered_test_data): Likewise.
3246         (j0_test_data): Likewise.
3247         (j1_test_data): Likewise.
3248         (jn_test_data): Likewise.
3249         (lgamma_test_data): Likewise.
3250         (log_test_data): Likewise.
3251         (log10_test_data): Likewise.
3252         (log1p_test_data): Likewise.
3253         (log2_test_data): Likewise.
3254         (logb_test_data): Likewise.
3255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3257         [BZ #18611]
3258         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3259         avoid excess range and precision on underflow.
3260         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3261         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3262         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3263         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3264         underflow.
3265         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3266         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3267         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3268         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3269         * math/auto-libm-test-in: Do not allow missing errno setting for
3270         tests of j1 and jn.
3271         * math/auto-libm-test-out: Regenerated.
3273 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
3275         [BZ #15491]
3276         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3277         floating-point environment instead of clearing all exceptions.
3278         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3279         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3280         merging in "invalid" exceptions from frndint.
3281         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3282         * math/test-nearbyint-except.c: New file.
3283         * math/Makefile (tests): Add test-nearbyint-except.
3285 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
3287         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3289         * sysdeps/tile/libm-test-ulps: Regenerated.
3291 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3294         (__NR_sync_file_range2): Assume it is always defined.
3295         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3296         (__NR_sync_file_range): Assume it is always defined.
3298 2015-10-22  Andreas Schwab  <schwab@suse.de>
3300         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3301         INTERNAL_SYSCALL_ERRNO.
3302         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3303         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3304         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3305         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3306         Likewise.
3307         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3309 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3311         * io/tst-fcntl.c (fd): New static variable.
3312         (do_prepare): Open temporary file here....
3313         (do_test): ...not here.
3315         * io/ftwtest-sh: Also trap on exit to remove temporary files.
3317 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3319         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3320         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3321         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3322         Moved before "#ifdef __ASSEMBLER__".
3324 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3326         [BZ #19156]
3327         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3328         arguments very close to 0.
3330 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
3332         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3333         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3335 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
3337         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3338         New.  Defined for GCC 5 and above when not compiling for
3339         profiling.
3340         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3342         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3343         Renamed to ...
3344         (CFLAGS-epoll_pwait.o): This.
3345         (CFLAGS-mmap.c): Renamed to ...
3346         (CFLAGS-mmap.o): This.
3347         (CFLAGS-mmap64.c): Renamed to ...
3348         (CFLAGS-mmap64.o): This.
3349         (CFLAGS-epoll_pwait.os): New.
3350         (CFLAGS-mmap.os): Likewise.
3351         (CFLAGS-mmap64.os): Likewise.
3352         (CFLAGS-semtimedop.os): Likewise.
3353         (CFLAGS-semtimedop.c): Renamed to ...
3354         (CFLAGS-semtimedop.o): This.
3356 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3358         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3359         warning message.
3361 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
3363         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3364         * Makefile ($(objpfx)c++-types-check.out): Filter out
3365         $(+gccwarn-c) instead of -Wstrict-prototypes.
3367         * io/fts.c (fts_open): Convert to prototype-style function
3368         definition.
3369         * malloc/mcheck.c (mcheck): Likewise.
3370         (mcheck_pedantic): Likewise.
3371         * posix/regexec.c (re_search_2_stub): Likewise.  Use
3372         internal_function.
3373         (re_search_internal): Likewise.
3374         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3375         prototype-style function definition.
3376         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3377         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3378         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3379         (xdr_utmpptr): Likewise.
3380         (xdr_utmparr): Likewise.
3381         (xdr_utmpidle): Likewise.
3382         (xdr_utmpidleptr): Likewise.
3383         (xdr_utmpidlearr): Likewise.
3385         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3386         log, log10 and log2.
3387         * math/auto-libm-test-out: Regenerated.
3388         * math/libm-test.inc (fmod_test_data): Add more tests.
3389         (fpclassify_test_data): Likewise.
3390         (frexp_test_data): Likewise.
3391         (hypot_test_data): Likewise.
3392         (ilogb_test_data): Likewise.
3394 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3396         * debug/fortify_fail.c (__fortify_fail): Convert to
3397         prototype-style function definition.  Use internal_function.
3398         * libio/genops.c (save_for_backup): Convert to prototype-style
3399         function definition.
3400         * libio/wgenops.c (save_for_wbackup): Likewise.
3401         * login/grantpt.c (grantpt): Likewise.
3402         * login/ptsname.c (ptsname): Likewise.
3403         (__ptsname_r): Likewise.
3404         * login/unlockpt.c (unlockpt): Likewise.
3405         * mach/msgserver.c (__mach_msg_server): Likewise.
3406         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3407         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3408         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3409         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3410         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3411         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3412         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3413         Likewise.
3414         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3415         internal_function.
3416         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3417         prototype-style function definition.
3418         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3419         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3420         (__pthread_create_2_0): Likewise.
3421         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3422         * nptl/register-atfork.c (__register_atfork): Likewise.
3423         * posix/glob.c (glob): Likewise.
3424         * posix/regcomp.c (re_comp): Likewise.
3425         * posix/regexec.c (re_exec): Likewise.
3426         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3427         [!__STDC__]: Remove conditional code.
3428         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3429         [!__STDC__]: Remove conditional code.
3430         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3431         [!__STDC__]: Remove conditional code.
3432         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3433         [!__STDC__]: Remove conditional code.
3434         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3435         [!__STDC__]: Remove conditional code.
3436         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3437         [!__STDC__]: Remove conditional code.
3438         * stdlib/mul.c [__STDC__]: Make code unconditional.
3439         [!__STDC__]: Remove conditional code.
3440         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3441         [!__STDC__]: Remove conditional code.
3442         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3443         [!__STDC__]: Remove conditional code.
3444         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3445         function definition.
3446         (STRTOF): Likewise.
3447         * stdlib/strtod_l.c (__STRTOF): Likewise.
3448         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3449         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3450         (__strtol_l): Likewise.
3451         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3452         [!__STDC__]: Remove conditional code.
3453         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3454         definition.
3455         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3456         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3457         type.
3458         (__strcasecmp): Convert to prototype-style function definition.
3459         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3460         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3461         type.
3462         (__strncasecmp): Convert to prototype-style function definition.
3463         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3464         * sunrpc/xdr.c (xdr_union): Likewise.
3465         * sunrpc/xdr_array.c (xdr_array): Likewise.
3466         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3467         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3468         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3469         Likewise.
3470         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3471         Likewise.
3472         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3473         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3474         Likewise.
3475         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3476         (LOCALE_PARAM_PROTO): Likewise.
3477         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3478         argument type.
3479         (ut_argument_spec): Remove macro.
3480         (ut_argument_spec_iso): Rename to ut_argument_spec.
3481         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3482         prototype-style function definition.
3483         (memcpy_uppcase): Likewise.
3484         (__strftime_internal): Likewise.
3485         (my_strftime): Likewise.
3486         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3487         (LOCALE_PARAM_DECL): Likewise.
3488         [_LIBC] (LOCALE_PARAM): Include argument type.
3489         (__strptime_internal): Convert to prototype-style function
3490         definition.
3491         (strptime): Likewise.
3492         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3493         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3494         type.
3495         (__wcscasecmp): Convert to prototype-style function definition.
3496         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3497         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3498         type.
3499         (__wcsncasecmp): Convert to prototype-style function definition.
3501         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3502         function definition.
3503         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3504         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3505         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3506         * elf/dl-minimal.c (_itoa): Likewise.
3507         * hurd/hurdmalloc.c (malloc): Likewise.
3508         (free): Likewise.
3509         (realloc): Likewise.
3510         * inet/inet6_option.c (inet6_option_space): Likewise.
3511         (inet6_option_init): Likewise.
3512         (inet6_option_append): Likewise.
3513         (inet6_option_alloc): Likewise.
3514         (inet6_option_next): Likewise.
3515         (inet6_option_find): Likewise.
3516         * io/ftw.c (FTW_NAME): Likewise.
3517         (NFTW_NAME): Likewise.
3518         (NFTW_NEW_NAME): Likewise.
3519         (NFTW_OLD_NAME): Likewise.
3520         * libio/iofwide.c (_IO_fwide): Likewise.
3521         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3522         (_IO_str_init_static): Likewise.
3523         (_IO_str_init_readonly): Likewise.
3524         (_IO_str_overflow): Likewise.
3525         (_IO_str_underflow): Likewise.
3526         (_IO_str_count): Likewise.
3527         (_IO_str_seekoff): Likewise.
3528         (_IO_str_pbackfail): Likewise.
3529         (_IO_str_finish): Likewise.
3530         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3531         (_IO_wstr_overflow): Likewise.
3532         (_IO_wstr_underflow): Likewise.
3533         (_IO_wstr_count): Likewise.
3534         (_IO_wstr_seekoff): Likewise.
3535         (_IO_wstr_pbackfail): Likewise.
3536         (_IO_wstr_finish): Likewise.
3537         * locale/programs/localedef.c (normalize_codeset): Likewise.
3538         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3539         (add_locales_to_archive): Likewise.
3540         (delete_locales_from_archive): Likewise.
3541         * malloc/malloc.c (__libc_mallinfo): Likewise.
3542         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3543         * misc/tsearch.c (__tfind): Likewise.
3544         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3545         * nptl/pthread_attr_getdetachstate.c
3546         (__pthread_attr_getdetachstate): Likewise.
3547         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3548         Likewise.
3549         * nptl/pthread_attr_getinheritsched.c
3550         (__pthread_attr_getinheritsched): Likewise.
3551         * nptl/pthread_attr_getschedparam.c
3552         (__pthread_attr_getschedparam): Likewise.
3553         * nptl/pthread_attr_getschedpolicy.c
3554         (__pthread_attr_getschedpolicy): Likewise.
3555         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3556         Likewise.
3557         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3558         Likewise.
3559         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3560         Likewise.
3561         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3562         Likewise.
3563         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3564         (__pthread_attr_init_2_0): Likewise.
3565         * nptl/pthread_attr_setdetachstate.c
3566         (__pthread_attr_setdetachstate): Likewise.
3567         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3568         Likewise.
3569         * nptl/pthread_attr_setinheritsched.c
3570         (__pthread_attr_setinheritsched): Likewise.
3571         * nptl/pthread_attr_setschedparam.c
3572         (__pthread_attr_setschedparam): Likewise.
3573         * nptl/pthread_attr_setschedpolicy.c
3574         (__pthread_attr_setschedpolicy): Likewise.
3575         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3576         Likewise.
3577         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3578         Likewise.
3579         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3580         Likewise.
3581         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3582         Likewise.
3583         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3584         Likewise.
3585         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3586         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3587         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3588         use internal_function.
3589         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3590         prototype-style function definition.
3591         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3592         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3593         internal_function.
3594         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3595         Convert to prototype-style function definition.
3596         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3597         Likewise.
3598         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3599         Likewise.
3600         (__pthread_mutex_unlock): Likewise.
3601         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3602         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3603         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3604         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3605         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3606         * nss/makedb.c (process_input): Likewise.
3607         * posix/fnmatch.c (__strchrnul): Likewise.
3608         (__wcschrnul): Likewise.
3609         (fnmatch): Likewise.
3610         * posix/fnmatch_loop.c (FCT): Likewise.
3611         * posix/glob.c (globfree): Likewise.
3612         (__glob_pattern_type): Likewise.
3613         (__glob_pattern_p): Likewise.
3614         * posix/regcomp.c (re_compile_pattern): Likewise.
3615         (re_set_syntax): Likewise.
3616         (re_compile_fastmap): Likewise.
3617         (regcomp): Likewise.
3618         (regerror): Likewise.
3619         (regfree): Likewise.
3620         * posix/regexec.c (regexec): Likewise.
3621         (re_match): Likewise.
3622         (re_search): Likewise.
3623         (re_match_2): Likewise.
3624         (re_search_2): Likewise.
3625         (re_search_stub): Likewise.  Use internal_function
3626         (re_copy_regs): Likewise.
3627         (re_set_registers): Convert to prototype-style function
3628         definition.
3629         (prune_impossible_nodes): Likewise.  Use internal_function.
3630         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3631         prototype-style function definition.
3632         (inet_net_pton_ipv4): Likewise.
3633         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3634         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3635         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3636         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3637         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3638         Make variadic.
3639         * time/strptime_l.c (localtime_r): Convert to prototype-style
3640         function definition.
3641         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3642         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3643         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3644         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3646         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3647         definition.
3648         (_ufc_doit_r): Likewise.
3649         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3650         (_ufc_output_conversion_r): Likewise.
3651         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3652         * inet/rcmd.c (rcmd_af): Likewise.
3653         (rcmd): Likewise.
3654         (ruserok_af): Likewise.
3655         (ruserok): Likewise.
3656         (ruserok2_sa): Likewise.
3657         (ruserok_sa): Likewise.
3658         (iruserok_af): Likewise.
3659         (iruserok): Likewise.
3660         (__ivaliduser): Likewise.
3661         (__validuser2_sa): Likewise.
3662         * inet/rexec.c (rexec_af): Likewise.
3663         (rexec): Likewise.
3664         * inet/ruserpass.c (ruserpass): Likewise.
3665         * locale/programs/xmalloc.c (xcalloc): Likewise.
3666         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3667         * math/w_drem.c (__drem): Likewise.
3668         * math/w_dremf.c (__dremf): Likewise.
3669         * math/w_dreml.c (__dreml): Likewise.
3670         * misc/daemon.c (daemon): Likewise.
3671         * resolv/res_debug.c (p_fqnname): Likewise.
3672         * stdlib/div.c (div): Likewise.
3673         * string/memcmp.c (memcmp_bytes): Likewise.
3674         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3675         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3677         * crypt/cert.c (main): Convert to prototype-style function
3678         definition.
3679         * io/pipe.c (__pipe): Likewise.
3680         * io/pipe2.c (__pipe2): Likewise.
3681         * misc/futimesat.c (futimesat): Likewise.
3682         * misc/utimes.c (__utimes): Likewise.
3683         * posix/execve.c (__execve): Likewise.
3684         * posix/execvp.c (execvp): Likewise.
3685         * posix/execvpe.c (__execvpe): Likewise.
3686         * posix/fexecve.c (fexecve): Likewise.
3687         * socket/socketpair.c (socketpair): Likewise.
3688         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3689         * stdlib/erand48.c (erand48): Likewise.
3690         * stdlib/erand48_r.c (__erand48_r): Likewise.
3691         * stdlib/jrand48.c (jrand48): Likewise.
3692         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3693         * stdlib/lcong48.c (lcong48): Likewise.
3694         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3695         * stdlib/nrand48.c (nrand48): Likewise.
3696         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3697         * stdlib/seed48.c (seed48): Likewise.
3698         * stdlib/seed48_r.c (__seed48_r): Likewise.
3699         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3700         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3701         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3703 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3705         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3706         * configure: Regenerated.
3707         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3708         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3709         unconditional.
3710         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3711         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3712         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3713         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3714         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3715         unconditional.
3716         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3718         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3719         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3721         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3722         function definition.
3723         * crypt/crypt_util.c (__encrypt_r): Likewise.
3724         * libio/genops.c (_IO_no_init): Likewise.
3725         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3726         (_IO_old_fopencookie): Likewise.
3727         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3728         * libio/iogetline.c (_IO_getline): Likewise.
3729         (_IO_getline_info): Likewise.
3730         * libio/iogetwline.c (_IO_getwline): Likewise.
3731         (_IO_getwline_info): Likewise.
3732         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3733         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3734         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3735         (find_entry): Likewise.
3736         (iterate_table): Likewise.
3737         (lookup): Likewise.
3738         * login/forkpty.c (forkpty): Likewise.
3739         * misc/hsearch_r.c (__hsearch_r): Likewise.
3740         * misc/select.c (__select): Likewise.
3741         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3742         Likewise.
3743         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3744         Likewise.
3745         * nptl/old_pthread_cond_timedwait.c
3746         (__pthread_cond_timedwait_2_0): Likewise.
3747         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3748         * nptl/pthread_barrierattr_getpshared.c
3749         (pthread_barrierattr_getpshared): Likewise.
3750         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3751         Likewise.
3752         * nptl/pthread_mutex_setprioceiling.c
3753         (pthread_mutex_setprioceiling): Likewise.
3754         * nptl/pthread_mutexattr_getprioceiling.c
3755         (pthread_mutexattr_getprioceiling): Likewise.
3756         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3757         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3758         Likewise.
3759         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3760         Likewise.
3761         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3762         Likewise.
3763         * socket/recvfrom.c (__recvfrom): Likewise.
3764         * socket/sendto.c (__sendto): Likewise.
3765         * socket/setsockopt.c (__setsockopt): Likewise.
3766         * stdio-common/_itoa.c (_itoa): Likewise.
3767         * stdio-common/_itowa.c (_itowa): Likewise.
3768         * stdio-common/reg-printf.c (__register_printf_specifier):
3769         Likewise.
3770         (__register_printf_function): Likewise.
3771         * stdio-common/tempname.c (__path_search): Likewise.
3772         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3773         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3774         * stdlib/random_r.c (__initstate_r): Likewise.
3775         * stdlib/setenv.c (__add_to_environ): Likewise.
3776         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3777         * streams/getpmsg.c (getpmsg): Likewise.
3778         * streams/putmsg.c (putmsg): Likewise.
3779         * streams/putpmsg.c (putpmsg): Likewise.
3780         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3781         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3782         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3783         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3784         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3785         * sunrpc/svc_udp.c (cache_get): Likewise.
3786         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3787         * sysdeps/mach/hurd/getcwd.c
3788         (__canonicalize_directory_name_internal): Likewise.
3789         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3790         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3791         * sysdeps/mach/hurd/select.c (__select): Likewise.
3792         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3793         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3794         * sysdeps/sparc/nptl/pthread_barrier_init.c
3795         (__pthread_barrier_init): Likewise.
3796         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3797         (__pthread_cond_timedwait): Likewise.
3798         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3799         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3800         Likewise.
3801         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3802         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3803         Likewise.
3804         * sysvipc/semtimedop.c (semtimedop): Likewise.
3805         * time/setitimer.c (__setitimer): Likewise.
3806         * time/strftime_l.c (emacs_strftime): Likewise.
3808 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3810         * config.make.in (have-ssp): Delete.
3811         (stack-protector): New variable.
3812         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3813         cache test for -fstack-protector-strong.  Export stack_protector to
3814         the best ssp flag.
3815         * configure: Regenerated.
3816         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3817         * nscd/Makefile (CFLAGS-nscd): Likewise.
3818         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3820 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3822         [BZ #19122]
3823         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3824         attribute_hidden.
3826 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3828         [BZ #18743]
3829         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3830         code to...
3831         (ELIDE_LOCK): ...here.
3832         (__get_new_count): New function with part of the code from
3833         __elide_lock that updates the value of adapt_count after a
3834         transaction abort.
3835         (__elided_trylock): Moved this code to...
3836         (ELIDE_TRYLOCK): ...here.
3838 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3840         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3841         * configure: Regenerate.
3842         * INSTALL: Regenerate.
3843         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3844         and tweak grammar.
3846 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3848         * login/programs/pt_chown.c: Include signal.h
3849         (main): Clear any signal mask from the parent process.
3851 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3853         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3854         * configure: Regenerated.
3855         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3856         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3857         $(gnu89-inline-CFLAGS).
3859         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3860         test.
3861         (libc_cv_asm_weakext_directive): Likewise.
3862         * configure: Regenerated.
3863         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3864         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3865         * include/libc-symbols.h
3866         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3867         #error.
3868         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3869         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3871         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3872         prototype-style function definition.
3873         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3874         * sysdeps/i386/ffs.c (__ffs): Likewise.
3875         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3876         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3877         Likewise.
3878         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3879         Likewise.
3880         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3881         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3882         Likewise.
3883         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3884         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3885         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3886         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3887         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3888         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3889         * sysdeps/mach/hurd/access.c (__access): Likewise.
3890         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3891         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3892         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3893         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3894         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3895         (cthread_getspecific): Likewise.
3896         (cthread_setspecific): Likewise.
3897         (__libc_getspecific): Likewise.
3898         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3899         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3900         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3901         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3902         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3903         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3904         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3905         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3906         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3907         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3908         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3909         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3910         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3911         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3912         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3913         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3914         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3915         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3916         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3917         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3918         * sysdeps/mach/hurd/link.c (__link): Likewise.
3919         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3920         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3921         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3922         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3923         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3924         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3925         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3926         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3927         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3928         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3929         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3930         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3931         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3932         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3933         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3934         * sysdeps/mach/hurd/send.c (__send): Likewise.
3935         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3936         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3937         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3938         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3939         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3940         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3941         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3942         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3943         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3944         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3945         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3946         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3947         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3948         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3949         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3950         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3951         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3952         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3953         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3954         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3955         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3956         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3957         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3958         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3959         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3960         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3961         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3962         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3963         * sysdeps/posix/alarm.c (alarm): Likewise.
3964         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3965         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3966         * sysdeps/posix/dup.c (__dup): Likewise.
3967         * sysdeps/posix/dup2.c (__dup2): Likewise.
3968         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3969         (main): Likewise.
3970         * sysdeps/posix/flock.c (__flock): Likewise.
3971         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3972         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3973         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3974         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3975         * sysdeps/posix/isatty.c (__isatty): Likewise.
3976         * sysdeps/posix/killpg.c (killpg): Likewise.
3977         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3978         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3979         * sysdeps/posix/raise.c (raise): Likewise.
3980         * sysdeps/posix/remove.c (remove): Likewise.
3981         * sysdeps/posix/rename.c (rename): Likewise.
3982         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3983         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3984         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3985         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3986         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3987         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3988         * sysdeps/posix/sigset.c (sigset): Likewise.
3989         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3990         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3991         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3992         * sysdeps/posix/time.c (time): Likewise.
3993         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3994         (ttyname): Likewise.
3995         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3996         * sysdeps/posix/utime.c (utime): Likewise.
3997         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3998         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3999         Likewise.
4000         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4001         (pthread_spin_trylock): Likewise.
4002         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4003         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4004         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4005         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4006         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4007         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4008         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4009         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4010         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4011         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4012         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4013         * sysdeps/s390/ffs.c (__ffs): Likewise.
4014         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4015         Likewise.
4016         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4017         Likewise.
4018         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4019         Likewise.
4020         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4021         (pthread_barrier_destroy): Likewise.
4022         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4023         (__pthread_barrier_wait): Likewise.
4024         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4025         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4026         (__pthread_barrier_wait): Likewise.
4027         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4028         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4029         (memcmp_not_common_alignment): Likewise.
4030         (MEMCMP): Likewise.
4031         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4032         (_wordcopy_fwd_dest_aligned): Likewise.
4033         (_wordcopy_bwd_aligned): Likewise.
4034         (_wordcopy_bwd_dest_aligned): Likewise.
4035         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4036         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4037         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4038         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4039         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4040         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4041         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4042         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4043         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4044         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4045         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4046         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4047         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4048         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4049         * sysdeps/unix/stime.c (stime): Likewise.
4050         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4051         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4052         Likewise.  Use internal_function.
4053         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4054         Convert to prototype-style function definition.
4055         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4056         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4057         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4058         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4059         Likewise.  Use internal_function.
4060         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4061         prototype-style function definition
4062         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4063         Likewise.
4064         (__getlogin_r): Likewise.
4065         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4066         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4067         (__pthread_cond_broadcast): Likewise.
4068         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4069         (__pthread_cond_destroy): Likewise.
4070         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4071         (__pthread_cond_init): Likewise.
4072         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4073         (__pthread_cond_signal): Likewise.
4074         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4075         (__pthread_cond_wait): Likewise.
4076         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4077         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4078         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4079         Likewise.
4080         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4081         Likewise.
4082         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4083         Likewise.
4084         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4085         Likewise.
4086         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4088         (__ftruncate64): Likewise.
4089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4090         (truncate64): Likewise.
4091         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4092         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4093         (pthread_getcpuclockid): Likewise.
4094         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4095         Likewise.
4096         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4097         Likewise.
4098         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4099         Likewise.
4100         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4101         Likewise.
4102         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4103         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4104         (__libc_sigaction): Likewise.
4105         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4106         Likewise.
4107         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4108         (__sigprocmask): Likewise.
4109         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4110         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4111         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4112         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4113         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4114         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4115         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4118         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4119         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4120         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4121         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4122         Likewise.
4123         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4124         (__sigprocmask): Likewise.
4125         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4126         (cfgetispeed): Likewise.
4127         (cfsetospeed): Likewise.
4128         (cfsetispeed): Likewise.
4129         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4130         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4131         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4132         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4133         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4134         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4135         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4136         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4137         Likewise.
4138         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4139         Likewise.
4140         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4141         Likewise.
4142         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4143         Likewise.
4144         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4146 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4148         sunrpc: Rewrite with explicit TLS access using __thread.
4149         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4150         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4151         directly.
4152         (__rpc_thread_variables): Access thread_rpc_vars directly.
4153         Eliminate redundant assignment of the tvp variable.
4155 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4157         malloc: Rewrite with explicit TLS access using __thread.
4158         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4159         (tsd_setspecific, tsd_getspecific): Remove.
4160         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4161         (tsd_setspecific, tsd_getspecific): Likewise.
4162         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4163         (tsd_setspecific, tsd_getspecific): Likewise.
4164         * malloc/arena.c (thread_arena): New TLS variable.
4165         (arena_key): Remove variable.
4166         (arena_get): Use thread_arena.
4167         (arena_lookup): Remove macro.
4168         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4169         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4170         (_int_new_arena, get_free_list, reused_arena)
4171         (arena_thread_freeres): Use thread_arena.
4172         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4173         tsd_getspecific, tsd_setspecific from safety annotations.
4174         (Allocating Cleared Space): Remove arena_lookup from safety
4175         annotations.
4177 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4179         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4180         struct scratch_buffer instead of extend_alloca.
4182 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4184         * sysdeps/unix/sysv/linux/kernel-features.h
4185         (__ASSUME_SOCK_CLOEXEC): Remove.
4186         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4187         (__have_paccept): Remove unused macro.
4188         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4189         * misc/syslog.c (openlog_internal): Remove fallback code for
4190         !__ASSUME_SOCK_CLOEXEC.
4191         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4192         missing SOCK_CLOEXEC.
4193         * nscd/connections.c (have_sock_cloexec): Remove definition.
4194         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4195         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4196         !__ASSUME_SOCK_CLOEXEC.
4197         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4198         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4199         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4200         definition.
4201         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4202         code for !__ASSUME_SOCK_CLOEXEC.
4204 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4206         [BZ #18982]
4207         * manual/stdio.texi (Variable Arguments Output): Add portability
4208         note, explaining that vfprintf clobbers the va_list pointer.
4210 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4212         * math/libm-test.inc (fabs_test_data): Add more tests.
4213         (fdim_test_data): Likewise.
4214         (fma_test_data): Likewise.
4215         (fmax_test_data): Likewise.
4216         (fmin_test_data): Likewise.
4217         (fmod_test_data): Likewise.
4219 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4221         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4222         data.
4224 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4226         * math/libm-test.inc (ceil_test_data): Add more tests and more
4227         expectations for "inexact".
4228         (floor_test_data): Add more tests.
4229         (round_test_data): Likewise.
4230         (trunc_test_data): Likewise.
4232         * crypt/cert.c (good_bye): Convert to prototype-style function
4233         definition.
4234         (get8): Likewise.
4235         (put8): Likewise.
4236         * crypt/crypt-entry.c (crypt): Likewise.
4237         (__fcrypt): Likewise.
4238         * crypt/crypt_util.c (_ufc_prbits): Likewise.
4239         (_ufc_set_bits): Likewise.
4240         (_ufc_clearmem): Likewise.
4241         (__init_des_r): Likewise.
4242         (shuffle_sb): Likewise.
4243         (shuffle_sb): Likewise.
4244         (_ufc_setup_salt_r): Likewise.
4245         (_ufc_mk_keytab_r): Likewise.
4246         (_ufc_dofinalperm_r): Likewise.
4247         (encrypt): Likewise.
4248         (__setkey_r): Likewise.
4249         (setkey): Likewise.
4250         * crypt/md5.c (md5_init_ctx): Likewise.
4251         (md5_read_ctx): Likewise.
4252         (md5_finish_ctx): Likewise.
4253         (md5_stream): Likewise.
4254         (md5_buffer): Likewise.
4255         (md5_process_bytes): Likewise.
4256         * crypt/sha256.c (__sha256_init_ctx): Likewise.
4257         (__sha256_finish_ctx): Likewise.
4258         (__sha256_process_bytes): Likewise.
4259         * crypt/sha512.c (__sha512_init_ctx): Likewise.
4260         (__sha512_finish_ctx): Likewise.
4261         (__sha512_process_bytes): Likewise.
4262         * ctype/isctype.c (__isctype): Likewise.
4263         * debug/backtrace.c (__backtrace): Likewise.
4264         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4265         * debug/fgets_chk.c (__fgets_chk): Likewise.
4266         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4267         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4268         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4269         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4270         * debug/memset_chk.c (__memset_chk): Likewise.
4271         * debug/strcat_chk.c (__strcat_chk): Likewise.
4272         * debug/strncat_chk.c (__strncat_chk): Likewise.
4273         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4274         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4275         * dirent/dirfd.c (dirfd): Likewise.
4276         * dirent/getdents.c (__getdirentries): Likewise.
4277         * dirent/getdents64.c (getdirentries64): Likewise.
4278         * dirent/rewinddir.c (__rewinddir): Likewise.
4279         * dirent/seekdir.c (seekdir): Likewise.
4280         * dirent/telldir.c (telldir): Likewise.
4281         * elf/sln.c (makesymlinks): Likewise.
4282         (makesymlink): Likewise.
4283         * gmon/gmon.c (__moncontrol): Likewise.
4284         (__monstartup): Likewise.
4285         (write_hist): Likewise.
4286         (write_call_graph): Likewise.
4287         (write_bb_counts): Likewise.
4288         * grp/setgroups.c (setgroups): Likewise.
4289         * inet/inet_lnaof.c (inet_lnaof): Likewise.
4290         * inet/inet_net.c (inet_network): Likewise.
4291         * inet/inet_netof.c (inet_netof): Likewise.
4292         * inet/rcmd.c (rresvport_af): Likewise.
4293         (rresvport): Likewise.
4294         * io/access.c (__access): Likewise.
4295         * io/chdir.c (__chdir): Likewise.
4296         * io/chmod.c (__chmod): Likewise.
4297         * io/chown.c (__chown): Likewise.
4298         * io/close.c (__close): Likewise.
4299         * io/creat.c (creat): Likewise.
4300         * io/creat64.c (creat64): Likewise.
4301         * io/dup.c (__dup): Likewise.
4302         * io/dup2.c (__dup2): Likewise.
4303         * io/dup3.c (__dup3): Likewise.
4304         * io/euidaccess.c (__euidaccess): Likewise.
4305         * io/faccessat.c (faccessat): Likewise.
4306         * io/fchmod.c (__fchmod): Likewise.
4307         * io/fchmodat.c (fchmodat): Likewise.
4308         * io/fchown.c (__fchown): Likewise.
4309         * io/fchownat.c (fchownat): Likewise.
4310         * io/fcntl.c (__fcntl): Likewise.
4311         * io/flock.c (__flock): Likewise.
4312         * io/fts.c (fts_load): Likewise.
4313         (fts_close): Likewise.
4314         (fts_read): Likewise.
4315         (fts_set): Likewise.
4316         (fts_children): Likewise.
4317         (fts_build): Likewise.
4318         (fts_stat): Likewise.
4319         (fts_sort): Likewise.
4320         (fts_alloc): Likewise.
4321         (fts_lfree): Likewise.
4322         (fts_palloc): Likewise.
4323         (fts_padjust): Likewise.
4324         (fts_maxarglen): Likewise.
4325         (fts_safe_changedir): Likewise.
4326         * io/getwd.c (getwd): Likewise.
4327         * io/isatty.c (__isatty): Likewise.
4328         * io/lchown.c (__lchown): Likewise.
4329         * io/link.c (__link): Likewise.
4330         * io/linkat.c (linkat): Likewise.
4331         * io/lseek.c (__libc_lseek): Likewise.
4332         * io/mkdir.c (__mkdir): Likewise.
4333         * io/mkdirat.c (mkdirat): Likewise.
4334         * io/mkfifo.c (mkfifo): Likewise.
4335         * io/mkfifoat.c (mkfifoat): Likewise.
4336         * io/open.c (__libc_open): Likewise.
4337         * io/open64.c (__libc_open64): Likewise.
4338         * io/readlink.c (__readlink): Likewise.
4339         * io/readlinkat.c (readlinkat): Likewise.
4340         * io/rmdir.c (__rmdir): Likewise.
4341         * io/symlink.c (__symlink): Likewise.
4342         * io/symlinkat.c (symlinkat): Likewise.
4343         * io/ttyname.c (ttyname): Likewise.
4344         * io/ttyname_r.c (__ttyname_r): Likewise.
4345         * io/umask.c (__umask): Likewise.
4346         * io/unlink.c (__unlink): Likewise.
4347         * io/unlinkat.c (unlinkat): Likewise.
4348         * io/utime.c (utime): Likewise.
4349         * libio/clearerr.c (clearerr): Likewise.
4350         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4351         * libio/feof.c (_IO_feof): Likewise.
4352         * libio/feof_u.c (feof_unlocked): Likewise.
4353         * libio/ferror.c (_IO_ferror): Likewise.
4354         * libio/ferror_u.c (ferror_unlocked): Likewise.
4355         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4356         * libio/fileno.c (__fileno): Likewise.
4357         * libio/fputc.c (fputc): Likewise.
4358         * libio/fputc_u.c (fputc_unlocked): Likewise.
4359         * libio/fputwc.c (fputwc): Likewise.
4360         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4361         * libio/freopen.c (freopen): Likewise.
4362         * libio/freopen64.c (freopen64): Likewise.
4363         * libio/fseek.c (fseek): Likewise.
4364         * libio/fseeko.c (fseeko): Likewise.
4365         * libio/fseeko64.c (fseeko64): Likewise.
4366         * libio/ftello.c (__ftello): Likewise.
4367         * libio/ftello64.c (ftello64): Likewise.
4368         * libio/fwide.c (fwide): Likewise.
4369         * libio/genops.c (_IO_un_link): Likewise.
4370         (_IO_link_in): Likewise.
4371         (_IO_least_marker): Likewise.
4372         (_IO_switch_to_main_get_area): Likewise.
4373         (_IO_switch_to_backup_area): Likewise.
4374         (_IO_switch_to_get_mode): Likewise.
4375         (_IO_free_backup_area): Likewise.
4376         (_IO_switch_to_put_mode): Likewise.
4377         (__overflow): Likewise.
4378         (__underflow): Likewise.
4379         (__uflow): Likewise.
4380         (_IO_setb): Likewise.
4381         (_IO_doallocbuf): Likewise.
4382         (_IO_default_underflow): Likewise.
4383         (_IO_default_uflow): Likewise.
4384         (_IO_default_xsputn): Likewise.
4385         (_IO_sgetn): Likewise.
4386         (_IO_default_xsgetn): Likewise.
4387         (_IO_sync): Likewise.
4388         (_IO_default_setbuf): Likewise.
4389         (_IO_default_seekpos): Likewise.
4390         (_IO_default_doallocate): Likewise.
4391         (_IO_init): Likewise.
4392         (_IO_old_init): Likewise.
4393         (_IO_default_sync): Likewise.
4394         (_IO_default_finish): Likewise.
4395         (_IO_default_seekoff): Likewise.
4396         (_IO_sputbackc): Likewise.
4397         (_IO_sungetc): Likewise.
4398         (_IO_set_column): Likewise.
4399         (_IO_set_column): Likewise.
4400         (_IO_adjust_column): Likewise.
4401         (_IO_get_column): Likewise.
4402         (_IO_init_marker): Likewise.
4403         (_IO_remove_marker): Likewise.
4404         (_IO_marker_difference): Likewise.
4405         (_IO_marker_delta): Likewise.
4406         (_IO_seekmark): Likewise.
4407         (_IO_unsave_markers): Likewise.
4408         (_IO_nobackup_pbackfail): Likewise.
4409         (_IO_default_pbackfail): Likewise.
4410         (_IO_default_seek): Likewise.
4411         (_IO_default_stat): Likewise.
4412         (_IO_default_read): Likewise.
4413         (_IO_default_write): Likewise.
4414         (_IO_default_showmanyc): Likewise.
4415         (_IO_default_imbue): Likewise.
4416         (_IO_iter_next): Likewise.
4417         (_IO_iter_file): Likewise.
4418         * libio/getc.c (_IO_getc): Likewise.
4419         * libio/getwc.c (_IO_getwc): Likewise.
4420         * libio/iofclose.c (_IO_new_fclose): Likewise.
4421         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4422         * libio/iofflush.c (_IO_fflush): Likewise.
4423         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4424         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4425         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4426         * libio/iofgets.c (_IO_fgets): Likewise.
4427         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4428         * libio/iofgetws.c (fgetws): Likewise.
4429         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4430         * libio/iofopen64.c (_IO_fopen64): Likewise.
4431         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4432         (_IO_cookie_write): Likewise.
4433         (_IO_cookie_seek): Likewise.
4434         (_IO_cookie_close): Likewise.
4435         (_IO_cookie_seekoff): Likewise.
4436         (_IO_old_cookie_seek): Likewise.
4437         * libio/iofputs.c (_IO_fputs): Likewise.
4438         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4439         * libio/iofputws.c (fputws): Likewise.
4440         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4441         * libio/iofread.c (_IO_fread): Likewise.
4442         * libio/iofread_u.c (__fread_unlocked): Likewise.
4443         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4444         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4445         * libio/ioftell.c (_IO_ftell): Likewise.
4446         * libio/iofwrite.c (_IO_fwrite): Likewise.
4447         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4448         * libio/iogets.c (_IO_gets): Likewise.
4449         * libio/iopadn.c (_IO_padn): Likewise.
4450         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4451         (_IO_new_popen): Likewise.
4452         (_IO_new_proc_close): Likewise.
4453         * libio/ioputs.c (_IO_puts): Likewise.
4454         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4455         (_IO_seekoff): Likewise.
4456         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4457         (_IO_seekpos): Likewise.
4458         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4459         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4460         * libio/ioungetc.c (_IO_ungetc): Likewise.
4461         * libio/ioungetwc.c (ungetwc): Likewise.
4462         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4463         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4464         * libio/iowpadn.c (_IO_wpadn): Likewise.
4465         * libio/libc_fatal.c (__libc_fatal): Likewise.
4466         * libio/memstream.c (__open_memstream): Likewise.
4467         (_IO_mem_sync): Likewise.
4468         (_IO_mem_finish): Likewise.
4469         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4470         (_IO_old_file_close_it): Likewise.
4471         (_IO_old_file_finish): Likewise.
4472         (_IO_old_file_fopen): Likewise.
4473         (_IO_old_file_attach): Likewise.
4474         (_IO_old_file_setbuf): Likewise.
4475         (_IO_old_do_write): Likewise.
4476         (old_do_write): Likewise.
4477         (_IO_old_file_underflow): Likewise.
4478         (_IO_old_file_overflow): Likewise.
4479         (_IO_old_file_sync): Likewise.
4480         (_IO_old_file_seekoff): Likewise.
4481         (_IO_old_file_write): Likewise.
4482         (_IO_old_file_xsputn): Likewise.
4483         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4484         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4485         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4486         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4487         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4488         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4489         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4490         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4491         (_IO_old_popen): Likewise.
4492         (_IO_old_proc_close): Likewise.
4493         * libio/oldpclose.c (__old_pclose): Likewise.
4494         * libio/pclose.c (__new_pclose): Likewise.
4495         * libio/peekc.c (_IO_peekc_locked): Likewise.
4496         * libio/putc.c (_IO_putc): Likewise.
4497         * libio/putc_u.c (putc_unlocked): Likewise.
4498         * libio/putchar.c (putchar): Likewise.
4499         * libio/putchar_u.c (putchar_unlocked): Likewise.
4500         * libio/putwc.c (putwc): Likewise.
4501         * libio/putwc_u.c (putwc_unlocked): Likewise.
4502         * libio/putwchar.c (putwchar): Likewise.
4503         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4504         * libio/rewind.c (rewind): Likewise.
4505         * libio/setbuf.c (setbuf): Likewise.
4506         * libio/setlinebuf.c (setlinebuf): Likewise.
4507         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4508         * libio/vscanf.c (_IO_vscanf): Likewise.
4509         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4510         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4511         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4512         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4513         (_IO_switch_to_main_wget_area): Likewise.
4514         (_IO_switch_to_wbackup_area): Likewise.
4515         (_IO_wsetb): Likewise.
4516         (_IO_wdefault_pbackfail): Likewise.
4517         (_IO_wdefault_finish): Likewise.
4518         (_IO_wdefault_uflow): Likewise.
4519         (__woverflow): Likewise.
4520         (__wuflow): Likewise.
4521         (__wunderflow): Likewise.
4522         (_IO_wdefault_xsputn): Likewise.
4523         (_IO_wdefault_xsgetn): Likewise.
4524         (_IO_wdoallocbuf): Likewise.
4525         (_IO_wdefault_doallocate): Likewise.
4526         (_IO_switch_to_wget_mode): Likewise.
4527         (_IO_free_wbackup_area): Likewise.
4528         (_IO_switch_to_wput_mode): Likewise.
4529         (_IO_sputbackwc): Likewise.
4530         (_IO_sungetwc): Likewise.
4531         (_IO_adjust_wcolumn): Likewise.
4532         (_IO_init_wmarker): Likewise.
4533         (_IO_wmarker_delta): Likewise.
4534         (_IO_seekwmark): Likewise.
4535         (_IO_unsave_wmarkers): Likewise.
4536         * libio/wmemstream.c (open_wmemstream): Likewise.
4537         (_IO_wmem_sync): Likewise.
4538         (_IO_wmem_finish): Likewise.
4539         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4540         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4541         * locale/programs/simple-hash.c (init_hash): Likewise.
4542         (delete_hash): Likewise.
4543         (insert_entry): Likewise.
4544         (set_entry): Likewise.
4545         (next_prime): Likewise.
4546         (is_prime): Likewise.
4547         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4548         (xmalloc): Likewise.
4549         (xrealloc): Likewise.
4550         * locale/programs/xstrdup.c (xstrdup): Likewise.
4551         * localedata/collate-test.c (xstrcoll): Likewise.
4552         * localedata/xfrm-test.c (xstrcmp): Likewise.
4553         * login/getlogin_r.c (__getlogin_r): Likewise.
4554         * login/getpt.c (__posix_openpt): Likewise.
4555         * login/login_tty.c (login_tty): Likewise.
4556         * login/setlogin.c (setlogin): Likewise.
4557         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4558         (mach_msg_destroy_port): Likewise.
4559         (mach_msg_destroy_memory): Likewise.
4560         * malloc/mcheck.c (flood): Likewise.
4561         * misc/acct.c (acct): Likewise.
4562         * misc/brk.c (__brk): Likewise.
4563         * misc/chflags.c (chflags): Likewise.
4564         * misc/chroot.c (chroot): Likewise.
4565         * misc/fchflags.c (fchflags): Likewise.
4566         * misc/fstab.c (getfsspec): Likewise.
4567         (getfsfile): Likewise.
4568         * misc/fsync.c (fsync): Likewise.
4569         * misc/ftruncate.c (__ftruncate): Likewise.
4570         * misc/ftruncate64.c (__ftruncate64): Likewise.
4571         * misc/getdomain.c (getdomainname): Likewise.
4572         (getdomainname): Likewise.
4573         * misc/gethostname.c (__gethostname): Likewise.
4574         * misc/getpass.c (getpass): Likewise.
4575         * misc/getttyent.c (skip): Likewise.
4576         (value): Likewise.
4577         * misc/gtty.c (gtty): Likewise.
4578         * misc/hsearch.c (hsearch): Likewise.
4579         (hcreate): Likewise.
4580         * misc/hsearch_r.c (__hcreate_r): Likewise.
4581         (__hdestroy_r): Likewise.
4582         * misc/ioctl.c (__ioctl): Likewise.
4583         * misc/mkdtemp.c (mkdtemp): Likewise.
4584         * misc/mkostemp.c (mkostemp): Likewise.
4585         * misc/mkostemp64.c (mkostemp64): Likewise.
4586         * misc/mkostemps.c (mkostemps): Likewise.
4587         * misc/mkostemps64.c (mkostemps64): Likewise.
4588         * misc/mkstemp.c (mkstemp): Likewise.
4589         * misc/mkstemp64.c (mkstemp64): Likewise.
4590         * misc/mkstemps.c (mkstemps): Likewise.
4591         * misc/mkstemps64.c (mkstemps64): Likewise.
4592         * misc/mktemp.c (__mktemp): Likewise.
4593         * misc/preadv.c (preadv): Likewise.
4594         * misc/preadv64.c (preadv64): Likewise.
4595         * misc/pwritev.c (pwritev): Likewise.
4596         * misc/pwritev64.c (pwritev64): Likewise.
4597         * misc/readv.c (__readv): Likewise.
4598         * misc/revoke.c (revoke): Likewise.
4599         * misc/setdomain.c (setdomainname): Likewise.
4600         * misc/setegid.c (setegid): Likewise.
4601         * misc/seteuid.c (seteuid): Likewise.
4602         * misc/sethostid.c (sethostid): Likewise.
4603         * misc/sethostname.c (sethostname): Likewise.
4604         * misc/setregid.c (__setregid): Likewise.
4605         * misc/setreuid.c (__setreuid): Likewise.
4606         * misc/sstk.c (sstk): Likewise.
4607         * misc/stty.c (stty): Likewise.
4608         * misc/syscall.c (syscall): Likewise.
4609         * misc/syslog.c (setlogmask): Likewise.
4610         * misc/truncate.c (__truncate): Likewise.
4611         * misc/truncate64.c (truncate64): Likewise.
4612         * misc/ualarm.c (ualarm): Likewise.
4613         * misc/usleep.c (usleep): Likewise.
4614         * misc/ustat.c (ustat): Likewise.
4615         * misc/writev.c (__writev): Likewise.
4616         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4617         * nptl/old_pthread_cond_broadcast.c
4618         (__pthread_cond_broadcast_2_0): Likewise.
4619         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4620         Likewise.
4621         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4622         Likewise.
4623         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4624         Likewise.
4625         * nptl/pt-raise.c (raise): Likewise.
4626         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4627         Likewise.
4628         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4629         * nptl/pthread_barrierattr_destroy.c
4630         (pthread_barrierattr_destroy): Likewise.
4631         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4632         Likewise.
4633         * nptl/pthread_barrierattr_setpshared.c
4634         (pthread_barrierattr_setpshared): Likewise.
4635         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4636         Likewise.
4637         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4638         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4639         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4640         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4641         Likewise.
4642         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4643         Likewise.
4644         * nptl/pthread_condattr_getpshared.c
4645         (pthread_condattr_getpshared): Likewise.
4646         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4647         Likewise.
4648         * nptl/pthread_condattr_setpshared.c
4649         (pthread_condattr_setpshared): Likewise.
4650         * nptl/pthread_detach.c (pthread_detach): Likewise.
4651         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4652         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4653         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4654         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4655         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4656         Likewise.
4657         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4658         Likewise.
4659         * nptl/pthread_mutex_getprioceiling.c
4660         (pthread_mutex_getprioceiling): Likewise.
4661         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4662         Likewise.
4663         * nptl/pthread_mutexattr_getprotocol.c
4664         (pthread_mutexattr_getprotocol): Likewise.
4665         * nptl/pthread_mutexattr_getpshared.c
4666         (pthread_mutexattr_getpshared): Likewise.
4667         * nptl/pthread_mutexattr_getrobust.c
4668         (pthread_mutexattr_getrobust): Likewise.
4669         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4670         Likewise.
4671         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4672         Likewise.
4673         * nptl/pthread_mutexattr_setprioceiling.c
4674         (pthread_mutexattr_setprioceiling): Likewise.
4675         * nptl/pthread_mutexattr_setprotocol.c
4676         (pthread_mutexattr_setprotocol): Likewise.
4677         * nptl/pthread_mutexattr_setpshared.c
4678         (pthread_mutexattr_setpshared): Likewise.
4679         * nptl/pthread_mutexattr_setrobust.c
4680         (pthread_mutexattr_setrobust): Likewise.
4681         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4682         Likewise.
4683         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4684         Likewise.
4685         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4686         Likewise.
4687         * nptl/pthread_rwlockattr_getkind_np.c
4688         (pthread_rwlockattr_getkind_np): Likewise.
4689         * nptl/pthread_rwlockattr_getpshared.c
4690         (pthread_rwlockattr_getpshared): Likewise.
4691         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4692         Likewise.
4693         * nptl/pthread_rwlockattr_setkind_np.c
4694         (pthread_rwlockattr_setkind_np): Likewise.
4695         * nptl/pthread_rwlockattr_setpshared.c
4696         (pthread_rwlockattr_setpshared): Likewise.
4697         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4698         Likewise.
4699         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4700         Likewise.
4701         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4702         Likewise.
4703         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4704         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4705         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4706         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4707         * nptl/sem_close.c (sem_close): Likewise.
4708         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4709         * nptl/sem_init.c (__old_sem_init): Likewise.
4710         * nptl/sigaction.c (__sigaction): Likewise.
4711         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4712         * posix/_exit.c (_exit): Likewise.
4713         * posix/alarm.c (alarm): Likewise.
4714         * posix/confstr.c (confstr): Likewise.
4715         * posix/fpathconf.c (__fpathconf): Likewise.
4716         * posix/getgroups.c (__getgroups): Likewise.
4717         * posix/getpgid.c (__getpgid): Likewise.
4718         * posix/group_member.c (__group_member): Likewise.
4719         * posix/pathconf.c (__pathconf): Likewise.
4720         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4721         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4722         * posix/setgid.c (__setgid): Likewise.
4723         * posix/setpgid.c (__setpgid): Likewise.
4724         * posix/setuid.c (__setuid): Likewise.
4725         * posix/sleep.c (__sleep): Likewise.
4726         * posix/sysconf.c (__sysconf): Likewise.
4727         * posix/times.c (__times): Likewise.
4728         * posix/uname.c (__uname): Likewise.
4729         * posix/waitid.c (__waitid): Likewise.
4730         * pwd/getpw.c (__getpw): Likewise.
4731         * resolv/base64.c (b64_pton): Likewise.
4732         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4733         * resolv/gethnamaddr.c (Dprintf): Likewise.
4734         (gethostbyname): Likewise.
4735         (gethostbyname2): Likewise.
4736         (gethostbyaddr): Likewise.
4737         (_sethtent): Likewise.
4738         (_gethtbyname): Likewise.
4739         (_gethtbyname2): Likewise.
4740         (_gethtbyaddr): Likewise.
4741         (map_v4v6_address): Likewise.
4742         (map_v4v6_hostent): Likewise.
4743         (addrsort): Likewise.
4744         (ht_sethostent): Likewise.
4745         (ht_gethostbyname): Likewise.
4746         (ht_gethostbyaddr): Likewise.
4747         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4748         (inet_net_ntop_ipv4): Likewise.
4749         * resolv/inet_neta.c (inet_neta): Likewise.
4750         * resolv/inet_ntop.c (inet_ntop): Likewise.
4751         (inet_ntop4): Likewise.
4752         (inet_ntop6): Likewise.
4753         * resolv/inet_pton.c (__inet_pton): Likewise.
4754         (inet_pton4): Likewise.
4755         (inet_pton6): Likewise.
4756         * resolv/res_debug.c (loc_aton): Likewise.
4757         (loc_ntoa): Likewise.
4758         * resource/getpriority.c (__getpriority): Likewise.
4759         * resource/getrusage.c (__getrusage): Likewise.
4760         * resource/nice.c (nice): Likewise.
4761         * resource/setpriority.c (__setpriority): Likewise.
4762         * resource/setrlimit64.c (setrlimit64): Likewise.
4763         * resource/vlimit.c (vlimit): Likewise.
4764         * resource/vtimes.c (vtimes): Likewise.
4765         * rt/aio_error.c (aio_error): Likewise.
4766         * rt/aio_return.c (aio_return): Likewise.
4767         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4768         * signal/kill.c (__kill): Likewise.
4769         * signal/killpg.c (killpg): Likewise.
4770         * signal/raise.c (raise): Likewise.
4771         * signal/sigaction.c (__sigaction): Likewise.
4772         * signal/sigaddset.c (sigaddset): Likewise.
4773         * signal/sigaltstack.c (sigaltstack): Likewise.
4774         * signal/sigandset.c (sigandset): Likewise.
4775         * signal/sigblock.c (__sigblock): Likewise.
4776         * signal/sigdelset.c (sigdelset): Likewise.
4777         * signal/sigempty.c (sigemptyset): Likewise.
4778         * signal/sigfillset.c (sigfillset): Likewise.
4779         * signal/sighold.c (sighold): Likewise.
4780         * signal/sigignore.c (sigignore): Likewise.
4781         * signal/sigintr.c (siginterrupt): Likewise.
4782         * signal/sigisempty.c (sigisemptyset): Likewise.
4783         * signal/sigismem.c (sigismember): Likewise.
4784         * signal/signal.c (signal): Likewise.
4785         * signal/sigorset.c (sigorset): Likewise.
4786         * signal/sigpause.c (__sigpause): Likewise.
4787         * signal/sigpending.c (sigpending): Likewise.
4788         * signal/sigprocmask.c (__sigprocmask): Likewise.
4789         * signal/sigrelse.c (sigrelse): Likewise.
4790         * signal/sigreturn.c (__sigreturn): Likewise.
4791         * signal/sigset.c (sigset): Likewise.
4792         * signal/sigsetmask.c (__sigsetmask): Likewise.
4793         * signal/sigstack.c (sigstack): Likewise.
4794         * signal/sigsuspend.c (__sigsuspend): Likewise.
4795         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4796         * signal/sysv_signal.c (__sysv_signal): Likewise.
4797         * socket/accept.c (accept): Likewise.
4798         * socket/accept4.c (__libc_accept4): Likewise.
4799         * socket/bind.c (__bind): Likewise.
4800         * socket/connect.c (__connect): Likewise.
4801         * socket/getpeername.c (getpeername): Likewise.
4802         * socket/getsockname.c (__getsockname): Likewise.
4803         * socket/getsockopt.c (getsockopt): Likewise.
4804         * socket/listen.c (__listen): Likewise.
4805         * socket/recv.c (__recv): Likewise.
4806         * socket/recvmsg.c (__recvmsg): Likewise.
4807         * socket/send.c (__send): Likewise.
4808         * socket/sendmsg.c (__sendmsg): Likewise.
4809         * socket/shutdown.c (shutdown): Likewise.
4810         * socket/sockatmark.c (sockatmark): Likewise.
4811         * socket/socket.c (__socket): Likewise.
4812         * stdio-common/ctermid.c (ctermid): Likewise.
4813         * stdio-common/cuserid.c (cuserid): Likewise.
4814         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4815         * stdio-common/remove.c (remove): Likewise.
4816         * stdio-common/rename.c (rename): Likewise.
4817         * stdio-common/renameat.c (renameat): Likewise.
4818         * stdio-common/tempname.c (__gen_tempname): Likewise.
4819         * stdio-common/xbug.c (InitBuffer): Likewise.
4820         (AppendToBuffer): Likewise.
4821         (ReadFile): Likewise.
4822         * stdlib/a64l.c (a64l): Likewise.
4823         * stdlib/drand48_r.c (drand48_r): Likewise.
4824         * stdlib/getcontext.c (getcontext): Likewise.
4825         * stdlib/getenv.c (getenv): Likewise.
4826         * stdlib/l64a.c (l64a): Likewise.
4827         * stdlib/llabs.c (llabs): Likewise.
4828         * stdlib/lldiv.c (lldiv): Likewise.
4829         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4830         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4831         * stdlib/putenv.c (putenv): Likewise.
4832         * stdlib/random.c (__srandom): Likewise.
4833         (__initstate): Likewise.
4834         (__setstate): Likewise.
4835         * stdlib/random_r.c (__srandom_r): Likewise.
4836         (__setstate_r): Likewise.
4837         (__random_r): Likewise.
4838         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4839         * stdlib/setcontext.c (setcontext): Likewise.
4840         * stdlib/setenv.c (setenv): Likewise.
4841         (unsetenv): Likewise.
4842         * stdlib/srand48.c (srand48): Likewise.
4843         * stdlib/srand48_r.c (__srand48_r): Likewise.
4844         * stdlib/swapcontext.c (swapcontext): Likewise.
4845         * stdlib/system.c (__libc_system): Likewise.
4846         * stdlib/tst-strtod.c (expand): Likewise.
4847         * stdlib/tst-strtol.c (expand): Likewise.
4848         * stdlib/tst-strtoll.c (expand): Likewise.
4849         * streams/fattach.c (fattach): Likewise.
4850         * streams/fdetach.c (fdetach): Likewise.
4851         * streams/getmsg.c (getmsg): Likewise.
4852         * streams/isastream.c (isastream): Likewise.
4853         * string/ffs.c (__ffs): Likewise.
4854         * string/ffsll.c (ffsll): Likewise.
4855         * string/memcmp.c (memcmp_common_alignment): Likewise.
4856         (memcmp_not_common_alignment): Likewise.
4857         (MEMCMP): Likewise.
4858         * string/memcpy.c (memcpy): Likewise.
4859         * string/memmove.c (MEMMOVE): Likewise.
4860         * string/memset.c (memset): Likewise.
4861         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4862         * string/strchrnul.c (STRCHRNUL): Likewise.
4863         * string/strerror.c (strerror): Likewise.
4864         * string/strndup.c (__strndup): Likewise.
4865         * string/strverscmp.c (__strverscmp): Likewise.
4866         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4867         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4868         (clnttcp_freeres): Likewise.
4869         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4870         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4871         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4872         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4873         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4874         (xdr_callhdr): Likewise.
4875         * sunrpc/rpcinfo.c (udpping): Likewise.
4876         (tcpping): Likewise.
4877         (pstatus): Likewise.
4878         (pmapdump): Likewise.
4879         (brdcst): Likewise.
4880         (deletereg): Likewise.
4881         (getprognum): Likewise.
4882         (getvers): Likewise.
4883         (get_inet_address): Likewise.
4884         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4885         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4886         (svcudp_stat): Likewise.
4887         (svcudp_recv): Likewise.
4888         (svcudp_reply): Likewise.
4889         (svcudp_getargs): Likewise.
4890         (svcudp_freeargs): Likewise.
4891         (svcudp_destroy): Likewise.
4892         * sunrpc/xdr.c (xdr_bytes): Likewise.
4893         (xdr_netobj): Likewise.
4894         (xdr_string): Likewise.
4895         (xdr_wrapstring): Likewise.
4896         * sunrpc/xdr_float.c (xdr_float): Likewise.
4897         (xdr_double): Likewise.
4898         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4899         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4900         * sysvipc/ftok.c (ftok): Likewise.
4901         * sysvipc/msgctl.c (msgctl): Likewise.
4902         * sysvipc/msgget.c (msgget): Likewise.
4903         * sysvipc/msgrcv.c (msgrcv): Likewise.
4904         * sysvipc/msgsnd.c (msgsnd): Likewise.
4905         * sysvipc/semget.c (semget): Likewise.
4906         * sysvipc/semop.c (semop): Likewise.
4907         * sysvipc/shmat.c (shmat): Likewise.
4908         * sysvipc/shmctl.c (shmctl): Likewise.
4909         * sysvipc/shmdt.c (shmdt): Likewise.
4910         * sysvipc/shmget.c (shmget): Likewise.
4911         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4912         * termios/speed.c (cfgetospeed): Likewise.
4913         (cfgetispeed): Likewise.
4914         (cfsetospeed): Likewise.
4915         (cfsetispeed): Likewise.
4916         * termios/tcflow.c (tcflow): Likewise.
4917         * termios/tcflush.c (tcflush): Likewise.
4918         * termios/tcgetattr.c (__tcgetattr): Likewise.
4919         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4920         * termios/tcgetsid.c (tcgetsid): Likewise.
4921         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4922         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4923         * time/adjtime.c (__adjtime): Likewise.
4924         * time/dysize.c (dysize): Likewise.
4925         * time/ftime.c (ftime): Likewise.
4926         * time/getitimer.c (__getitimer): Likewise.
4927         * time/gettimeofday.c (__gettimeofday): Likewise.
4928         * time/gmtime.c (__gmtime_r): Likewise.
4929         (gmtime): Likewise.
4930         * time/localtime.c (__localtime_r): Likewise.
4931         (localtime): Likewise.
4932         * time/offtime.c (__offtime): Likewise.
4933         * time/settimeofday.c (__settimeofday): Likewise.
4934         * time/stime.c (stime): Likewise.
4935         * time/strftime_l.c (tm_diff): Likewise.
4936         (iso_week_days): Likewise.
4937         * time/strptime.c (strptime): Likewise.
4938         * time/time.c (time): Likewise.
4939         * time/timespec_get.c (timespec_get): Likewise.
4940         * time/tzset.c (tzset_internal): Likewise.
4941         (compute_change): Likewise.
4942         (__tz_compute): Likewise.
4943         * wcsmbs/btowc.c (__btowc): Likewise.
4944         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4945         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4946         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4947         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4948         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4949         * wcsmbs/wcscat.c (__wcscat): Likewise.
4950         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4951         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4952         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4953         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4954         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4955         * wcsmbs/wcslen.c (__wcslen): Likewise.
4956         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4957         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4958         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4959         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4960         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4961         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4962         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4963         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4964         * wcsmbs/wcstok.c (wcstok): Likewise.
4965         * wcsmbs/wctob.c (wctob): Likewise.
4966         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4967         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4968         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4969         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4970         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4971         * wcsmbs/wmemset.c (__wmemset): Likewise.
4972         * wctype/wcfuncs.c (__towlower): Likewise.
4973         (__towupper): Likewise.
4975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4976         (lll_unlock_elision): Add adapt_count parameter.
4978 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4980         * sysdeps/nptl/configure.ac: Do not give errors based on the
4981         results of top-level configure tests.
4982         * sysdeps/nptl/configure: Regenerated.
4984         * configure.ac (libc_cv_Bgroup): Remove configure test.
4985         * configure: Regenerated.
4986         * config.make.in (have-Bgroup): Remove variable.
4988         * configure.ac (sizeof_long_double): Remove configure test.
4989         * configure: Regenerated.
4990         * config.make.in (sizeof-long-double): Remove variable.
4992         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4993         * configure: Regenerated.
4994         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4995         variable.
4996         (exceptions): Likewise.
4997         * sysdeps/arm/configure: Regenerated.
4998         * config.make.in (exceptions): Remove variable.
4999         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5000         $(exceptions).
5001         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5002         (CFLAGS-vdprintf_chk.c): Likewise.
5003         (CFLAGS-printf_chk.c): Likewise.
5004         (CFLAGS-fprintf_chk.c): Likewise.
5005         (CFLAGS-vprintf_chk.c): Likewise.
5006         (CFLAGS-vfprintf_chk.c): Likewise.
5007         (CFLAGS-gets_chk.c): Likewise.
5008         (CFLAGS-fgets_chk.c): Likewise.
5009         (CFLAGS-fgets_u_chk.c): Likewise.
5010         (CFLAGS-fread_chk.c): Likewise.
5011         (CFLAGS-fread_u_chk.c): Likewise.
5012         (CFLAGS-wprintf_chk.c): Likewise.
5013         (CFLAGS-fwprintf_chk.c): Likewise.
5014         (CFLAGS-vwprintf_chk.c): Likewise.
5015         (CFLAGS-vfwprintf_chk.c): Likewise.
5016         (CFLAGS-fgetws_chk.c): Likewise.
5017         (CFLAGS-fgetws_u_chk.c): Likewise.
5018         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5019         (CFLAGS-fputc.c): Likewise.
5020         (CFLAGS-fputwc.c): Likewise.
5021         (CFLAGS-freopen64.c): Likewise.
5022         (CFLAGS-freopen.c): Likewise.
5023         (CFLAGS-fseek.c): Likewise.
5024         (CFLAGS-fseeko64.c): Likewise.
5025         (CFLAGS-fseeko.c): Likewise.
5026         (CFLAGS-ftello64.c): Likewise.
5027         (CFLAGS-ftello.c): Likewise.
5028         (CFLAGS-fwide.c): Likewise.
5029         (CFLAGS-genops.c): Likewise.
5030         (CFLAGS-getc.c): Likewise.
5031         (CFLAGS-getchar.c): Likewise.
5032         (CFLAGS-getwc.c): Likewise.
5033         (CFLAGS-getwchar.c): Likewise.
5034         (CFLAGS-iofclose.c): Likewise.
5035         (CFLAGS-iofflush.c): Likewise.
5036         (CFLAGS-iofgetpos64.c): Likewise.
5037         (CFLAGS-iofgetpos.c): Likewise.
5038         (CFLAGS-iofgets.c): Likewise.
5039         (CFLAGS-iofgetws.c): Likewise.
5040         (CFLAGS-iofputs.c): Likewise.
5041         (CFLAGS-iofputws.c): Likewise.
5042         (CFLAGS-iofread.c): Likewise.
5043         (CFLAGS-iofsetpos64.c): Likewise.
5044         (CFLAGS-iofsetpos.c): Likewise.
5045         (CFLAGS-ioftell.c): Likewise.
5046         (CFLAGS-iofwrite.c): Likewise.
5047         (CFLAGS-iogetdelim.c): Likewise.
5048         (CFLAGS-iogetline.c): Likewise.
5049         (CFLAGS-iogets.c): Likewise.
5050         (CFLAGS-iogetwline.c): Likewise.
5051         (CFLAGS-ioputs.c): Likewise.
5052         (CFLAGS-ioseekoff.c): Likewise.
5053         (CFLAGS-ioseekpos.c): Likewise.
5054         (CFLAGS-iosetbuffer.c): Likewise.
5055         (CFLAGS-iosetvbuf.c): Likewise.
5056         (CFLAGS-ioungetc.c): Likewise.
5057         (CFLAGS-ioungetwc.c): Likewise.
5058         (CFLAGS-oldfileops.c): Likewise.
5059         (CFLAGS-oldiofclose.c): Likewise.
5060         (CFLAGS-oldiofgetpos64.c): Likewise.
5061         (CFLAGS-oldiofgetpos.c): Likewise.
5062         (CFLAGS-oldiofsetpos64.c): Likewise.
5063         (CFLAGS-oldiofsetpos.c): Likewise.
5064         (CFLAGS-peekc.c): Likewise.
5065         (CFLAGS-putc.c): Likewise.
5066         (CFLAGS-putchar.c): Likewise.
5067         (CFLAGS-putwc.c): Likewise.
5068         (CFLAGS-putwchar.c): Likewise.
5069         (CFLAGS-rewind.c): Likewise.
5070         (CFLAGS-wfileops.c): Likewise.
5071         (CFLAGS-wgenops.c): Likewise.
5072         (CFLAGS-oldiofopen.c): Likewise.
5073         (CFLAGS-iofopen.c): Likewise.
5074         (CFLAGS-iofopen64.c): Likewise.
5075         (CFLAGS-oldtmpfile.c): Likewise.
5076         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5077         (CFLAGS-fprintf.c): Likewise.
5078         (CFLAGS-printf.c): Likewise.
5079         (CFLAGS-vfwprintf.c): Likewise.
5080         (CFLAGS-vfscanf.c): Likewise.
5081         (CFLAGS-vfwscanf.c): Likewise.
5082         (CFLAGS-fscanf.c): Likewise.
5083         (CFLAGS-scanf.c): Likewise.
5084         (CFLAGS-isoc99_vfscanf.c): Likewise.
5085         (CFLAGS-isoc99_vscanf.c): Likewise.
5086         (CFLAGS-isoc99_fscanf.c): Likewise.
5087         (CFLAGS-isoc99_scanf.c): Likewise.
5088         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5089         (CFLAGS-isoc99_fwscanf.c): Likewise.
5090         (CFLAGS-isoc99_vwscanf.c): Likewise.
5091         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5093         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5094         after mkstemp64.
5095         * login/tst-utmp.c (do_prepare): Likewise.
5096         * rt/tst-aio.c (do_prepare): Likewise.
5097         * rt/tst-aio64.c (do_prepare): Likewise.
5099 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5101         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5102         (__lll_lock_elision): Remove adapt_count decrement...
5103         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5104         (__lll_trylock_elision): Likewise.
5105         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5106         (__lll_unlock_elision): ... to here. And utilize
5107         new adapt_count parameter.
5108         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5109         (__lll_unlock_elision): Update to include adapt_count
5110         parameter.
5111         (lll_unlock_elision): Pass pointer to adapt_count
5112         variable.
5114 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5116         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5117         Add elision adapt_count parameter to list of arguments.
5118         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5119         (lll_unlock_elision): Update with new parameter list
5120         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5121         (lll_unlock_elision): Likewise
5122         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5123         (lll_unlock_elision): Likewise
5125 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5127         [BZ #19122]
5128         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5129         attribute_hidden.
5131         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5132         attribute_hidden.
5133         [IS_IN (rtld)] (__strdup): Likewise.
5134         [IS_IN (rtld)] (__strerror_r): Likewise.
5135         [IS_IN (rtld)] (__strsep_g): Likewise.
5136         [IS_IN (rtld)] (memchr): Likewise.
5137         [IS_IN (rtld)] (memcmp): Likewise.
5138         [IS_IN (rtld)] (memcpy): Likewise.
5139         [IS_IN (rtld)] (memmove): Likewise.
5140         [IS_IN (rtld)] (memset): Likewise.
5141         [IS_IN (rtld)] (rawmemchr): Likewise.
5142         [IS_IN (rtld)] (stpcpy): Likewise.
5143         [IS_IN (rtld)] (strchr): Likewise.
5144         [IS_IN (rtld)] (strcmp): Likewise.
5145         [IS_IN (rtld)] (strlen): Likewise.
5146         [IS_IN (rtld)] (strnlen): Likewise.
5147         [IS_IN (rtld)] (strsep): Likewise.
5149         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5150         attribute_hidden.
5151         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5153         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5154         attribute_hidden.
5155         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5157         * include/setjmp.h (__longjmp): Add attribute_hidden.
5158         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5160         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5161         Add attribute_hidden.
5163         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5164         [IS_IN (rtld)] (__open): Likewise.
5165         [IS_IN (rtld)] (__fcntl): Likewise.
5167         * include/dirent.h (__opendirat): Add attribute_hidden.
5168         (__getdents): Likewise.
5169         (__getdents64): Likewise.
5170         (__alloc_dir): Likewise.
5171         [IS_IN (rtld)] (__closedir): Likewise.
5172         [IS_IN (rtld)] (__fdopendir): Likewise.
5173         [IS_IN (rtld)] (__readdir): Likewise.
5174         [IS_IN (rtld)] (__readdir64): Likewise.
5175         [IS_IN (rtld)] (__rewinddir): Likewise.
5177         * include/dlfcn.h (_dl_catch_error): Moved to ...
5178         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5179         attribute_hidden.
5181         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5182         (_itoa_word): Likewise.
5184         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5185         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5186         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5187         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5188         (_dl_higher_prime_number): Likewise.
5189         (_dl_debug_printf_c): Likewise.
5190         (_dl_signal_cerror): Likewise.
5191         (_dl_receive_error): Likewise.
5192         (_dl_reloc_bad_type): Likewise.
5193         (_dl_resolve_conflicts): Likewise.
5194         (_dl_check_all_versions): Likewise.
5195         (_dl_check_map_versions): Likewise.
5196         (_dl_sort_fini): Likewise.
5197         (_dl_debug_initialize): Likewise.
5198         (_dl_init_paths): Likewise.
5199         (_dl_show_auxv): Likewise.
5200         (_dl_next_ld_env_entry): Likewise.
5201         (_dl_important_hwcaps): Likewise.
5202         (_dl_load_cache_lookup): Likewise.
5203         (_dl_update_slotinfo): Likewise.
5204         (_dl_show_scope): Likewise.
5206         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5207         attribute_hidden.
5208         (_wordcopy_fwd_dest_aligned): Likewise.
5209         (_wordcopy_bwd_aligned): Likewise.
5210         (_wordcopy_bwd_dest_aligned): Likewise.
5212         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5213         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5214         Likewise.
5215         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5216         Likewise.
5217         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5219 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5221         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5222         GCC 5 requirement.
5224 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5226         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5227         test.
5228         * sysdeps/i386/configure: Regenerated.
5229         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5230         code unconditional.
5232         * configure.ac (libc_cv_asm_previous_directive): Remove configure
5233         test.
5234         (libc_cv_asm_popsection_directive): Likewise.
5235         * configure: Regenerated.
5236         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5237         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5238         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5239         (__make_section_unallocated): Make definition unconditional.
5240         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5241         Remove conditional definition.
5242         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5243         (__make_section_unallocated): Likewise.
5245         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5246         * configure: Regenerated.
5247         * config.make.in (static-libgcc): Remove variable.
5248         * Makerules (build-shlib-helper): Use -static-libgcc instead of
5249         $(static-libgcc).
5250         (build-module-helper): Likewise.
5252         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5253         * configure: Regenerated.
5255 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5257         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5258         (struct char_buffer): New type.
5259         (char_buffer_start, char_buffer_size, char_buffer_error)
5260         (char_buffer_rewind, char_buffer_add): New functions.
5261         (ADDW): Remove macro, replaced by the char_buffer_add function.
5262         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5263         of extend_alloca.  Make control flow more explicit.
5265 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5267         [BZ #19137]
5268         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5269         Add -fomit-frame-pointer.
5270         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5272 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5274         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5275         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5276         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5277         only if !__GNUC_PREREQ (5,0).
5278         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5279         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5280         (INTERNAL_SYSCALL_NCS): Likewise.
5281         (LOADREGS_0): New macro for GCC 5.
5282         (ASMARGS_0): Likewise.
5283         (LOADREGS_1): Likewise.
5284         (ASMARGS_1): Likewise.
5285         (LOADREGS_2): Likewise.
5286         (ASMARGS_2): Likewise.
5287         (LOADREGS_3): Likewise.
5288         (ASMARGS_3): Likewise.
5289         (LOADREGS_4): Likewise.
5290         (ASMARGS_4): Likewise.
5291         (LOADREGS_5): Likewise.
5292         (ASMARGS_5): Likewise.
5293         (LOADREGS_6): Likewise.
5294         (ASMARGS_6): Likewise.
5296 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5298         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5299         -fomit-frame-pointer.
5300         (CFLAGS-mmap64.c): Likewise.
5301         (CFLAGS-semtimedop.c): Likewise.
5302         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5303         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5304         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5305         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5307 2015-10-15  Florian Weimer  <fweimer@redhat.com>
5309         [BZ #18928]
5310         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5311         _dl_pointer_guard member.
5312         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5313         initializer.
5314         (security_init): Always set up pointer guard.
5315         (process_envvars): Do not process LD_POINTER_GUARD.
5317 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
5319         [BZ #19134]
5320         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5321         (.LC2): Likewise.
5322         (.LC3): Likewise.
5323         (__lround): Do not add 0.5 to integer or out-of-range arguments.
5325 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5327         [BZ #19129]
5328         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5329         r0 and r1.
5331 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
5333         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5335 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
5337         * include/stap-probe.h: Fix macro definition formatting.
5339 2015-10-14  Florian Weimer  <fweimer@redhat.com>
5341         [BZ #19074]
5342         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5343         load and store num_ifs.
5345 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5347         [BZ #18822]
5348         * sysdeps/unix/sysv/linux/sched_getaffinity.c
5349         (__sched_getaffinity_new): Add libc_hidden_proto and
5350         libc_hidden_def.
5352 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5354         [BZ #19007]
5355         * scripts/localplt.awk: Also allow GOT references.
5356         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5357         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5358         with "+ REL R_386_GLOB_DAT".
5359         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5360         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5362 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
5364         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5365         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5366         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5367         Likewise.
5368         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5369         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5370         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5371         INTERNAL_SYSCALLINTERNAL_SYSCALL and
5372         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5373         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5374         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5375         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5376         Likewise.
5377         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5379 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5381         [BZ #19125]
5382         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5383         <math_private.h> and <stdint.h>.
5384         (__llround): Avoid conversions to and from long long int, and
5385         subtractions, where those might raise spurious exceptions.
5386         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5387         <math_private.h> and <stdint.h>.
5388         (__llroundf): Avoid conversions to and from long long int, and
5389         subtractions, where those might raise spurious exceptions.
5391 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5393         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5394         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5395         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5396         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5397         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5398         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5399         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5400         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5401         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5402         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5403         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5404         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5405         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5406         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5407         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5408         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5409         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5410         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5411         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5412         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5413         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5414         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5415         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5416         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5417         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5418         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5419         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5420         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5421         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5422         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5423         (__xstat64_conv): Likewise.
5424         (__xstat32_conv): Likewise.
5426 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5428         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5429         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5430         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5431         <sysdeps/unix/sysv/linux/sysdep.h>.
5432         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5433         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5434         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5435         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5436         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5437         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5438         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5439         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5440         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5445         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5446         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5448         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5449         (sysdep-dl-routines): Add sysdep.
5450         [$(subdir) == nptl] (libpthread-routines): Likewise.
5451         [$(subdir) == rt] (librt-routines): Likewise.
5452         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5453         PIC when branching to SYSCALL_ERROR_LABEL.
5454         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5455         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5456         <sysdeps/unix/sysv/linux/sysdep.h>.
5457         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5458         (SYSCALL_ERROR_ERRNO): Removed.
5459         (SYSCALL_ERROR_HANDLER): Changed to empty.
5460         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5461         (__syscall_error): New prototype.
5462         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5463         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5465 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5467         [BZ #19124]
5468         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5469         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5470         _dl_runtime_resolve_avx.
5471         (_dl_runtime_profile_avx512): Make it a hidden alias of
5472         _dl_runtime_profile_avx.
5474 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5476         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5477         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5478         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5479         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5481         [BZ #16422]
5482         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5483         New configure test.
5484         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5485         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5486         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5487         <math_private.h> and <stdint.h>.
5488         (__llrint): Avoid conversions to long long int where those might
5489         raise spurious exceptions.
5490         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5491         <math_private.h> and <stdint.h>.
5492         (__llrintf): Avoid conversions to long long int where those might
5493         raise spurious exceptions.
5495 2015-10-12  Andreas Schwab  <schwab@suse.de>
5497         [BZ #18969]
5498         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5499         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5500         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5501         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5502         $(gen-locales).
5503         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5504         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5505         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5506         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5507         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5508         $(gen-locales).
5509         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5510         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5511         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5512         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5513         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5514         ($(objpfx)tst-ftell-active-handler.out)
5515         ($(objpfx)tst-ftell-append.out)
5516         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5517         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5518         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5519         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5520         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5521         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5522         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5523         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5524         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5525         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5526         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5527         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5528         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5529         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5530         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5531         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5532         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5533         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5534         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5535         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5536         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5537         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5538         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5539         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5540         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5541         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5542         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5543         $(gen-locales).
5544         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5545         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5546         $(gen-locales).
5547         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5548         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5549         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5550         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5551         $(gen-locales).
5552         * libio/tst_wprintf2.c (main): Use explicit locale.
5553         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5555 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5557         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5558         __msg_sig_post.
5559         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5561 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5563         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5564         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5566         * sysdeps/arm/libm-test-ulps: Regenerated.
5568         [BZ #15470]
5569         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5571         [BZ #16399]
5572         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5573         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5574         and <fix-fp-int-convert-overflow.h>.
5575         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5576         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5577         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5578         and <fix-fp-int-convert-overflow.h>.
5579         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5580         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5581         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5582         <fix-fp-int-convert-overflow.h>.
5583         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5584         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5585         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5586         <fix-fp-int-convert-overflow.h>.
5587         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5588         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5589         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5590         and <fix-fp-int-convert-overflow.h>.
5591         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5592         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5593         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5594         <limits.h> and <fix-fp-int-convert-overflow.h>.
5595         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5596         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5597         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5598         and <fix-fp-int-convert-overflow.h>.
5599         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5600         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5601         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5602         and <fix-fp-int-convert-overflow.h>.
5603         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5604         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5605         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5607 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5609         [BZ #18589]
5610         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5611         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5612         $(gen-locales).
5614 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5615             Phil Blundell <pb@pbcl.net>
5617         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5618         * nptl/tst-cancel26.c: New file.
5619         * nptl/tst-cancel27.c: Likewise.
5621 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5623         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5624         __ILP32__ isn't defined.
5625         (lrint): Likewise.
5626         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5627         (lrintf): Likewise.
5628         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5629         (lrintl): Likewise.
5630         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5631         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5632         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5634 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5636         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5637         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5639         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5640         file.
5641         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5642         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5644 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5646         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5647         configure test.
5648         * sysdeps/i386/configure: Regenerated.
5649         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5650         configure test.
5651         * sysdeps/x86_64/configure: Regenerated.
5652         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5653         Make code unconditional.
5655         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5656         test.
5657         * sysdeps/i386/configure: Regenerated.
5658         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5659         test.
5660         * sysdeps/x86_64/configure: Regenerated.
5661         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5662         Make code unconditional.
5663         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5664         Likewise.
5665         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5666         Likewise.
5667         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5668         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5669         code unconditional.
5670         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5671         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5672         code unconditional.
5673         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5674         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5675         code unconditional.
5676         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5677         code unconditional.
5678         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5679         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5680         code unconditional.
5681         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5682         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5683         code unconditional.
5684         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5685         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5686         code unconditional.
5687         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5688         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5689         code unconditional.
5690         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5691         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5693         [BZ #19095]
5694         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5695         mantissa to long int before shifting left.
5697 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5699         [BZ #19094]
5700         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5701         <limits.h>.
5702         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5703         when result overflows but exception would not result from cast.
5704         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5705         <limits.h>.
5706         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5707         when result overflows but exception would not result from cast.
5708         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5709         <limits.h>.
5710         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5711         when result overflows but exception would not result from cast.
5712         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5713         <limits.h>.
5714         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5715         when result overflows but exception would not result from cast.
5716         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5717         <limits.h>.
5718         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5719         when result overflows but exception would not result from cast.
5720         * math/libm-test.inc (lrint_test_data): Add more tests.
5721         (llrint_test_data): Likewise.
5723 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5725         [BZ #18872]
5726         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5727         Move out from under [$(run-built-tests) = yes] conditional.
5728         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5729         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5731 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5733         [BZ #18589]
5734         * string/Makefile (tests): Add bug-strcoll2.
5735         (LOCALES): Add cs_CZ.UTF-8.
5736         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5738         [BZ #18589]
5739         * string/bug-strcoll2.c: New file.
5740         * locale/categories.def: Revert commit
5741         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5742         * locale/langinfo.h: Likewise.
5743         * locale/localeinfo.h: Likewise.
5744         * locale/C-collate.c: Likewise.
5745         * locale/programs/ld-collate.c (collate_output): Likewise.
5746         * string/strcoll_l.c (STRDIFF): Likewise.
5747         (STRCOLL): Likewise.
5748         * wcsmbs/wcscoll_l.c: Likewise.
5750 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5752         * math/libm-test.inc (lround_test_data): Do not expect the absence
5753         of "inexact" for some tests with non-integer arguments.
5754         (llround_test_data): Likewise.
5756         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5757         test.
5758         (libc_cv_cc_sse2avx): Likewise.
5759         * sysdeps/i386/configure: Regenerated.
5760         * sysdeps/i386/i686/multiarch/Makefile
5761         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5762         [$(subdir) = math].
5763         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5764         code unconditional.
5765         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5766         Likewise.
5767         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5768         Likewise.
5769         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5770         Likewise.
5771         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5772         test.
5773         (libc_cv_cc_sse2avx): Likewise.
5774         * sysdeps/x86_64/configure: Regenerated.
5775         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5776         unconditional.
5777         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5778         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5779         unconditional.
5780         (_dl_runtime_profile)
5781         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5782         conditional code.
5783         * sysdeps/x86_64/fpu/multiarch/Makefile
5784         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5785         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5786         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5787         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5788         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5789         * sysdeps/x86_64/fpu/multiarch/e_log.c
5790         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5791         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5792         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5793         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5794         Likewise.
5795         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5796         Likewise.
5797         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5798         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5799         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5800         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5801         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5802         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5803         (HAVE_SSE2AVX_SUPPORT): Likewise.
5805 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5807         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5808         instead of #pragma optimize.
5810 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5812         [BZ #17195]
5813         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5814         as is similarly done in systrim and _int_free already.
5816 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5818         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5820 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5822         [BZ #19088]
5823         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5824         <limits.h>.
5825         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5826         overflows but exception would not result from cast.
5827         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5828         and <limits.h>.
5829         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5830         overflows but exception would not result from cast.
5831         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5832         <limits.h>.
5833         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5834         overflows but exception would not result from cast.
5835         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5836         <limits.h>.
5837         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5838         overflows but exception would not result from cast.
5839         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5840         <limits.h>.
5841         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5842         overflows but exception would not result from cast.
5843         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5844         <limits.h>.
5845         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5846         overflows but exception would not result from cast.
5847         * math/libm-test.inc (lround_test_data): Add more tests.
5848         (llround_test_data): Likewise.
5850 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5852         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5853         (CFLAGS-ialloc.c): Ditto.
5854         (CFLAGS-scheck.c): Ditto.
5856 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5858         [BZ #19086]
5859         * manual/filesys.texi (Storage Allocation): Fix argument order for
5860         posix_fallocate64.
5862 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5864         [BZ #19085]
5865         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5866         exponent below 48 inside case for non-overflowing exponent.
5867         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5869 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5871         * iconvdata/cp737.h (from_idx): Add const.
5872         * iconvdata/cp775.h (from_idx): Likewise.
5874 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5876         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5877         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5878         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5880         [BZ #19079]
5881         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5882         file, conditioned on [!_LP64].
5883         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5884         [!_LP64] (__lround): Do not define as function or alias.
5885         [!_LP64] (lround): Likewise.
5886         [!_LP64] (__lroundl): Likewise.
5887         [!_LP64] (lroundl): Likewise.
5888         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5889         macro.
5890         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5891         Likewise.
5893 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5895         * math/libm-test.inc (lrint_test_data): Add more tests.
5896         (llrint_test_data): Likewise.
5897         (lround_test_data): Likewise.
5898         (llround_test_data): Likewise.
5900         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5901         (llrint_test_data): Add tests used for lrint.
5903         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5904         test.
5905         * sysdeps/i386/configure: Regenerated.
5906         * sysdeps/i386/i686/multiarch/Makefile
5907         [$(config-cflags-sse4) = yes]: Make code unconditional.
5908         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5909         Likewise.
5910         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5911         Likewise.
5912         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5913         test.
5914         * sysdeps/x86_64/configure: Regenerated.
5915         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5916         Make code unconditional.
5917         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5918         Likewise.
5919         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5920         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5922         * scripts/rpm2dynsym.sh: Remove file.
5924 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5926         * configure.ac (libc_cv_cxx_thread_local): Define.
5927         * configure: Regenerate.
5928         * config.make.in (have-cxx-thread_local): Define.
5929         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5930         (LDLIBS-tst-thread_local1): Define.
5931         (tests): Add tst-thread_local1.
5932         [have-cxx-thread_local != yes] (tests-unsupported): Add
5933         tst-thread_local1.
5934         * nptl/tst-thread_local1.cc: New file.
5936 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5938         [BZ #19078]
5939         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5940         (u_thres): Likewise.
5941         (__expl): Determine whether to call __kernel_standard_l based on
5942         value of result, not argument.
5944         * math/libm-test.inc (scalb_test_data): Add more expectations for
5945         the "inexact" exception.
5947         [BZ #19077]
5948         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5949         0.0L for argument 1.0L.
5951         [BZ #19076]
5952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5953         constant 0.0L when computing infinite result.
5955 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5957         [BZ #10432]
5958         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5959         malloc_usable_size.
5961 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5963         [BZ #19018]
5964         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5965         Mangle function pointer before storing it.
5966         (__call_tls_dtors): Demangle function pointer before calling it.
5968 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5970         [BZ #19012]
5971         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5972         Clean up on failure.
5974 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5976         [BZ #19071]
5977         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5978         long int variable to store possibly incremented high part of
5979         mantissa.
5980         * math/libm-test.inc (lround_test_data): Add tests used for
5981         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5982         for tests requiring 64-bit long.  Do not condition tests on
5983         [TEST_FLOAT] unnecessarily.
5984         (llround_test_data): Add tests used for lround.  Add another
5985         expectation for the "inexact" exception.  Do not condition tests
5986         on [TEST_FLOAT] unnecessarily.
5988         [BZ #887]
5989         [BZ #19049]
5990         [BZ #19050]
5991         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5992         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5993         <fix-int-fp-convert-zero.h>.
5994         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5995         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5996         <fix-int-fp-convert-zero.h>.
5997         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5998         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5999         <fix-int-fp-convert-zero.h>.
6000         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6001         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6002         <fix-int-fp-convert-zero.h>.
6003         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6004         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6005         <fix-int-fp-convert-zero.h>.
6006         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6007         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6008         <fix-int-fp-convert-zero.h>.
6009         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6010         * sysdeps/ieee754/flt-32/s_erff.c: Include
6011         <fix-int-fp-convert-zero.h>.
6012         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6013         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6014         <fix-int-fp-convert-zero.h>.
6015         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6016         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6017         <fix-int-fp-convert-zero.h>.
6018         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6019         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6020         <fix-int-fp-convert-zero.h>.
6021         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6022         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6023         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6024         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6025         file.
6026         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6028 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6030         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6032 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6034         [BZ #19059]
6035         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6036         overflowing computation.
6037         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6038         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6039         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6040         Likewise.
6041         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6042         Likewise.
6043         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6044         Likewise.
6045         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6046         Likewise.
6047         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6048         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6049         Likewise.
6050         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6051         Likewise.
6052         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6054         * nss/rewrite_field.c (__nss_rewrite_field): Use
6055         internal_function.
6056         * nss/valid_field.c (__nss_valid_field): Likewise.
6057         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6059 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6061         [BZ #18724]
6062         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6063         (__nss_invalid_field_characters, __nss_valid_field)
6064         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6065         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6066         tst-field.c: New file.
6067         * nss/Makefile (routines): Add valid_field, rewrite_field.
6068         (tests-static): Define unconditionally.
6069         (tests): Include tests-static.
6070         [build-static-nss] (tests-static): Use append.
6071         [build-static-nss] (tests): Remove modification.
6072         * nss/getent.c (print_group): Call putgrent.  Report error.
6073         (print_gshadow): Call putsgent.  Report error.
6074         (print_passwd): Call putpwent.  Report error.
6075         (print_shadow): Call putspent.  Report error.
6076         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6077         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6078         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6079         name, password, directory, shell fields for valid syntax.  Rewrite
6080         GECOS field to match syntax.
6081         * pwd/Makefile (tests): Add tst-putpwent.
6082         * pwd/tst-putpwent.c: New file.
6083         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6084         Check grName, grpasswd, gr_mem fields for valid syntax.
6085         Change loop variable i to size_t.
6086         * grp/Makefile (tests): Add tst-putgrent.
6087         * grp/tst-putgrent.c: New file.
6088         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6089         valid syntax.
6090         * shadow/Makefile (tests): Add tst-putspent.
6091         * shadow/tst-putspent.c: New file.
6092         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6093         sg_mem fields for valid syntax.
6094         * gshadow/Makefile (tests): Add tst-putsgent.
6095         * gshadow/tst-putsgent.c: New file.
6097 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6099         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6100         assembly instructions.
6102 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6104         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6105         prefix from operands.
6107 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6109         [BZ #16347]
6110         [BZ #19046]
6111         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6112         <libc-internal.h>.
6113         (MAXLGM): Do not use diagnostic control macros.
6114         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6115         threshold for ldbl-128ibm.
6116         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6117         instead of multiplying by log then subtracting.
6118         * math/auto-libm-test-in: Add more tests of lgamma.
6119         * math/auto-libm-test-out: Regenerated.
6121         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6122         (TYPE_HEX_DIG): Likewise.
6123         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6124         precisions when printing floating-point numbers.
6125         (check_float_internal): Likewise.
6127 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6129         [BZ #16620]
6130         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6131         of log (10) rounded downward to 48 bits.
6132         (log10_low): Use corresponding low part of log (10).
6134         [BZ #19032]
6135         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6136         compute result as (x - x) / (x - x) not as 0 / 0.
6137         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6138         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6140         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6141         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6142         and expm1.
6143         * math/auto-libm-test-out: Regenerated.
6144         * math/libm-test.inc (acos_test_data): Add more tests.
6145         (asin_test_data): Likewise.
6146         (asinh_test_data): Likewise.
6147         (atan_test_data): Likewise.
6148         (atanh_test_data): Likewise.
6149         (atan2_test_data): Likewise.
6150         (cbrt_test_data): Likewise.
6151         (ceil_test_data): Likewise.
6152         (copysign_test_data): Likewise.
6153         (cos_test_data): Likewise.
6154         (cosh_test_data): Likewise.
6155         (erf_test_data): Likewise.
6156         (erfc_test_data): Likewise.
6157         (exp_test_data): Likewise.
6158         (exp10_test_data): Likewise.
6159         (exp2_test_data): Likewise.
6160         (expm1_test_data): Likewise.
6161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6163 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6165         [BZ #19006]
6166         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6167         to ...
6168         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6169         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6170         to ...
6171         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6172         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6173         to ...
6174         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6175         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6176         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6177         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6178         to ...
6179         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6180         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6181         Moved to ...
6182         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6183         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6184         Moved to ...
6185         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6186         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6187         to ...
6188         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6190         Moved to ...
6191         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6192         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6193         to ...
6194         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6195         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6196         Removed.
6197         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6198         Likewise.
6199         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6200         Likewise.
6201         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6202         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6203         Likewise.
6204         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6205         Likewise.
6206         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6207         Likewise.
6208         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6209         Likewise.
6210         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6211         Likewise.
6212         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6213         Likewise.
6214         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6215         Likewise.
6216         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6217         Likewise.
6218         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6219         Likewise.
6220         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6221         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6222         Likewise.
6223         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6224         Likewise.
6225         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6226         Likewise.
6227         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6228         Likewise.
6229         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6230         Likewise.
6231         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6232         Replace ../i486/pthread_cond_timedwait.S with
6233         ../pthread_cond_timedwait.S.
6235 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6237         * math/libm-test.inc (acos_test_data): Refine expectations for
6238         errno and "inexact" exceptions.
6239         (acosh_test_data): Likewise.
6240         (asin_test_data): Likewise.
6241         (asinh_test_data): Likewise.
6242         (atan_test_data): Likewise.
6243         (atanh_test_data): Likewise.
6244         (atan2_test_data): Likewise.
6245         (cbrt_test_data): Likewise.
6246         (ceil_test_data): Likewise.
6247         (copysign_test_data): Likewise.
6248         (cosh_test_data): Likewise.
6249         (erf_test_data): Likewise.
6250         (erfc_test_data): Likewise.
6251         (exp_test_data): Likewise.
6252         (exp10_test_data): Likewise.
6253         (exp2_test_data): Likewise.
6254         (expm1_test_data): Likewise.
6255         (fabs_test_data): Likewise.
6256         (floor_test_data): Likewise.
6257         (fma_test_data): Likewise.
6258         (fmax_test_data): Likewise.
6259         (fmin_test_data): Likewise.
6260         (fmod_test_data): Likewise.
6261         (fpclassify_test_data): Likewise.
6262         (frexp_test_data): Likewise.
6263         (hypot_test_data): Likewise.
6264         (ilogb_test_data): Likewise.
6265         (isgreater_test_data): Likewise.
6266         (isgreaterequal_test_data): Likewise.
6267         (isinf_test_data): Likewise.
6268         (isless_test_data): Likewise.
6269         (islessequal_test_data): Likewise.
6270         (islessgreater_test_data): Likewise.
6271         (isnan_test_data): Likewise.
6272         (isnormal_test_data): Likewise.
6273         (issignaling_test_data): Likewise.
6274         (isunordered_test_data): Likewise.
6275         (j0_test_data): Likewise.
6276         (j1_test_data): Likewise.
6277         (jn_test_data): Likewise.
6278         (lgamma_test_data): Likewise.
6279         (lrint_test_data): Likewise.
6280         (llrint_test_data): Likewise.
6281         (log_test_data): Likewise.
6282         (log10_test_data): Likewise.
6283         (log1p_test_data): Likewise.
6284         (log2_test_data): Likewise.
6285         (logb_test_data): Likewise.
6286         (lround_test_data): Likewise.
6287         (llround_test_data): Likewise.
6288         (modf_test_data): Likewise.
6289         (nearbyint_test_data): Likewise.
6290         (nextafter_test_data): Likewise.
6291         (nexttoward_test_data): Likewise.
6292         (pow_test_data): Likewise.
6293         (remainder_test_data): Likewise.
6294         (remquo_test_data): Likewise.
6295         (rint_test_data): Likewise.
6296         (round_test_data): Likewise.
6297         (signbit_test_data): Likewise.
6298         (sinh_test_data): Likewise.
6299         (sqrt_test_data): Likewise.
6300         (tanh_test_data): Likewise.
6301         (tgamma_test_data): Likewise.
6302         (trunc_test_data): Likewise.
6303         (y0_test_data): Likewise.
6304         (y1_test_data): Likewise.
6305         (yn_test_data): Likewise.
6306         (significand_test_data): Likewise.
6308 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
6310         * manual/filesys.texi (Storage Allocation): Document that
6311         posix_fallocate emulation fails when fd is open with O_WRONLY.
6313 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6315         [BZ #19016]
6316         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6317         allow more cases with X^2 + Y^2 >= 0.5.
6318         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
6319         normal element in sum instead of special-casing based on values of
6320         arguments.
6321         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6322         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
6323         -1 as normal element in sum instead of special-casing based on
6324         values of arguments.
6325         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6326         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6327         (__x2y2m1): Update comment.
6328         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
6329         as normal element in sum instead of special-casing based on values
6330         of arguments.
6331         * math/s_clog.c (__clog): Handle more cases using log1p without
6332         hypot.
6333         * math/s_clog10.c (__clog10): Likewise.
6334         * math/s_clog10f.c (__clog10f): Likewise.
6335         * math/s_clog10l.c (__clog10l): Likewise.
6336         * math/s_clogf.c (__clogf): Likewise.
6337         * math/s_clogl.c (__clogl): Likewise.
6338         * math/auto-libm-test-in: Add more tests of clog and clog10.
6339         * math/auto-libm-test-out: Regenerated.
6340         * sysdeps/i386/fpu/libm-test-ulps: Update.
6341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6343 2015-09-28  Martin Sebor  <msebor@redhat.com>
6345         [BZ #18969]
6346         * string/Makefile (LOCALES): Define.
6347         (gen-locales.mk): Include.
6348         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6349         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6350         * string/tst-strxfrm2.c (do_test): Print the name of the locale
6351         on setlocale failure.
6353 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6355         [BZ #18985]
6356         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6357         (__strftime_internal): Likewise.
6358         * time/tst-strftime.c (do_bz18985): New test.
6359         (do_test): Call it.
6361 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
6363         [BZ #18956]
6364         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6365         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
6366         extracting high part.
6367         * math/auto-libm-test-in: Add another test of pow.
6368         * math/auto-libm-test-out: Regenerated.
6369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6371 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6373         [BZ #18825]
6374         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6375         New macro.
6376         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6377         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6378         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6379         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6380         DBL_NARROW_EVAL, reloading the PIC register as needed.
6381         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6382         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6383         FLT_NARROW_EVAL.  Use separate return path for case when first
6384         argument is NaN.
6385         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6386         DEFINE_LDBL_MIN.
6387         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6388         PIC register.
6389         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6390         math_check_force_underflow_nonneg.
6391         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6392         underflow for subnormal result.
6393         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6394         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6395         math_check_force_underflow_nonneg.
6396         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6397         math_check_force_underflow.
6398         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6399         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6400         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6401         DEFINE_LDBL_MIN.
6402         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6403         * math/auto-libm-test-in: Add more tests of pow.
6404         * math/auto-libm-test-out: Regenerated.
6406 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6408         * nss/bug17079.c (init_test_items): Add diagnostic for
6409         inconsistent entries.
6410         (test_buffer_size): Skip inconsistent entries.
6412 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6414         [BZ #13304]
6415         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6416         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6417         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6419         [BZ #13304]
6420         * sysdeps/microblaze/s_fma.c: New file.
6421         * sysdeps/microblaze/s_fmaf.c: Likewise.
6422         * sysdeps/microblaze/sfp-machine.h: Likewise.
6424 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6426         [BZ #17250]
6427         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6428         member.
6430 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6432         [BZ #18803]
6433         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6434         (MO): New macro.
6435         (__ieee754_hypot) [PIC]: Load PIC register.
6436         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6437         DBL_NARROW_EVAL.
6438         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6439         math_check_force_underflow_nonneg in case where result might be
6440         tiny.
6441         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6442         Likewise.
6443         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6444         Likewise.
6445         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6446         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6447         * math/auto-libm-test-in: Add more tests of hypot.
6448         * math/auto-libm-test-out: Regenerated.
6450 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6452         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6454 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6456         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6457         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6458         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6459         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6460         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6461         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6462         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6464         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6465         LOAD_PIC_REG.
6467         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6468         (FLT_CHECK_FORCE_UFLOW): Likewise.
6469         (DBL_CHECK_FORCE_UFLOW): Likewise.
6470         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6471         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6472         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6473         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6474         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6475         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6476         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6477         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6478         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6479         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6480         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6481         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6482         (flt_min): Replace with use of DEFINE_FLT_MIN.
6483         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6484         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6485         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6486         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6487         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6488         (flt_min): Replace with use of DEFINE_FLT_MIN.
6489         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6490         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6491         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6492         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6493         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6494         (flt_min): Replace with use of DEFINE_FLT_MIN.
6495         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6496         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6497         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6498         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6499         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6500         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6501         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6502         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6503         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6504         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6505         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6506         (flt_min): Replace with use of DEFINE_FLT_MIN.
6507         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6508         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6509         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6510         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6511         main computation.
6512         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6513         (flt_min): Replace with use of DEFINE_FLT_MIN.
6514         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6515         main computation.
6516         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6517         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6518         (MO): New macro.
6519         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6520         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6521         (flt_min): Replace with use of DEFINE_FLT_MIN.
6522         (MO): New macro.
6523         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6524         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6525         (__log1pl): Use MO.
6527         [BZ #19003]
6528         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6529         $(config-cflags-nofma).
6531 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6533         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6535 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6537         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6538         (TWO127): Likewise.
6540         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6541         (min_of_type): Likewise.
6542         (math_check_force_underflow): Likewise.
6543         (math_check_force_underflow_nonneg): Likewise.
6544         (math_check_force_underflow_complex): Likewise.
6545         * math/e_exp2l.c (__ieee754_exp2l): Use
6546         math_check_force_underflow_nonneg.
6547         * math/k_casinh.c (__kernel_casinh): Likewise.
6548         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6549         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6550         * math/s_catan.c (__catan): Use
6551         math_check_force_underflow_complex.
6552         * math/s_catanf.c (__catanf): Likewise.
6553         * math/s_catanh.c (__catanh): Likewise.
6554         * math/s_catanhf.c (__catanhf): Likewise.
6555         * math/s_catanhl.c (__catanhl): Likewise.
6556         * math/s_catanl.c (__catanl): Likewise.
6557         * math/s_ccosh.c (__ccosh): Likewise.
6558         * math/s_ccoshf.c (__ccoshf): Likewise.
6559         * math/s_ccoshl.c (__ccoshl): Likewise.
6560         * math/s_cexp.c (__cexp): Likewise.
6561         * math/s_cexpf.c (__cexpf): Likewise.
6562         * math/s_cexpl.c (__cexpl): Likewise.
6563         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6564         * math/s_clog10.c (__clog10): Likewise.
6565         * math/s_clog10f.c (__clog10f): Likewise.
6566         * math/s_clog10l.c (__clog10l): Likewise.
6567         * math/s_clogf.c (__clogf): Likewise.
6568         * math/s_clogl.c (__clogl): Likewise.
6569         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6570         * math/s_csinf.c (__csinf): Likewise.
6571         * math/s_csinh.c (__csinh): Likewise.
6572         * math/s_csinhf.c (__csinhf): Likewise.
6573         * math/s_csinhl.c (__csinhl): Likewise.
6574         * math/s_csinl.c (__csinl): Likewise.
6575         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6576         * math/s_csqrtf.c (__csqrtf): Likewise.
6577         * math/s_csqrtl.c (__csqrtl): Likewise.
6578         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6579         * math/s_ctanf.c (__ctanf): Likewise.
6580         * math/s_ctanh.c (__ctanh): Likewise.
6581         * math/s_ctanhf.c (__ctanhf): Likewise.
6582         * math/s_ctanhl.c (__ctanhl): Likewise.
6583         * math/s_ctanl.c (__ctanl): Likewise.
6584         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6585         instead of volatile.
6586         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6587         math_check_force_underflow.
6588         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6589         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6590         volatile when forcing underflow.
6591         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6592         math_check_force_underflow_nonneg.
6593         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6594         Likewise.
6595         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6596         math_check_force_underflow.
6597         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6598         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6599         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6600         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6601         math_check_force_underflow_nonneg.
6602         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6603         math_check_force_underflow.
6604         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6605         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6606         instead of volatile.
6607         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6608         math_check_force_underflow.
6609         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6610         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6611         math_check_force_underflow_nonneg.
6612         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6613         math_check_force_underflow.
6614         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6615         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6616         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6617         math_check_force_underflow_nonneg.
6618         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6619         Likewise.
6620         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6621         math_check_force_underflow.
6622         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6623         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6624         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6625         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6626         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6627         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6628         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6629         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6630         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6631         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6632         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6633         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6634         Likewise.
6635         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6636         math_check_force_underflow_nonneg.
6637         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6638         Likewise.
6639         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6640         math_check_force_underflow.
6641         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6642         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6643         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6644         Likewise.
6645         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6646         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6647         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6648         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6649         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6650         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6652         instead of volatile.
6653         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6654         math_check_force_underflow.
6655         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6656         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6657         math_check_force_underflow.
6658         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6659         Likewise.
6660         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6661         Use math_check_force_underflow_nonneg.
6662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6663         math_check_force_underflow.
6664         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6665         Likewise.
6666         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6667         Likewise.
6668         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6669         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6670         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6671         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6672         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6673         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6674         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6675         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6676         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6677         math_check_force_underflow_nonneg.
6678         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6679         math_check_force_underflow.
6680         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6681         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6682         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6683         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6684         math_check_force_underflow_nonneg.
6685         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6686         math_check_force_underflow.
6687         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6689         instead of volatile.
6690         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6691         math_check_force_underflow.
6693         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6694         * stdlib/strtod_l.c: Include <math_private.h>.
6695         (overflow_value): Use math_narrow_eval.
6696         (underflow_value): Likewise.
6697         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6698         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6699         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6700         (__ieee754_gamma_r): Likewise.
6701         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6702         Likewise.
6703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6704         Likewise.
6705         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6706         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6707         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6708         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6709         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6710         (__ieee754_gammaf_r): Likewise.
6711         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6712         Likewise.
6713         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6714         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6715         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6716         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6717         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6718         volatile.
6719         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6720         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6721         math_narrow_eval.
6722         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6723         Likewise.
6724         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6725         Likewise.
6726         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6727         Likewise.
6728         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6729         volatile.
6730         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6731         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6732         math_narrow_eval.
6733         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6734         Likewise.
6735         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6736         Likewise.
6738 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6740         * nptl/Versions: Remove ignored symbols.
6742 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6744         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6745         * nss/Makefile (tests): Update.
6747 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6749         * nss/bug18287.c: New file.
6750         * nss/Makefile (tests): Add bug18287.
6752 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6754         * mach/Versions (__mach_host_self_): Add symbol.
6756 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6758         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6759         vm_page_size.
6761 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6763         Really fix sysdeps/i386/fpu/s_scalbn.S build
6765         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6766         (libc: GLIBC_2_22): Remove unused version set.
6768 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6770         * config.make.in (enable-timezone-tools): New variable.
6771         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6772         (enable_timezone_tools): Export to generated files.
6773         * configure: Regenerate.
6774         * INSTALL: Regenerate.
6775         * manual/install.texi (--disable-timezone-tools): Document new flag.
6776         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6777         ifeq ($(enable-timezone-tools),yes) check.
6779 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6781         * timezone/Makefile: Revert previous change.
6783         [BZ #18980]
6784         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6785         (DEFINE_DBL_MIN): Likewise.
6786         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6787         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6788         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6789         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6790         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6791         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6792         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6793         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6794         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6795         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6796         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6797         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6798         (flt_min): Replace with use of DEFINE_FLT_MIN.
6799         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6800         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6801         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6802         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6803         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6804         (flt_min): Replace with use of DEFINE_FLT_MIN.
6805         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6806         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6807         (flt_min): Replace with use of DEFINE_FLT_MIN.
6808         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6809         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6810         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6811         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6812         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6813         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6814         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6815         (__ieee754_pow): Use DBL_NARROW_EVAL.
6816         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6817         (__ieee754_powf): Use FLT_NARROW_EVAL.
6818         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6819         (__ieee754_expf_sse2): Convert double-precision result to single
6820         precision.
6821         * sysdeps/i386/fpu/libm-test-ulps: Update.
6823 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6825         * timezone/Makefile: Ignore unused variable errors due to private.h
6826         (time_t_min) and (time_t_max).
6827         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6828         Likewise.
6830 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6832         [BZ #18981]
6833         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6834         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6835         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6836         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6837         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6838         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6839         (__scalbn): Use DBL_NARROW_EVAL.
6840         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6841         (__scalbnf): Use FLT_NARROW_EVAL.
6843 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6845         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6846         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6847         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6848         * stdio-common/printf_fp.c (___printf_fp):
6849         Use signbit to get the sign. Use isinf macro to allow inlining.
6850         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6851         * stdio-common/printf_size.c (__printf_size): Likewise.
6853 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6855         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6857 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6859         [BZ #18980]
6860         * sysdeps/generic/math_private.h: Include <float.h>.
6861         (math_narrow_eval): New macro.
6862         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6863         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6864         math_narrow_eval on overflowing return value.
6865         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6866         Likewise.
6867         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6868         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6869         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6870         Likewise.
6871         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6873 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6875         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6876         * math/Makefile: Remove isinf_ns.c.
6877         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6878         * math/multc3.c (__multc3): Likewise.
6879         * math/s_casin.c (__casin): Likewise.
6880         * math/s_casinf.c (__casinf): Likewise.
6881         * math/s_casinl.c (__casinl): Likewise.
6882         * math/s_cproj.c (__cproj): Likewise.
6883         * math/s_cprojf.c (__cprojf): Likewise.
6884         * math/s_cprojl.c (__cprofl): Likewise.
6885         * math/s_ctan.c (__ctan): Likewise.
6886         * math/s_ctanf.c (__ctanf): Likewise.
6887         * math/s_ctanh.c (__ctanh): Likewise.
6888         * math/s_ctanhf.c (__ctanhf): Likewise.
6889         * math/s_ctanhl.c (__ctanhl): Likewise.
6890         * math/s_ctanl.c (__ctanl): Likewise.
6891         * math/w_fmod.c (__fmod): Likewise.
6892         * math/w_fmodf.c (__fmodf): Likewise.
6893         * math/w_fmodl.c (_fmodl): Likewise.
6894         * math/w_remainder.c (__remainder): Likewise.
6895         * math/w_remainderf.c (__remainderf): Likewise.
6896         * math/w_remainderl.c (__remainderl): Likewise.
6897         * math/w_scalb.c (__scalb): Likewise.
6898         * math/w_scalbf.c (__scalbf): Likewise.
6899         * math/w_scalbl.c (__scalbl): Likewise.
6900         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6901         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6902         with isinf.
6903         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6905         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6906         __isinf_nsf with isinf.
6907         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6908         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6909         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6910         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6911         with isinf.
6912         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6913         __isinf_nsl with isinf.
6914         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6915         with isinf.
6916         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6917         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6918         __isinf_nsl with isinf.
6919         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6920         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6921         with isinf.
6923 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6925         * resolv/base64.c (rcsid): Remove unused static.
6926         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6927         static.  (tqpi1): Likewise.
6928         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6929         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6930         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6931         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6932         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6933         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6934         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6935         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6936         Likewise.
6938 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6940         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6941         <nptl/pthreadP.h>.
6942         (_longjmp_unwind): Use __libc_ptf_call.
6943         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6945 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6947         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6948         * sysdeps/arm/__longjmp.S: Likewise
6950 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6952         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6953         Use __builtin_signbit.
6954         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6955         Use __builtin_signbitf.
6956         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6957         Use __builtin_signbitl.
6958         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6959         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6961 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6963         [BZ #15367]
6964         [BZ #17441]
6966         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6967         * math/math.h (fpclassify): Use __builtin_fpclassify when
6968         available.  (signbit): Use __builtin_signbit(f/l).
6969         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6970         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6971         (isinf): Use __builtin_isinf_sign.
6973 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6975         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6976         * benchtests/bench-math-inlines.c: New benchmark.
6977         * benchtests/bench-util.h: New file.
6978         * benchtests/bench-util.c: New file.
6979         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6981 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6983         * elf/tst-dlmopen1.c: Define TEST_SO.
6984         (do_test): Use TEST_SO.
6986         * elf/dl-load.c: Include libc-internal.h.
6987         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6989 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6991         [BZ #17887]
6992         * time/strptime_l.c (__strptime_internal): Make %z accept
6993         [+-]HH:MM time zones.
6995 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6997         [BZ #17886]
6998         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6999         valid time zone.
7001 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7003         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7004         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7005         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7006         (__ASSUME_FDATASYNC): Delete.
7008 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7010         * conform/linknamespace.pl: Require weak undefined symbols to be
7011         in the standard namespace.
7012         (%strong_syms): Rename to %seen_syms.
7013         (%strong_seen): Rename to %seen_where.
7015 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7017         [BZ #18970]
7018         * misc/error.c (error): Replace pthread_setcancelstate with
7019         __pthread_setcancelstate.
7020         (error_at_line): Likewise.
7021         * posix/wordexp.c (parse_comm): Likewise.
7022         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7023         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7024         (__pthread_setcancelstate): This.
7025         (pthread_setcancelstate): Add an alias.
7026         * nptl/nptl-init.c (pthread_functions): Replace
7027         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7028         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7029         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7030         hidden_proto.
7031         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7032         it with hidden_def.
7033         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7034         (pthread_setcancelstate): Renamed to ...
7035         (__pthread_setcancelstate): This.
7036         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7037         __libc_ptf_call with __pthread_setcancelstate.
7039 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7040             Andreas Schwab  <schwab@suse.de>
7042         [BZ #17118]
7043         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7044         result when imaginary part of argument is infinite using sine and
7045         cosine.
7046         * math/s_ctanf.c (__ctanf): Likewise.
7047         * math/s_ctanl.c (__ctanl): Likewise.
7048         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7049         of result when real part of argument is infinite using sine and
7050         cosine.
7051         * math/s_ctanhf.c (__ctanhf): Likewise.
7052         * math/s_ctanhl.c (__ctanhl): Likewise.
7053         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7054         (ctanh_test_data): Add more tests of ctanh.
7056 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7058         [BZ #15384]
7059         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7060         bit-mask as in subtraction.
7061         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7062         Likewise.
7063         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7064         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7065         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7067         [BZ #18951]
7068         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7069         underflow exception for small results.
7070         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7071         Likewise.
7072         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7073         Likewise.
7074         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7075         Likewise.
7076         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7077         Likewise.
7078         * math/auto-libm-test-in: Add more tests of tgamma.
7079         * math/auto-libm-test-out: Regenerated.
7081 2015-09-17  Andreas Schwab  <schwab@suse.de>
7083         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7085 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7087         [BZ #18977]
7088         * math/bits/mathcalls.h
7089         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7090         not declare.
7091         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7092         Likewise.
7093         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7094         Likewise.
7095         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7096         Likewise.
7097         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7098         Likewise.
7099         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7100         Likewise.
7101         * conform/data/math.h-data
7102         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7103         function.
7104         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7105         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7106         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7107         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7108         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7109         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7110         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7111         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7112         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7113         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7114         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7116         [BZ #6803]
7117         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7118         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7119         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7120         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7121         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7122         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7123         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7124         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7125         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7126         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7127         Likewise.
7128         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7129         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7130         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7131         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7132         long_double_symbol calls.
7133         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7134         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7135         strong alias of __ldexpl.
7136         (scalbnl): Define using long_double_symbol.
7137         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7138         Remove alias.
7139         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7140         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7141         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7142         (scalbln_test_data): Add more errno expectations.
7144 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7146         Cache the host port like we cache the task port.  This way we do not
7147         need to call the kernel just to get the port.  Furthermore, we no
7148         longer increase the reference count on every invocation of
7149         `mach_host_self'.
7151         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7152         Protect declarations against the macro expansion.
7153         * mach/mach_init.c (__mach_host_self_): New variable.
7154         (mach_init): Initialize `__mach_host_self_'.
7155         * mach/mach_init.h (__mach_host_self_): New declaration.
7156         (__mach_host_self, mach_host_self): New macros.
7157         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7158         Release reference.
7160 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7162         [BZ #4404]
7163         * po/de.po: Update from Translation Project.
7165         [BZ #16415]
7166         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7167         (__expm1l): Remove code to handle positive infinity and overflow.
7168         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7169         variable.
7170         (__expm1l): Remove code to handle positive infinity and overflow.
7172 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7173             Paul Pluzhnikov  <ppluzhnikov@google.com>
7175         [BZ #18872]
7176         * stdio-common/Makefile (tst-printf-bz18872): New test.
7177         (tst-printf-bz18872-mem.out): Likewise.
7178         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7179         * stdio-common/vfprintf.c: Fix memory leaks.
7181 2015-09-16  Andreas Schwab  <schwab@suse.de>
7183         [BZ #17244]
7184         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7185         Remove extra va_start/va_end calls.
7187         [BZ #17243]
7188         * posix/execl.c (execl): Add missing va_end.
7189         * posix/execle.c (execle): Likewise.
7190         * posix/execlp.c (execlp): Likewise.
7192 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7194         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7195         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7197 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7199         [BZ #18967]
7200         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7201         undefine around includes of <bits/mathcalls.h>.
7202         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7203         not declare function.
7204         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7205         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7206         (scalb): Likewise.
7207         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7208         not define macro.
7209         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7210         variable.
7211         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7212         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7213         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7215         [BZ #18857]
7216         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7217         return non-finite argument without doing ordered comparisons on
7218         it.
7220         [BZ #16296]
7221         * math/fenv.h (fegetround): Use __attribute_pure__.
7222         * include/fenv.h (__fegetround): Likewise.
7224         [BZ #18595]
7225         * math/s_ctan.c (__ctan): Force underflow exception for results
7226         whose real or imaginary part has small absolute value.
7227         * math/s_ctanf.c (__ctanf): Likewise.
7228         * math/s_ctanh.c (__ctanh): Likewise.
7229         * math/s_ctanhf.c (__ctanhf): Likewise.
7230         * math/s_ctanhl.c (__ctanhl): Likewise.
7231         * math/s_ctanl.c (__ctanl): Likewise.
7232         * math/auto-libm-test-in: Do not allow missing underflow for ctan
7233         and ctanh.  Add more tests of ctan and ctanh.
7235         [BZ #15918]
7236         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7237         handling of cases where one argument is an infinity.
7239         [BZ #18875]
7240         [BZ #18966]
7241         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7242         (MO): New macro.
7243         (__ieee754_exp10): For small results, force underflow exception
7244         and remove excess range and precision from return value.
7245         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7246         (MO): New macro.
7247         (__ieee754_exp10f): For small results, force underflow exception
7248         and remove excess range and precision from return value.
7249         * math/auto-libm-test-in: Add more tests of exp10.
7250         * math/auto-libm-test-out: Regenerated.
7252 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
7254         [BZ #18875]
7255         [BZ #18961]
7256         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7257         (MO): New macro.
7258         (__ieee754_exp): For small results, force underflow exception and
7259         remove excess range and precision from return value.
7260         (__exp_finite): Likewise.
7261         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7262         (MO): New macro.
7263         (__ieee754_expf): For small results, force underflow exception and
7264         remove excess range and precision from return value.
7265         (__expf_finite): Likewise.
7266         * math/auto-libm-test-in: Add more tests of exp.
7267         * math/auto-libm-test-out: Regenerated.
7269         [BZ #16521]
7270         [BZ #18875]
7271         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7272         small results.
7273         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7274         (MO): New macro.
7275         (__ieee754_exp2): For small results, force underflow exception and
7276         remove excess range and precision from return value.
7277         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7278         (MO): New macro.
7279         (__ieee754_exp2f): For small results, force underflow exception
7280         and remove excess range and precision from return value.
7281         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7282         (MO): New macro.
7283         (__ieee754_exp2l): Force underflow exception for small results.
7284         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7285         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7286         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7287         (MO): New macro.
7288         (__ieee754_exp2l): Force underflow exception for small results.
7289         * math/auto-libm-test-in: Add more tests or exp2.
7290         * math/auto-libm-test-out: Regenerated.
7292 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
7294         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7296         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7297         /dev/null.
7299 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7301         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7302         io fs process)): Drop spurious backslash.
7304 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7306         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7307         Use sysinfo system call instead of parsing /proc/meminfo.
7308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7309         Likewise.
7311 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
7313         [BZ #16985]
7314         * programs/localedef.c (main): Display argv[remaining] when
7315         output_path is NULL.
7317 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7319         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7320         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7321         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7322         tanh.
7323         * math/auto-libm-test-out: Regenerated.
7324         * sysdeps/i386/fpu/libm-test-ulps: Update.
7325         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7326         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329 2015-09-11  Roland McGrath  <roland@hack.frob.com>
7331         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7332         Use 'override' keyword to freeze the value here, preventing
7333         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7335 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
7337         [BZ #14912]
7338         * sysdeps/aarch64/bits/atomic.h: Move to ...
7339         * sysdeps/aarch64/atomic-machine.h: ...here.
7340         (_AARCH64_BITS_ATOMIC_H): Rename macro to
7341         _AARCH64_ATOMIC_MACHINE_H.
7342         * sysdeps/alpha/bits/atomic.h: Move to ...
7343         * sysdeps/alpha/atomic-machine.h: ...here.
7344         * sysdeps/arm/bits/atomic.h: Move to ...
7345         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
7346         * bits/atomic.h: Move to ...
7347         * sysdeps/generic/atomic-machine.h: ...here.
7348         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7349         * sysdeps/i386/bits/atomic.h: Move to ...
7350         * sysdeps/i386/atomic-machine.h: ...here.
7351         * sysdeps/ia64/bits/atomic.h: Move to ...
7352         * sysdeps/ia64/atomic-machine.h: ...here.
7353         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7354         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7355         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7356         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7357         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7358         * sysdeps/microblaze/bits/atomic.h: Move to ...
7359         * sysdeps/microblaze/atomic-machine.h: ...here.
7360         * sysdeps/mips/bits/atomic.h: Move to ...
7361         * sysdeps/mips/atomic-machine.h: ...here.
7362         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7363         * sysdeps/powerpc/bits/atomic.h: Move to ...
7364         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
7365         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7366         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
7367         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
7368         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7369         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
7370         <atomic-machine.h> instead of <bits/atomic.h>.
7371         * sysdeps/s390/bits/atomic.h: Move to ...
7372         * sysdeps/s390/atomic-machine.h: ...here.
7373         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7374         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7375         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7376         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7377         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7378         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7379         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7380         * sysdeps/tile/bits/atomic.h: Move to ...
7381         * sysdeps/tile/atomic-machine.h: ...here.
7382         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7383         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
7384         <sysdeps/tile/atomic-machine.h> instead of
7385         <sysdeps/tile/bits/atomic.h>.
7386         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7387         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7388         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7389         <sysdeps/tile/atomic-machine.h> instead of
7390         <sysdeps/tile/bits/atomic.h>.
7391         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7392         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7393         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7394         <sysdeps/arm/atomic-machine.h> instead of
7395         <sysdeps/arm/bits/atomic.h>.
7396         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7397         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7398         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7399         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7400         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7401         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7402         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7403         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7404         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7405         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7406         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7407         * sysdeps/x86_64/bits/atomic.h: Move to ...
7408         * sysdeps/x86_64/atomic-machine.h: ...here.
7409         * include/atomic.h: Include <atomic-machine.h> instead of
7410         <bits/atomic.h>.
7412         * sysdeps/mips/mips32/libm-test-ulps: Update.
7413         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7415         [BZ #18952]
7416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7417         not convert non-integer negative arguments to int to determine the
7418         value of signgam.
7419         * math/auto-libm-test-in: Add more tests of lgamma.
7420         * math/auto-libm-test-out: Regenerated.
7422         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7423         cosh, csqrt, erfc, expm1 and lgamma.
7424         * math/auto-libm-test-out: Regenerated.
7425         * sysdeps/i386/fpu/libm-test-ulps: Update.
7426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7428 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7430         [BZ #2542]
7431         [BZ #2543]
7432         [BZ #2558]
7433         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7434         __lgamma_neg for arguments from -28.0 to -2.0.
7435         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7436         __lgamma_negf for arguments from -15.0 to -2.0.
7437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7438         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7439         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7440         Call __lgamma_negl for arguments from -33.0 to -2.0.
7441         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7442         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7443         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7444         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7445         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7446         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7447         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7448         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7449         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7450         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7451         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7452         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7453         (__lgamma_neg): Likewise.
7454         (__lgamma_negl): Likewise.
7455         (__lgamma_product): Likewise.
7456         (__lgamma_productl): Likewise.
7457         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7458         * math/auto-libm-test-in: Add more tests of lgamma.
7459         * math/auto-libm-test-out: Regenerated.
7460         * sysdeps/i386/fpu/libm-test-ulps: Update.
7461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7463 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7465         [BZ #18675]
7466         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7468 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7470         [BZ #14912]
7471         * bits/libc-lock.h: Move to ...
7472         * sysdeps/generic/libc-lock.h: ...here.
7473         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7474         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7475         * sysdeps/mach/hurd/libc-lock.h: ...here.
7476         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7477         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7478         * sysdeps/mach/bits/libc-lock.h: Move to ...
7479         * sysdeps/mach/libc-lock.h: ...here.
7480         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7481         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7482         * sysdeps/nptl/libc-lock.h: ...here.
7483         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7484         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7485         * sysdeps/nptl/libc-lockP.h: ...here.
7486         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7487         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7488         <bits/libc-lock.h>.
7489         * dirent/scandir-tail.c: Likewise.
7490         * dlfcn/dlerror.c: Likewise.
7491         * elf/dl-close.c: Likewise.
7492         * elf/dl-iteratephdr.c: Likewise.
7493         * elf/dl-lookup.c: Likewise.
7494         * elf/dl-open.c: Likewise.
7495         * elf/dl-support.c: Likewise.
7496         * elf/dl-writev.h: Likewise.
7497         * elf/rtld.c: Likewise.
7498         * grp/fgetgrent.c: Likewise.
7499         * gshadow/fgetsgent.c: Likewise.
7500         * gshadow/sgetsgent.c: Likewise.
7501         * iconv/gconv_conf.c: Likewise.
7502         * iconv/gconv_db.c: Likewise.
7503         * iconv/gconv_dl.c: Likewise.
7504         * iconv/gconv_int.h: Likewise.
7505         * iconv/gconv_trans.c: Likewise.
7506         * include/link.h: Likewise.
7507         * inet/getnameinfo.c: Likewise.
7508         * inet/getnetgrent.c: Likewise.
7509         * inet/getnetgrent_r.c: Likewise.
7510         * intl/bindtextdom.c: Likewise.
7511         * intl/dcigettext.c: Likewise.
7512         * intl/finddomain.c: Likewise.
7513         * intl/gettextP.h: Likewise.
7514         * intl/loadmsgcat.c: Likewise.
7515         * intl/localealias.c: Likewise.
7516         * intl/textdomain.c: Likewise.
7517         * libidn/idn-stub.c: Likewise.
7518         * libio/libioP.h: Likewise.
7519         * locale/duplocale.c: Likewise.
7520         * locale/freelocale.c: Likewise.
7521         * locale/newlocale.c: Likewise.
7522         * locale/setlocale.c: Likewise.
7523         * login/getutent_r.c: Likewise.
7524         * login/getutid_r.c: Likewise.
7525         * login/getutline_r.c: Likewise.
7526         * login/utmp-private.h: Likewise.
7527         * login/utmpname.c: Likewise.
7528         * malloc/mtrace.c: Likewise.
7529         * misc/efgcvt.c: Likewise.
7530         * misc/error.c: Likewise.
7531         * misc/fstab.c: Likewise.
7532         * misc/getpass.c: Likewise.
7533         * misc/mntent.c: Likewise.
7534         * misc/syslog.c: Likewise.
7535         * nis/nis_call.c: Likewise.
7536         * nis/nis_callback.c: Likewise.
7537         * nis/nss-default.c: Likewise.
7538         * nis/nss_compat/compat-grp.c: Likewise.
7539         * nis/nss_compat/compat-initgroups.c: Likewise.
7540         * nis/nss_compat/compat-pwd.c: Likewise.
7541         * nis/nss_compat/compat-spwd.c: Likewise.
7542         * nis/nss_nis/nis-alias.c: Likewise.
7543         * nis/nss_nis/nis-ethers.c: Likewise.
7544         * nis/nss_nis/nis-grp.c: Likewise.
7545         * nis/nss_nis/nis-hosts.c: Likewise.
7546         * nis/nss_nis/nis-network.c: Likewise.
7547         * nis/nss_nis/nis-proto.c: Likewise.
7548         * nis/nss_nis/nis-pwd.c: Likewise.
7549         * nis/nss_nis/nis-rpc.c: Likewise.
7550         * nis/nss_nis/nis-service.c: Likewise.
7551         * nis/nss_nis/nis-spwd.c: Likewise.
7552         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7553         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7554         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7555         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7556         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7557         * nis/nss_nisplus/nisplus-network.c: Likewise.
7558         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7559         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7560         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7561         * nis/nss_nisplus/nisplus-service.c: Likewise.
7562         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7563         * nis/ypclnt.c: Likewise.
7564         * nptl/libc_pthread_init.c: Likewise.
7565         * nss/getXXbyYY.c: Likewise.
7566         * nss/getXXent.c: Likewise.
7567         * nss/getXXent_r.c: Likewise.
7568         * nss/nss_db/db-XXX.c: Likewise.
7569         * nss/nss_db/db-netgrp.c: Likewise.
7570         * nss/nss_db/nss_db.h: Likewise.
7571         * nss/nss_files/files-XXX.c: Likewise.
7572         * nss/nss_files/files-alias.c: Likewise.
7573         * nss/nsswitch.c: Likewise.
7574         * posix/regex_internal.h: Likewise.
7575         * posix/wordexp.c: Likewise.
7576         * pwd/fgetpwent.c: Likewise.
7577         * resolv/res_hconf.c: Likewise.
7578         * resolv/res_libc.c: Likewise.
7579         * shadow/fgetspent.c: Likewise.
7580         * shadow/lckpwdf.c: Likewise.
7581         * shadow/sgetspent.c: Likewise.
7582         * socket/opensock.c: Likewise.
7583         * stdio-common/reg-modifier.c: Likewise.
7584         * stdio-common/reg-printf.c: Likewise.
7585         * stdio-common/reg-type.c: Likewise.
7586         * stdio-common/vfprintf.c: Likewise.
7587         * stdio-common/vfscanf.c: Likewise.
7588         * stdlib/abort.c: Likewise.
7589         * stdlib/cxa_atexit.c: Likewise.
7590         * stdlib/fmtmsg.c: Likewise.
7591         * stdlib/random.c: Likewise.
7592         * stdlib/setenv.c: Likewise.
7593         * string/strsignal.c: Likewise.
7594         * sunrpc/auth_none.c: Likewise.
7595         * sunrpc/bindrsvprt.c: Likewise.
7596         * sunrpc/create_xid.c: Likewise.
7597         * sunrpc/key_call.c: Likewise.
7598         * sunrpc/rpc_thread.c: Likewise.
7599         * sysdeps/arm/backtrace.c: Likewise.
7600         * sysdeps/generic/ldsodefs.h: Likewise.
7601         * sysdeps/generic/stdio-lock.h: Likewise.
7602         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7603         * sysdeps/i386/backtrace.c: Likewise.
7604         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7605         * sysdeps/m68k/backtrace.c: Likewise.
7606         * sysdeps/mach/hurd/cthreads.c: Likewise.
7607         * sysdeps/mach/hurd/dirstream.h: Likewise.
7608         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7609         * sysdeps/nptl/malloc-machine.h: Likewise.
7610         * sysdeps/nptl/stdio-lock.h: Likewise.
7611         * sysdeps/posix/dirstream.h: Likewise.
7612         * sysdeps/posix/getaddrinfo.c: Likewise.
7613         * sysdeps/posix/system.c: Likewise.
7614         * sysdeps/pthread/aio_suspend.c: Likewise.
7615         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7616         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7617         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7618         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7619         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7620         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7621         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7622         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7623         * sysdeps/unix/sysv/linux/system.c: Likewise.
7624         * sysdeps/x86_64/backtrace.c: Likewise.
7625         * time/alt_digit.c: Likewise.
7626         * time/era.c: Likewise.
7627         * time/tzset.c: Likewise.
7628         * wcsmbs/wcsmbsload.c: Likewise.
7629         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7630         instead of <bits/libc-lock.h> in comment.
7632 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7634         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7635         Only use .set mips2 if the current ISA is below mips2.
7636         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7637         Likewise.
7638         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7639         mips32r2 if the current ISA is below mips32r2.
7640         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7641         (TLS_IE): Updated to use the TLD_RDHWR macro.
7642         (TLS_LE): Likewise.
7643         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7644         __ASSEMBLER__ condition.
7646 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7648         Fix parallel build of before-compile targets.
7650         * sysdeps/mach/Makefile ($(patsubst
7651         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7652         mach-before-compile target.
7653         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7654         io fs process)): Move rule to dedicated hurd-before-compile target.
7656 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7658         Fix rules generating headers in hurd/ and mach/ when initial make call
7659         has subdir= explicitly set.
7661         * sysdeps/mach/Makefile ($(patsubst
7662         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7663         calling $(MAKE).
7664         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7665         io fs process)): Force subdir to hurd when calling $(MAKE).
7666         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7667         subdir to mach when calling $(MAKE).
7669 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7671         Check sysheaders when looking for Mach and Hurd headers
7673         * sysdeps/mach/configure.ac: Add sysheaders check.
7674         * sysdeps/mach/configure: Regenerate.
7675         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7676         * sysdeps/mach/hurd/configure: Regenerate.
7678 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7680         [BZ #18921]
7681         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7682         Fix inverted sense of test of 'o_directory_works' value.
7683         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7684         Bernhard Voelker <mail@bernhard-voelker.de>.
7686 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7688         [BZ #14912]
7689         * bits/linkmap.h: Move to ...
7690         * sysdeps/generic/linkmap.h: ...here.
7691         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7692         * sysdeps/aarch64/linkmap.h: ...here.
7693         * sysdeps/arm/bits/linkmap.h: Move to ...
7694         * sysdeps/arm/linkmap.h: ...here.
7695         * sysdeps/hppa/bits/linkmap.h: Move to ...
7696         * sysdeps/hppa/linkmap.h: ...here.
7697         * sysdeps/ia64/bits/linkmap.h: Move to ...
7698         * sysdeps/ia64/linkmap.h: ...here.
7699         * sysdeps/mips/bits/linkmap.h: Move to ...
7700         * sysdeps/mips/linkmap.h: ...here.
7701         * sysdeps/s390/bits/linkmap.h: Move to ...
7702         * sysdeps/s390/linkmap.h: ...here.
7703         * sysdeps/sh/bits/linkmap.h: Move to ...
7704         * sysdeps/sh/linkmap.h: ...here.
7705         * sysdeps/x86/bits/linkmap.h: Move to ...
7706         * sysdeps/x86/linkmap.h: ...here.
7707         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7709 2015-09-04  Andreas Schwab  <schwab@suse.de>
7711         [BZ #18635]
7712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7713         (__makecontext): Terminate FDE before return label.
7714         (__novec_makecontext): Likewise.
7716 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7718         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7719         first member of struct sv in syscall macro.
7721 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7723         [BZ #14912]
7724         * bits/stdio-lock.h: Move to ...
7725         * sysdeps/generic/stdio-lock.h: ...here.
7726         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7727         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7728         * sysdeps/nptl/stdio-lock.h: ...here.
7729         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7730         * include/libio.h: Include <stdio-lock.h> instead of
7731         <bits/stdio-lock.h>.
7732         * sysdeps/nptl/fork.c: Likewise.
7733         * sysdeps/pthread/flockfile.c: Likewise.
7734         * sysdeps/pthread/ftrylockfile.c: Likewise.
7735         * sysdeps/pthread/funlockfile.c: Likewise.
7737         [BZ #14912]
7738         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7739         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7740         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7741         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7742         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7743         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7744         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7746 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7748         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7749         (test-xfail-tst-protected1b): New variable.
7751 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7753         [BZ #14912]
7754         * bits/libc-tsd.h: Move to ...
7755         * sysdeps/generic/libc-tsd.h: ...here.
7756         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7757         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7758         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7759         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7760         * include/ctype.h: Include <libc-tsd.h> instead of
7761         <bits/libc-tsd.h>.
7762         * include/rpc/rpc.h: Likewise.
7763         * locale/localeinfo.h: Likewise.
7764         * sunrpc/rpc_thread.c: Likewise.
7765         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7766         * sysdeps/nptl/malloc-machine.h: Likewise.
7768         * Makefile (headers): Remove bits/libc-lock.h.
7769         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7771         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7772         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7773         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7774         <bits/stdio-lock.h>.
7775         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7776         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7778 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7780         [BZ #18757]
7781         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7782         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7783         BZ #18757.
7785 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7787         * malloc/mtrace.pl: Filter out NULL entries.
7789 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7791         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7792         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7793         macro.
7795         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7796         (TCP_CC_INFO): Likewise.
7797         (TCP_SAVE_SYN): Likewise.
7798         (TCP_SAVED_SYN): Likewise.
7800 2015-08-31  Brett Neumeier <brett@neumeier.us>
7802         [BZ #18870]
7803         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7805 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7807         [BZ #18873]
7808         Fix broken overflow check in posix_fallocate
7809         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7810         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7811         Fix parenthesization typo.
7813 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7815         [BZ #18887]
7816         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7817         tst-mntent-blank-passno.
7818         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7819         * misc/tst-mntent-blank-corrupt.c: New test.
7820         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7821         * misc/tst-mntent.c (do_test): ... here.
7823 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7825         [BZ #4404]
7826         * po/de.po: Fix SIGALRM typo.
7828 2015-08-28  James Perkins  <james@loowit.net>
7830         * time/tst-strptime2.c (tests): Replace short list of test
7831         strings for strptime %z specifier with code which exhaustively
7832         tests every combination of sign and 0 to 5 digits. Tests for
7833         rejection of invalid strings.
7835 2015-08-28  James Perkins  <james@loowit.net>
7837         [BZ #16141]
7838         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7839         calculation, removing incorrect decimal time rounding, so that
7840         all minute values result in a valid seconds value.
7841         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7842         offset range limits to UTC-99:59 through UTC+99:59 to parse
7843         current and historical use cases.
7844         * time/tst-strptime2.c (tests): Modify and add tests for the
7845         strptime %z input field descriptor, specifically conversion of
7846         minutes to seconds and validating an offset range of -9959 to
7847         +9959.
7849 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7850             Dmitry V. Levin  <ldv@altlinux.org>
7852         [BZ #18877]
7853         * posix/Makefile (tests): Add tst-mmap-offset.
7854         * posix/tst-mmap.c: New file.
7855         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7856         offset calculation for negative values.
7858 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7860         * sysdeps/i386/init-arch.h: New file.
7861         * sysdeps/i386/i586/init-arch.h: Likewise.
7862         * sysdeps/i386/i686/init-arch.h: Likewise.
7863         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7864         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7865         * sysdeps/x86/cpu-features.h (bit_I586): New.
7866         (bit_I686): Likewise.
7867         (bit_CX8): Likewise.
7868         (bit_CMOV): Likewise.
7869         (index_CX8): Likewise.
7870         (index_CMOV): Likewise.
7871         (index_I586): Likewise.
7872         (index_I686): Likewise.
7873         (reg_CX8): Likewise.
7874         (reg_CMOV): Likewise.
7875         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7876         available at compile-time.
7877         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7878         available at compile-time.
7879         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7880         (USE_I686): Likewise.
7882 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7884         * sysdeps/i386/bcopy.S: New file.
7885         * sysdeps/i386/bzero.S: Likewise.
7886         * sysdeps/i386/memcpy.S: Likewise.
7887         * sysdeps/i386/memmove.S: Likewise.
7888         * sysdeps/i386/mempcpy.S: Likewise.
7889         * sysdeps/i386/memset.S: Likewise.
7890         * sysdeps/i386/bzero.c: Removed.
7891         * sysdeps/i386/memset.c: Likewise.
7892         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7893         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7894         * sysdeps/i386/i586/memset_chk.S: Likewise.
7895         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7896         * sysdeps/i386/memcpy_chk.S: Here.
7897         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7898         * sysdeps/i386/memmove_chk.S: Here.
7899         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7900         * sysdeps/i386/mempcpy_chk.S: Likewise.
7901         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7902         * sysdeps/i386/memset_chk.S: Likewise.
7904 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7906         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7907         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7908         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7909         * soft-fp/fmadf4.c: Ditto.
7910         * soft-fp/fmatf4.c: Ditto.
7912 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7914         * sysdeps/i386/i586/Implies: Removed.
7915         * sysdeps/i386/i686/Implies: Likewise.
7917 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7919         * sysdeps/i386/i486/strlen.S: Moved to ...
7920         * sysdeps/i386/strlen.S: Here.
7922 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7924         * sysdeps/i386/i486/strcat.S: Moved to ...
7925         * sysdeps/i386/strcat.S: Here.
7927 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7929         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7930         * sysdeps/i386/pthread_spin_trylock.S: Here.
7931         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7932         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7934 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7936         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7937         * sysdeps/i386/string-inlines.c: Here.
7939 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7941         * sysdeps/i386/i486/htonl.S: Moved ...
7942         * sysdeps/i386/htonl.S: here.
7944 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7946         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7947         * sysdeps/i386/bits/atomic.h: Here.
7949 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7951         * sysdeps/i386/i486/Versions: Removed.
7953 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7955         [BZ #2898]
7956         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7957         Based on patch by Aurelien Jarno.
7959 2015-08-26  Stan Shebs  <stanshebs@google.com>
7961         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7962         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7964 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7966         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7967         * sysdeps/powerpc/dl-procinfo.c:
7968         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7969         feature so it shows when LD_SHOW_AUXV=1.
7971 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7973         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7974         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7975         definition.  ISA 2.07B no longer requires full sync.
7977 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7979         [BZ #18863]
7980         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7981         (si_call_addr): Define.
7982         (si_syscall): Define.
7983         (si_arch): Define.
7985 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7987         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7988         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7989         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7990         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7991         (__memset_zero_constant_len_parameter): New.
7992         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7993         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7994         (__memset_zero_constant_len_parameter): Don't define if
7995         __memset_chk or USE_AS_BZERO are defined.
7997         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7998         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7999         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8001         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8002         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8003         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8004         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8005         comments.
8006         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8007         -mno-mmx for $(all-rtld-routines).
8008         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8009         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8010         i386.
8012 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8014         * sysdeps/generic/unwind.h
8015         (_Unwind_Word): Use __mode__(__unwind_word__)
8016         instead of __mode__(__word__).
8017         (_Unwind_Sword): Likewise.
8019         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8020         (MAX_NEEDED_INPUT): New define.
8021         (MAX_NEEDED_OUTPUT): New define.
8023         * NEWS: New item for IBM z13 string optimizations.
8025         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8026         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8027         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8028         * sysdeps/s390/multiarch/Makefile
8029         (sysdep_routines): Add memrchr functions.
8030         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8031         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8033         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8034         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8035         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8036         * sysdeps/s390/multiarch/Makefile
8037         (sysdep_routines): Add wmemcmp functions.
8038         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8039         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8040         * benchtests/bench-wmemcmp.c: New File.
8041         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8043         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8044         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8045         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8046         * sysdeps/s390/multiarch/Makefile
8047         (sysdep_routines): Add wmemset functions.
8048         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8049         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8050         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8051         * string/test-memset.c: Add wmemset support.
8052         * wcsmbs/test-wmemset.c: New File.
8053         * wcsmbs/Makefile (strop-tests): Add wmemset.
8054         * benchtests/bench-memset.c: Add wmemset support.
8055         * benchtests/bench-wmemset.c: New File.
8056         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8058         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8059         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8060         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8061         * sysdeps/s390/multiarch/Makefile
8062         (sysdep_routines): Add memccpy functions.
8063         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8064         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8065         * string/memccpy.c: Use MEMCCPY if defined.
8067         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8068         * sysdeps/s390/multiarch/memchr.c: Likewise.
8069         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8070         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8071         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8072         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8073         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8074         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8075         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8076         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8077         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8078         and rawmemchr functions.
8079         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8080         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8081         and wmemchr.
8082         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8083         * string/test-memchr.c: Add wmemchr support.
8084         * wcsmbs/test-wmemchr.c: New File.
8085         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8086         * benchtests/bench-memchr.c: Add wmemchr support.
8087         * benchtests/bench-wmemchr.c: New File.
8088         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8090         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8091         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8092         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8093         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8094         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8095         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8096         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8097         wcscspn functions.
8098         * sysdeps/s390/multiarch/ifunc-impl-list.c
8099         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8100         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8101         * string/test-strcspn.c: Add wcscspn support.
8102         * wcsmbs/test-wcscspn.c: New File.
8103         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8104         * benchtests/bench-strcspn.c: Add wcscspn support.
8105         * benchtests/bench-wcscspn.c: New File.
8106         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8108         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8109         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8110         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8111         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8112         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8113         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8114         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8115         wcspbrk functions.
8116         * sysdeps/s390/multiarch/ifunc-impl-list.c
8117         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8118         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8119         * string/test-strpbrk.c: Add wcspbrk support.
8120         * wcsmbs/test-wcspbrk.c: New File.
8121         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8122         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8123         * benchtests/bench-wcspbrk.c: New File.
8124         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8126         * sysdeps/s390/multiarch/strspn-c.c: New File.
8127         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8128         * sysdeps/s390/multiarch/strspn.c: Likewise.
8129         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8130         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8131         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8132         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8133         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8134         wcsspn functions.
8135         * sysdeps/s390/multiarch/ifunc-impl-list.c
8136         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8137         * string/test-strspn.c: Add wcsspn support.
8138         * wcsmbs/test-wcsspn.c: New File.
8139         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8140         * benchtests/bench-strspn.c: Add wcsspn support.
8141         * benchtests/bench-wcsspn.c: New File.
8142         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8144         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8145         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8146         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8147         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8148         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8149         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8150         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8151         wcsrchr functions.
8152         * sysdeps/s390/multiarch/ifunc-impl-list.c
8153         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8154         * benchtests/bench-wcsrchr.c: New File.
8155         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8157         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8158         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8159         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8160         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8161         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8162         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8163         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8164         wcschrnul functions.
8165         * sysdeps/s390/multiarch/ifunc-impl-list.c
8166         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8167         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8168         * string/test-strchr.c: Add wcschrnul support.
8169         * wcsmbs/test-wcschrnul.c: New File.
8170         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8171         * benchtests/bench-strchr.c: Add wcschrnul support.
8172         * benchtests/bench-wcschrnul.c: New File.
8173         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8175         * sysdeps/s390/multiarch/strchr-c.c: New File.
8176         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8177         * sysdeps/s390/multiarch/strchr.c: Likewise.
8178         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8179         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8180         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8182         wcschr functions.
8183         * sysdeps/s390/multiarch/ifunc-impl-list.c
8184         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8185         * string/strchr.c (STRCHR): Define and use macro.
8186         * benchtests/bench-wcschr.c: New File.
8187         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8189         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8190         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8191         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8192         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8193         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8194         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8195         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8196         wcsncmp functions.
8197         * sysdeps/s390/multiarch/ifunc-impl-list.c
8198         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8199         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8200         * benchtests/bench-strncmp.c: Add wcsncmp support.
8201         * benchtests/bench-wcsncmp.c: New File.
8202         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8204         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8205         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8206         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8207         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8208         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8209         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8210         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8211         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8212         wcscmp functions.
8213         * sysdeps/s390/multiarch/ifunc-impl-list.c
8214         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8215         * string/strcmp.c (STRCMP): Define and use macro.
8216         * benchtests/bench-wcscmp.c: New File.
8217         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8218         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8219         instead of _HAVE_STRING_ARCH_memchr.
8221         * sysdeps/s390/multiarch/strncat-c.c: New File.
8222         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8223         * sysdeps/s390/multiarch/strncat.c: Likewise.
8224         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8225         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8226         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8227         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8228         wcsncat functions.
8229         * sysdeps/s390/multiarch/ifunc-impl-list.c
8230         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8231         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8232         * string/test-strncat.c: Add wcsncat support.
8233         * wcsmbs/test-wcsncat.c: New File.
8234         * wcsmbs/Makefile (strop-tests): Add wcsncat.
8235         * benchtests/bench-strncat.c: Add wcsncat support.
8236         * benchtests/bench-wcsncat.c: New File.
8237         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8239         * sysdeps/s390/multiarch/strcat-c.c: New File.
8240         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8241         * sysdeps/s390/multiarch/strcat.c: Likewise.
8242         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8243         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8244         * sysdeps/s390/multiarch/wcscat.c: Likewise.
8245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8246         wcscat functions.
8247         * sysdeps/s390/multiarch/ifunc-impl-list.c
8248         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8249         * string/strcat.c (STRCAT): Define and use macro.
8250         * wcsmbs/wcscat.c: Use WCSCAT if defined.
8251         * string/test-strcat.c: Add wcscat support.
8252         * wcsmbs/test-wcscat.c: New File.
8253         * wcsmbs/Makefile (strop-tests): Add wcscat.
8254         * benchtests/bench-strcat.c: Add wcscat support.
8255         * benchtests/bench-wcscat.c: New File.
8256         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8258         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8259         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8260         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8261         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8262         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8263         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8265         wcpncpy functions.
8266         * sysdeps/s390/multiarch/ifunc-impl-list.c
8267         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8268         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8269         * string/test-stpncpy.c: Add wcpncpy support.
8270         * wcsmbs/test-wcpncpy.c: New File.
8271         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8272         * benchtests/bench-stpncpy.c: Add wcpncpy support.
8273         * benchtests/bench-wcpncpy.c: New File.
8274         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8276         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8277         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8278         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8279         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8280         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8281         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8282         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8283         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8284         wcsncpy functions.
8285         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8286         * sysdeps/s390/multiarch/ifunc-impl-list.c
8287         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8288         * string/test-strncpy.c: Add wcsncpy support.
8289         * wcsmbs/test-wcsncpy.c: New File.
8290         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8291         * benchtests/bench-strncpy.c: Add wcsncpy support.
8292         * benchtests/bench-wcsncpy.c: New File.
8293         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8295         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8296         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8297         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8298         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8299         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8300         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8302         wcpcpy functions.
8303         * string/stpcpy.c: Use STPCPY if defined.
8304         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8305         * sysdeps/s390/multiarch/ifunc-impl-list.c
8306         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8307         * string/test-stpcpy.c: Add wcpcpy support.
8308         * wcsmbs/test-wcpcpy.c: New File.
8309         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8310         * benchtests/bench-stpcpy.c: Add wcpcpy support.
8311         * benchtests/bench-wcpcpy.c: New File.
8312         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8314         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8315         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8316         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8317         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8318         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8319         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8320         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8322         wcscpy functions.
8323         * sysdeps/s390/multiarch/ifunc-impl-list.c
8324         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8325         * benchtests/bench-wcscpy.c: New File.
8326         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8328         * sysdeps/s390/multiarch/strnlen-c.c: New File.
8329         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8330         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8331         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8332         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8333         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8334         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8335         wcsnlen functions.
8336         * sysdeps/s390/multiarch/ifunc-impl-list.c
8337         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8338         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8339         * string/test-strnlen.c: Add wcsnlen support.
8340         * wcsmbs/test-wcsnlen.c: New File.
8341         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8342         * benchtests/bench-strnlen.c: Add wcsnlen support.
8343         * benchtests/bench-wcsnlen.c: New File.
8344         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8346         * sysdeps/s390/multiarch/Makefile: New File.
8347         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8348         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8349         * sysdeps/s390/multiarch/strlen.c: Likewise.
8350         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8351         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8352         * sysdeps/s390/multiarch/wcslen.c: Likewise.
8353         * string/strlen.c (STRLEN): Define and use macro.
8354         * sysdeps/s390/multiarch/ifunc-impl-list.c
8355         (IFUNC_VX_IMPL): New macro function.
8356         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8357         * benchtests/Makefile (wcsmbs-bench): New variable.
8358         (string-bench-all): Added wcsmbs-bench.
8359         * benchtests/bench-wcslen.c: New File.
8361         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8362         s390_vx_libc_ifunc2): New macro function.
8364         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8365         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8366         assembler support.
8367         * sysdeps/s390/configure: Regenerated.
8369         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8370         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8372         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8373         * sysdeps/s390/dl-procinfo.h: Add vector capability.
8374         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8376         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8377         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8378         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8379         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8380         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8381         (memcmp, bcmp): Use __memcmp_default as alias source.
8382         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8383         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8384         Rename to __memcmp_default.
8385         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8386         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8387         (memcpy): Use __memcpy_default as alias source.
8388         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8389         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8390         Rename to __memcpy_default.
8391         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8392         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8393         (memset): Use __memset_default as alias source.
8394         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8395         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8396         Rename to __memset_default.
8397         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8398         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8399         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8400         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8401         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8402         (memcmp, bcmp): Use __memcmp_default as alias source.
8403         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8404         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8405         Rename to __memcmp_default.
8406         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8407         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8408         (memcpy): Use __memcpy_default as alias source.
8409         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8410         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8411         Rename to __memcpy_default.
8412         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8413         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8414         (memset): Use __memset_default as alias source.
8415         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8416         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8417         Rename to __memset_default.
8418         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8419         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8421         [BZ #18610]
8422         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8423         __ieee_instruction_pointer to __unused.
8424         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8425         __ieee_instruction_pointer.
8426         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8427         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8428         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8429         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8430         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8431         Mark dxc-field as reserved.
8433 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8435         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8436         if the weak reference is not null.
8438 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8440         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8442         [BZ #11214]
8443         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8445 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8447         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8448         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8449         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8450         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8451         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8452         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8453         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8454         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8455         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8456         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8457         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8458         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8459         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8460         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8461         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8462         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8463         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8464         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8466 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8468         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8469         register other than r0 for tabort, it has special meaning.
8470         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
8471         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8472         transaction before starting syscall.
8474 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8476         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8478 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8480         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8482         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8483         * sysdeps/x86_64/rtld-memset.S: Likewise.
8484         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8485         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8486         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8487         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8489         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8491 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8493         * debug/strcpy_chk.c: Improve performance.
8494         * debug/stpcpy_chk.c: Likewise.
8495         * sysdeps/x86_64/strcpy_chk.S: Remove.
8496         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8498         [BZ #18240]
8499         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8501 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8503         [BZ #15128]
8504         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8505         ifuncmain8.
8506         (modules-names): Add ifuncmod8.
8507         ($(objpfx)ifuncmain8): New rule.
8508         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8509         <cpuid.h>.
8510         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8511         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8512         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8513         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8514         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8515         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8516         * sysdeps/x86_64/ifuncmain8.c: New file.
8517         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8518         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8519         Removed.
8520         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8521         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8522         Change rtld_savespace_sse to __glibc_unused2.
8523         (RTLD_CHECK_FOREIGN_CALL): Removed.
8524         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8525         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8526         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8528 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8530         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8532 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8534         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8535         Unconditionally set __fpcr to avoid uninialized warning.
8536         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8538 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8540         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8541         is corrupt.
8543         * malloc/arena.c (arena_get2): Drop unused argument.
8544         (arena_lock): Adjust.
8545         (arena_get_retry): Likewise.
8547 2015-08-24  Andreas Schwab  <schwab@suse.de>
8549         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8550         Don't define.
8551         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8552         (__ASSUME_IPC64): Don't undef.
8553         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8554         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8555         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8556         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8557         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8558         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8559         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8560         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8561         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8562         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8563         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8564         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8565         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8566         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8567         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8568         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8569         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8570         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8571         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8572         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8573         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8575 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8577         * manual/Makefile (install): Only build manual when perl is available.
8579 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8581         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8582         '#undef memcpy' by '#undef memchr'.
8584 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8586         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8587         memchr not point to the internal __GI_memchr implementation.
8589 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8591         * timezone/Makefile (CFLAGS-zdump.c): Remove
8592         -Wno-strict-prototypes.
8593         (CFLAGS-zic.c): Likewise.
8594         (CFLAGS-ialloc.c): Likewise.
8595         (CFLAGS-scheck.c): Likewise.
8597         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8598         -Wno-error=undef.
8600 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8602         * i386/i686/multiarch/strcasestr-c.c: Removed.
8603         * x86_64/multiarch/strcasestr.c: Likewise.
8604         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8605         Remove strcasestr.
8607 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8609         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8611         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8612         variables for high and low parts before possibly modifying them.
8614 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8616         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8617         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8618         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8619         of "multiarch/init-arch.h".
8620         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8621         * sysdeps/x86/init-arch.h: This.
8623 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8625         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8626         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8628 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8630         [BZ #17787]
8631         * manual/macros.texi: Add twoexp macro.
8632         * manual/filesys.texi: Fix exponents.
8633         * manual/llio.texi: Likewise.
8634         * manual/stdio.texi: Likewise.
8636 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8638         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8639         incorrect use.
8641 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8643         [BZ #18370]
8644         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8645         whose real or imaginary part has small absolute value.
8646         * math/s_csqrtf.c (__csqrtf): Likewise.
8647         * math/s_csqrtl.c (__csqrtl): Likewise.
8648         * math/auto-libm-test-in: Add more tests of csqrt.
8649         * math/auto-libm-test-out: Regenerated.
8650         * sysdeps/i386/fpu/libm-test-ulps: Update.
8652 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8654         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8655         __ppc_set_ppr_very_low): New functions.
8656         * manual/platform.texi: Add documentation about
8657         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8659 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8661         * string/stpncpy.c (stpncpy): Improve performance using
8662         __strnlen/memcpy/memset.
8664 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8666         [BZ #18796]
8667         * scripts/test-installation.pl: Don't add -lmvec to build options if
8668         libmvec wasn't built.
8670 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8672         [BZ #14341]
8673         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8674         case when there is a gap between DT_REL and DT_JMPREL sections.
8675         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8676         (LDFLAGS-tst-split-dynreloc): New.
8677         (tst-split-dynreloc-ENV): Likewise.
8678         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8679         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8681 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8683         [BZ #18822]
8684         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8685         attribute_hidden.
8686         (__xstat64_conv): Likewise.
8687         (__xstat32_conv): Likewise.
8689 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8691         [BZ #18822]
8692         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8693         Don't load %ebx when calling __setcontext.  Call __setcontext
8694         with HIDDEN_JUMPTARGET.
8695         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8696         libc_hidden_def.
8698 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8700         * sysdeps/i386/i686/Makefile
8701         [$(subdir) == string] (sysdep_routines): Moved to ...
8702         * sysdeps/i386/Makefile: Here.
8703         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8704         * sysdeps/i386/cacheinfo.c: Here.
8705         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8706         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8707         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8708         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8710 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8712         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8713         __i586__ is defined.
8714         (HAS_I686): Defined to 1 if __i686__ is defined.
8716 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8718         * elf/Makefile [$(have-z-execstack) = yes]
8719         (CPPFLAGS-tst-execstack.c): New variable.
8721         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8722         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8723         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8724         UTMPX || _HAVE_UT_TV].
8725         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8726         UTMPX || _HAVE_UT_TV - 0].
8728 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8730         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8731         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8732         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8734 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8736         * sysdeps/powerpc/dl-procinfo.c:
8737         (_dl_powerpc_cap_flags): Added missing strings for some
8738         hwcap features.
8739         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8741 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8743         Port the 0x7efe...feff pattern to GCC 6.
8744         See Steve Ellcey's bug report in:
8745         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8746         * string/memrchr.c (MEMRCHR):
8747         * string/rawmemchr.c (RAWMEMCHR):
8748         * string/strchr.c (strchr):
8749         * string/strchrnul.c (STRCHRNUL):
8750         Rewrite code to avoid issues with signed shift overflow.
8752 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8754         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8755         whether cpuid is available only if HAS_CPUID is 0.
8756         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8757         (HAS_I586): Likewise.
8758         (HAS_I686): Likewise.
8760 2015-08-18  Zack Weinberg  <zackw@panix.com>
8762         * misc/Versions (libc): Add GLIBC_2.23.
8764 2015-08-18  Alan Modra  <amodra@gmail.com>
8766         [BZ #18421]
8767         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8768         .Lp__global.
8769         (_start): Load %dp via .Lp__global.
8770         [!SHARED]: Use .section .rodata.
8772 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8774         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8775         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8777 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8779         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8780         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8782 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8784         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8785         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8787 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8789         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8790         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8792 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8794         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8795         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8797 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8799         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8800         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8802 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8804         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8806 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8808         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8809         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8810         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8811         (__ASSUME_LWS_CAS): Delete.
8813 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8815         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8816         * sysdeps/hppa/configure: Regenerated.
8817         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8818         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8819         * sysdeps/hppa/nptl/tls.h: Likewise.
8821 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8823         [BZ #18823]
8824         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8825         for scaling up small arguments.
8826         * math/s_csqrtf.c (__csqrtf): Likewise.
8827         * math/s_csqrtl.c (__csqrtl): Likewise.
8828         * math/auto-libm-test-in: Add more tests of csqrt.
8829         * math/auto-libm-test-out: Regenerated.
8831 2015-08-17  Andreas Schwab  <schwab@suse.de>
8833         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8834         version set GLIBC_2.19.
8836 2015-08-16  Zack Weinberg  <zackw@panix.com>
8838         [BZ #18681]
8839         * misc/regexp.h: This interface is no longer supported.
8840         Remove all contents, leaving only an #error directive.
8841         * misc/regexp.c (loc1, loc2, locs, step, advance):
8842         Demote to compatibility symbols.
8844 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8846         [BZ #18084]
8847         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8848         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8849         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8850         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8851         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8852         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8853         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8854         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8855         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8857 2015-08-15  Zack Weinberg  <zackw@panix.com>
8859         [BZ #18795]
8860         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8861         buffer length is known to be too large, not if it's known to be
8862         small enough.
8863         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8864         overflow at runtime, involving a length parameter, twice: once
8865         with a compile-time constant length parameter, once without.
8867 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8869         [BZ #18824]
8870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8871         scaling x * y up instead of down.
8872         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8873         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8874         * math/auto-libm-test-in: Add more tests of fma.
8875         * math/auto-libm-test-out: Regenerated.
8877 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8879         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8881 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8883         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8884         unnecessary movq.
8885         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8886         Likewise.
8888 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8890         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8891         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8892         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8893         and tgamma.
8894         * math/auto-libm-test-out: Regenerated.
8895         * sysdeps/i386/fpu/libm-test-ulps: Update.
8896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8898         [BZ #16520]
8899         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8900         (__tanh): Force underflow exception for arguments with small
8901         absolute value.
8902         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8903         (__tanhf): Force underflow exception for arguments with small
8904         absolute value.
8905         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8906         (__tanhl): Force underflow exception for arguments with small
8907         absolute value.
8908         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8909         (__tanhl): Force underflow exception for arguments with small
8910         absolute value.
8911         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8912         (__tanhl): Force underflow exception for arguments with small
8913         absolute value.
8914         * math/auto-libm-test-in: Add more tests of tanh.
8915         * math/auto-libm-test-out: Regenerated.
8916         * sysdeps/i386/fpu/libm-test-ulps: Update.
8918 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8920         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8921         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8923 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8925         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8926         <cpuid.h>.
8928 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8930         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8931         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8933 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8935         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8936         Remove $(objpfx)init-arch.o.
8937         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8938         init-arch.
8939         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8940         (INIT_ARCH_EXT): Defined as empty.
8941         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8942         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8943         __init_cpu_features call.  Replace HAS_XXX with
8944         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8945         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8946         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8947         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8949         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8950         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8951         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8952         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8953         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8954         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8955         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8956         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8957         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8958         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8961         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8962         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8963         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8964         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8966         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8968         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8971         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8972         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8973         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8974         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8975         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8977         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8979         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8981 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8983         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8984         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8985         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8986         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8987         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8988         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8989         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8990         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8991         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8992         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8993         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8994         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8995         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8996         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8997         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8998         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8999         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9000         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9001         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9002         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9003         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9004         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9005         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9006         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9007         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9008         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9009         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9010         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9011         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9012         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9013         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9014         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9015         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9016         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9017         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9018         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9019         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9020         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9021         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9022         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9023         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9024         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9025         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9027 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9029         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9030         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9031         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9032         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9033         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9034         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9035         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9036         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9037         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9038         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9039         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9040         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9041         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9042         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9043         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9044         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9045         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9046         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9047         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9048         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9050         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9051         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9052         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9053         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9054         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9055         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9056         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9057         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9058         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9059         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9060         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9061         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9062         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9063         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9064         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9065         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9066         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9067         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9068         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9069         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9070         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9071         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9073 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9075         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9076         (dl_platform_init): Call init_cpu_features.
9077         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9078         * sysdeps/i386/i686/cacheinfo.c
9079         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9080         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9081         * sysdeps/i386/i686/multiarch/Versions: Removed.
9082         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9083         Removed.
9084         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9085         * sysdeps/unix/sysv/linux/x86/Makefile
9086         (libpthread-sysdep_routines): Remove init-arch.
9087         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9088         <sysdeps/x86_64/dl-procinfo.c> instead of
9089         sysdeps/generic/dl-procinfo.c>.
9090         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9091         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9092         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9093         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9094         [$(subdir) == elf] (tests-static): Add
9095         tst-get-cpu-features-static.
9096         * sysdeps/x86/Versions: New file.
9097         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9098         * sysdeps/x86/cpu-features.c: Likewise.
9099         * sysdeps/x86/cpu-features.h: Likewise.
9100         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9101         * sysdeps/x86/libc-start.c: Likewise.
9102         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9103         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9104         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9105         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9106         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9107         Assume USE_MULTIARCH is defined and don't check it.
9108         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9109         (is_amd): Likewise.
9110         (max_cpuid): Likewise.
9111         (intel_check_word): Likewise.
9112         (__cache_sysconf): Don't call __init_cpu_features.
9113         (__x86_preferred_memory_instruction): Removed.
9114         (init_cacheinfo): Don't call __init_cpu_features. Replace
9115         __cpu_features with GLRO(dl_x86_cpu_features).
9116         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9117         (dl_platform_init): Call init_cpu_features.
9118         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9119         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9120         * sysdeps/x86_64/multiarch/Versions: Removed.
9121         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9122         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9123         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9124         Removed.
9125         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9127 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9129         [BZ #18820]
9130         * libio/Makefile (test-fmemopen-mem): New test.
9131         * libio/test-fmemopen.c (do_bz18820): New test.
9132         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9133         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9135 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9137         [BZ #16734]
9138         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9139         (FREE_BUF): Delete.
9140         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9141         * libio/genops.c (_IO_setb): Use malloc and free directly.
9142         (_IO_default_doallocate, _IO_default_finish): Likewise.
9143         ( _IO_unbuffer_all): Likewise.
9144         ( libc_freeres_fn): Likewise.
9145         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9146         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9147         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9148         (_IO_wdefault_doallocate): Likewise.
9150 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9152         [BZ #18086]
9153         * sysdeps/posix/nice.c (nice): Restore old errno.
9154         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9156 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9158         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9160 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9162         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9163         __bcopy and add a weak_alias to bcopy.
9164         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9165         for static build.
9167         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9168         cleanup macro usage.
9169         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9172         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9173         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9174         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9175         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9176         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9177         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9178         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9180         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9181         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9182         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9183         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9184         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9185         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9186         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9187         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9189         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9190         libc_hidden_def.
9191         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9193         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9194         (sysdep_routines): Add strstr-ppc64.
9195         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9197 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9199         [BZ #18778]
9200         * elf/Makefile (tests): Add Add tst-nodelete2.
9201         (modules-names): Add tst-nodelete2mod.
9202         (tst-nodelete2mod.so-no-z-defs): New.
9203         ($(objpfx)tst-nodelete2): Likewise.
9204         ($(objpfx)tst-nodelete2.out): Likewise.
9205         (LDFLAGS-tst-nodelete2): Likewise.
9206         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9207         out of loop through all loaded libraries.
9208         * elf/tst-nodelete2.c: New file.
9209         * elf/tst-nodelete2mod.c: Likewise.
9210         * elf/tst-znodelete-zlib.cc: Delete.
9212 2015-08-11  Andreas Schwab  <schwab@suse.de>
9214         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9215         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9216         (__openat64_nocancel): Likewise.
9218 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9220         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9221         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9222         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9223         * math/auto-libm-test-out: Regenerated.
9224         * sysdeps/i386/fpu/libm-test-ulps: Update.
9225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9227 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9229         [BZ #18790]
9230         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9231         threshold for returning +/- 1.
9232         * math/auto-libm-test-in: Add more tests of tanh.
9233         * math/auto-libm-test-out: Regenerated.
9234         * sysdeps/i386/fpu/libm-test-ulps: Update.
9236 2015-08-10  Andreas Schwab  <schwab@suse.de>
9238         [BZ #18781]
9239         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9240         MORE_OFLAGS to oflag.
9241         * io/test-lfs.c (do_test): Test openat64.
9243 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
9245         [BZ #18789]
9246         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9247         smaller threshold for returning the argument.
9248         * math/auto-libm-test-in: Add more tests of sinh.
9249         * math/auto-libm-test-out: Regenerated.
9250         * sysdeps/i386/fpu/libm-test-ulps: Update.
9252 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9254         [BZ #18674]
9255         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9256         break.
9258 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9260         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9261         (generated): Don't add $(addprefix z.,$(tzfiles)).
9263 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9265         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9266         * scripts/sysd-rules.awk: Likewise.
9268 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9270         * iconvdata/tst-tables.sh: Change echo -n to printf.
9271         * nss/db-Makefile: Likewise.
9272         * posix/tst-getconf.sh: Likewise.
9273         * stdio-common/tst-unbputc.sh: Likewise.
9275 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
9277         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9278         MADV_*_PAGES defines behind this feature check.
9280 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
9282         [BZ #18480]
9283         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9284         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9285         Define.
9286         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9287         LOAD_REGS_5, LOAD_REGS_6): Update.
9288         (INTERNAL_SYSCALL): Update using new LOAD defines.
9289         (INTERNAL_SYSCALL_NCS): Likewise.
9290         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9292 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9294         [BZ #16734]
9295         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9297 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9299         [BZ #17905]
9300         * catgets/Makefile (tst-catgets-mem): New test.
9301         * catgets/catgets.c (catopen): Don't use unbounded alloca.
9302         * catgets/open_catalog.c (__open_catalog): Likewise.
9303         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9305 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
9307         [BZ #18787]
9308         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9309         clobber registers.
9310         (atomic_compare_and_exchange_val_acq): Use register asms to assign
9311         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
9312         Cast return to __typeof (oldval).
9314 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
9316         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9317         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
9318         and delete sys/syscall.h include.
9320 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
9322         [BZ #16517]
9323         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9324         (tan): Force underflow exception for arguments with small absolute
9325         value.
9326         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9327         (__kernel_tanf): Force underflow exception for arguments with
9328         small absolute value.
9329         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9330         (__kernel_tanl): Force underflow exception for arguments with
9331         small absolute value.
9332         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9333         (__kernel_tanl): Force underflow exception for arguments with
9334         small absolute value.
9335         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9336         (__kernel_tanl): Force underflow exception for arguments with
9337         small absolute value.
9338         * math/auto-libm-test-in: Add more tests of tan.
9339         * math/auto-libm-test-out: Regenerated.
9341 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9343         Fix sysdeps/i386/fpu/s_scalbn.S build
9345         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9347 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
9349         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9351 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9353         Fix gcrt0.o compilation
9355         When static-start-installed-name is different from
9356         start-installed-name, we must not use the shared objects.
9358         * csu/Makefile
9359         (extra-objs): Add gmon-start.o when building shared library and
9360         $(static-start-installed-name) is different from
9361         $(start-installed-name).
9362         $(objpfx)g$(static-start-installed-name): When building shared
9363         library and $(static-start-installed-name) is different from
9364         $(static-start-installed-name), revert to non-shared rule,
9365         i.e. using $(objpfx)% and gmon-start.o.
9367 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
9369         [BZ #16519]
9370         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9371         (__ieee754_sinh): Force underflow exception for arguments with
9372         small absolute value.
9373         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9374         (__ieee754_sinhf): Force underflow exception for arguments with
9375         small absolute value.
9376         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9377         (__ieee754_sinhl): Force underflow exception for arguments with
9378         small absolute value.
9379         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9380         (__ieee754_sinhl): Force underflow exception for arguments with
9381         small absolute value.
9382         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9383         (__ieee754_sinhl): Force underflow exception for arguments with
9384         small absolute value.
9385         * math/auto-libm-test-in: Add more tests of sinh.
9386         * math/auto-libm-test-out: Regenerated.
9387         * sysdeps/i386/fpu/libm-test-ulps: Update.
9389 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9391         * libio/oldfileops.c: Include unistd.h.
9393 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9395         * stdlib/isomac.c: Include ctype.h.
9397 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9399         * dirent/tst-seekdir.c (main): Converted to ...
9400         (do_test): ... this.
9401         (TEST_FUNCTION): New macro.
9402         Include test-skeleton.c.
9403         * elf/tst-dlmodcount.c (main): Converted to ...
9404         (do_test): ... this.
9405         (TEST_FUNCTION): New macro.
9406         Include test-skeleton.c.
9407         * elf/tst-order-main.c (main): Converted to ...
9408         (do_test): ... this.
9409         (TEST_FUNCTION): New macro.
9410         Include test-skeleton.c.
9411         * elf/tst-pie2.c (main): Converted to ...
9412         (do_test): ... this.
9413         (TEST_FUNCTION): New macro.
9414         Include test-skeleton.c.
9415         * inet/tst-ether_aton.c (main): Converted to ...
9416         (do_test): ... this.
9417         (TEST_FUNCTION): New macro.
9418         Include test-skeleton.c.
9419         * misc/tst-mntent.c (main): Converted to ...
9420         (do_test): ... this.
9421         (TEST_FUNCTION): New macro.
9422         Include test-skeleton.c.
9423         * misc/tst-tsearch.c (main): Converted to ...
9424         (do_test): ... this.
9425         (TEST_FUNCTION): New macro.
9426         Include test-skeleton.c.
9427         * posix/tst-regexloc.c (main): Converted to ...
9428         (do_test): ... this.
9429         (TEST_FUNCTION): New macro.
9430         Include test-skeleton.c.
9431         * resolv/tst-aton.c (main): Converted to ...
9432         (do_test): ... this.
9433         (TEST_FUNCTION): New macro.
9434         Include test-skeleton.c.
9435         * stdio-common/test-fwrite.c (main): Converted to ...
9436         (do_test): ... this.
9437         (TEST_FUNCTION): New macro.
9438         Include test-skeleton.c.
9439         * stdio-common/tst-ferror.c (main): Converted to ...
9440         (do_test): ... this.
9441         (TEST_FUNCTION): New macro.
9442         Include test-skeleton.c.
9443         * stdio-common/tst-printf.c (main): Converted to ...
9444         (do_test): ... this.
9445         (TEST_FUNCTION): New macro.
9446         Include test-skeleton.c.
9447         * stdio-common/tst-printfsz.c (main): Converted to ...
9448         (do_test): ... this.
9449         (TEST_FUNCTION): New macro.
9450         Include test-skeleton.c.
9451         * stdlib/tst-strtod.c (main): Converted to ...
9452         (do_test): ... this.
9453         (TEST_FUNCTION): New macro.
9454         Include test-skeleton.c.
9455         * string/tst-strlen.c (main): Converted to ...
9456         (do_test): ... this.
9457         (TEST_FUNCTION): New macro.
9458         Include test-skeleton.c.
9459         * string/tst-svc.c (main): Converted to ...
9460         (do_test): ... this.
9461         (TEST_FUNCTION): New macro.
9462         Include test-skeleton.c.
9463         * time/tst-strptime.c (main): Converted to ...
9464         (do_test): ... this.
9465         (TEST_FUNCTION): New macro.
9466         Include test-skeleton.c.
9467         * timezone/tst-timezone.c (main): Converted to ...
9468         (do_test): ... this.
9469         (TEST_FUNCTION): New macro.
9470         Include test-skeleton.c.
9472 2015-08-05  Zack Weinberg  <zackw@panix.com>
9474         * misc/regexp.h: Update comments.
9476 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9478         [BZ #18635]
9479         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9480         before return label.
9482 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9484         [BZ #18661]
9485         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9486         when calling __errno_location.
9487         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9488         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9490 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9492         [BZ #18661]
9493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9494         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9495         __gettimeofday.
9497 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9499         [BZ #18661]
9500         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9501         (__start_context): Don't use pop to restore %rdi so that stack
9502         is aligned to 16 bytes when calling __setcontext.
9504 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9506         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9507         only for libc.
9508         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9510 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9512         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9513         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9514         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9516 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9518         * string/memccpy.c (memccpy):
9519         Improve performance by using memchr/memcpy/__mempcpy.
9521 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9523         * string/strncpy.c (strncpy):
9524         Improve performance by using __strnlen/memcpy.
9526 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9528         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9529         Optimize to avoid an unnecessary FPCR read.
9531 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9533         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9534         Optimize to reduce FPCR/FPSR accesses.
9536 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9538         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9539         dead->data[category] != NULL.
9541 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9543         [BZ #18647]
9544         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9545         and |x| close to 1, use absolute value of x when computing log.
9546         * math/auto-libm-test-in: Add more tests of pow.
9547         * math/auto-libm-test-out: Regenerated.
9549 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9551         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9552         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9553         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9555 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9557         [BZ #18525]
9558         * locales/km_KH: Remove timezone definition.
9559         * locales/lo_LA: Likewise.
9560         * locales/my_MM: Likewise.
9561         * locales/nan_TW@latin: Likewise.
9562         * locales/th_TH: Likewise.
9563         * locales/uk_UA: Likewise.
9565 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9567         [BZ #18265]
9568         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9569         (wcsncat): Likewise.
9570         (wcscmp): Likewise.
9571         (wcsncmp): Likewise.
9573 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9575         * test-skeleton.c (usage): New function.
9576         (main): Call usage when opt is '?'.
9578 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9580         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9581         before first use.
9583 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9585         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9586         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9587         in there too.
9589 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9591         * version.h (RELEASE): Set to "development".
9592         (VERSION): Set to "2.22.90"
9594         * version.h (RELEASE): Set to "stable".
9595         (VERSION): Set to "2.22"
9596         * include/features.h (__GLIBC_MINOR__): Set to 22.
9598 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9600         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9601         Restructure macro to avoid "value computed is not used" warning.
9602         (atomic_compare_and_exchange_val_acq): Likewise.
9604 2015-08-04  Andreas Schwab  <schwab@suse.de>
9606         [BZ #18635]
9607         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9608         ret.
9609         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9611 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9613         * po/pl.po: Updated translation.
9614         * po/uk.po: Likewise.
9615         * po/fi.po: Likewise.
9616         * po/ko.po: Likewise.
9617         * po/ru.po: Likewise.
9618         * po/vi.po: Likewise.
9620 2015-07-31  Zack Weinberg  <zackw@panix.com>
9622         [BZ #18681]
9623         * regexp.h: Add unconditional #warning stating that this header
9624         will be removed soon.  Revise banner comment to match.
9625         (compile): Consistently use ERROR instead of RETURN to report
9626         errors (partial fix for bz#18681).
9627         * regexp.c: Don't include regexp.h. Remove some unnecessary
9628         declarations.
9630 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9632         * po/libc.pot: Regenerated.
9634 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9636         [BZ #18740]
9637         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9638         float-vlen4-arch-ext-cflags): Removed.
9639         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9640         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9642 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9644         [BZ #14113]
9645         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9646         aligned to __aligned__.
9647         (pthread_cond_t, pthread_rwlock_t): Likewise.
9649 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9651         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9653 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9655         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9656         (struct sigaction): Change sa_flags from a long to an int, and add
9657         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9659 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9661         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9662         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9663         sysdeps/generic/sysdep.h include.
9664         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9665         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9666         sysdeps/hppa/sysdep.h.
9667         (ENTRY, PSEUDO): Undefine before defining.
9669 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9671         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9672         from scratch to use INTERNAL_SYSCALL.
9674 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9676         [BZ #18078]
9677         * scripts/check-localplt.awk: Support alternate relocations.
9678         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9679         sections.
9680         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9681         malloc entries with + REL R_386_GLOB_DAT.
9682         * sysdeps/x86_64/localplt.data: New file.
9684 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9686         [BZ #18731]
9687         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9688         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9689         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9691 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9693         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9695 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9697         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9698         directly in terms of __sync_fetch_and_add and delete (int) cast.
9700 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9702         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9703         the -D_ASM_IA64_CURRENT_H flag.
9705 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9707         [BZ #18641]
9708         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9710 2015-07-27  Andreas Schwab  <schwab@suse.de>
9712         * conform/conformtest.pl (checknamespace): Filter out string
9713         literals while tokenizing.
9715 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9717         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9718         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9719         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9721 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9723         * nptl/tst-join7mod.c: Add #include <string.h>.
9725 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9727         * sysdeps/nios2/libm-test-ulps: Update.
9729 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9731         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9732         Fix order of arguments to the rt_sigprocmask syscall.
9733         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9734         Likewise.
9736 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9738         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9740 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9742         [BZ #18457]
9743         * nptl/Makefile (tests): New test case tst-join7.
9744         (modules-names): New test case module tst-join7mod.
9745         * nptl/tst-join7.c: New file.
9746         * nptl/tst-join7mod.c: New file.
9747         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9748         all translation units in libc.so, libpthread.so and rtld.
9750 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9754 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9756         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9757         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9758         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9760         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9762         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9763         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9764         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9765         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9766         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9767         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9768         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9769         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9770         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9771         implementation.
9773 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9775         [BZ #17711]
9776         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9777         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9778         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9779         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9780         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9781         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9783 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9785         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9786         instead of just saying load lock in the comments.
9788 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9790         * sysdeps/unix/Subdirs: Moved ...
9791         * sysdeps/posix/Subdirs: ... here.
9792         * login/pty.h (struct termios, struct winsize): Add forward decls.
9793         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9794         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9795         * sysdeps/arm/nacl/libc.abilist: Updated.
9796         * sysdeps/nacl/libutil.abilist: New file.
9798         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9799         (SIGWINCH): New macro.
9801         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9802         * sysdeps/arm/nacl/libc.abilist: Add it.
9804 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9806         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9808 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9810         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9811         Swap __glibc_reserved0 and sa_flags order.
9813 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815         [BZ #18657]
9816         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9817         are pending TLS destructor calls.
9818         * include/link.h (struct link_map): Add concurrency note for
9819         L_TLS_DTOR_COUNT.
9820         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9821         Don't touch the link map flag.  Atomically increment
9822         l_tls_dtor_count.
9823         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9824         Avoid taking the load lock and don't touch the link map flag.
9825         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9826         * stdlib/Makefile (tests): Use it.
9827         * stdlib/tst-tls-atexit.c (do_test): dlopen
9828         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9829         to allow tst-tls-atexit-nodelete test case to use it.
9831 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9833         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9834         to bits/types.h.
9835         (msgqnum_t): New typedef.
9836         (msglen_t): Likewise.
9837         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9838         and msg_qbytes type to msglen_t.
9840 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9842         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9843         pad0 to __glibc_reserved0.
9844         (struct stat64): Likewise.
9846 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9848         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9849         Change sa_flags from a long to an int and add __glibc_reserved0 before
9850         it for padding.
9852 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9854         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9855         anonymous by deleting "siginfo" name.
9857 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9859         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9860         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9861         rather than __nacl_irt_filename.
9862         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9864         * NEWS: New item for arm-nacl port.
9865         * sysdeps/arm/nacl/libc.abilist: New file.
9866         * sysdeps/nacl/ld.abilist: New file.
9867         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9868         * sysdeps/nacl/libanl.abilist: New file.
9869         * sysdeps/nacl/libcrypt.abilist: New file.
9870         * sysdeps/nacl/libdl.abilist: New file.
9871         * sysdeps/nacl/libm.abilist: New file.
9872         * sysdeps/nacl/libpthread.abilist: New file.
9873         * sysdeps/nacl/libresolv.abilist: New file.
9874         * sysdeps/nacl/librt.abilist: New file.
9876 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9878         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9879         __startcontext to initialize the new context.
9880         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9881         up CFI directive to forbid further backtracing.
9883 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9885         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9886         reference.
9887         * charmaps/ANSI_X3.4-1968: Likewise.
9888         * charmaps/BS_4730: Likewise.
9889         * charmaps/BS_VIEWDATA: Likewise.
9890         * charmaps/CP1250: Likewise.
9891         * charmaps/CP1251: Likewise.
9892         * charmaps/CP1252: Likewise.
9893         * charmaps/CP1253: Likewise.
9894         * charmaps/CP1254: Likewise.
9895         * charmaps/CP1255: Likewise.
9896         * charmaps/CP1256: Likewise.
9897         * charmaps/CSN_369103: Likewise.
9898         * charmaps/EBCDIC-DK-NO: Likewise.
9899         * charmaps/GB_1988-80: Likewise.
9900         * charmaps/GREEK-CCITT: Likewise.
9901         * charmaps/GREEK7: Likewise.
9902         * charmaps/INIS-8: Likewise.
9903         * charmaps/ISIRI-3342: Likewise.
9904         * charmaps/ISO_2033-1983: Likewise.
9905         * charmaps/ISO_5427-EXT: Likewise.
9906         * locales/POSIX: Likewise.
9907         * locales/ar_SA: Likewise.
9908         * locales/be_BY: Likewise.
9909         * locales/be_BY@latin: Likewise.
9910         * locales/ca_ES: Likewise.
9911         * locales/cs_CZ: Likewise.
9912         * locales/da_DK: Likewise.
9913         * locales/de_BE: Likewise.
9914         * locales/de_CH: Likewise.
9915         * locales/de_LU: Likewise.
9916         * locales/en_AU: Likewise.
9917         * locales/en_BW: Likewise.
9918         * locales/en_CA: Likewise.
9919         * locales/en_DK: Likewise.
9920         * locales/en_GB: Likewise.
9921         * locales/en_IE: Likewise.
9922         * locales/en_NZ: Likewise.
9923         * locales/en_ZA: Likewise.
9924         * locales/en_ZW: Likewise.
9925         * locales/es_AR: Likewise.
9926         * locales/es_BO: Likewise.
9927         * locales/es_CL: Likewise.
9928         * locales/es_CO: Likewise.
9929         * locales/es_DO: Likewise.
9930         * locales/es_EC: Likewise.
9931         * locales/es_ES: Likewise.
9932         * locales/es_HN: Likewise.
9933         * locales/es_MX: Likewise.
9934         * locales/es_PA: Likewise.
9935         * locales/es_PE: Likewise.
9936         * locales/es_PY: Likewise.
9937         * locales/es_SV: Likewise.
9938         * locales/es_US: Likewise.
9939         * locales/es_UY: Likewise.
9940         * locales/es_VE: Likewise.
9941         * locales/et_EE: Likewise.
9942         * locales/fa_IR: Likewise.
9943         * locales/fo_FO: Likewise.
9944         * locales/fr_CA: Likewise.
9945         * locales/fr_CH: Likewise.
9946         * locales/gv_GB: Likewise.
9947         * locales/he_IL: Likewise.
9948         * locales/hr_HR: Likewise.
9949         * locales/id_ID: Likewise.
9950         * locales/is_IS: Likewise.
9951         * locales/it_CH: Likewise.
9952         * locales/iw_IL: Likewise.
9953         * locales/kl_GL: Likewise.
9954         * locales/ko_KR: Likewise.
9955         * locales/kw_GB: Likewise.
9956         * locales/lg_UG: Likewise.
9957         * locales/lt_LT: Likewise.
9958         * locales/lv_LV: Likewise.
9959         * locales/mi_NZ: Likewise.
9960         * locales/nhn_MX: Likewise.
9961         * locales/nl_BE: Likewise.
9962         * locales/pl_PL: Likewise.
9963         * locales/sk_SK: Likewise.
9964         * locales/sl_SI: Likewise.
9965         * locales/sv_FI: Likewise.
9966         * locales/tl_PH: Likewise.
9967         * locales/tr_TR: Likewise.
9968         * locales/vi_VN: Likewise.
9970 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9972         [BZ #17475]
9973         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9974         of tu_IN and bh_IN.
9976 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9978         [BZ #18694]
9979         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9980         bits/wordsize.h.
9981         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9983 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9985         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9986         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9987         (spawn_thread): New function.
9988         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9989         (do_test): ... here.  Use IS_LOADED to test for its
9990         availability.
9992 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9994         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9996 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9998         [BZ #18696]
9999         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10000         si_addr_bnd.
10001         (si_lower): New.
10002         (si_upper): Likewise.
10004 2015-07-16  David S. Miller  <davem@davemloft.net>
10006         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10008 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10010         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10011         buffer.
10012         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10013         fail output information.
10015 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10018         and strstr-ppc64..
10019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10020         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10021         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10022         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10023         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10025 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10027         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10028         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10029         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10030         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10032 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10034         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10035         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10036         rtld_hidden_proto.
10037         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10039 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10041         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10042         the test can fail.
10044         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10046         [BZ #18676]
10047         * elf/tst-nodelete-opened.c: New test case.
10048         * elf/tst-nodelete-opened-lib.c: New test case module.
10049         * elf/Makefile (tests, modules-names): Use them.
10050         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10051         early.
10053 2015-07-15  David S. Miller  <davem@davemloft.net>
10055         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10056         futex-intenal.h
10057         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10058         * sysdeps/sparc/sparc64/Makefile: Likewise.
10059         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10060         Remove space from macro define.
10061         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10063 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10065         [BZ #17475]
10066         * locale/iso-639.def: Update Bhili and Tulu language codes as
10067         per iso639-3.
10069 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10071         * elf/tst-leaks1.c (main): Converted to ...
10072         (do_test): ... this.
10073         (TEST_FUNCTION): New macro.
10074         Include test-skeleton.c.
10075         * localedata/tst-langinfo.c (main): Converted to ...
10076         (do_test): ... this.
10077         (TEST_FUNCTION): New macro.
10078         Include test-skeleton.c.
10079         * math/test-fpucw.c (main): Converted to ...
10080         (do_test): ... this.
10081         (TEST_FUNCTION): New macro.
10082         Include test-skeleton.c.
10083         * math/test-tgmath.c (main): Converted to ...
10084         (do_test): ... this.
10085         (TEST_FUNCTION): New macro.
10086         Include test-skeleton.c.
10087         * math/test-tgmath2.c (main): Converted to ...
10088         (do_test): ... this.
10089         (TEST_FUNCTION): New macro.
10090         Include test-skeleton.c.
10091         * setjmp/tst-setjmp.c (main): Converted to ...
10092         (do_test): ... this.
10093         (TEST_FUNCTION): New macro.
10094         Include test-skeleton.c.
10095         * stdio-common/tst-sscanf.c (main): Converted to ...
10096         (do_test): ... this.
10097         (TEST_FUNCTION): New macro.
10098         Include test-skeleton.c.
10099         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10100         (do_test): ... this.
10101         (TEST_FUNCTION): New macro.
10102         Include test-skeleton.c.
10104         * elf/tst-audit9.c (main): Converted to ...
10105         (do_test): ... this.
10106         (TEST_FUNCTION): New macro.
10107         Include test-skeleton.c.
10109 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10111         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10113 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10115         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10116         New variable.
10118 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10120         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10122 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10124         * sysdeps/generic/dl-fileid.h: New file.
10125         * sysdeps/posix/dl-fileid.h: New file.
10126         * sysdeps/nacl/dl-fileid.h: New file.
10127         * include/link.h: Include <dl-fileid.h>.
10128         (struct link_map): Replace l_dev and l_ino with l_file_id.
10129         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10130         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10131         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10133 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10135         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10137 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10139         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10140         Add iff $CXX is set.
10141         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10142         Likewise.
10143         (tst-nodelete-zmodiff): Likewise.
10144         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10146 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10148         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10150 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10152         * sysdeps/aarch64/fpu/math_private.h
10153         (define math_opt_barrier): Add AArch64 version.
10154         (math_force_eval): Likewise.
10156 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10158         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10160 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10162         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10163         %ld with %jd and cast to intmax_t.
10164         (do_test_length_zero): Likewise.
10166 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10168         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10170 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10172         * sysdeps/tile/libm-test-ulps: Regenerated.
10174         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10175         Comment out the whole function, not just its body.
10177 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10179         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10180         locks.
10182         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10184 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10186         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10187         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10189 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10191         * sysdeps/nptl/futex-internal.h: New file.
10192         * sysdeps/nacl/futex-internal.h: New file.
10193         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10194         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10195         error checking.
10196         (setxid_unmark_thread): Likewise.
10197         (__nptl_setxid): Likewise.
10198         (__wait_lookup_done): Likewise.
10199         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10200         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10201         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10202         * nptl/pthread_once.c (clear_once_control): Likewise.
10203         (__pthread_once_slow): Likewise.
10204         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10205         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10206         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10207         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10208         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10209         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10210         Likewise.
10211         (__pthread_rwlock_rdlock): Likewise.
10212         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10213         Likewise.
10214         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10215         Likewise.
10216         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10217         Likewise.
10218         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10219         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10220         Likewise.
10221         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10222         __ASSUME_PRIVATE_FUTEX check.
10223         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10224         Check that shared futexes are supported.
10225         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10226         wrappers with error checking.
10227         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10228         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10229         * nptl/pthread_barrierattr_setpshared.c
10230         (pthread_barrierattr_setpshared): Check that shared futexes are
10231         supported.
10232         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10233         Likewise.
10234         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10235         Likewise.
10236         * nptl/sem_init.c (futex_private_if_supported): Remove.
10237         (__new_sem_init): Adapt and check that shared futexes are supported.
10238         * nptl/sem_open.c (sem_open): Likewise.
10239         * nptl/sem_post.c (futex_wake): Remove.
10240         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10241         (do_futex_wait): Use futex wrappers with error checking.
10242         * nptl/sem_wait.c: Include lowlevellock.h.
10243         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10244         Use futex_supports_pshared.
10245         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10246         Use futex wrappers with error checking.
10247         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10248         Likewise.
10249         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10250         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10251         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10252         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10253         (futex_wake): Likewise.
10254         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10255         (do_futex_wait): Use futex wrappers with error checking.
10256         (__new_sem_wait_slow): Update EINTR handling.
10257         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10259 2015-07-09  Martin Sebor  <msebor@redhat.com>
10261         [BZ #18435]
10262         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10263         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10264         * nptl/Makefile (test-xfail-tst-once5): Define.
10266 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10268         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10269         * elf/dl-minimal.c: For readability, reorder some definitions and
10270         introduce more page breaks.  Include <stdio.h>.
10271         (__libc_fatal): New function.
10273         * include/unistd.h: Add rtld_hidden_proto for _exit.
10274         * posix/_exit.c: Add rtld_hidden_def.
10275         * sysdeps/mach/hurd/_exit.c: Likewise.
10276         * sysdeps/nacl/_exit.c: Likewise.
10277         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10278         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10280 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
10282         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10283         bndmov encoding with zero displacement.
10285 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10286             H.J. Lu  <hongjiu.lu@intel.com>
10288         [BZ #18134]
10289         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10290         * sysdeps/i386/configure: Regenerated.
10291         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10292         (_dl_runtime_profile): Save and restore Intel MPX return bound
10293         registers when calling _dl_call_pltexit.  Add
10294         PRESERVE_BND_REGS_PREFIX before return.
10295         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10296         (LRV_BND1_OFFSET): Likewise.
10297         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10298         lrv_bnd1.
10299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10300         typo in bndmov encoding.
10301         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10302         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
10303         branch instructions to preserve bounds.
10305 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10308         [GLIBC_2.22]: Add fmemopen.
10310 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10312         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10313         returns an error, also try to use host port from __mach_host_self for
10314         the __vm_wire call.
10315         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10317 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10319         [BZ #18400]
10320         [BZ #18648]
10321         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10322         Fix pr_uid and pr_gid members.
10323         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10324         definition to elf_greg_t.
10326 2015-07-08  Roland McGrath  <roland@hack.frob.com>
10328         [BZ #18383]
10329         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10330         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10331         * sysdeps/arm/configure: Regenerated.
10332         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10333         (test-xfail-tst-tlsalign-static): Variable removed.
10335         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10336         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10337         rather than explicit 'ln -s'.
10339         * resolv/rpc/netdb.h: New file.
10340         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10342 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10344         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10345         length buffers.
10346         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10347         test-skeleton.c.
10349         [BZ #6544]
10350         [BZ #11216]
10351         [BZ #12836]
10352         [BZ #13151]
10353         [BZ #13152]
10354         [BZ #14292]
10355         * include/stdio.h (fmemopen): Remove hidden prototype.
10356         (__fmemopen): Add new hidden prototype.
10357         * libio/Makefile: Add oldfmemopen object.
10358         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10359         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10360         compliance.
10361         * libio/oldfmemopen.c: New file: old fmemopen implementation for
10362         symbol compatibility.
10363         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10364         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10365         fmemopen.
10366         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10367         on append and read mode.
10368         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10369         fmemopen.
10370         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10371         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10372         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10373         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10374         Likewise.
10375         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10376         [GLIBC_2.22]: Likewise.
10377         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10378         Likewise.
10379         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10380         Likewise.
10381         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10382         [GLIBC_2.22]: Likewise.
10383         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10384         [GLIBC_2.22]: Likewise.
10385         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10386         [GLIBC_2.22]: Likewise.
10387         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10388         [GLIBC_2.22]: Likewise.
10389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10390         [GLIBC_2.22]: Likewise.
10391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10392         [GLIBC_2.22]: Likewise.
10393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10394         [GLIBC_2.22]: Likewise.
10395         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10400         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10401         [GLIBC_2.22]: Likewise.
10402         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10403         [GLIBC_2.22]: Likewise.
10404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10405         [GLIBC_2.22]: Likewise.
10406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10407         [GLIBC_2.22]: Likewise.
10408         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10409         Likewise.
10410         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10411         Likewise.
10412         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10413         Likewise.
10414         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10415         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10417 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10419         [BZ #18643]
10420         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10421         IPV6_PATHMTU, and IPV6_DONTFRAG.
10423 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10425         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10426         and _IO_UNBUFFERED.
10427         * libio/oldfileops.c: Likewise.
10428         * libio/wfileops.c: Likewise.
10430 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10432         * nscd/selinux.c: Delete selinux/flask.h include.
10434 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10436         [BZ #18641]
10437         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10438         (putpwent): Likewise.
10439         (getpwnam): Likewise.
10440         (getpwent_r): Likewise.
10441         (getpwuid_r): Likewise.
10442         (getpwnam_r): Likewise.
10443         (fgetpwent_r): Likewise.
10445 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10447         [BZ #18557]
10448         * inet/rcmd.c (__validuser2_sa): Check user first to
10449         short-circuit host check.
10451 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10452             Mikhail Ilin  <m.ilin@samsung.com>
10454         [BZ #17833]
10455         * elf/Makefile (tests): Add tst-nodelete.
10456         (modules-names): Add tst-nodelete-uniquemod.
10457         (tst-nodelete-uniquemod.so-no-z-defs): New.
10458         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10459         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10460         ($(objpfx)tst-nodelete): Likewise.
10461         ($(objpfx)tst-nodelete.out): Likewise.
10462         (LDFLAGS-tst-nodelete): Likewise.
10463         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10464         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10465         implement forced object deletion.
10466         (_dl_close): Pass false to _dl_close_worker.
10467         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10468         * elf/tst-nodelete.cc: New file.
10469         * elf/tst-nodeletelib.cc: Likewise.
10470         * elf/tst-znodeletelib.cc: Likewise.
10471         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10473 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10475         [BZ #18508]
10476         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10477         Depend on $(libdl).
10478         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10479         is not called infinitely times.
10480         (backtrace_helper): New function.
10481         (trace_arg): New struct.
10482         (st1): Enlarge stack size.
10483         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10484         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10485         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10486         Likewise.
10488 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10490         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10492 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10494         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10495         Include sys/types.h instead of bits/types.h.
10496         Remove inclusion of bits/wordsize.h.
10498 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10500         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10501         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10502         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10503         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10504         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10505         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10507 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10509         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10510         link-defines.sym.
10511         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10512         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10513         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10514         and LR_SIZE.
10515         * sysdeps/i386/link-defines.sym: New file.
10517 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10519         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10520         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10521         ($(objpfx)tst-audit3): New rule.
10522         ($(objpfx)tst-audit3.out): Likewise.
10523         * sysdeps/i386/tst-audit3.c: New file.
10524         * sysdeps/i386/tst-audit3.h: Likewise.
10525         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10526         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10528 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10530         [BZ #18633]
10531         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10532         pointer in C code.
10533         (__strcat_c): Likewise.
10534         (__strcat_g): Likewise.
10536 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10538         [BZ #18592]
10539         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10541 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10543         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10544         New function.  (__ieee754_sqrtf): New function.
10545         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10546         New function.
10547         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10548         New function.
10550 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10552         * sysdeps/ieee754/support.c: Remove unused file.
10554 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10556         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10557         registers instead of d ones so the layout is kernel abi compatible.
10558         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10559         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10560         Likewise.
10562 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10564         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10566 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10568         [BZ #18619]
10569         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10570         and return argument in case of subnormal argument.
10572 2015-07-01  Martin Sebor  <msebor@redhat.com>
10574         [BZ #18435]
10575         * nptl/Makefile: Add tst-once5.cc.
10576         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10577         Remove macro redefinitions.
10578         * nptl/tst-once5.cc: New test.
10580 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10582         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10584         * sysdeps/arm/libm-test-ulps: Regenerated.
10586         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10587         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10589 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10591         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10592         lll_lock_wait_private and lll_futex_wake probes.
10594         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10595         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10596         Likewise.
10597         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10598         atomic_spin_nop.
10599         * sysdeps/x86_64/bits/atomic.h: Likewise.
10600         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10601         to atomic_spin_nop and move ...
10602         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10603         ... here and ...
10604         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10605         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10606         atomic_spin_nop instead of BUSY_WAIT_NOP.
10607         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10608         Likewise.
10609         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10610         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10611         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10612         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10613         instead of atomic_delay.
10615 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10617         [BZ #18613]
10618         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10619         X_ADJ not X when adjusting exponent.
10620         (__ieee754_gamma_r): Do intermediate computations in
10621         round-to-nearest then adjust overflowing and underflowing results
10622         as needed.
10623         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10624         of X_ADJ not X when adjusting exponent.
10625         (__ieee754_gammaf_r): Do intermediate computations in
10626         round-to-nearest then adjust overflowing and underflowing results
10627         as needed.
10628         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10629         log of X_ADJ not X when adjusting exponent.
10630         (__ieee754_gammal_r): Do intermediate computations in
10631         round-to-nearest then adjust overflowing and underflowing results
10632         as needed.  Use 1.0L not 1.0f as numerator of division.
10633         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10634         log of X_ADJ not X when adjusting exponent.
10635         (__ieee754_gammal_r): Do intermediate computations in
10636         round-to-nearest then adjust overflowing and underflowing results
10637         as needed.  Use 1.0L not 1.0f as numerator of division.
10638         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10639         of X_ADJ not X when adjusting exponent.
10640         (__ieee754_gammal_r): Do intermediate computations in
10641         round-to-nearest then adjust overflowing and underflowing results
10642         as needed.  Use 1.0L not 1.0f as numerator of division.
10643         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10644         to auto-libm-test-in.
10645         (tgamma_test): Use ALL_RM_TEST.
10646         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10647         tests of tgamma with spurious-overflow.
10648         * math/auto-libm-test-out: Regenerated.
10649         * math/gen-libm-have-vector-test.sh: Do not check for START.
10650         * sysdeps/i386/fpu/libm-test-ulps: Update.
10651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10653         [BZ #18612]
10654         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10655         arguments, just return 0.5 times the argument, with underflow
10656         forced as needed.
10657         * math/auto-libm-test-in: Add more tests of j1.
10658         * math/auto-libm-test-out: Regenerated.
10660         [BZ #16559]
10661         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10662         (__ieee754_j1): Force underflow exception for small results.
10663         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10664         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10665         (__ieee754_j1f): Force underflow exception for small results.
10666         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10667         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10669         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10670         (__ieee754_j1l): Force underflow exception for small results.
10671         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10672         * math/auto-libm-test-in: Add more tests of j1 and jn.
10673         * math/auto-libm-test-out: Regenerated.
10675         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10676         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10677         (PF_MPLS): Likewise.
10678         (AF_IB): Likewise.
10679         (AF_MPLS): Likewise.
10680         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10681         value and macro.
10682         (MS_RMT_MASK): Include MS_LAZYTIME.
10684 2015-06-26  Mel Gorman  <mgorman@suse.de>
10686         [BZ #18502]
10687         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10688         already minimal.
10690 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10692         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10693         (DT_MIPS_NUM): Update.
10694         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10695         DT_MIPS_RLD_MAP_REL.
10697 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10699         [BZ #16559]
10700         [BZ #18602]
10701         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10702         round-to-nearest internally then recompute results that
10703         underflowed to zero in the original rounding mode.
10704         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10705         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10706         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10707         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10708         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10709         * sysdeps/i386/fpu/libm-test-ulps: Update.
10710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10712 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10714         * NEWS: Fixed description of link with vector math library.
10716 2015-06-25  Andreas Schwab  <schwab@suse.de>
10718         [BZ #18549]
10719         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10720         * libio/test-fmemopen.c (do_test): Add test for it.
10722 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10724         [BZ #17841]
10725         * Makeconfig (no-pie-ldflag): New.
10726         (+link): Set to $(+link-pie) if default to PIE.
10727         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10728         * config.make.in (build-pie-default): New.
10729         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10730         is default.  AC_SUBST.
10731         * configure: Regenerated.
10732         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10734 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10736         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10737         to 'unsigned int'.
10739         * resolv/gai_misc.h (struct waitlist): Change type of field
10740         counterp to 'volatile unsigned int *'.
10741         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10742         FUTEXADDR and OLDVAL.
10743         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10744         Give local variable TOTAL type 'volatile unsigned int'.
10745         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10746         * resolv/gai_suspend.c (gai_suspend):
10747         Give local variable CNTR type 'unsigned int'.
10749         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10750         counterp to 'volatile unsigned int *'.
10751         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10752         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10753         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10754         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10755         Give local variable TOTAL type 'volatile unsigned int'.
10756         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10758 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10760         [BZ #18383]
10761         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10762         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10763         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10764         comment for i386/x86-64.
10765         (test-xfail-tst-tlsalign-extern-static): Removed.
10767 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10769         * math/test-double.h: New file.
10770         * math/test-float.h: Likewise.
10771         * math/test-ldouble.h: Likewise.
10772         * math/test-math-inline.h: Likewise.
10773         * math/test-math-no-inline.h: Likewise.
10774         * math/test-math-scalar.h: Likewise.
10775         * math/test-math-vector.h: Likewise.
10776         * math/test-vec-loop.h: Remove file.  Contents moved into
10777         test-math-vector.h.
10778         * math/libm-test.inc (MATHCONST): Do not document macro.
10779         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10780         and test-math-scalar.h.
10781         (FUNC): Remove macro.
10782         (FUNC_TEST): Likewise.
10783         (FLOAT): Likewise.
10784         (MATHCONST): Likewise.
10785         (PRINTF_EXPR): Likewise.
10786         (PRINTF_XEXPR): Likewise.
10787         (PRINTF_NEXPR): Likewise.
10788         (TEST_DOUBLE): Likewise.
10789         (TEST_MATHVEC): Likewise.
10790         (__NO_MATH_INLINES): Likewise.
10791         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10792         and test-math-scalar.h.
10793         (FUNC): Remove macro.
10794         (FUNC_TEST): Likewise.
10795         (FLOAT): Likewise.
10796         (MATHCONST): Likewise.
10797         (PRINTF_EXPR): Likewise.
10798         (PRINTF_XEXPR): Likewise.
10799         (PRINTF_NEXPR): Likewise.
10800         (TEST_FLOAT): Likewise.
10801         (TEST_MATHVEC): Likewise.
10802         (__NO_MATH_INLINES): Likewise.
10803         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10804         and test-math-scalar.h.
10805         (FUNC): Remove macro.
10806         (FUNC_TEST): Likewise.
10807         (FLOAT): Likewise.
10808         (MATHCONST): Likewise.
10809         (PRINTF_EXPR): Likewise.
10810         (PRINTF_XEXPR): Likewise.
10811         (PRINTF_NEXPR): Likewise.
10812         (TEST_DOUBLE): Likewise.
10813         (TEST_MATHVEC): Likewise.
10814         (TEST_INLINE): Likewise.
10815         (__NO_MATH_INLINES): Likewise.
10816         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10817         test-math-scalar.h.
10818         (FUNC): Remove macro.
10819         (FUNC_TEST): Likewise.
10820         (FLOAT): Likewise.
10821         (MATHCONST): Likewise.
10822         (PRINTF_EXPR): Likewise.
10823         (PRINTF_XEXPR): Likewise.
10824         (PRINTF_NEXPR): Likewise.
10825         (TEST_FLOAT): Likewise.
10826         (TEST_MATHVEC): Likewise.
10827         (TEST_INLINE): Likewise.
10828         (__NO_MATH_INLINES): Likewise.
10829         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10830         and test-math-scalar.h.
10831         (FUNC): Remove macro.
10832         (FUNC_TEST): Likewise.
10833         (FLOAT): Likewise.
10834         (MATHCONST): Likewise.
10835         (PRINTF_EXPR): Likewise.
10836         (PRINTF_XEXPR): Likewise.
10837         (PRINTF_NEXPR): Likewise.
10838         (TEST_LDOUBLE): Likewise.
10839         (TEST_MATHVEC): Likewise.
10840         (TEST_INLINE): Likewise.
10841         (__NO_MATH_INLINES): Likewise.
10842         * math/test-ldouble.c: Include test-ldouble.h,
10843         test-math-no-inline.h and test-math-scalar.h.
10844         (FUNC): Remove macro.
10845         (FUNC_TEST): Likewise.
10846         (FLOAT): Likewise.
10847         (MATHCONST): Likewise.
10848         (PRINTF_EXPR): Likewise.
10849         (PRINTF_XEXPR): Likewise.
10850         (PRINTF_NEXPR): Likewise.
10851         (TEST_LDOUBLE): Likewise.
10852         (TEST_MATHVEC): Likewise.
10853         (__NO_MATH_INLINES): Likewise.
10854         * math/test-double-vlen2.h: Include test-double.h,
10855         test-math-no-inline.h and test-math-vector.h.
10856         (FLOAT): Remove macro.
10857         (FUNC): Likewise.
10858         (MATHCONST): Likewise.
10859         (PRINTF_EXPR): Likewise.
10860         (PRINTF_XEXPR): Likewise.
10861         (PRINTF_NEXPR): Likewise.
10862         (TEST_DOUBLE): Likewise.
10863         (TEST_MATHVEC): Likewise.
10864         (__NO_MATH_INLINES): Likewise.
10865         (CNCT): Likewise.
10866         (CONCAT): Likewise.
10867         (WRAPPER_NAME): Likewise.
10868         (WRAPPER_DECL): Likewise.
10869         (WRAPPER_DECL_ff): Likewise.
10870         (WRAPPER_DECL_fFF): Likewise.
10871         (VECTOR_WRAPPER): Likewise.
10872         (VECTOR_WRAPPER_ff): Likewise.
10873         (VECTOR_WRAPPER_fFF): Likewise.
10874         (VEC_LEN): New macro.
10875         * math/test-double-vlen4.h: Include test-double.h,
10876         test-math-no-inline.h and test-math-vector.h.
10877         (FLOAT): Remove macro.
10878         (FUNC): Likewise.
10879         (MATHCONST): Likewise.
10880         (PRINTF_EXPR): Likewise.
10881         (PRINTF_XEXPR): Likewise.
10882         (PRINTF_NEXPR): Likewise.
10883         (TEST_DOUBLE): Likewise.
10884         (TEST_MATHVEC): Likewise.
10885         (__NO_MATH_INLINES): Likewise.
10886         (CNCT): Likewise.
10887         (CONCAT): Likewise.
10888         (WRAPPER_NAME): Likewise.
10889         (WRAPPER_DECL): Likewise.
10890         (WRAPPER_DECL_ff): Likewise.
10891         (WRAPPER_DECL_fFF): Likewise.
10892         (VECTOR_WRAPPER): Likewise.
10893         (VECTOR_WRAPPER_ff): Likewise.
10894         (VECTOR_WRAPPER_fFF): Likewise.
10895         (VEC_LEN): New macro.
10896         * math/test-double-vlen8.h: Include test-double.h,
10897         test-math-no-inline.h and test-math-vector.h.
10898         (FLOAT): Remove macro.
10899         (FUNC): Likewise.
10900         (MATHCONST): Likewise.
10901         (PRINTF_EXPR): Likewise.
10902         (PRINTF_XEXPR): Likewise.
10903         (PRINTF_NEXPR): Likewise.
10904         (TEST_DOUBLE): Likewise.
10905         (TEST_MATHVEC): Likewise.
10906         (__NO_MATH_INLINES): Likewise.
10907         (CNCT): Likewise.
10908         (CONCAT): Likewise.
10909         (WRAPPER_NAME): Likewise.
10910         (WRAPPER_DECL): Likewise.
10911         (WRAPPER_DECL_ff): Likewise.
10912         (WRAPPER_DECL_fFF): Likewise.
10913         (VECTOR_WRAPPER): Likewise.
10914         (VECTOR_WRAPPER_ff): Likewise.
10915         (VECTOR_WRAPPER_fFF): Likewise.
10916         (VEC_LEN): New macro.
10917         * math/test-float-vlen4.h: Include test-float.h,
10918         test-math-no-inline.h and test-math-vector.h.
10919         (FLOAT): Remove macro.
10920         (FUNC): Likewise.
10921         (MATHCONST): Likewise.
10922         (PRINTF_EXPR): Likewise.
10923         (PRINTF_XEXPR): Likewise.
10924         (PRINTF_NEXPR): Likewise.
10925         (TEST_FLOAT): Likewise.
10926         (TEST_MATHVEC): Likewise.
10927         (__NO_MATH_INLINES): Likewise.
10928         (CNCT): Likewise.
10929         (CONCAT): Likewise.
10930         (WRAPPER_NAME): Likewise.
10931         (WRAPPER_DECL): Likewise.
10932         (WRAPPER_DECL_ff): Likewise.
10933         (WRAPPER_DECL_fFF): Likewise.
10934         (VECTOR_WRAPPER): Likewise.
10935         (VECTOR_WRAPPER_ff): Likewise.
10936         (VECTOR_WRAPPER_fFF): Likewise.
10937         (VEC_LEN): New macro.
10938         * math/test-float-vlen8.h: Include test-float.h,
10939         test-math-no-inline.h and test-math-vector.h.
10940         (FLOAT): Remove macro.
10941         (FUNC): Likewise.
10942         (MATHCONST): Likewise.
10943         (PRINTF_EXPR): Likewise.
10944         (PRINTF_XEXPR): Likewise.
10945         (PRINTF_NEXPR): Likewise.
10946         (TEST_FLOAT): Likewise.
10947         (TEST_MATHVEC): Likewise.
10948         (__NO_MATH_INLINES): Likewise.
10949         (CNCT): Likewise.
10950         (CONCAT): Likewise.
10951         (WRAPPER_NAME): Likewise.
10952         (WRAPPER_DECL): Likewise.
10953         (WRAPPER_DECL_ff): Likewise.
10954         (WRAPPER_DECL_fFF): Likewise.
10955         (VECTOR_WRAPPER): Likewise.
10956         (VECTOR_WRAPPER_ff): Likewise.
10957         (VECTOR_WRAPPER_fFF): Likewise.
10958         (VEC_LEN): New macro.
10959         * math/test-float-vlen16.h: Include test-float.h,
10960         test-math-no-inline.h and test-math-vector.h.
10961         (FLOAT): Remove macro.
10962         (FUNC): Likewise.
10963         (MATHCONST): Likewise.
10964         (PRINTF_EXPR): Likewise.
10965         (PRINTF_XEXPR): Likewise.
10966         (PRINTF_NEXPR): Likewise.
10967         (TEST_FLOAT): Likewise.
10968         (TEST_MATHVEC): Likewise.
10969         (__NO_MATH_INLINES): Likewise.
10970         (CNCT): Likewise.
10971         (CONCAT): Likewise.
10972         (WRAPPER_NAME): Likewise.
10973         (WRAPPER_DECL): Likewise.
10974         (WRAPPER_DECL_ff): Likewise.
10975         (WRAPPER_DECL_fFF): Likewise.
10976         (VECTOR_WRAPPER): Likewise.
10977         (VECTOR_WRAPPER_ff): Likewise.
10978         (VECTOR_WRAPPER_fFF): Likewise.
10979         (VEC_LEN): New macro.
10980         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10981         test-vec-loop.h.
10982         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10983         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10984         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10985         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10986         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10987         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10988         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10990 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10992         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10993         (__getlogin_r): ... this.
10995 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10997         [BZ #18594]
10998         * math/s_ccosh.c (__ccosh): Compare with least normal value
10999         instead of comparing class with FP_SUBNORMAL.
11000         * math/s_ccoshf.c (__ccoshf): Likewise.
11001         * math/s_ccoshl.c (__ccoshl): Likewise.
11002         * math/s_cexp.c (__cexp): Likewise.
11003         * math/s_cexpf.c (__cexpf): Likewise.
11004         * math/s_cexpl.c (__cexpl): Likewise.
11005         * math/s_csin.c (__csin): Likewise.
11006         * math/s_csinf.c (__csinf): Likewise.
11007         * math/s_csinh.c (__csinh): Likewise.
11008         * math/s_csinhf.c (__csinhf): Likewise.
11009         * math/s_csinhl.c (__csinhl): Likewise.
11010         * math/s_csinl.c (__csinl): Likewise.
11011         * math/s_ctan.c (__ctan): Likewise.
11012         * math/s_ctanf.c (__ctanf): Likewise.
11013         * math/s_ctanh.c (__ctanh): Likewise.
11014         * math/s_ctanhf.c (__ctanhf): Likewise.
11015         * math/s_ctanhl.c (__ctanhl): Likewise.
11016         * math/s_ctanl.c (__ctanl): Likewise.
11017         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11018         csin, csinh, ctan and ctanh.
11019         * math/auto-libm-test-out: Regenerated.
11020         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11021         * sysdeps/i386/fpu/libm-test-ulps: Update.
11022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11024 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11026         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11027         return value is wrong, print the expected value too.
11029 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11031         [BZ #18585]
11032         * elf/readlib.c (is_gdb_python_file): New.
11033         (process_file): Don't issue errors on filenames with -gdb.py
11034         suffix.
11036 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11038         * math/auto-libm-test-in: Add more tests of csin and csinh.
11039         * math/auto-libm-test-out: Regenerated.
11040         * math/libm-test.inc (csin_test_data): Remove tests moved to
11041         auto-libm-test-in.
11042         (csinh_test_data): Likewise.
11044         [BZ #18593]
11045         * math/s_csin.c (__csin): Negate before rather than after possibly
11046         overflowing multiplication.
11047         * math/s_csinf.c (__csinf): Likewise.
11048         * math/s_csinh.c (__csinh): Likewise.
11049         * math/s_csinhf.c (__csinhf): Likewise.
11050         * math/s_csinhl.c (__csinhl): Likewise.
11051         * math/s_csinl.c (__csinl): Likewise.
11052         * math/auto-libm-test-in: Add some tests of csin and csinh.
11053         * math/auto-libm-test-out: Regenerated.
11054         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11055         (csinh_test_data): Likewise.
11056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11058         [BZ #18586]
11059         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11060         underflow exception for small results.
11062 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11066         variable and included header.
11067         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11068         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11069         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11074         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11075         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11076         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11077         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11078         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11079         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11080         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11081         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11082         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11084 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11086         [BZ #16526]
11087         [BZ #16538]
11088         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11089         (__sin): Force underflow exception for arguments with small
11090         absolute value.
11091         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11092         (__kernel_sinf): Force underflow exception for arguments with
11093         small absolute value.
11094         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11095         (__kernel_sincosl): Force underflow exception for arguments with
11096         small absolute value.
11097         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11098         (__kernel_sinl): Force underflow exception for arguments with
11099         small absolute value.
11100         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11101         (__kernel_sincosl): Force underflow exception for arguments with
11102         small absolute value.
11103         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11104         (__kernel_sinl): Force underflow exception for arguments with
11105         small absolute value.
11106         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11107         (__kernel_sinl): Force underflow exception for arguments with
11108         small absolute value.
11109         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11110         (__kernel_sinf): Force underflow exception for arguments with
11111         small absolute value.
11112         * math/auto-libm-test-in: Add more tests of sin and sincos.
11113         * math/auto-libm-test-out: Regenerated.
11115         [BZ #18245]
11116         [BZ #18583]
11117         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11118         (__kernel_standard_l): Use feholdexcept and fesetenv around
11119         conversion to double instead of special-casing overflow and
11120         underflow.
11121         * math/libm-test.inc (fmod_test_data): Add more tests.
11122         (remainder_test_data): Likewise.
11123         (sqrt_test_data): Likewise.
11125 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11127         [BZ #17403]
11128         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11129         atomic_read_barrier, atomic_write_barrier): Define.
11130         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11131         atomic_read_barrier, atomic_write_barrier): Define.
11133 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11135         * math/Makefile [$(PERL) != no]
11136         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11137         dependency on libm-test.stmp below the inclusion of Rules.
11139 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11141         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11143         and included header.
11144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11145         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11149         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11150         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11151         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11152         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11153         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11154         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11155         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11156         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11157         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11158         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11159         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11160         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11161         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11162         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11164 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11166         [BZ #18371]
11167         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11168         intermediate but not final result might underflow.
11169         * math/s_csqrtf.c (__csqrtf): Likewise.
11170         * math/s_csqrtl.c (__csqrtl): Likewise.
11171         * math/auto-libm-test-in: Add more tests of csqrt.
11172         * math/auto-libm-test-out: Regenerated.
11173         * sysdeps/i386/fpu/libm-test-ulps: Update.
11175         [BZ #18219]
11176         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11177         threshold on absolute value of exponent for which scaling is used.
11178         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11179         * math/auto-libm-test-in: Add more tests of exp2.
11180         * math/auto-libm-test-out: Regenerated.
11182 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11184         [BZ #17977]
11185         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11186         when initializing interface list, based on the bug analysis
11187         and the patch proposed by Eric Newton.
11188         * resolv/tst-res_hconf_reorder.c: New test.
11189         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11190         tst-res_hconf_reorder.
11191         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11192         and $(shared-thread-library).
11193         (tst-res_hconf_reorder-ENV): New variable.
11195         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11196         in comment.
11198 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11200         [BZ #16353]
11201         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11202         (__expm1): Force underflow exception for arguments with small
11203         absolute value.
11204         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11205         (__expm1f): Force underflow exception for arguments with small
11206         absolute value.
11207         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11208         (__expm1): Force underflow exception for arguments with small
11209         absolute value.
11210         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11211         (__expm1f): Force underflow exception for arguments with small
11212         absolute value.
11213         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11214         Check for small arguments before calling __expm1.
11215         * math/auto-libm-test-in: Do not mark underflow exceptions as
11216         possibly missing for bug 16353.
11217         * math/auto-libm-test-out: Regenerated.
11219 2015-06-22  Andreas Schwab  <schwab@suse.de>
11221         [BZ #18513]
11222         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11223         PTR queries.
11225 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11227         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11229         * string/strcoll_l.c: Remove unused struct element idxnow.
11231 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
11233         [BZ #18569]
11234         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11235         underflow and return argument in case of subnormal argument.
11236         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11237         Likewise.
11238         * math/auto-libm-test-in: Add more tests of expm1.
11239         * math/auto-libm-test-out: Regenerated.
11241         [BZ #16361]
11242         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11243         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11244         tiny results.
11245         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11246         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11247         tiny results.
11248         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
11249         mark underflow exceptions as possibly missing for bug 16361.
11250         * math/auto-libm-test-out: Regenerated.
11252 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
11254         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11255         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11256         Remove variable.
11257         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11258         (test-xfail-XOPEN2K8/utmpx.h/conform).
11260         * conform/conformtest.pl ($xerrors): New variable.
11261         (note_error): New function.
11262         (compiletest): New argument $xfail.  Use not_error.
11263         (runtest): Likewise.
11264         (top level): Handle xfail- lines.  Update calls to compiletest and
11265         runtest.  Handle xfail- and optional- in headers listed with
11266         allow-header.
11267         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11268         (O_EXEC): Likewise.
11269         (O_SEARCH): Likewise.
11270         * conform/data/stropts.h-data (ioctl): Likewise.
11271         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11272         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11273         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11274         (msghdr.msg_controllen): Likewise.
11275         (cmsghdr.cmsg_len): Likewise.
11276         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11277         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11278         variable.
11279         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11280         (test-xfail-XPG4/stropts.h/conform): Likewise.
11281         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11282         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11283         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11284         (test-xfail-UNIX98/stropts.h/conform): Likewise.
11285         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11286         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11287         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11288         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11289         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11290         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11291         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11292         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11293         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11294         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11295         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11296         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11297         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11298         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11299         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11301 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11303         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11304         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11305         definitions for proper unfolding of __MATHDECL_VEC.
11307 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11309         * benchtests/bench-strcoll.c:
11310         Include string.h.
11311         (main): Remove unused variable res.
11313 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11315         * timezone/Makefile (%/UTC %/Universal):
11316         Generate test-result files for UTC and Universal.
11318 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11320         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11322 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
11324         [BZ #16350]
11325         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11326         for arguments with small absolute value.
11327         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11328         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11329         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11330         (__asinh): Force underflow exception for arguments with small
11331         absolute value.
11332         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11333         (__asinhf): Force underflow exception for arguments with small
11334         absolute value.
11335         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11336         (__asinhl): Force underflow exception for arguments with small
11337         absolute value.
11338         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11339         (__asinhl): Force underflow exception for arguments with small
11340         absolute value.
11341         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11342         (__asinhl): Force underflow exception for arguments with small
11343         absolute value.
11344         * math/auto-libm-test-in: Do not mark underflow exceptions as
11345         possibly missing for bug 16350.
11346         * math/auto-libm-test-out: Regenerated.
11348         * include/bits/ipc.h: Remove file.
11349         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11350         variable.
11351         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11352         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11353         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11354         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11355         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11356         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11357         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11358         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11359         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11361         * math/auto-libm-test-in: Remove spurious underflow allowance for
11362         tests of cexp.
11363         * math/auto-libm-test-out: Regenerated.
11365         [BZ #18558]
11366         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11367         unconditional definition.
11368         (MCAST_BLOCK_SOURCE): Likewise.
11369         (MCAST_UNBLOCK_SOURCE): Likewise.
11370         (MCAST_LEAVE_GROUP): Likewise.
11371         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11372         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11373         (MCAST_MSFILTER): Likewise.
11374         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11375         Remove variable.
11376         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11377         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11378         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11379         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11380         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11382 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
11384         * NEWS: Mention addition of x86_64 vector sincosf.
11385         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11386         * math/test-float-vlen4.h: Likewise.
11387         * math/test-float-vlen8.h: Likewise.
11388         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11389         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11391         * sysdeps/x86_64/fpu/Versions: New versions added.
11392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11393         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11394         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11395         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11396         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11397         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11398         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11400         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11401         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11402         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11403         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11404         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11405         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11406         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11407         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11408         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11409         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11410         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11411         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11412         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11413         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11414         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11415         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11417         * NEWS: Mention addition of x86_64 vector sincos.
11418         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11419         * math/math.h (__MATHDECL_VEC): New macro.
11420         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11421         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11422         declaration under condition.
11423         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11424         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11425         TEST_VEC_LOOP change.
11426         * math/test-double-vlen4.h: Likewise.
11427         * math/test-double-vlen8.h: Likewise.
11428         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11429         * math/test-float-vlen4.h: Likewise.
11430         * math/test-float-vlen8.h: Likewise.
11431         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11432         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11433         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11434         * sysdeps/x86_64/fpu/Versions: New versions added.
11435         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11436         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11437         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11438         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11439         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11442         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11443         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11444         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11445         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11446         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11447         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11448         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11449         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11450         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11451         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11452         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11453         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11454         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11455         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11456         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11457         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11458         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11460         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11461         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11462         redirections for powf.
11463         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11464         * sysdeps/x86_64/fpu/Versions: New versions added.
11465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11466         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11467         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11468         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11469         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11470         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11471         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11472         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11473         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11474         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11475         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11476         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11477         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11478         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11479         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11480         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11481         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11482         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11483         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11484         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11485         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11486         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11487         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11488         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11489         * math/test-float-vlen16.h: Fixed 2 argument macro.
11490         * math/test-float-vlen4.h: Likewise.
11491         * math/test-float-vlen8.h: Likewise.
11492         * NEWS: Mention addition of x86_64 vector powf.
11494 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11496         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11497         and redefine.
11498         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11499         and redefine.
11500         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11501         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11502         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11504         [BZ #18553]
11505         * resource/getpriority.c (getpriority): Rename to __getpriority
11506         and define as weak alias of __getpriority.
11507         * resource/setpriority.c (setpriority): Rename to __setpriority
11508         and define as weak alias of __setpriority.
11509         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11510         __getpriority and define as weak alias of __getpriority.
11511         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11512         __setpriority and define as weak alias of __setpriority.
11513         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11514         strong name.
11515         (setpriority): Use __setpriority as strong name.
11516         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11517         __getpriority and define as weak alias of __getpriority.
11518         * include/sys/resource.h (__getpriority): Declare.  Use
11519         libc_hidden_proto.
11520         (__setpriority): Likewise.
11521         (getpriority): Don't use libc_hidden_proto.
11522         (setpriority): Likewise.
11523         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11524         getpriority.  Call __setpriority instead of setpriority.
11525         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11526         Remove variable.
11528         [BZ #18547]
11529         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11530         as weak alias of __getttynam.  Use prototype function definition.
11531         Call __setttyent, __getttyent and __endttyent instead of
11532         setttyent, getttyent and endttyent.
11533         (getttyent): Rename to __getttyent and define as weak alias of
11534         __getttyent.  Call __setttyent instead of setttyent.  Call
11535         __fgets_unlocked instead of fgets_unlocked.
11536         (setttyent): Rename to __setttyent and define as weak alias of
11537         __setttyent.
11538         (endttyent): Rename to __endttyent and define as weak alias of
11539         __endttyent.
11540         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11541         (__setttyent): Likewise.
11542         (__endttyent): Likewise.
11543         (getttyent): Don't use libc_hidden_proto.
11544         (setttyent): Likewise.
11545         (endttyent): Likewise.
11546         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11547         __endttyent instead of setttyent, getttyent and endttyent.
11548         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11549         Remove variable.
11551         [BZ #18546]
11552         * socket/recv.c (__recv): Use libc_hidden_def.
11553         * socket/socket.c (__socket): Likewise.
11554         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11555         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11556         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11557         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11558         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11559         libc_hidden_def.
11560         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11561         libc_hidden_weak.
11562         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11563         Use libc_hidden_proto.
11564         (__recv): Likewise.
11565         * socket/Versions (libc): Export __recv and __socket at version
11566         GLIBC_PRIVATE.
11567         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11568         instead of recv.
11569         (init_mq_netlink): Call __socket instead of socket.
11570         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11571         Remove variable.
11573         [BZ #18545]
11574         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11575         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11576         hidden_weak.
11577         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11578         define as alias of __mq_timedsend.  Use hidden_weak.
11579         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11580         __mq_timedsend as strong name.
11581         (mq_timedreceive): Use __mq_timedreceive as strong name.
11582         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11583         (__mq_timedreceive): Likewise.
11584         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11585         __mq_timedreceive instead of mq_timedreceive.
11586         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11587         instead of mq_timedsend.
11588         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11589         Remove variable.
11591         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11592         hidden_def and hidden_weak instead of libc_hidden_def and
11593         libc_hidden_weak.
11594         (top level): Refer to hidden_def in comment.
11595         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11596         macro.  Use it instead of libc_hidden_def.
11597         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11598         specify __GI_* name explicitly.
11599         (mq_timedreceive): Likewise.
11600         (mq_setattr): Likewise.
11602         [BZ #18544]
11603         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11604         __pthread_barrier_init and define as weak alias of
11605         __pthread_barrier_init.
11606         * sysdeps/sparc/nptl/pthread_barrier_init.c
11607         (pthread_barrier_init): Likewise.
11608         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11609         __pthread_barrier_wait and define as weak alias of
11610         __pthread_barrier_wait.
11611         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11612         (pthread_barrier_wait): Likewise.
11613         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11614         (pthread_barrier_wait): Likewise.
11615         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11616         (pthread_barrier_wait): Likewise.
11617         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11618         (pthread_barrier_wait): Likewise.
11619         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11620         __pthread_barrier_wait at version GLIBC_PRIVATE.
11621         * include/pthread.h (__pthread_barrier_init): Declare.
11622         (__pthread_barrier_wait): Likewise.
11623         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11624         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11625         (helper_thread): Likewise.
11626         (init_mq_netlink): Call __pthread_barrier_init instead of
11627         pthread_barrier_init.
11629         [BZ #18542]
11630         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11631         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11632         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11633         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11634         vswscanf.
11635         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11636         Remove variable.
11638         [BZ #18540]
11639         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11640         strong alias of _IO_fflush.  Use libc_hidden_def.
11641         * libio/iofflush_u.c (fflush_unlocked): Rename to
11642         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11643         Use libc_hidden_weak.
11644         * include/stdio.h (__fflush_unlocked): Declare.  Use
11645         libc_hidden_proto.
11646         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11647         fflush_unlocked.
11648         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11649         Remove variable.
11651         [BZ #18539]
11652         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11653         define as weak alias of __addseverity.
11654         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11655         Remove variable.
11656         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11657         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11658         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11660         [BZ #18536]
11661         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11662         (__tfind): Likewise.
11663         (__tdelete): Likewise.
11664         (__twalk): Likewise.
11665         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11666         __twalk to GLIBC_PRIVATE.
11667         * include/search.h (__tsearch): Use libc_hidden_proto.
11668         (__tfind): Likewise.
11669         (__tdelete): Likewise.
11670         (__twalk): Likewise.
11671         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11672         Call __tdelete instead of tdelete.
11673         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11674         tfind.  Call __tsearch instead of tsearch.
11675         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11676         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11677         Remove variable.
11678         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11680         [BZ #18534]
11681         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11682         (dprintf): Define as a weak alias of __dprintf, not a strong
11683         alias.
11684         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11685         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11686         dprintf.
11687         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11688         Remove variable.
11689         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11690         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11692         [BZ #18533]
11693         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11694         not a strong alias.
11695         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11696         Remove variable.
11698         [BZ #18532]
11699         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11700         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11701         (in6addr_loopback): Rename to __in6addr_loopback and define as
11702         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11703         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11704         libc_hidden_proto.
11705         (__in6addr_any): Likewise.
11706         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11707         in6addr_any.
11708         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11709         variable.
11710         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11712 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11714         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11715         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11716         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11717         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11718         redirections for pow.
11719         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11720         * sysdeps/x86_64/fpu/Versions: New versions added.
11721         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11722         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11723         build of SSE, AVX2 and AVX512 IFUNC versions.
11724         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11725         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11726         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11727         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11728         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11729         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11730         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11731         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11732         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11733         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11734         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11735         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11736         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11737         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11738         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11739         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11740         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11741         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11742         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11743         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11744         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11745         * NEWS: Mention addition of x86_64 vector pow.
11747         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11748         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11749         redirections for expf.
11750         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11751         * sysdeps/x86_64/fpu/Versions: New versions added.
11752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11753         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11754         build of SSE, AVX2 and AVX512 IFUNC versions.
11755         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11756         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11757         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11758         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11759         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11760         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11761         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11762         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11763         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11764         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11765         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11766         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11767         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11768         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11769         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11770         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11771         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11772         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11773         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11774         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11775         * NEWS: Mention addition of x86_64 vector expf.
11777         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11778         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11779         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11780         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11781         redirections for exp.
11782         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11783         * sysdeps/x86_64/fpu/Versions: New versions added.
11784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11785         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11786         build of SSE, AVX2 and AVX512 IFUNC versions.
11787         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11788         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11789         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11790         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11792         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11793         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11794         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11795         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11796         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11797         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11798         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11799         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11800         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11801         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11802         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11803         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11804         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11805         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11806         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11807         * NEWS: Mention addition of x86_64 vector exp.
11809         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11810         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11811         redirections for logf.
11812         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11813         * sysdeps/x86_64/fpu/Versions: New versions added.
11814         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11815         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11816         build of SSE, AVX2 and AVX512 IFUNC versions.
11817         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11818         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11819         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11820         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11821         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11822         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11823         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11824         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11825         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11826         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11827         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11828         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11829         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11830         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11831         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11832         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11833         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11834         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11835         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11836         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11837         * NEWS: Mention addition of x86_64 vector logf.
11839         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11840         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11841         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11842         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11843         redirections for log.
11844         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11845         * sysdeps/x86_64/fpu/Versions: New versions added.
11846         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11847         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11848         build of SSE, AVX2 and AVX512 IFUNC versions.
11849         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11850         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11851         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11852         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11853         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11854         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11855         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11856         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11857         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11858         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11859         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11860         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11861         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11862         test.
11863         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11864         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11865         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11866         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11867         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11868         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11869         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11870         * NEWS: Mention addition of x86_64 vector log.
11872 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11874         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11875         cfi_adjust_cfa_offset argument.
11876         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11877         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11879         [BZ #18034]
11880         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11881         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11882         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11883         ordering using ldar.
11884         (_dl_tlsdesc_dynamic): Likewise.
11885         (_dl_tlsdesc_return_lazy): Likewise.
11886         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11887         relaxed atomics instead of volatile and synchronize with release store.
11888         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11889         volatile.
11890         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11892 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11894         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11895         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11896         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11897         * sysdeps/x86_64/fpu/Versions: New versions added.
11898         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11900         build of SSE, AVX2 and AVX512 IFUNC versions.
11901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11902         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11903         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11904         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11905         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11906         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11907         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11908         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11909         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11910         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11911         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11912         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11913         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11914         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11915         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11916         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11918         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11919         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11920         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11921         * NEWS: Mention addition of x86_64 vector sinf.
11923 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11925         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11926         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11927         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11928         Remove variable.
11929         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11930         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11932 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11934         [BZ #18530]
11935         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11936         strong alias of _IO_fputs.  Use libc_hidden_def.
11937         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11938         and define as weak alias of __fputs_unlocked.  Use
11939         libc_hidden_weak.
11940         * include/stdio.h (__fputs_unlocked): Declare.  Use
11941         libc_hidden_proto.
11942         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11943         fputs_unlocked.
11945         [BZ #18529]
11946         * resolv/netdb.h [__USE_POSIX]: Change condition to
11947         [__USE_XOPEN2K].
11948         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11949         not expect.
11950         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11951         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11952         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11953         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11954         [XPG4 || UNIX98] (AI_ALL): Likewise.
11955         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11956         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11957         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11958         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11959         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11960         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11961         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11962         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11963         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11964         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11965         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11966         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11967         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11968         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11969         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11970         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11971         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11972         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11973         [XPG4 || UNIX98] (gai_strerror): Likewise.
11974         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11975         [XPG4 || UNIX98] (getnameinfo): Likewise.
11977         [BZ #18528]
11978         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11979         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11980         __USE_XOPEN2K8].
11981         (getgrent): Likewise.
11982         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11983         expect.
11984         [XPG3 || POSIX2008] (endgrent): Likewise.
11985         [XPG3] (setgrent): Likewise.
11986         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11987         variable.
11988         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11990         [BZ #18527]
11991         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11992         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11993         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11994         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11995         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11996         * include/unistd.h (__getlogin_r): Declare.  Use
11997         libc_hidden_proto.
11998         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11999         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12000         variable.
12001         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12002         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12003         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12005 2015-06-12  Martin Sebor  <msebor@redhat.com>
12007         [BZ #18512]
12008         * Makerules (check-install-supported): New target.
12009         (install): Add check-install-supported as a dependency.
12010         * manual/install.texi (Installing the C Library): Document
12011         that overriding prefix and exec_prefix is not supported.
12012         Mention DESTDIR.
12013         * INSTALL: Regenerate from the above.
12015 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12017         [BZ #18519]
12018         * posix/Versions (libc): Export __libc_pread at version
12019         GLIBC_PRIVATE.
12020         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12021         instead of pread.
12022         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12023         variable.
12025         [BZ #18522]
12026         * misc/efgcvt_r.c
12027         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12028         (cvt_symbol): Use weak_alias instead of strong_alias.
12029         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12030         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12031         Remove variable.
12032         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12033         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12035         [BZ #18520]
12036         * inet/herrno.c (h_errno): Rename to __h_errno.
12037         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12038         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12039         to __h_errno instead of h_errno.
12040         * nptl/herrno.c (h_errno): Rename to __h_errno.
12041         (__h_errno_location): Refer to __h_errno not h_errno.
12042         * resolv/Versions (h_errno): Rename to __h_errno.
12043         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12044         Remove variable.
12045         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12047 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12049         * configure.ac: More strict check for AVX512 assembler support.
12050         * configure: Regenerated.
12052         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12053         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12054         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12055         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12056         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12057         * sysdeps/x86_64/fpu/Versions: New versions added.
12058         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12059         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12060         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12061         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12062         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12063         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12064         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12065         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12066         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12067         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12068         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12069         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12070         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12071         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12072         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12073         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12074         test.
12075         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12076         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12077         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12078         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12079         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12080         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12081         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12082         * NEWS: Mention addition of x86_64 vector sin.
12084 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12086         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12087         comment.
12089 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12091         [BZ #18479]
12092         * nptl/pt-interp.c: New file.
12093         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12094         Add pt-interp.
12095         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12096         $(common-objpfx)runtime-linker.h.
12098 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12100         * Makeconfig (+interp): Remove unused variable.
12101         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12102         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12103         $(elf-objpfx)runtime-linker.h.
12104         ($(elf-objpfx)runtime-linker.h): Rename to
12105         $(common-objpfx)runtime-linker.h and move ...
12106         * Makerules [$(build-shared) = yes]: ... here.
12107         * elf/interp.c: Include <runtime-linker.h> instead of
12108         <elf/runtime-linker.h>.
12110 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12112         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12113         (__gettimeofday_syscall): Remove vsyscall fallback.
12114         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12115         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12116         Add syscall fallback function.
12117         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12118         if vDSO is not present.
12119         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12120         fallback function.
12121         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12122         present.
12123         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12124         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12126 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12128         [BZ #18497]
12129         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12130         of wcscmp.
12131         (wcscmp): Define as weak alias of WCSCMP.
12132         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12133         wcscoll.
12134         (USE_HIDDEN_DEF): Define.
12135         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12136         __wcscoll.  Don't use libc_hidden_weak.
12137         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12138         wcscmp.
12139         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12140         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12141         __GI_wcscmp.
12142         (weak_alias): Undefine and redefine.
12143         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12144         __wcscmp and define as weak alias of __wcscmp.
12145         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12146         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12147         (__wcscoll): Likewise.
12148         (wcscmp): Don't use libc_hidden_proto.
12149         (wcscoll): Likewise.
12150         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12151         wcscoll.
12152         * posix/regexec.c (check_node_accept_bytes): Likewise.
12153         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12154         variable.
12155         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12156         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12158         [BZ #18507]
12159         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12160         __fstatvfs and define as weak alias of __fstatvfs.  Use
12161         libc_hidden_weak.
12162         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12163         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12164         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12165         Define as alias of __fstatvfs, not fstatvfs.
12166         (fstatvfs64): Likewise.
12167         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12168         Define as alias of __statvfs, not statvfs.
12169         (statvfs64): Likewise.
12170         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12171         Remove variable.
12173 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12176         (HAVE_GETCPU_VSYSCALL): Define.
12177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12178         (HAVE_GETCPU_VSYSCALL): Likewise.
12179         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12180         * sysdeps/unix/sysv/linux/sched_getcpu.c
12181         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12182         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12183         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12184         prototype.
12185         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12186         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12187         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12189         Define.
12190         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12191         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12192         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12193         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12195 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12197         * sysdeps/x86_64/fpu/Makefile: New file.
12198         * sysdeps/x86_64/fpu/Versions: New file.
12199         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12200         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12201         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12202         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12203         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12204         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12205         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12206         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12207         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12210         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12211         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12212         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12213         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12214         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12215         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12216         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12217         * sysdeps/x86_64/configure: Regenerated.
12218         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12219         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12220         * manual/install.texi (Configuring and compiling): Document
12221         --disable-mathvec.
12222         * INSTALL: Regenerated.
12223         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12225         * math/Makefile: Added rules for vector tests.
12226         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12227         declaration under condition.
12228         * math/test-double-vlen2.h: New file.
12229         * math/test-double-vlen4.h: New file.
12230         * math/test-double-vlen8.h: New file.
12231         * math/test-vec-loop.h: Added initialization macro.
12232         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12233         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12234         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12235         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12236         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12238         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12239         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12240         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12241         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12242         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12244         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12245         * sysdeps/x86_64/fpu/Versions: New versions added.
12246         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12247         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12248         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12249         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12250         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12251         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12252         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12253         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12255         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12256         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12257         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12258         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12259         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12260         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12261         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12262         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12263         * NEWS: Mention addition of x86_64 vector cosf.
12265         * math/Makefile: Added CFLAGS for new tests.
12266         * math/test-float-vlen16.h: New file.
12267         * math/test-float-vlen4.h: New file.
12268         * math/test-float-vlen8.h: New file.
12269         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12270         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12272         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12273         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12274         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12275         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12276         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12278         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12279         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12281 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
12283         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12284         * locale/programs/ld-ctype.c: Likewise.
12286 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12288         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12289         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12290         bit_ZMM16_31_state): New macro.
12291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12292         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12294 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
12296         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12298 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
12300         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12302 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
12304         [BZ #18498]
12305         * libio/memstream.c (open_memstream): Rename to __open_memstream
12306         and define as weak alias of __open_memstream.
12307         * include/stdio.h (__open_memstream): Declare.  Use
12308         libc_hidden_proto.
12309         (open_memstream): Don't use libc_hidden_proto.
12310         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12311         open_memstream.
12312         * posix/getopt.c (_getopt_internal_r): Likewise.
12313         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12314         variable.
12315         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12316         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12317         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12319         [BZ #18496]
12320         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12321         instead of wcrtomb.
12323         [BZ #18483]
12324         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12325         [__USE_XOPEN2K8].  Remove redundant #endif.
12326         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12327         Remove redundant #if.
12328         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12329         Remove variable.
12330         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12331         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12333         [BZ #18495]
12334         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12335         (__iswlower): Likewise.
12336         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
12337         (__iswlower): Likewise.
12338         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12339         instead of towlower.
12340         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12341         instead of iswlower.  Call __towupper instead of towupper.
12342         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12343         instead of iswalnum.
12345 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12347         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12348         errors to stderr.
12350 2015-06-05  Florian Weimer  <fweimer@redhat.com>
12352         [BZ #15661]
12353         [BZ #17322]
12354         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12355         Check for overflow properly.  Check for O_APPEND.  Ignore large
12356         file system block sizes.  Add comments about problems.
12357         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12358         * manual/filesys.texi (Storage Allocation): New node.
12360 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12362         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12363         cancellable syscalls.
12364         (SYS_ify): Add guard to no redefine it.
12365         (INLINE_SYSCALL): Likewise.
12366         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12367         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12368         SYSCALL_CANCEL instead.
12369         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12370         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12371         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12372         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12373         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12374         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12375         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12376         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12377         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12378         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12379         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12380         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12381         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12382         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12383         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12384         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12385         Likewise.
12386         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12387         (__libc_pread64): Likewise.
12388         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12389         (__libc_preadv): Likewise.
12390         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12391         (__libc_readv64): Likewise.
12392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12393         (__libc_pwrite): Likewise.
12394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12395         (__libc_pwrite64): Likewise.
12396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12397         (__libc_pwritev): Likewise.
12398         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12399         (__libc_pwritev64): Likewise.
12400         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12401         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12402         (sync_file_range): Likewise.
12403         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12404         Likewise.
12405         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12406         Likewise.
12407         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12408         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12409         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12410         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12411         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12412         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12413         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12414         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12416         Likewise.
12417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12418         (__libc_read64): Likewise.
12419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12420         Likewise.
12421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12422         Likewise.
12423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12424         Likewise.
12425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12426         Likewise.
12427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12428         (__libc_pread64): Likewise.
12429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12430         Likewise.
12431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12432         (__libc_pwrite64): Likewise.
12433         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12434         (sync_file_range): Likewise.
12435         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12436         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12437         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12438         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12439         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12440         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12441         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12442         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12443         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12444         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12445         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12446         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12447         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12448         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12449         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12450         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12451         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12452         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12453         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12454         Likewise.
12455         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12456         Likewise.
12457         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12458         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12459         Likewise.
12460         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12461         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12462         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12463         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12464         Likewise.
12465         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12466         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12467         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12468         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12469         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12471 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12473         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12474         Include dl-vdso.
12475         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12476         Use VDSO routines for gettimeofday, clock_gettime if
12477         available.
12478         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12479         Declare VDSO symbols.
12480         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12481         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12482         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12483         * sysdeps/unix/sysv/linux/arm/Versions: Add
12484         __vdso_clock_gettime.
12486 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12488         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12489         be an inline implementation regardless of library is built within.
12490         (open_not_cancel_2): Likewise.
12491         (__read_nocancel): Likewise.
12492         (__write_nocancel): Likewise.
12493         (openat_not_cancel): Likewise.
12494         (openat_not_cancel_3): Likewise.
12495         (openat64_not_cancel): Likewise.
12496         (openat64_not_cancel_3): Likewise.
12497         (__close_nocancel): Likewise.
12498         (pause_not_cancel): Likewise.
12499         (nanosleep_not_cancel): Likewise.
12500         (sigsuspend_not_cancel): Likewise.
12502 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12504         [BZ #14958]
12505         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12506         wake-up.
12507         (__pthread_rwlock_rdlock_slow): Likewise.
12508         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12509         Likewise.
12510         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12511         Likewise.
12512         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12513         * nptl/tst-rwlock16.c: New file.
12514         * nptl/Makefile (tests): Add new test.
12516 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12518         [BZ #18324]
12519         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12520         missing wake-up of readers.
12521         * nptl/tst-rwlock15.c: New file.
12522         * nptl/Makefile (tests): Add new test.
12524 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12526         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12527         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12528         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12529         and __nacl_supply_interface_rtld.
12530         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12531         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12532         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12533         Add __nacl_supply_interface_rtld.
12534         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12536 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12538         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12539         isfinite.
12540         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12541         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12543 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12545         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12546         __signbit* with standard C99 macros.
12547         * math/e_exp10l.c: Likewise.
12548         * math/e_exp2l.c: Likewise.
12549         * math/e_scalb.c: Likewise.
12550         * math/e_scalbf.c: Likewise.
12551         * math/e_scalbl.c: Likewise.
12552         * math/s_ldexp.c: Likewise.
12553         * math/s_ldexpf.c: Likewise.
12554         * math/s_ldexpl.c: Likewise.
12555         * math/w_atan2.c: Likewise.
12556         * math/w_atan2f.c: Likewise.
12557         * math/w_atan2l.c: Likewise.
12558         * math/w_cosh.c: Likewise.
12559         * math/w_coshf.c: Likewise.
12560         * math/w_coshl.c: Likewise.
12561         * math/w_exp10.c: Likewise.
12562         * math/w_exp10f.c: Likewise.
12563         * math/w_exp10l.c: Likewise.
12564         * math/w_exp2.c: Likewise.
12565         * math/w_exp2f.c: Likewise.
12566         * math/w_exp2l.c: Likewise.
12567         * math/w_fmod.c: Likewise.
12568         * math/w_fmodf.c: Likewise.
12569         * math/w_fmodl.c: Likewise.
12570         * math/w_hypot.c: Likewise.
12571         * math/w_hypotf.c: Likewise.
12572         * math/w_hypotl.c: Likewise.
12573         * math/w_jnl.c: Likewise.
12574         * math/w_lgamma.c: Likewise.
12575         * math/w_lgamma_r.c: Likewise.
12576         * math/w_lgammaf.c: Likewise.
12577         * math/w_lgammaf_r.c: Likewise.
12578         * math/w_lgammal.c: Likewise.
12579         * math/w_lgammal_r.c: Likewise.
12580         * math/w_pow.c: Likewise.
12581         * math/w_powf.c: Likewise.
12582         * math/w_powl.c: Likewise.
12583         * math/w_remainder.c: Likewise.
12584         * math/w_remainderf.c: Likewise.
12585         * math/w_remainderl.c: Likewise.
12586         * math/w_scalb.c: Likewise.
12587         * math/w_scalbf.c: Likewise.
12588         * math/w_scalbl.c: Likewise.
12589         * math/w_scalbln.c: Likewise.
12590         * math/w_scalblnf.c: Likewise.
12591         * math/w_scalblnl.c: Likewise.
12592         * math/w_sinh.c: Likewise.
12593         * math/w_sinhf.c: Likewise.
12594         * math/w_sinhl.c: Likewise.
12595         * math/w_tgamma.c: Likewise.
12596         * math/w_tgammaf.c: Likewise.
12597         * math/w_tgammal.c: Likewise.
12598         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12599         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12600         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12601         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12602         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12604         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12605         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12606         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12607         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12608         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12609         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12610         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12611         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12612         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12613         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12614         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12615         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12616         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12617         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12619         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12620         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12621         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12622         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12623         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12624         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12625         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12626         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12627         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12628         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12629         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12630         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12631         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12632         * stdio-common/printf_fp.c: Likewise.
12633         * stdio-common/printf_fphex.c: Likewise.
12634         * stdio-common/printf_size.c: Likewise.
12636 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12638         [BZ #18470]
12639         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12640         strnlen.
12641         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12642         Remove variable.
12643         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12644         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12645         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12646         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12647         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12648         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12649         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12650         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12651         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12652         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12654         [BZ #18468]
12655         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12656         weak alias of __wmemchr.  Use libc_hidden_weak.
12657         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12658         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12659         instead of wmemchr.
12661 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12663         [BZ #18383]
12664         * elf/tst-tlsalign-extern.c: New file.
12665         * elf/tst-tlsalign-extern-static.c: New file.
12666         * elf/tst-tlsalign-vars.c: New file.
12667         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12668         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12669         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12670         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12671         (test-xfail-tst-tlsalign-extern-static): New variable.
12673 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12675         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12676         Use variable name _sc_err instead of err.
12677         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12678         instead of ret.
12679         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12680         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12681         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12682         (INLINE_SYSCALL): Likewise.
12684         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12685         * include/string.h (__strnlen): Use libc_hidden_proto.
12686         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12687         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12688         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12689         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12690         (libc_hidden_def): Undefine and redefine.
12691         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12692         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12693         __GI_strnlen.
12694         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12695         libc_hidden_def.
12696         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12698         [BZ #18469]
12699         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12700         weak alias of __towlower.  Use libc_hidden_weak.
12701         (towupper): Rename to __towupper and define as weak alias of
12702         __towupper.  Use libc_hidden_weak.
12703         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12704         (__towupper): Likewise.
12705         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12706         __towlower instead of towlower.
12708 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12710         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12711         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12713 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12715         * sysdeps/aarch64/libm-test-ulps: Update.
12717 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12719         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12720         Define.
12721         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12723         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12724         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12725         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12726         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12727         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12729 2015-06-01  Martin Sebor  <msebor@redhat.com>
12731         [BZ #18116]
12732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12733         (__setcontext): Use extended four-operand version of mtsf whenever
12734         possible.
12735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12736         (__novec_swapcontext): Likewise.
12738 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12740         * benchtests/scripts/compare_bench.py: New file.
12741         * benchtests/scripts/import_bench.py (mean): New function.
12742         (split_list): Likewise.
12743         (do_for_all_timings): Likewise.
12744         (compress_timings): Likewise.
12746         * benchtests/scripts/import_bench.py: New file.
12747         * benchtests/scripts/validate_benchout.py: Import import_bench
12748         instead of jsonschema.
12749         (validate_bench): Remove function.
12750         (main): Use import_bench.
12752 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12754         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12755         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12757 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12761 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12763         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12764         set THREAD_SELF->tid to a magic value and futex-wake it.
12765         Pass its address to the thread_exit system call.
12766         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12767         bit is clear.
12768         * sysdeps/nacl/lowlevellock.h: New file.
12769         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12771         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12772         Add TIMEOUT to current time, don't subtract it.
12774 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12776         [BZ #2981]
12777         [BZ #18422]
12778         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12779         ($(objpfx)tst-audit2.out): Also depend on
12780         $(objpfx)tst-auditmod9b.so.
12781         * elf/tst-audit2.c: Include <dlfcn.h>.
12782         (calloc_called): New.
12783         (calloc): Allow to be called more than once.
12784         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12786 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12788         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12789         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12791 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12793         * stdlib/monetary.h: Fix comment.
12795 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12797         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12798         Avoid using variables in #defines that might cause shadowing.
12799         (INTERNAL_VSYSCALL_CALL): Likewise.
12801 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12803         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12805         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12806         * nptl/lll_timedlock_wait.c: ... to this new file.
12807         * nptl/Makefile (libpthread-routines): Add it.
12808         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12809         * nptl/lll_timedwait_tid.c: ... to this new file.
12810         * nptl/Makefile (libpthread-routines): Add it.
12811         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12812         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12813         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12814         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12815         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12816         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12817         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12818         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12819         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12820         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12822 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12824         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12825         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12826         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12828         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12829         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12830         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12832         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12833         * sysdeps/unix/sysv/linux/tile/sysdep.h
12834         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12835         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12836         using vDSO syscall macro.
12838 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12840         [BZ #17293]
12841         * uk_UA: Fix sorting order for Ukrainian locale
12843 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12845         * stdlib/monetary.h: Fix comment.
12847 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12849         [BZ #18234]
12850         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12851         st_mtim and st_ctim members.
12852         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12853         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12854         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12855         (struct stat64): Likewise.
12856         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12857         (struct stat64): Likewise.
12858         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12859         (struct stat64): Likewise.
12861 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12863         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12864         Define and include sysdep-vdso.h.
12865         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12866         Likewise.
12867         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12868         Likewise.
12869         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12870         Define with VDSO_SYMBOL and use PTR_MANGLE.
12871         (__vdso_clock_gettime): Likewise.
12872         (__vdso_clock_getres): Likewise.
12873         (_libc_vdso_platform_setup): Likewise.
12874         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12875         Likewise.
12876         (_libc_vdso_platform_setup): Likewise.
12877         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12878         Likewise.
12879         (__vdso_clock_gettime): Likewise.
12880         (__vdso_clock_getres): Likewise.
12881         (__vdso_get_tbfreq): Likewise.
12882         (__vdso_getcpu): Likewise.
12883         (__vdso_time): Likewise.
12884         (__vdso_sigtramp_rt64): Likewise.
12885         (__vdso_signtramp32): Likewise.
12886         (__vdso_sigtramp_rt32): Likewise.
12887         (_libc_vdso_platform_setup): Likewise.
12888         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12889         Likewise.
12890         (__vdso_clock_gettime): Likewise.
12891         (__vdso_clock_getres): Likewise.
12892         (_libc_vdso_platform_setup): Likewise.
12893         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12894         Likewise.
12895         (__vdso_clock_gettime): Likewise.
12896         (_libc_vdso_platform_setup): Likewise.
12897         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12898         Likewise.
12899         (__vdso_getcpu): Likewise.
12900         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12901         Use VDSO_SYMBOL macro to define.
12902         (__vdso_clock_gettime): Likewise.
12903         (__vdso_clock_getres): Likewise.
12904         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12905         Likewise.
12906         (__vdso_clock_gettime): Likewise.
12907         (__vdso_clock_getres): Likewise.
12908         (__vdso_get_tbfreq): Likewise.
12909         (__vdso_getcpu): Likewise.
12910         (__vdso_time): Likewise.
12911         (__vdso_sigtramp_rt64): Likewise.
12912         (__vdso_signtramp32): Likewise.
12913         (__vdso_sigtramp_rt32): Likewise.
12914         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12915         Likewise.
12916         (__vdso_clock_gettime): Likewise.
12917         (__vdso_clock_getres): Likewise.
12918         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12919         Likewise.
12920         (__vdso_clock_gettime): Likewise.
12921         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12922         Likewise.
12923         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12924         macro.
12925         (INTERNAL_VSYSCALL): Likewise.
12926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12927         Remove macro.
12928         (INTERNAL_VSYSCALL): Likewise.
12929         (INTERNAL_VSYSCALL_NCS): Likewise.
12930         (INTERNAL_VSYSCALL_CALL): New macro.
12931         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12933         Likewise.
12934         (INTERNAL_VSYSCALL): Likewise.
12935         (INTERNAL_VSYSCALL_NCS): Likewise.
12936         (INTERNAL_VSYSCALL_CALL): New macro.
12937         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12939         (INLINE_VSYSCALL): Remove macro.
12940         (INTERNAL_VSYSCALL): Remove macro.
12941         (INTERNAL_VSYSCALL_NCS): Remove macro.
12942         (INTERNAL_VSYSCALL_CALL): New macro.
12943         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12944         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12945         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12946         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12947         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12949         (INLINE_VSYSCALL): Remove macro.
12950         (INTERNAL_VSYSCALL): Likewise.
12951         (INTERNAL_VSYSCALL_NCS): Likewise.
12952         (INTERNAL_VSYSCALL_CALL): New macro.
12953         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12954         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12955         PTR_DEMANGLE on vDSO pointer.
12956         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12957         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12958         macro.
12959         (INTERNAL_SYSCALL): Likewise.
12960         (INTERNAL_VSYSCALL_NCS): Remove macro.
12961         (INTERNAL_VSYSCALL_CALL): New macro.
12962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12963         Remove macro.
12964         (INTERNAL_VSYSCALL): Likewise.
12965         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12966         sysdep-vdso.h instead of libc-vdso.h.
12967         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12968         definition.
12969         (INLINE_VSYSCALL): Likewise.
12970         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12971         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12972         definition.
12973         (INLINE_VSYSCALL): Likewise.
12974         (INTERNAL_VSYSCALL): Likewise.
12975         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12976         * sysdeps/unix/sysv/linux/timespec_get.c
12977         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12978         (timespec_get): Use ANSI prototype.
12979         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12980         and definition for Linux.
12982 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12984         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12985         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12987 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12989         [BZ #2981]
12990         [BZ #18410]
12991         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12992         for missing DT_PLTRELSZ.
12994 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12996         Remove obsolete aliases that broke 'locale -a'
12997         [BZ #18412]
12998         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12999         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13000         breaking some applications that use 'locale -a' output.
13001         Change the encoding of this file from Latin-1 to ASCII to avoid
13002         other potential problems with people grepping this file.
13004 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13006         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13007         -fasynchronous-unwind-tables.
13008         (CFLAGS-sendto.c): Likewise.
13009         (CFLAGS-sendmsg.c): Likewise.
13010         (CFLAGS-connect.c): Likewise.
13011         (CFLAGS-recvmsg.c): Likewise.
13012         (CFLAGS-recvfrom.c): Likewise.
13013         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13014         (SOCKETCALL): New macro: non-cancellable socketcall.
13015         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13016         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13017         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13018         * sysdeps/unix/sysv/linux/accept.c: New file.
13019         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13020         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13021         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13022         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13023         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13024         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13025         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13026         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13027         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13028         * sysdeps/unix/sysv/linux/send.c: Likewise.
13029         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13030         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13031         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13032         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13033         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13034         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13035         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13036         prototype.
13037         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13038         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13039         instead of __internal_xxx function.
13040         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13041         prototype.
13042         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13043         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13044         instead of __internal_xxx function.
13045         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13046         prototype.
13047         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13048         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13049         instead of __internal_xxx function.
13050         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13051         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13052         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13053         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13054         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13055         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13056         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13057         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13058         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13059         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13060         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13061         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13062         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13063         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13064         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13065         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13066         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13067         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13068         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13069         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13072         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13073         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13074         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13075         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13076         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13077         * sysdeps/unix/sysv/linux/send.S: Likewise.
13078         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13079         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13080         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13081         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13082         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13083         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13084         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13085         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13086         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13087         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13088         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13089         socketcall is implemented in GLIBC.
13091 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13093         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13094         (__fma): Ignore uninitialized warnings around packing.
13095         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13096         (__fmaf): Ignore uninitialized warnings around packing.
13097         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13098         (__fmal): Ignore uninitialized warnings around packing.
13100         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13101         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13102         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13103         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13105         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13106         switch statement into default case.
13107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13109         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13110         a conditional in forcing "inexact".
13111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13112         Likewise.
13114 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13116         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13117         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13118         for each INTERNAL_SYSCALL use.
13120 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13122         [BZ #438]
13123         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13124         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13125         variable.
13127         [BZ #18444]
13128         * string/basename.c (basename): Rename to __basename and define as
13129         weak alias of __basename.  Use libc_hidden_weak.
13130         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13131         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13132         __basename instead of basename.
13133         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13134         Remove variable.
13135         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13137 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13139         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13140         (_IO_JUMPS_FILE_plus): New.
13141         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13142         _IO_CAST_FIELD_ACCESS.
13143         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13144         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13145         * libio/freopen.c (freopen): Likewise.
13146         * libio/freopen64.c (freopen64): Likewise.
13147         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13148         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13149         * libio/iofwide.c (_IO_fwide): Likewise.
13150         * libio/memstream.c (open_memstream): Likewise.
13151         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13152         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13153         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13155 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13157         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13158         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13159         NADJ.
13160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13161         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13162         NADJ.
13163         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13164         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13165         NADJ.
13167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13168         (p == 4) case.
13170         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13171         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13172         Remove variable.
13173         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13174         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13175         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13177 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13179         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13180         Adjust jump table label generation macros.
13182 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13184         * stdio-common/vfprintf.c (vfprintf): Move local variables
13185         args_malloced, specs, specs_malloced, and the code after
13186         do_positional to the printf_positional function.
13187         (printf_positional): New function.
13189 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13191         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13192         function.
13193         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13194         STEP4_TABLE, process_arg): Move macro definitions
13195         out of the vfprintf function.  (Cosmetic change only.)
13197 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13199         * benchtests/Makefile (stdio-common-bench): Define.
13200         (benchset): Add stdio-common-bench.
13201         * sprintf-inputs: New file.
13202         * sprintf-source.c: New file.
13204 2015-05-21  Andreas Schwab  <schwab@suse.de>
13206         [BZ #13028]
13207         [BZ #17053]
13208         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13209         of struct __res_state.
13210         * resolv/res_send.c (__libc_res_nsend): Likewise.
13211         (get_nsaddr): New function.
13212         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13213         statp directly.
13215 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13217         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13218         -D_POSIX_C_SOURCE=199506L.
13220         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13222         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13223         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13224         Do not mention otherwise.
13225         [POSIX] (_XOPEN_VERSION): Do not expect.
13226         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13227         [POSIX] (_POSIX2_C_BIND): Likewise.
13228         [POSIX] (_POSIX2_VERSION): Likewise.
13229         [POSIX] (_XOPEN_XPG2): Likewise.
13230         [POSIX] (_XOPEN_XPG3): Likewise.
13231         [POSIX] (_XOPEN_XPG4): Likewise.
13232         [POSIX] (_XOPEN_UNIX): Likewise.
13233         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13234         [POSIX] (_POSIX_BARRIERS): Likewise.
13235         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13236         [POSIX] (_POSIX_CPUTIME): Likewise.
13237         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13238         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13239         [POSIX] (_POSIX_SHELL): Likewise.
13240         [POSIX] (_POSIX_SPAWN): Likewise.
13241         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13242         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13243         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13244         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13245         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13246         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13247         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13248         [POSIX] (_XBS5_LP64_OFF64): Likewise.
13249         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13250         [POSIX] (_POSIX_TIMEOUTS): Likewise.
13251         [POSIX] (_POSIX2_PBS): Likewise.
13252         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13253         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13254         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13255         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13256         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13257         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13258         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13259         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13260         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13261         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13262         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13263         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13264         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13265         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13266         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13267         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13268         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13269         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13270         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13271         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13272         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13273         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13274         [POSIX] (_SC_2_C_BIND): Likewise.
13275         [POSIX] (_SC_2_C_VERSION): Likewise.
13276         [POSIX] (_SC_2_PBS): Likewise.
13277         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13278         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13279         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13280         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13281         [POSIX] (_SC_2_PBS_TRACK): Likewise.
13282         [POSIX] (_SC_ATEXIT_MAX): Likewise.
13283         [POSIX] (_SC_BARRIERS): Likewise.
13284         [POSIX] (_SC_BASE): Likewise.
13285         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13286         [POSIX] (_SC_DEVICE_IO): Likewise.
13287         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13288         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13289         [POSIX] (_SC_FD_MGMT): Likewise.
13290         [POSIX] (_SC_FIFO): Likewise.
13291         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13292         [POSIX] (_SC_FILE_LOCKING): Likewise.
13293         [POSIX] (_SC_FILE_SYSTEM): Likewise.
13294         [POSIX] (_SC_IOV_MAX): Likewise.
13295         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13296         [POSIX] (_SC_NETWORKING): Likewise.
13297         [POSIX] (_SC_PAGE_SIZE): Likewise.
13298         [POSIX] (_SC_PASS_MAX): Likewise.
13299         [POSIX] (_SC_PIPE): Likewise.
13300         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13301         [POSIX] (_SC_REGEXP): Likewise.
13302         [POSIX] (_SC_SHELL): Likewise.
13303         [POSIX] (_SC_SIGNALS): Likewise.
13304         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13305         [POSIX] (_SC_SPIN_LOCKS): Likewise.
13306         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13307         [POSIX] (_SC_USER_GROUPS): Likewise.
13308         [POSIX] (_SC_USER_GROUPS_R): Likewise.
13309         [POSIX] (_SC_STREAMS): Likewise.
13310         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13311         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13312         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13313         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13314         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13315         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13316         [POSIX] (_PC_FILESIZEBITS): Likewise.
13317         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13318         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13319         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13320         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13321         [POSIX] (uid_t): Likewise.
13322         [POSIX] (gid_t): Likewise.
13323         [POSIX] (off_t): Likewise.
13324         [POSIX] (pid_t): Likewise.
13325         [POSIX] (cuserid): Allow.
13326         (_SC_2_CHAR_TERM): Require constant.
13327         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13328         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13329         variable.
13331 2015-05-20  Roland McGrath  <roland@hack.frob.com>
13333         * sysdeps/nacl/pthread-pids.h: New file.
13334         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13335         (create_thread): Use __nacl_get_tid to initialize PD->tid.
13337         * nptl/pthread-pids.h: New file.
13338         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13339         * nptl/nptl-init.c: Include <pthread-pids.h>.
13340         (__pthread_initialize_minimal_internal):
13341         Call __pthread_initialize_pids instead of set_tid_address syscall.
13343         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13344         * sysdeps/posix/usleep.c: ... here.
13346 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13348         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13349         call_pselect6 object.
13350         [$(subdir) = io]: Remove call_sync_file_range object.
13351         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13352         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13353         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13354         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13356 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
13358         * math/s_cproj.c: Add include "math_private.h".
13359         * math/s_cprojf.c: Likewise.
13360         * math/s_cprojl.c: Likewise.
13362 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
13364         [BZ #18244]
13365         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13366         high mantissa bit when testing whether P is a NaN.
13367         * math/libm-test.inc (remainder_test_data): Add more tests.
13368         (remquo_test_data): Likewise.
13370         [BZ #18049]
13371         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13372         below -32, return the argument, with underflow if subnormal.
13373         * math/auto-libm-test-in: Add more tests of atanh.
13374         * math/auto-libm-test-out: Regenerated.
13376 2015-05-19  Roland McGrath  <roland@hack.frob.com>
13378         [BZ #18434]
13379         * nptl/tst-sem15.c: New file.
13380         * nptl/Makefile (tests): Add it.
13381         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13382         s/<</>>/ to fix typo in EOVERFLOW check.
13383         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13385 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13387         * manual/strings.texi (envz_remove): Fix typo in safety
13388         annotations.
13390 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13391             Steve Ellcey  <sellcey@imgtec.com>
13393         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13394         in order to avoid strict alias warnings.
13395         (iruserok_af): Ditto for ra.
13397 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13399         [BZ #17581]
13400         * malloc/hooks.c
13401         (magicbyte): Convert to a function and avoid returning 0x01.
13402         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13403         (mem2chunk_check): Fix unsigned comparisons to zero.
13404         Hoist defs of sz and magic.
13406 2015-05-19  Richard Henderson  <rth@redhat.com>
13408         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13410         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13412 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13414         [BZ #16159]
13415         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13416         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13417         (reused_arena): Find a non-corrupt arena.
13418         (heap_trim): Pass arena to unlink.
13419         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13420         malloc_printerr.
13421         (top_check): Likewise.
13422         (free_check): Likewise.
13423         (realloc_check): Likewise.
13424         * malloc/malloc.c (malloc_printerr): Add arena argument.
13425         (unlink): Likewise.
13426         (munmap_chunk): Adjust.
13427         (ARENA_CORRUPTION_BIT): New macro.
13428         (arena_is_corrupt): Likewise.
13429         (set_arena_corrupt): Likewise.
13430         (sysmalloc): Use mmap if there are no usable arenas.
13431         (_int_malloc): Likewise.
13432         (__libc_malloc): Don't fail if arena_get returns NULL.
13433         (_mid_memalign): Likewise.
13434         (__libc_calloc): Likewise.
13435         (__libc_realloc): Adjust for additional argument to
13436         malloc_printerr.
13437         (_int_free): Likewise.
13438         (malloc_consolidate): Likewise.
13439         (_int_realloc): Likewise.
13440         (_int_memalign): Don't touch corrupt arenas.
13441         * malloc/tst-malloc-backtrace.c: New test case.
13443         * Makefile (summarize-tests): Fix return value on success.
13445         * manual/string.texi (Envz Functions): Add envz_remove.
13447 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13449         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13450         (invalid_name): New function, broken out of ...
13451         (__opendirat): ... here.  Call it.
13452         (need_isdir_precheck): New function, broken out of ...
13453         (__opendirat): ... here.  Call it.
13454         Use __fxstatat64, not __xstatat64.
13455         (opendir_oflags): New function, broken out of ...
13456         (__opendirat): ... here.  Call it.
13457         (opendir_tail): New function, broken out of ...
13458         (__opendirat): ... here.  Call it.
13459         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13460         opendir_tail, rather than punting to __opendirat.
13461         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13463 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13465         * .gitignore: Ignore generated *.pyc.
13467 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13469         * include/stdio.h: Define __need_wint_t.
13470         * test-skeleton.c: Avoid `for' loop initial declaration.
13471         * nptl/tst-initializers1.c: Use test-skeleton.c.
13473 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13475         [BZ #18418]
13476         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13478 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13480         [BZ #16352]
13481         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13482         (__ieee754_atanh): Force underflow exception for results with
13483         small absolute value.
13484         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13485         (__ieee754_atanhf): Force underflow exception for results with
13486         small absolute value.
13487         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13488         (__ieee754_atanh): Force underflow exception for results with
13489         small absolute value.
13490         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13491         (__ieee754_atanhf): Force underflow exception for results with
13492         small absolute value.
13493         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13494         (__ieee754_atanhl): Force underflow exception for results with
13495         small absolute value.
13496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13497         (__ieee754_atanhl): Force underflow exception for results with
13498         small absolute value.
13499         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13500         (__ieee754_atanhl): Force underflow exception for results with
13501         small absolute value.
13502         * math/auto-libm-test-in: Do not allow missing underflow
13503         exceptions from atanh.
13504         * math/auto-libm-test-out: Regenerated.
13506         [BZ #18221]
13507         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13508         2**-28 as threshold for returning x or +/- 1/x.
13509         * math/auto-libm-test-in: Add more tests of tan.
13510         * math/auto-libm-test-out: Regenerated.
13512         [BZ #18220]
13513         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13514         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13515         * math/auto-libm-test-in: Add another test of lgamma.
13516         * math/auto-libm-test-out: Regenerated.
13518 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13520         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13521         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13522         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13523         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13524         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13525         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13526         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13527         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13529         (log1): Use fabs.  (my_log2): Use fabs.
13530         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13531         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13532         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13533         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13535         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13536         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13537         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13538         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13539         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13540         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13542 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13544         [BZ #18217]
13545         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13546         as threshold for returning 1 - x.
13547         * math/auto-libm-test-in: Add more tests of erfc.
13548         * math/auto-libm-test-out: Regenerated.
13550 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13552         [BZ #18196]
13553         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13554         threshold for large arguments.
13555         * math/auto-libm-test-in: Add another test of atan.
13556         * math/auto-libm-test-out: Regenerated.
13558         [BZ #16339]
13559         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13560         (__log1p): Force underflow exception for results with small
13561         absolute value.
13562         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13563         (__log1pf): Force underflow exception for results with small
13564         absolute value.
13565         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13566         (__log1p): Force underflow exception for results with small
13567         absolute value.
13568         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13569         (__log1pf): Force underflow exception for results with small
13570         absolute value.
13571         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13572         (__log1pl): Force underflow exception for results with small
13573         absolute value.
13574         * math/auto-libm-test-in: Do not allow missing underflow
13575         exceptions from log1p.
13576         * math/auto-libm-test-out: Regenerated.
13578 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13579             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13581         [BZ #16704]
13582         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13584 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13586         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13587         (libmvec): New variable.
13588         * configure.ac: Added option for mathvec build.
13589         * configure: Regenerated.
13590         * mathvec/Depend: New file.
13591         * mathvec/Makefile: New file.
13592         * shlib-versions: Added libmvec.
13593         * math/Makefile: Added rule for libm.so installation.
13595         * bits/math-vector.h: New file.
13596         * bits/libm-simd-decl-stubs.h: New header.
13597         * math/Makefile (headers): Added new header
13598         libm-simd-decl-stubs.h.
13599         * math/math.h (__MATHCALL_VEC): New macro.
13601         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13602         for conditions in testing functions.
13603         * math/Makefile: Added call of libm-have-vector-test.sh.
13604         * math/libm-test.inc (HAVE_VECTOR): New macros.
13606         * math/libm-test.inc: START refactored.
13607         * math/test-double.c (TEST_MATHVEC): Add define.
13608         * math/test-float.c: Likewise.
13609         * math/test-idouble.c: Likewise.
13610         * math/test-ifloat.c: Likewise.
13611         * math/test-ildoubl.c: Likewise.
13612         * math/test-ldouble.c: Likewise.
13613         * sysdeps/generic/math-tests-arch.h
13614         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13615         architecture check.
13617         * math/test-double.c (FUNC_TEST): New macro.
13618         * math/test-float.c: Likewise.
13619         * math/test-idouble.c: Likewise.
13620         * math/test-ifloat.c: Likewise.
13621         * math/test-ildoubl.c: Likewise.
13622         * math/test-ldouble.c: Likewise.
13623         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13625 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13627         * sysdeps/nacl/fdopendir.c: New file.
13629         * dirent/scandir-tail.c: New file.
13630         * dirent/scandir64-tail.c: New file.
13631         * dirent/Makefile (routines): Add them.
13632         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13633         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13634         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13635         [!SCANDIR] (SCANDIR_TAIL): New macro.
13636         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13637         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13638         (SCANDIRAT): Macro removed.
13639         (SCANDIR_TAIL): New macro.
13640         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13641         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13642         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13643         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13644         (READDIR): Macro removed.
13645         (SCANDIR_TAIL): New macro.
13646         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13647         (SCANDIR_TAIL): New macro.
13649         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13650         * dirent/scandir-cancel.c: ... to this new file.
13651         * dirent/Makefile (routines): Add it.
13652         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13653         * sysdeps/unix/sysv/linux/i386/scandir64.c
13654         (SKIP_SCANDIR_CANCEL): Macro removed.
13655         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13657         * dirent/tst-scandir.c: New file.
13658         * dirent/tst-scandir64.c: New file.
13659         * dirent/Makefile (tests): Add them.
13661 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13663         [BZ #18409]
13664         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13666 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13668         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13669         list.
13671 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13673         * benchtests/bench-strcoll.c: New benchmark.
13674         * benchtests/Makefile: Generate locales and run benchmark.
13675         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13676         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13677         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13678         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13679         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13680         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13681         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13682         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13683         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13684         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13685         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13686         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13687         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13688         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13689         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13690         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13691         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13692         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13693         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13694         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13695         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13696         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13697         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13698         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13700 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13702         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13703         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13705 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13707         * posix/uname-values.h: New file.
13708         * posix/uname.c: Include that instead of <config-name.h>.
13709         * sysdeps/nacl/uname-values.h: New file.
13710         * sysdeps/arm/nacl/uname-values.h: New file.
13712 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13714         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13715         splitting into fields.
13717 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13719         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13720         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13721         * locale/localeinfo.h: Add enum collation_encoding_type.
13722         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13723         * programs/ld-collate.c (collate_output): Add encoding type info.
13724         * string/strcoll_l.c (STRDIFF): New function.
13725         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13726         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13728 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13730         [BZ #18397]
13731         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13732         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13733         <fpu_control.h> instead of <math/fpu_control.c>.
13734         * sysdeps/mips/mips32/fpu/Makefile: New file.
13736 2015-05-11  Andreas Schwab  <schwab@suse.de>
13738         [BZ #18007]
13739         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13740         nss_endgrent.
13741         (_nss_compat_endgrent): Call nss_endgrent.
13742         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13743         nss_endpwent.
13744         (_nss_compat_endpwent): Call nss_endpwent.
13745         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13746         needent, call nss_setspent only if non-zero.
13747         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13748         (internal_endspent): Don't call nss_endspent.
13749         (_nss_compat_endspent): Call nss_endspent.
13750         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13751         Remove.  All uses removed.
13752         (internal_setent): Remove parameter stayopen, add parameter
13753         stream.  Use it instead of global variable.
13754         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13755         (internal_endent, internal_getent): Add parameter stream.  Use it
13756         instead of global variable.
13757         (CONCAT(_nss_files_end,ENTNAME))
13758         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13759         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13760         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13761         uses removed.
13762         (internal_setent, internal_endent): Add parameter stream.  Use it
13763         instead of global variable.
13764         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13765         stream.
13766         (get_next_alias): Add parameter stream.
13767         (_nss_files_getaliasent_r): Pass global stream.
13768         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13769         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13770         (_nss_files_gethostbyname4_r): Pass local stream to
13771         internal_setent, internal_getent and internal_endent.  Remove
13772         locking.
13774 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13776         * tst-strfmon1.c (tests): Update expected currency symbol.
13778 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13780         * sysdeps/nacl/gethostname.c: New file.
13782 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13784         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13785         and sinh.
13786         * math/auto-libm-test-out: Regenerated.
13787         * sysdeps/i386/fpu/libm-test-ulps: Update.
13788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13790 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13792         [BZ #18125]
13793         * stdlib/tst-setcontext3.c: New file.
13794         * stdlib/tst-setcontext3.sh: New file.
13795         * stdlib/Makefile (tests): Add tst-setcontext3.
13796         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13797         to verify test program created output file.
13798         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13799         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13800         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13801         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13803 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13805         [BZ #18383]
13806         * elf/tst-tlsalign.c: New file.
13807         * elf/tst-tlsalign-static.c: New file.
13808         * elf/tst-tlsalign-lib.c: New file.
13809         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13810         (tests-static): Add tst-tlsalign-static.
13811         (modules-names): Add tst-tlsalign-lib.
13812         (test-xfail-tst-tlsalign): New variable.
13813         (test-xfail-tst-tlsalign-static): New variable.
13815         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13816         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13818 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13820         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13821         csqrt, erfc, sin and sincos.
13822         * math/auto-libm-test-out: Regenerated.
13823         * sysdeps/i386/fpu/libm-test-ulps: Update.
13824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13826 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13828         * sysdeps/aarch64/libm-test-ulps: Update.
13830 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13832         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13833         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13834         * math/auto-libm-test-out: Regenerated.
13835         * sysdeps/i386/fpu/libm-test-ulps: Update.
13836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13838 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13840         [BZ #18265]
13841         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13842         (wcsncpy): Likewise.
13844 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13846         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13847         Assume __ASSUME_FALLOCATE is always true.
13848         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13849         (__posix_fallocate64_l64): Likweise.
13850         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13851         (posix_fallocate): Likewise.
13852         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13853         (__posix_fallocate64_l64): Likewise.
13854         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13855         [!__ASSUME_FALLOCATE]: Add comment.
13857 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13859         * sysdeps/unix/sysv/linux/i386/Makefile
13860         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13861         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13862         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13863         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13864         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13865         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13866         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13868 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13870         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13871         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13872         tgamma.
13873         * math/auto-libm-test-out: Regenerated.
13874         * sysdeps/i386/fpu/libm-test-ulps: Update.
13875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13877 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13879         * math/auto-libm-test-in: Add more tests of tgamma.
13880         * math/auto-libm-test-out: Regenerated.
13881         * sysdeps/i386/fpu/libm-test-ulps: Update.
13882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13884         * math/auto-libm-test-in: Add more tests of tanh.
13885         * math/auto-libm-test-out: Regenerated.
13886         * sysdeps/i386/fpu/libm-test-ulps: Update.
13887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13889         * math/auto-libm-test-in: Add more tests of tan.
13890         * math/auto-libm-test-out: Regenerated.
13891         * sysdeps/i386/fpu/libm-test-ulps: Update.
13892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13894         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13895         * math/auto-libm-test-out: Regenerated.
13896         * sysdeps/i386/fpu/libm-test-ulps: Update.
13897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13899         * math/auto-libm-test-in: Add another test of pow.
13900         * math/auto-libm-test-out: Regenerated.
13901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13903         * math/auto-libm-test-in: Add more tests of lgamma.
13904         * math/auto-libm-test-out: Regenerated.
13905         * sysdeps/i386/fpu/libm-test-ulps: Update.
13906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13908         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13909         log1p.
13910         * math/auto-libm-test-out: Regenerated.
13911         * sysdeps/i386/fpu/libm-test-ulps: Update.
13912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13914 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13916         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13917         Elf64_Chdr structs and ELFCOMPRESS constants.
13919 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13921         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13922         expm1.
13923         * math/auto-libm-test-out: Regenerated.
13924         * sysdeps/i386/fpu/libm-test-ulps: Update.
13925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13927         * math/auto-libm-test-in: Add more tests of erf and erfc.
13928         * math/auto-libm-test-out: Regenerated.
13929         * sysdeps/i386/fpu/libm-test-ulps: Update.
13930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13932 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13934         * config.h.in (HAVE_AARCH64_BE): Add.
13936 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13938         * math/auto-libm-test-in: Add more tests of csqrt.
13939         * math/auto-libm-test-out: Regenerated.
13940         * sysdeps/i386/fpu/libm-test-ulps: Update.
13941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13943         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13944         * math/auto-libm-test-out: Regenerated.
13945         * sysdeps/i386/fpu/libm-test-ulps: Update.
13946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13948         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13950 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13952         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13953         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13955         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13956         (euidaccess, eaccess): Define as weak aliases.
13958         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13959         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13960         but __suseconds_t is often 'long int' so some sources assume that
13961         type is being used (e.g. they use %ld to print tv_usec).
13963 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13965         [BZ #18007]
13966         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13967         (CVE-2014-8121)
13968         * nss/tst-nss-getpwent.c: New file.
13969         * nss/Makefile (tests): Add new test.
13971 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13973         [BZ #18346]
13974         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13975         exponents less than 48 as cases where high part of mantissa needs
13976         examining to determine whether argument is integral.
13977         * math/libm-test.inc (round_test_data): Add more tests.
13979 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13981         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13983 2015-04-27  David S. Miller  <davem@davemloft.net>
13985         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13986         __tls_get_addr.
13987         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13989 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13991         [BZ#18333]
13992         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13994 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13996         [BZ#18333]
13997         * time/tzset.c (parse_tzname): Return error on memory allocation
13998         failure.
13999         * test-skeleton.c (struct temp_name_list): Change type of name
14000         member to non-const.
14001         (add_temp_file): Create a copy of the file name.
14002         (delete_temp_files): Deallocate memory.
14003         (create_temp_file): Add comment.
14005 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14007         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14008         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14010 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14012         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14013         * sysdeps/arm/configure: Regenerated.
14015 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14017         [BZ #17715]
14018         * time/tzfile.c (__tzfile_read): Check for large values of
14019         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14020         * time/tzset.c (__tzstring_len): New function, based on the old
14021         __tzstring function.
14022         (__tzstring): Call __tzstring_len.
14023         (parse_tzname): New helper function extracted from
14024         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14025         the input string.
14026         (parse_offset): New helper function extracted from
14027         __tzset_parse_tz.  Replace switch with fallthrough with
14028         initialization before sscanf.
14029         (parse_rule): Likewise.
14030         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14031         new-style function definition.
14032         * timezone/Makefile (tests): Add tst-tzset.
14033         (tst-tzset.out): Dependencies on time zone files.
14034         (tst-tzset-ENV): Set TZDIR.
14035         (testdata/XT%): Copy crafted time zone files.
14036         * timezone/README: Mention crafted time zone files.
14037         * timezone/testdata/XT1, timezone/testdata/XT2,
14038         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14039         files.
14040         * timezone/tst-tzset.c: New test.
14042 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14044         * Makeconfig (+gccwarn): Remove -Winline.
14046 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14048         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14050 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14052         * NEWS: Mention sysconf() cache information support for s390.
14053         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14055 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14057         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14058         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14059         (__nearbyint): Likewise.
14060         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14061         (copysignl): Likewise.
14063 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14065         [BZ #18287]
14066         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14067         based on padding.  (CVE-2015-1781)
14069 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14071         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14072         libc-vdso.h.
14073         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14074         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14075         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14076         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14077         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14078         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14079         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14080         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14081         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14082         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14083         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14084         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14085         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14086         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14087         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14088         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14089         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14090         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14091         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14092         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14093         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14094         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14095         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14097 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14099         * stdlib/setenv.c (__add_to_environ):
14100         Dump core quickly if setenv (..., NULL, ...) is called.
14101         This time, do it the right way, and pacify GCC with a pragma.
14103 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14105         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14106         IMAP->l_prev cannot be null, and #if out the code for the contrary
14107         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14108         believe that NS (&_dl_ns[NSID]) could point outside the array.
14110         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14111         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14112         before using NSID as an index.
14114 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14116         [BZ #17825]
14117         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14118         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14119         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14121 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14123         Add preliminary port to Google Native Client on ARM.
14124         * abi-tags (.*-.*-nacl.*): New entry.
14125         * sysdeps/arm/nacl: New directory.
14126         * sysdeps/nacl: New directory.
14128 2015-04-16  David S. Miller  <davem@davemloft.net>
14130         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14131         lowlevellock-futex.h
14133 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14135         * sysdeps/tile/configure.ac: New file.
14136         * sysdeps/tile/configure: Regenerated.
14138 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14140         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14141         conditionals for weak_alias and libc_hidden_weak.
14142         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14143         libc_hidden_weak and weak_alias.
14144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14145         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14146         and weak_alias for static one.
14148 2015-04-15  David S. Miller  <davem@davemloft.net>
14150         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14152 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14154         [BZ #18206]
14155         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14156           Use signed comparision instead of substraction to avoid
14157           overflow bug.
14158         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14159           Take the sign of ret.
14160         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14161           Do not expect precise return values. Only the sign matters.
14162         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14163         * wcsmbs/test-wcsncmp.c: New File.
14164         * string/test-strncmp.c: Add wcsncmp support.
14166 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14168         [BZ #6792]
14169         * math/w_log1p.c: New file.
14170         * math/w_log1pf.c: Likewise.
14171         * math/w_log1pl.c: Likewise.
14172         * math/Makefile (libm-calls): Add w_log1p.
14173         * math/s_log1pl.c (log1pl): Remove weak_alias.
14174         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14175         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14176         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14177         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14178         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14179         [NO_LONG_DOUBLE] (log1pl): Likewise.
14180         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14181         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14182         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14183         (log1p): Remove long_double_symbol.
14184         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14185         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14186         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14187         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14188         remove weak_alias for corresponding log1p function.
14189         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14190         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14191         * sysdeps/ia64/fpu/w_log1p.c: New file.
14192         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14193         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14194         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14196 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14198         [BZ #18247]
14199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14200         decimal exponent by 1.
14201         * stdlib/tst-strtod-round-data: Add more tests.
14202         * stdlib/tst-strtod-round.c (tests): Regenerated.
14204 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14206         * math/auto-libm-test-in: Add more tests of clog and clog10.
14207         * math/auto-libm-test-out: Regenerated.
14208         * sysdeps/i386/fpu/libm-test-ulps: Update.
14209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14211 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14213         * Makeconfig (module-cppflags): Exclude all .v.i files.
14214         (skip-module-cppflags): Variable removed.
14216         * configure.ac (libc_config_ok): Initialize before reading
14217         preconfigure scripts, not after.
14218         * configure: Regenerated.
14220         * test-skeleton.c (TIMEOUT): Move #define to top level.
14221         (main): Grok environment variable TEST_DIRECT.  If set, print
14222         test expectation details into that file and then behave as if
14223         given --direct.
14225 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14227         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14228         warning on 32-bit.
14230 2015-04-08  David S. Miller  <davem@davemloft.net>
14232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14234 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14236         * math/auto-libm-test-in: Add more tests of atanh.
14237         * math/auto-libm-test-out: Regenerated.
14238         * sysdeps/i386/fpu/libm-test-ulps: Update.
14239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14241         * math/auto-libm-test-in: Add more tests of atan.
14242         * math/auto-libm-test-out: Regenerated.
14243         * sysdeps/i386/fpu/libm-test-ulps: Update.
14244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14246 2015-04-08  Florian Weimer  <fweimer@redhat.com>
14248         * elf/pldd.c (main): Rewrite to use struct
14249         scratch_buffer instead of extend_alloca.
14250         * elf/pldd-xx.c (find_maps): Likewise.
14251         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14252         <alloca.h>.
14253         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14254         scratch_buffer instead of extend_alloca.
14255         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14256         grp/compat-initgroups.c.
14257         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14258         Rewrite to use struct scratch_buffer instead of extend_alloca.
14259         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14260         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14262 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
14264         * math/auto-libm-test-in: Add more tests of cbrt.
14265         * math/auto-libm-test-out: Regenerated.
14266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14268         * math/auto-libm-test-in: Add more tests of cabs.
14269         * math/auto-libm-test-out: Regenerated.
14270         * sysdeps/i386/fpu/libm-test-ulps: Update.
14271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14273         [BZ #18210]
14274         [BZ #18211]
14275         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14276         (__ieee754_atan2): Set FE_TONEAREST mode for internal
14277         computations.
14278         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14279         clog10.
14280         * math/auto-libm-test-out: Regenerated.
14281         * sysdeps/i386/fpu/libm-test-ulps: Update.
14282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14284         [BZ #18197]
14285         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14286         (atan): Set FE_TONEAREST mode for internal computations.
14287         * math/auto-libm-test-in: Add more tests of atan.
14288         * math/auto-libm-test-out: Regenerated.
14290 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
14292         [BZ #17930]
14293         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14295 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14297         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14299 2015-04-07  Florian Weimer  <fweimer@redhat.com>
14301         * include/scratch_buffer.h: New file.
14302         * malloc/scratch_buffer_grow.c: Likewise.
14303         * malloc/scratch_buffer_grow_preserve.c: Likewise.
14304         * malloc/scratch_buffer_set_array_size.c: Likewise.
14305         * malloc/tst-scratch_buffer.c: Likewise.
14306         * malloc/Makefile (routines): Add scratch_buffer_grow.
14307         (tests): Add test case.
14308         * malloc/Versions (GLIBC_PRIVATE): Export
14309         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14310         __libc_scratch_buffer_set_array_size.
14312 2015-04-06  Richard Henderson  <rth@redhat.com>
14314         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14315         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14317         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14318         unsigned int before printing.
14320 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14322         [BZ #17596]
14323         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14324         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14326 2015-04-02  Florian Weimer  <fweimer@redhat.com>
14328         * include/libc-internal.h (libc_max_align_t): Define.
14330 2015-04-02  Andreas Schwab  <schwab@suse.de>
14332         [BZ #16850]
14333         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14335 2015-04-02  Mel Gorman  <mgorman@suse.de>
14337         [BZ #17195]
14338         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14339         as well as the main arena.
14341 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14343         [BZ #18185]
14344         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14345         sharing L2 cache to 2 for Silvermont/Knights Landing.
14347 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14349         [BZ #17711]
14350         * config.make.in (have-protected-data): New.
14351         * configure.ac: Check linker support for protected data symbol.
14352         * configure: Regenerated.
14353         * elf/Makefile (modules-names): Add tst-protected1moda and
14354         tst-protected1modb if $(have-protected-data) is yes.
14355         (tests): Add tst-protected1a and tst-protected1b if
14356         $(have-protected-data) is yes.
14357         ($(objpfx)tst-protected1a): New.
14358         ($(objpfx)tst-protected1b): Likewise.
14359         (tst-protected1modb.so-no-z-defs): Likewise.
14360         * elf/tst-protected1a.c: New file.
14361         * elf/tst-protected1b.c: Likewise.
14362         * elf/tst-protected1mod.h: Likewise.
14363         * elf/tst-protected1moda.c: Likewise.
14364         * elf/tst-protected1modb.c: Likewise.
14366 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14368         [BZ #17711]
14369         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14370         indicates it is called from do_lookup_x on relocation against
14371         protected data, skip the data definion in the executable from
14372         copy reloc.
14373         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14374         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14375         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14376         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14377         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14378         otherwise to 0.
14379         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14380         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14381         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14382         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14383         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14384         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14386 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14388         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14389         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14391 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14393         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14394         THREAD_SETMEM_NC.
14395         * sysdeps/x86_64/nptl/tls.h: Ditto.
14397 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14399         * dlfcn/tststatic.c (main): Converted to ...
14400         (do_test): ... this.
14401         (TEST_FUNCTION): New macro.
14402         Include test-skeleton.c.
14404 2015-03-26  Alan Modra  <amodra@gmail.com>
14406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14407         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14408         zero for undefined weak.
14409         (elf_machine_plt_conflict): Similarly.
14411 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14413         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14414         atanh.
14415         * math/auto-libm-test-out: Regenerated.
14416         * sysdeps/i386/fpu/libm-test-ulps: Update.
14417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14419         * math/auto-libm-test-in: Add another test of asin.
14420         * math/auto-libm-test-out: Regenerated.
14421         * sysdeps/i386/fpu/libm-test-ulps: Update.
14422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14424         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14425         Remove macro.
14426         (LLL_EBX_REG): Likewise.
14427         (LLL_ENTER_KERNEL): Likewise.
14429         * math/auto-libm-test-in: Add more tests of asin.
14430         * math/auto-libm-test-out: Regenerated.
14431         * sysdeps/i386/fpu/libm-test-ulps: Update.
14432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14434         [BZ #18138]
14435         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14436         libc_do_syscall_args): New structure.
14437         (INTERNAL_SYSCALL_MAIN_0): New macro.
14438         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14439         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14440         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14441         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14442         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14443         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14444         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14445         Replace conditional definitions by conditional definitions of ....
14446         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14447         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14448         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14449         (libpthread-sysdep_routines): Add libc-do-syscall.
14450         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14451         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14452         to __NR_futex not 240.
14454 2015-03-25  Alan Modra  <amodra@gmail.com>
14456         * NEWS: Advertise TLS optimization.
14457         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14458         (DT_PPC_NUM): Increment.
14459         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14460         (CHECK_STATIC_TLS): Use here.
14461         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14462         TLS descriptors.
14463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14464         * sysdeps/powerpc/dl-tls.c: New file.
14465         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14466         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14467         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14468         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14473 2015-03-25  Alan Modra  <amodra@gmail.com>
14475         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14476         for overlapping .opd entries" to "support...".
14477         * sysdeps/powerpc/powerpc64/configure: Regenerate
14479 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14481         * math/auto-libm-test-in: Add more tests of acos.
14482         * math/auto-libm-test-out: Regenerated.
14483         * sysdeps/i386/fpu/libm-test-ulps: Update.
14484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14486         * math/auto-libm-test-in: Add more tests of expm1.
14487         * math/auto-libm-test-out: Regenerated.
14488         * sysdeps/i386/fpu/libm-test-ulps: Update.
14489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14491 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14493         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14494         * math/auto-libm-test-out: Regenerated.
14495         * sysdeps/i386/fpu/libm-test-ulps: Update.
14496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14498         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14501         * math/auto-libm-test-in: Add more tests of log2.
14502         * math/auto-libm-test-out: Regenerated.
14503         * sysdeps/i386/fpu/libm-test-ulps: Update.
14504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14506 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14508         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14509         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14510         _IO_IS_APPENDING bit in READ_WRITE instead.
14512 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14514         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14515         (__determine_cpumask_size): Replace extend_alloca with a
14516         variable-length array.  Do not treat res == 0 as an error.
14518 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14520         [BZ #18100]
14521         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14522         and integer overflow.
14523         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14524         (main): Add integer overflow tests.
14525         * manual/pattern.texi (Calling Wordexp): Document additional use
14526         for WRDE_SYNTAX.
14528 2015-03-23  Alan Modra  <amodra@gmail.com>
14530         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14531         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14532         and false branch of conditional.
14533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14534         Likewise.
14536 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14538         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14539         libc-modules.h
14540         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14541         unused declaration of _hurd_intr_rpc_msg_in_trap.
14542         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14543         defined instead of whether it is non-zero.
14544         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14545         input constraint instead of both input and output constraint.  Use ecx
14546         clobber instead of %ecx.
14547         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14548         mutex_unlock): Use a statement expression instead of an expression list.
14549         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14550         type to vm_size_t instead of vm_address_t.
14551         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14552         defined instead of whether it is non-zero.
14553         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14554         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14555         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14556         comparisons with mapaddr.
14557         * nscd/nscd-client.h: Include <time.h>.
14558         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14559         9th parameter to __vm_region instead of int.
14560         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14561         * scripts/check-local-headers.sh (exclude): Add device/,
14562         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14563         cthreads.h.
14565 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14567         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14568         to account for alignment padding.
14569         * sysdeps/arm/memmove.S: Likewise.
14571 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14573         * sysdeps/unix/sysv/linux/generic/README: New file.
14575 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14577         [BZ #18138]
14578         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14579         (futex_abstimed_wait)
14580         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14581         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14582         of lll_futex_timed_wait.
14584 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14586         [BZ #17542]
14587         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14589 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14591         [BZ #17090]
14592         [BZ #17620]
14593         [BZ #17621]
14594         [BZ #17628]
14595         * NEWS: Update.
14596         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14597         entries with Static TLS too.  Skip entries past the end of the
14598         allocated DTV, from Alan Modra.
14599         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14600         Static TLS DTV entry set up from...
14601         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14602         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14603         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14604         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14605         for Static TLS.
14606         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14607         that the slot we find is associated with the given map before
14608         using its generation count.
14609         * nptl_db/db_info.c: Include ldsodefs.h.
14610         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14611         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14612         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14613         (link_map::l_tls_offset): New struct field.
14614         (dtv_t::counter): Likewise.
14615         (rtld_global): New struct.
14616         (_rtld_global): New rtld variable.
14617         (dl_tls_dtv_slotinfo_list): New rtld global field.
14618         (dtv_slotinfo_list): New struct.
14619         (dtv_slotinfo): Likewise.
14620         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14621         (td_lookup): Rename to...
14622         (td_mod_lookup): ... this.  Use new mod parameter instead of
14623         LIBPTHREAD_SO.
14624         * nptl_db/td_thr_tlsbase.c: Include link.h.
14625         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14626         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14627         addresses even if the DTV is out of date or missing them.
14628         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14629         index zero-length arrays.
14630         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14631         (td_lookup): Make it a macro implemented in terms of...
14632         (td_mod_lookup): ... this declaration.
14633         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14634         (DB_MAIN_VARIABLE): Likewise.
14636 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14638         [BZ #18134]
14639         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14641 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14643         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14645 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14647         [BZ #18128]
14648         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14649         (atomic_add, atomic_increment_and_test)
14650         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14652 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14654         * stdlib/setenv.c (__add_to_environ):
14655         Dump core quickly if setenv (..., NULL, ...) is called.
14657 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14659         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14660         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14661         all the necessary asm magic in one place.
14662         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14663         using those.
14665 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14667         [BZ #14906]
14668         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14669         traced file mtime. Use consistent log message.
14670         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14671         (register_traced_file): Call install_watches. Always set mtime.
14672         (invalidate_cache): Iterate over all trace files. Call install_watches.
14673         (inotify_check_files): Don't inline. Handle watching parent
14674         directories and configuration file movement in and out.
14675         (handle_inotify_events): New function.
14676         (main_loop_poll): Call handle_inotify_events.
14677         (main_loop_epoll): Likewise.
14678         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14679         (struct traced_file): Use array of inotify fds. Add parent directory,
14680         and basename.
14681         (struct database_dyn): Remove unused file_mtime.
14682         (init_traced_file): New inline function.
14683         (define_traced_file): New macro.
14684         * nss/nss_db/db-init.c: Use define_traced_file.
14685         (_nss_db_init): Use init_traced_file.
14686         * nss/nss_files/files-init.c: Use define_traced_file.
14687         (_nss_files_init): Use init_traced_file.
14689 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14691         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14692         [_LIBC]: Do not include <stdlib.h>.
14693         [!_LIBC] (abort): Remove declaration.
14694         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14695         _FP_STATIC_ASSERT instead of conditionally calling abort.
14696         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14697         (_FP_EXTEND_CNAN): Likewise.
14698         (FP_TRUNC): Likewise.
14699         (__FP_CLZ): Likewise.
14700         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14702 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14704         * manual/string.texi (XPG basename): Fix prototype.
14706 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14708         [BZ #18080]
14709         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14710         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14711         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14712         (__setcontext): Likewise.
14713         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14714         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14715         Call rt_sigprocmask syscall one time to set new signal mask
14716         and retrieve the current signal mask instead of two calls.
14717         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14718         (__swapcontext): Likewise.
14719         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14720         * stdlib/tst-setcontext2.c: New file.
14722 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14724         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14726 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14728         [BZ #18093]
14729         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14730         the wrong size.
14732 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14734         [BZ #18043]
14735         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14737 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14739         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14740         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14741         Remove define.
14742         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14743         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14744         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14745         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14746         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14747         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14748         define.
14749         * nptl_db/td_symbol_list.c (td_lookup): Remove
14750         HAVE_ASM_GLOBAL_DOT_NAME code.
14751         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14752         HAVE_ASM_GLOBAL_DOT_NAME check.
14753         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14754         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14755         (DOT_LABEL): Remove define.
14756         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14757         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14758         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14759         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14760         (__TLS_GET_ADDR): Likewise.
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14762         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14764 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14766         [BZ #18111]
14767         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14768         (_FPU_SETCW): Initialize cw from fpsr before storing.
14769         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14770         (fesetexceptflag): Rewrite using fpu_control.h.
14771         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14773 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14775         [BZ #18110]
14776         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14777         asms.
14778         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14780 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14782         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14783         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14784         abort.
14785         (_FP_FMA): Likewise.
14786         (_FP_DIV): Likewise.
14788 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14790         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14791         with 0 in that case.
14792         * Makefile (summarize-tests): New canned sequence, factored out of
14793         commands for targets tests and xtests.  Display summary lines that
14794         don't start with PASS: or XFAIL: rather than ones that do start with
14795         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14796         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14797         do start with ERROR: or FAIL:.
14798         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14799         (except for [$(build-shared) = yes]).
14800         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14801         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14802         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14803         * nptl/Makefile: Revert 2015-03-04 changes.
14804         [$(CXX) empty] (tests-unsupported): New variable.
14805         * debug/Makefile: Likewise.
14807         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14808         gnulib file.  Replace __attribute with __attribute__ throughout.
14810 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14812         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14814 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14816         [BZ #18104]
14817         * math/auto-libm-test-in: Add another test of pow.
14818         * math/auto-libm-test-out: Regenerated.
14820 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14822         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14823         $(config-cflags-nofma).
14825 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14827         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14828         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14829         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14830         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14831         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14832         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14833         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14834         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14835         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14836         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14837         Add comment on closing #endif.
14839 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14841         * posix/wordexp.c (CHAR_IN_SET): New macro.
14842         (parse_param): Use it.
14844 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14846         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14848 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14850         [BZ #18043]
14851         * posix/wordexp.c (parse_param): Fix buffer overflow.
14852         * posix/wordexp-test.c (test_case): Add test case.
14854 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14856         [BZ #18042]
14857         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14858         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14860 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14862         [BZ #18043]
14863         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14864         (do_bz18043): Delete.
14865         (at_page_end): New.
14866         (testit): Refactor to have words at the edge of unreadable page.
14868 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14870         [BZ #16734]
14871         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14872         Cleanup read-only streams as well.
14873         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14875 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14877         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14878         <bits/libc-lockP.h>
14880 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14882         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14883         on [__KERNEL__].
14884         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14885         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14886         * soft-fp/op-common.h (_FP_DECL): Likewise.
14888 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14890         * elf/ifuncdep2.c (global): Replace
14891         __attribute__((visibility("protected"))) with
14892         asm (".protected global").
14893         * elf/ifuncmod1.c (global): Likewise.
14894         * elf/ifuncmod5.c (global): Likewise.
14896 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14898         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14899         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14901 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14903         * manual/install.texi (Configuring and compiling):
14904         Document test-wrapper-env-only.
14905         * INSTALL: Regenerated.
14907 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14909         [BZ #18043]
14910         * posix/wordexp.c (parse_param): Fix buffer overflow.
14911         * posix/wordexp-test.c (do_bz18043): Add test case.
14913 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14915         * time/tst-strptime2.c (do_test): Ensure failing tests are
14916         reported correctly.
14917         * time/tst-strptime3.c (do_test): Likewise.
14919 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14921         Fix aio_error thread-safety.
14922         * sysdeps/pthread/aio_error.c: New file
14923         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14924         synchronization.
14926 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14928         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14929         (group_number, vfprintf): Use it.
14930         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14931         (JUMP, REF): Use it.
14932         (WORK_BUFFER_SIZE): New enum constant.
14933         (process_arg, vfprintf): Use it.
14935 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14937         * manual/errno.texi (Error Messages): Complete example function
14938         by adding missing #define.
14939         (program_invocation_name): Add statement indicating GNU
14940         extension and reference which header file declares the variable.
14941         (program_invocation_short_name): Likewise.
14943 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14945         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14946         compatibility note.
14948 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14950         * Makeconfig (test-wrapper-env-only): New variable.
14951         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14952         then use that with $(test-wrapper-env-only) rather than using
14953         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14955 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14957         [BZ #18082]
14958         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14959         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14960         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14961         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14962         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14963         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14964         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14965         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14966         Likewise.
14967         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14968         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14969         Likewise.
14970         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14971         Likewise.
14972         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14973         Likewise.
14974         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14975         Likewise.
14976         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14977         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14978         Likewise.
14979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14980         Likewise.
14981         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14982         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14984 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14986         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14987         (ETH_ALEN): New macro.
14988         (struct ether_addr): Use it for length of ether_addr_octet.
14990         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14991         (setdb): Don't call __nss_configure_lookup for "rpc".
14992         (do_test): Don't call test_rpc.
14993         (output_rpcent, test_rpc): Functions moved ...
14994         * sunrpc/test-rpcent.c: ... to this new file.
14995         * sunrpc/Makefile (tests): Add it.
14997         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14998         __xpg_sigpause.
14999         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15000         * nptl/tst-signal6.c: Likewise.
15001         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15002         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15004         * configure.ac (libc_cv_cxx_link_ok): New check.
15005         Reset CXX to empty if it fails to link.
15006         * configure: Regenerated.
15007         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15008         bug-atexit3-lib only if $(CXX) is nonempty.
15009         * nptl/Makefile (tests): Likewise for tst-cancel24.
15010         (tests, tests-static): Likewise for tst-cancel24-static.
15011         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15012         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15013         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15014         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15016 2015-03-04  Andreas Schwab  <schwab@suse.de>
15018         [BZ #17631]
15019         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15020         for non-GCC compilers.
15021         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15022         Likewise.
15024 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15026         [BZ #17776]
15027         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15028         integer before bitwise and assembly operations.
15029         (feclearexcept): Likewise.
15030         * math/test-fenvinline.c: New file.
15031         * math/Makefile: Add test-fenvinline test.
15033 2015-03-03  Alan Modra  <amodra@gmail.com>
15035         [BZ #16512]
15036         * scripts/localplt.awk: Strip off symbol version.
15037         * NEWS: Mention bug fix.
15039 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15041         * sysdeps/pthread/timer_routines.c
15042         (timer_free_list, thread_free_list, thread_active_list): Make static.
15044 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15046         [BZ #17779]
15047         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15048         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15049         Undefine.
15050         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15051         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15052         Likewise.
15053         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15054         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15055         Likewise.
15057 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15059         [BZ #18036]
15060         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15061         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15063 2015-03-02  Andreas Schwab  <schwab@suse.de>
15065         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15066         variable name.
15068 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15070         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15071         Return error status.
15073 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15075         [BZ #15969]
15076         * locale/findlocale.c (_nl_find_locale): Introduce const
15077         version of loc_name and drop unsafe type casts.
15079 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15081         * dlfcn/tststatic2.c (main): Converted to ...
15082         (do_test): ... this.
15083         (TEST_FUNCTION): New macro.
15084         Include test-skeleton.c.
15086 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15088         [BZ #17711]
15089         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15090         (tests-pie): Add vismain.
15091         (CFLAGS-vismain.c): New.
15092         * elf/vismain.c: Add comments for PIE requirement.
15094 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15096         [BZ #18046]
15097         [BZ #18047]
15098         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15099         0x1p-56L as threshold for just returning the argument.
15100         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15101         0x1p-32L as threshold for just returning the argument.
15102         * math/auto-libm-test-in: Add more tests of atanh.
15103         * math/auto-libm-test-out: Regenerated.
15104         * sysdeps/i386/fpu/libm-test-ulps: Update.
15105         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15107 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15109         * string/bcopy.c (bcopy): Call memmove for performance.
15111 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15113         * string/bzero.c (__bzero): Call memset for performance.
15115 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15117         [BZ #18068]
15118         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15119         to 00100000.
15121 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15123         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15125 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15127         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15128         (__kernel_standard): Use CSTR macro when setting exc.name.
15129         * sysdeps/ieee754/Makefile [$(subdir) = math]
15130         (CFLAGS-k_standard.c): Remove variable.
15132         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15133         setting p and q from "else if" to "else".
15134         (qzero): Likewise.
15135         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15136         (qone): Likewise.
15137         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15138         (qzerof): Likewise.
15139         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15140         (qonef): Likewise.
15141         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15142         (qzero): Likewise.
15143         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15144         (qone): Likewise.
15146         [BZ #18038]
15147         [BZ #18039]
15148         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15149         return pi/2 for arguments below 0x1p-113L.
15150         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15151         return pi/2 for arguments below 0x1p-106L.
15152         * math/auto-libm-test-in: Add more tests of acos.
15153         * math/auto-libm-test-out: Regenerated.
15155         [BZ #16351]
15156         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15157         (MO): New macro.
15158         (__ieee754_asin): Force underflow exception for results with small
15159         absolute value.
15160         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15161         (MO): New macro.
15162         (__ieee754_asinf): Force underflow exception for results with
15163         small absolute value.
15164         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15165         (__ieee754_asin): Force underflow exception for results with small
15166         absolute value.
15167         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15168         (__ieee754_asinf): Force underflow exception for results with
15169         small absolute value.
15170         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15171         (__ieee754_asinl): Force underflow exception for results with
15172         small absolute value.
15173         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15174         (__ieee754_asinl): Force underflow exception for results with
15175         small absolute value.
15176         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15177         (__ieee754_asinl): Force underflow exception for results with
15178         small absolute value.
15179         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15180         Include <math.h>.
15181         * math/auto-libm-test-in: Do not mark underflow exceptions as
15182         possibly missing for bug 16351.
15183         * math/auto-libm-test-out: Regenerated.
15185         [BZ #18030]
15186         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15187         of power of 2 down when low part has opposite sign.
15188         * math/libm-test.inc (logb_test_data): Add more tests.
15190 2015-02-26  Andreas Schwab  <schwab@suse.de>
15192         [BZ #18032]
15193         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15194         over collating symbol inside a bracket expression.  Minor cleanup.
15195         * posix/tst-fnmatch3.c (do_test): Add test case.
15197 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15199         [BZ #18029]
15200         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15201         Adjust exponent of power of 2 down when low part has opposite
15202         sign.
15203         * math/libm-test.inc (ilogb_test_data): Add more tests.
15205 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15207         [BZ #15969]
15208         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15209         the previous change.
15211         [BZ #15969]
15212         * locale/findlocale.c (_nl_find_locale): Retry archive search
15213         after alias expansion.
15215 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15217         * iconv/tst-iconv3.c (main): Converted to ...
15218         (do_test): ... this.
15219         (TEST_FUNCTION): New macro.
15220         Include test-skeleton.c.
15222         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15223         (convert): Make function static.
15224         (test_unalign): Likewise.  Add const to argument pointee types.
15225         (main): Replace with static function do_test.
15226         Print "Succeeded." only if RET is zero.
15227         (TEST_FUNCTION): New macro.
15228         Include test-skeleton.c.
15230         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15231         returns a null pointer.
15233 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15235         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15236         to __memcpy_ppc only for static builds.
15238 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
15240         [BZ #18020]
15241         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15242         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15243         * math/auto-libm-test-in: Add more tests of asinh.
15244         * math/auto-libm-test-out: Regenerated.
15245         * sysdeps/i386/fpu/libm-test-ulps: Update.
15246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15248 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
15250         [BZ #15850]
15251         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15252         and ip6_mtuinfo definitions here.
15253         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15254         in this define too.  Update comment.
15256 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
15258         * elf/sprof.c (load_shobj): Tweak error message to match others.
15260 2015-02-24  Kevin Easton  <kevin@guarana.org>
15262         [BZ #16145] (partial fix)
15263         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15264         to reduce lock contention.
15266 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
15268         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15269         (struct timex): Update time comment.
15270         (ADJ_SETOFFSET): Define.
15272 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15274         [BZ #18019]
15275         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15276         2**56 not 2**28 as threshold for log (2x) formula.
15277         * math/auto-libm-test-in: Add more tests of acosh.
15278         * math/auto-libm-test-out: Regenerated.
15279         * sysdeps/i386/fpu/libm-test-ulps: Update.
15280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15282 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15284         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15285         parenthesis around the buf assignment.
15286         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15288 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
15290         [BZ #16783]
15291         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15292         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15293         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15294         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15295         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15296         * math/libm-test.inc (scalb_test_data): Add more tests.
15298 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15300         [BZ #17916]
15301         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15302         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15304 2015-02-24  Eric Rannaud  <e@nanocritical.com>
15306         [BZ #17523]
15307         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15308         * io/bits/fcntl2.h (open): Use it.
15309         (openat): Likewise.
15310         * io/open.c (__libc_open): Likewise.
15311         * io/open64.c (__libc_open64): Likewise.
15312         * io/open64_2.c (__open64_2): Likewise.
15313         * io/open_2.c (__open_2): Likewise.
15314         * io/openat.c (__openat): Likewise.
15315         * io/openat64.c (__openat64): Likewise.
15316         * io/openat64_2.c (__openat64_2): Likewise.
15317         * io/openat_2.c (__openat_2): Likewise.
15318         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15319         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15320         * sysdeps/posix/open64.c (__libc_open64): Likewise.
15321         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15322         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15323         (__open_nocancel): Likewise.
15324         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15325         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15326         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15328 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15330         [BZ #14841]
15331         * resolv/gethnamaddr.c (getanswer): Skip logging if
15332         RES_USE_DNSSEC is set.
15333         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15335 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
15337         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15339 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
15341         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15342         201304L, for Unicode 7.
15344 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
15346         [BZ #17836]
15347         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15348         shared library.  Add gmon-start.os otherwise.
15349         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15350         $(objpfx)gmon-start.os if builing shared library.
15351         ($(objpfx)g$(static-start-installed-name)): Likewise.
15353 2015-02-23  Andreas Schwab  <schwab@suse.de>
15355         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15357 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
15359         [BZ #17269]
15360         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15361         (enlarge_userbuf): Likewise.
15363 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
15365         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15366         * math/atest-exp.c (TIMEOUT): Adjust to 200.
15367         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15368         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15370 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
15372         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15373         expression inside statement expression.
15375 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15377         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15378         <sysdeps/nptl/lowlevellock.h> and remove macros and
15379         functions that are now defined there.
15380         (SYS_futex): Remove.
15381         (lll_compare_and_swap): Remove.
15382         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15384 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15386         [BZ #17999]
15387         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15388         instead of scandirat.
15389         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15390         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15391         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15392         __scandirat.
15393         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15394         (__scandirat): Declare.  Use libc_hidden_proto.
15395         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15396         Remove variable.
15397         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15399 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15401         [BZ #15319]
15402         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15403         (MO): New macro.
15404         (__ieee754_atan2): For results with small absolute value, force
15405         underflow exception and remove excess range and precision from
15406         return value.
15407         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15408         (MO): New macro.
15409         (__ieee754_atan2f): For results with small absolute value, force
15410         underflow exception and remove excess range and precision from
15411         return value.
15412         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15413         (MO): New macro.
15414         (__atan): For results with small absolute value, force underflow
15415         exception and remove excess range and precision from return value.
15416         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15417         (MO): New macro.
15418         (__atanf): For results with small absolute value, force underflow
15419         exception and remove excess range and precision from return value.
15420         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15421         <math.h>.
15422         (__ieee754_atan2): Force underflow exception for results with
15423         small absolute value.
15424         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15425         <math_private.h>.
15426         (atan): Force underflow exception for results with small absolute
15427         value.
15428         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15429         (__atanf): Force underflow exception for results with small
15430         absolute value.
15431         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15432         <math.h>.
15433         (__atanl): Force underflow exception for results with small
15434         absolute value.
15435         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15436         (__atanl): Force underflow exception for results with small
15437         absolute value.
15438         * sysdeps/x86/fpu/bits/mathinline.h
15439         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15440         (__ieee754_atan2): Only define inline for long double.
15441         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15442         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15443         * math/auto-libm-test-in: Do not mark underflow exceptions as
15444         possibly missing for bug 15319.  Add more tests of atan2.
15445         * math/auto-libm-test-out: Regenerated.
15446         * math/libm-test.inc (casin_test_data): Do not mark underflow
15447         exceptions as possibly missing for bug 15319.
15448         (casinh_test_data): Likewise.
15449         * sysdeps/i386/fpu/libm-test-ulps: Update.
15451 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15453         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15454         * sysdeps/mips/bits/endian.h: Fix comments.
15456 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15458         [BZ #17996]
15459         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15460         (hdestroy_r): Likewise.
15461         (hsearch_r): Likewise.
15462         (__hcreate_r): Declare and use libc_hidden_proto.
15463         (__hdestroy_r): Likewise.
15464         (__hsearch_r): Likewise.
15465         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15466         (hcreate): Call __hcreate_r instead of hcreate_r.
15467         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15468         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15469         as weak alias of __hcreate_r.
15470         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15471         __hdestroy_r.
15472         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15473         __hsearch_r.
15474         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15475         Remove variable.
15476         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15477         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15478         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15479         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15481 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15483         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15484         arena_lock into a single arena_get.
15486 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15488         * dl-reloc.c: Inlucde libc-internal.h.
15489         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15490         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15491         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15492         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15493         (grow_heap): Likewise.
15494         * malloc/malloc.c: Include libc-internal.h.
15495         (do_check_malloc): Call powerof2.
15496         (sysmalloc): Use pagesize. Call ALIGN_UP.
15497         (systrim): Use pagesize.
15498         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15499         (__libc_valloc): Use pagesize.
15500         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15502 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15504         [BZ #17991]
15505         * include/sys/resource.h (__getrlimit64): Declare.  Use
15506         libc_hidden_proto.
15507         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15508         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15509         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15510         getrlimit64.
15511         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15512         __getrlimit64.
15513         [!getrlimit64] (getrlimit64): Define as weak alias of
15514         __getrlimit64.  Use libc_hidden_weak.
15515         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15516         using __getrlimit64 not __new_getrlimit64.
15517         (__GI_getrlimit64): Likewise.
15518         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15519         Likewise.
15520         (__GI_getrlimit64): Likewise.
15521         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15523         (getrlimit): Add __getrlimit64 alias.
15524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15525         Likewise.
15526         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15527         Remove variable.
15528         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15529         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15531 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15533         * libio/fileops.c: Add missing sys/mman.h
15534         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15536 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15538         * manual/math.texi (Errors in Math Functions): Clarify goals
15539         regarding inexact and underflow exceptions.
15541 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15543         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15544         * sysdeps/mips/memset.S: Ditto.
15546 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15548         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15550 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15552         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15553         (__v1longjmp): Remove versioned symbol.
15554         (__v1siglongjmp): Remove alias and versioned symbol.
15555         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15556         (__v2siglongjmp): Likewise.
15558 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15560         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15562 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15564         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15566 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #17987]
15569         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15570         zero result does not depend on the sign resulting from
15571         subtraction.
15572         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15573         Likewise.
15574         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15575         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15576         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15577         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15578         * math/libm-test.inc (remquo_test_data): Add more tests.
15580 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15582         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15583         Problem reported by J William Piggott.
15585 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15587         [BZ #17978]
15588         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15589         products 4 * y and 2 * y where those would overflow.
15590         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15591         Likewise.
15592         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15593         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15594         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15595         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15596         * math/libm-test.inc (remquo_test_data): Add more tests.
15598         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15600         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15601         [defined _COMPILING_NEWLIB].
15602         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15603         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15605         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15606         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15608 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15610         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15611         acquired.
15613 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15615         [BZ #17792]
15616         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15617         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15618         HOST_STACK_END_ADDR): Likewise.
15620 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15622         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15623         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15624         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15626 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15628         * sysdeps/generic/c++-types.data: New file.
15629         * sysdeps/generic/ld.abilist: New file.
15630         * sysdeps/generic/libBrokenLocale.abilist: New file.
15631         * sysdeps/generic/libanl.abilist: New file.
15632         * sysdeps/generic/libc.abilist: New file.
15633         * sysdeps/generic/libcrypt.abilist: New file.
15634         * sysdeps/generic/libdl.abilist: New file.
15635         * sysdeps/generic/libm.abilist: New file.
15636         * sysdeps/generic/libpthread.abilist: New file.
15637         * sysdeps/generic/libresolv.abilist: New file.
15638         * sysdeps/generic/librt.abilist: New file.
15640 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15642         [BZ #17569]
15643         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15644         Compute absolute value of x as modified by fmod, not original
15645         value of x.
15646         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15647         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15648         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15649         RUN_TEST_ffI_f1_mod8.
15650         (remquo_test_data): Add more tests.
15652 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15654         * sysdeps/init_array/pt-crti.S: New file.
15656 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15658         [BZ #17967]
15659         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15660         __builtin_fmaf instead of relying on contraction of a * b + c.
15662 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15664         [BZ #17969]
15665         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15666         node.
15668 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15670         [BZ #17964]
15671         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15672         __builtin_fma instead of relying on contraction of a * b + c.
15674 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15676         * Makeconfig (ASFLAGS): Add -Werror=undef.
15677         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15678         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15679         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15681         * Makeconfig (after-link): New variable.
15682         (+link-pie, +link-pie-tests): Use it.
15683         (+link-static, +link-static-tests): Likewise.
15684         (+link, +link-tests): Likewise.
15685         * Makerules (build-module, build-module-asneeded): Likewise.
15686         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15687         Likewise.
15688         * elf/Makefile ($(objpfx)ld.so): Likewise.
15690 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15692         [BZ #17965]
15693         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15694         both struct timeval and struct timespec.
15696 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15698         [BZ #16560]
15699         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15700         and redefine.
15701         (__ieee754_exp2l): Do not multiply small fractional parts by
15702         M_LN2l.
15703         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15704         small argument.
15705         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15706         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15707         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15708         * math/auto-libm-test-in: Add more tests of exp2.
15709         * math/auto-libm-test-out: Regenerated.
15711 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15713         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15714         unaligned path.
15716 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15718         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15719         little endian.
15721 2015-02-12  Andreas Schwab  <schwab@suse.de>
15723         [BZ #15790]
15724         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15725         Filter out elision flags from value returned in kind.
15726         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15727         * nptl/tst-pthread-mutexattr.c: New file.
15729 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15731         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15732         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15733         into gnu-gnu, and update comment to refer to abi-tags.
15735 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15737         [BZ #15467]
15738         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15739         (__sincos): Set errno to EDOM for infinite argument.
15740         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15741         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15742         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15743         (__sincosl): Set errno to EDOM for infinite argument.
15744         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15745         (__sincosl): Set errno to EDOM for infinite argument.
15746         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15747         (__sincosl): Set errno to EDOM for infinite argument.
15748         * math/libm-test.inc (sincos_test_data): Test errno setting.
15750 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15752         * string/strxfrm_l.c: Remove #define STRCMP.
15753         * string/strcoll_l.c: Remove #define STRLEN.
15754         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15755         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15757 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15759         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15760         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15761         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15762         * sysdeps/mips/mips64/Makefile: ... here.
15763         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15764         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15765         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15766         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15767         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15768         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15769         * sysdeps/mips/mips64/n64/Implies: Likewise.
15771 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15773         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15774         <sys/time.h>, <string.h>, and <errno.h>.
15775         (dest_offset, dest_address, value, zero): Remove unused variables.
15776         (ldouble): Remove typedef.
15777         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15778         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15779         1).  Fix code style.
15780         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15781         (check): Function removed.
15782         (CHECK): New macro.
15783         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15784         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15785         Don't call set_sigaction_FP and remove_sigaction_FP here.
15786         (ldouble_test): Just use 'long double' as macro argument, no need for
15787         the 'ldouble' typedef.
15788         (do_test): Set up SIGFPE handler at start, using plain signal rather
15789         than sigaction.  Fix code style.
15791 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15793         [BZ #17949]
15794         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15795         jump label.
15797 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15799         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15800         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15802         * sysdeps/powerpc/configure.ac: Remove file.
15803         * sysdeps/powerpc/configure: Likewise.
15805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15806         [sysdep_routines]: Remove wordcopy-power6 object.
15807         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15808         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15809         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15810         (__memmove_ppc32): Likewise.
15811         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15812         file.
15813         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15814         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15815         Remove preprocessor.
15817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15818         [sysdep_routines]: Remove wide chars objects.
15819         [wcsmbs]: New rule for wide char objects.
15821         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15822         Remove wordcopy-power6 obejct.
15823         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15824         Use local call for wordcopy and memcpy symbols.
15825         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15826         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15827         implementation for loader.
15828         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15830         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15831         Remove wordcopy-power7 object.
15832         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15833         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15834         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15835         (_wordcopy_fwd_dest_aligned): Likewise.
15836         (_wordcopy_bwd_aligned): Likewise.
15837         (_wordcopy_bwd_dest_aligned): Likewise.
15839         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15840         Rewrite to call __memmove_ppc instead of include default
15841         implementation.
15843         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15844         Remove wide chars objects.
15845         [wcsmbs]: New rule for wide char objects.
15847 2015-02-09  Andreas Schwab  <schwab@suse.de>
15849         [BZ #17912]
15850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15851         in terms of __O_DIRECTORY.
15853 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15855         * time/getdate.c: Include <stdbool.h>.
15856         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15857         call PTR_MANGLE.
15858         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15859         PTR_DEMANGLE.
15861 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15863         Add ersatz _Static_assert on older C hosts
15864         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15865         pre-C11 C platform that is not known to support _Static_assert.
15867 2015-02-07  Richard Braun  <rbraun@sceen.net>
15869         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15870         sigstate.
15871         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15873 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15875         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15876         priority against unexistent AIO_PRIO_DELTA_MAX.
15877         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15878         instead of int.
15879         * misc/fchflags.c (fchflags): Likewise.
15880         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15881         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15882         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15883         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15884         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15885         Declare macros.
15886         [__USE_MISC] (chflags, fchflags): Declare functions.
15887         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15888         EINVAL when nfds is greater than FD_SETSIZE.
15889         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15890         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15891         45.
15892         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15893         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15894         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15895         MACH_RCV_TIMED_OUT.
15896         * hurd/hurd/signal.h (_hurd_self_sigstate,
15897         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15898         Explicit casts from void *.
15899         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15900         * abi-tags: Rename gnu-gnu os into gnu.
15902         [BZ #4719]
15903         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15904         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15905         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15906         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15907         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15908         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15910         [BZ #17944]
15911         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15912         duplicates ADDR->sun_path with sockaddr LEN limitation.
15913         * sysdeps/mach/hurd/connect.c: Include <string.h>
15914         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15915         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15916         * sysdeps/mach/hurd/sendto.c: Likewise.
15917         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15918         implementing it by hand.
15920 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15922         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15923         Use sfi_breg on ldr.
15924         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15925         Likewise.
15927         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15928         it's defined.
15929         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15930         Test SIGSETXID only if it's defined.
15932         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15934         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15935         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15937         * nptl/tst-align2.c: Moved ...
15938         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15939         * nptl/Makefile (tests): Remove tst-align2.
15940         * sysdeps/unix/sysv/linux/Makefile
15941         [$(subdir) = nptl] (tests): Add tst-align-clone.
15942         * nptl/tst-getpid1.c: Moved ...
15943         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15944         * nptl/tst-getpid2.c: Moved ...
15945         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15946         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15947         * sysdeps/unix/sysv/linux/Makefile
15948         [$(subdir) = nptl] (tests): ... here.
15949         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15950         * sysdeps/unix/sysv/linux/Makefile
15951         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15953         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15954         Drop trailing \n from perror argument.  Use return rather than exit.
15956         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15957         on [SA_SIGINFO].
15958         * nptl/tst-cancel21.c (do_test): Likewise.
15959         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15960         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15961         [!SA_SIGINFO]: Make it a stub test.
15963         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15964         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15966         * posix/tst-getlogin.c: Move to ...
15967         * login/tst-getlogin.c: ... here.
15968         * posix/Makefile (tests): Move tst-getlogin to ...
15969         * login/Makefile (tests): ... here.
15971         * libio/tst-atime.c (do_test): Move local variables SV and E
15972         inside [ST_NOATIME] conditional.
15974         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15976         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15978         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15979         (wait_code): New function replaces macro.
15980         Call nanosleep rather than syscall.
15982         * nptl/pt-system.c: Rewritten.  Put everything under
15983         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15984         Use IFUNC to redirect when possible.
15986         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15987         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15988         Use IFUNC to redirect when possible.
15990         * nptl/pt-fork.c: Rewritten.  Put everything under
15991         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15992         Use IFUNC to redirect when possible.
15993         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15996         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15997         unconditionally nowadays.  This included the only reference to
15998         __vdso_clock_gettime that appears outside libc proper.
15999         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16000         Remove version set (containing only __vdso_clock_gettime).
16001         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16002         Add attribute_hidden.
16003         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16004         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16005         libc_hidden_data_def.
16006         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16007         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16009         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16010         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16011         setrpcent, and getrpcport to ...
16012         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16013         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16014         getrpcbynumber_r, and getrpcent_r to ...
16015         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16016         * inet/getrpcbyname.c: Moved ...
16017         * sunrpc/getrpcbyname.c: ... here.
16018         * inet/getrpcbyname_r.c: Moved ...
16019         * sunrpc/getrpcbyname_r.c: ... here.
16020         * inet/getrpcbynumber.c: Moved ...
16021         * sunrpc/getrpcbynumber.c: ... here.
16022         * inet/getrpcbynumber_r.c: Moved ...
16023         * sunrpc/getrpcbynumber_r.c: ... here.
16024         * inet/getrpcent.c: Moved ...
16025         * sunrpc/getrpcent.c: ... here.
16026         * inet/getrpcent_r.c: Moved ...
16027         * sunrpc/getrpcent_r.c: ... here.
16028         * inet/Makefile (routines): Move those to ...
16029         * sunrpc/Makefile (routines): ... here.
16030         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16031         the $(subdirs) list.
16032         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16033         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16034         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16035         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16037         * elf/Makefile (routines): Include $(all-dl-routines), not just
16038         $(dl-routines).
16039         (rtld-routines): Likewise.  Use = rather than :=.
16040         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16041         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16042         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16043         * sysdeps/arm/Makefile: Likewise.
16044         * sysdeps/i386/Makefile: Likewise.
16045         * sysdeps/x86_64/Makefile: Likewise.
16046         * sysdeps/hppa/Makefile [$(subdir) = elf]
16047         (sysdep_routines, sysdep-rtld-routines): Don't add
16048         $(sysdep-dl-routines) to these.
16049         * sysdeps/ia64/Makefile: Likewise.
16050         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16051         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16052         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16053         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16054         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16055         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16056         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16057         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16058         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16059         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16060         these; sysdep-dl-routines alone is enough.
16062 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16064         [BZ #17932]
16065         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16066         where multiplication results in zero and third argument is finite
16067         and nonzero.
16068         * math/auto-libm-test-in: Add more tests of fma.
16069         * math/auto-libm-test-out: Regenerated.
16071         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16072         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16073         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16074         (_FP_CMP_EQ): Likewise.
16075         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16077         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16078         extra argument CHECK_NAN.  Redefine as wrapper around
16079         _FP_EXTEND_CNAN.
16081 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16083         * version.h (RELEASE): Set to "stable".
16084         (VERSION): Set to "2.21"
16085         * include/features.h (__GLIBC_MINOR__): Set to 21.
16087         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16089 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16090             Paul Eggert  <eggert@cs.ucla.edu>
16092         [BZ #16618]
16093         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16094         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16095         size in bytes. Store needed elements in wpmax. Use needed size
16096         in bytes for extend_alloca.
16098 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16100         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16101         binutls 2.25, and texinfo 5.2.
16102         * INSTALL: Regenerate.
16103         * sysdeps/nios2/configure: Regenerate.
16104         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16105         * manual/contrib.texi: Update.
16106         * po/be.po: Update.
16107         * po/bg.po: Update.
16108         * po/ca.po: Update.
16109         * po/cs.po: Update.
16110         * po/da.po: Update.
16111         * po/de.po: Update.
16112         * po/el.po: Update.
16113         * po/eo.po: Update.
16114         * po/es.po: Update.
16115         * po/fi.po: Update.
16116         * po/fr.po: Update.
16117         * po/gl.po: Update.
16118         * po/hr.po: Update.
16119         * po/hu.po: Update.
16120         * po/ia.po: Update.
16121         * po/id.po: Update.
16122         * po/it.po: Update.
16123         * po/ja.po: Update.
16124         * po/ko.po: Update.
16125         * po/lt.po: Update.
16126         * po/nb.po: Update.
16127         * po/nl.po: Update.
16128         * po/pl.po: Update.
16129         * po/pt_BR.po: Update.
16130         * po/ru.po: Update.
16131         * po/rw.po: Update.
16132         * po/sk.po: Update.
16133         * po/sl.po: Update.
16134         * po/sv.po: Update.
16135         * po/tr.po: Update.
16136         * po/uk.po: Update.
16137         * po/vi.po: Update.
16138         * po/zh_CN.po: Update.
16139         * po/zh_TW.po: Update.
16141         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16142         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16143         * sysdeps/hppa/dl-irel.h: Remove #warning.
16144         * sysdeps/hppa/entry.h: Provide prototype for
16145         __canonicalize_funcptr_for_compare and cast argument.
16146         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16147         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16148         * sysdeps/hppa/sotruss-lib.c: New file.
16149         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16150         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16151         (atomic_compare_and_exchange_bool_acq): Likewise.
16152         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16153         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16155         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16156         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16157         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16159 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16161         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16162         called function in non-PIC case.
16164 2015-01-31  David S. Miller  <davem@davemloft.net>
16166         * sysdeps/sparc/sparc32/bits/atomic.h
16167         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16168         unlock not after it.
16169         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16170         volatile register usage warnings from the compiler.
16172         * sysdeps/sparc/nptl/sem_init.c: Delete.
16173         * sysdeps/sparc/nptl/sem_post.c: Delete.
16174         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16175         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16176         * sysdeps/sparc/sparc32/sem_init.c: New file.
16177         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16178         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16179         padding explicitly initialized.
16180         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16181         padding for in-semaphore spinlock.
16182         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16183         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16184         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16185         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16186         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16187         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16188         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16189         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16190         version.
16191         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16192         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16194 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16196         [BZ #17801]
16197         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16198         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16199         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16200         New.
16201         (index_AVX_Fast_Unaligned_Load): Likewise.
16202         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16203         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16204         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16205         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16206         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16207         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16208         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16209         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16210         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16212 2015-01-29  Andreas Schwab  <schwab@suse.de>
16214         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16216 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16218         [BZ #17892]
16219         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16221 2015-01-28  Martin Sebor  <msebor@redhat.com>
16223         * math/README.libm-test: Clarify. Add "How to read the test output."
16225 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16227         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16228         Define to 0.
16230 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
16232         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16233         (__HAVE_64B_ATOMICS): Define to 0.
16235 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16237         [BZ #17885]
16238         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16239         value to set as new flag.
16241         [BZ #16576]
16242         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16243         and use _ARCH_PPCSQ instead.
16244         (__ieee754_sqrt): Likewise.
16245         (__ieee754_sqrtf): Likewise.
16246         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16247         _ARCH_PPCSQ is defined.
16248         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16249         fsqrt instruction.
16250         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16251         _ARCH_PPCSQ is defined.
16252         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16253         fsqrts instruction.
16254         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16256 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16258         * iconv/loop.c: Suppress array out of bound warning caused by GCC
16259         bug (GCC BZ #64739).
16261 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
16263         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16264         Mark _retval as used.
16265         (lll_futex_wake_unlock): Likewise.
16266         (lll_futex_timed_wait_requeue_pi): Likewise.
16268         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16269         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16270         register variables.
16272         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16273         libm_hidden_def.
16275         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16276         (__bswap_64): Mark as __always_inline.
16278 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
16280         [BZ #15378]
16281         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16282         when none of the search directories exist.
16284 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16286         [BZ #17869]
16287         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16288         power8 in .machine directive.
16290         [BZ #17868]
16291         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16292         set dependency from opd value.
16294 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16297         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16298         architecture.
16300 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
16302         [BZ #17870]
16303         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16304         with uint64_t.
16305         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16306         (uint64_t) 1.
16307         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16308         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16309         Replace 1UL with (uint64_t) 1.
16310         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16311         int with uint64_t.
16313 2015-01-23  Roland McGrath  <roland@hack.frob.com>
16315         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16316         (if_freenameindex): Likewise.
16318         * resource/getrlimit64.c: Add missing libc_hidden_def.
16320 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
16322         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16323         __label__.
16324         (_FP_FMA): Likewise.
16325         (_FP_TO_INT_ROUND): Likewise.
16326         (_FP_FROM_INT): Likewise.
16328 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16330         [BZ #16418]
16331         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16332         Make code racy and cancel safe.
16334 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
16336         * sysdeps/arm/unwind-resume.h: Fix copyright year.
16337         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16338         attribution.
16340         * pwd/tst-getpw.c: Rewrite.
16342         [BZ #17702]
16343         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16344         (modules-names): Add moddummy1 and moddummy2.
16345         ($(objpfx)tst-rec-dlopen): Define.
16346         * dlfcn/moddummy1.c: New file.
16347         * dlfcn/moddummy2.c: New file.
16348         * dlfcn/tst-rec-dlopen.c: New file.
16349         * elf/dl-cache.c (_dl_load_cache_lookup):
16350         Return char*. Copy result with alloca/strcpy/strdup.
16351         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16352         returns char*. Free cached. If not saving realname
16353         free cached.
16354         * elf/dl-open.c (dl_open_worker): Do not assert that
16355         _r_debug->r_state is RT_CONSISTENT.
16356         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16357         returns char*.
16359 2015-01-21  Torvald Riegel  <triegel@redhat.com>
16360             Carlos O'Donell  <carlos@redhat.com>
16362         [BZ #12674]
16363         * nptl/sem_waitcommon.c: New file.
16364         * nptl/sem_wait.c: Include sem_waitcommon.c.
16365         (__sem_wait_cleanup, do_futex_wait): Remove.
16366         (__new_sem_wait): Adapt.
16367         (__new_sem_trywait): New function.
16368         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16369         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16370         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16371         (sem_timedwait): Adapt.
16372         * nptl/sem_post.c (__new_sem_post): Adapt.
16373         (futex_wake): New function.
16374         (__old_sem_post): Add release MO fence.
16375         * nptl/sem_open.c (sem_open): Adapt.
16376         * nptl/sem_init.c (__new_sem_init): Adapt.
16377         (futex_private_if_supported): New function.
16378         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16379         (__old_sem_getvalue): Add using previous code.
16380         * sysdeps/nptl/internaltypes.h: Adapt.
16381         * nptl/tst-sem13.c (do_test): Adapt.
16382         * nptl/tst-sem11.c (main): Adapt.
16383         * nptl/sem_trywait.c: Remove.
16384         * nptl/DESIGN-sem.txt: Remove.
16385         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16386         (gen-as-const-headers): Remove structsem.sym.
16387         * nptl/structsem.sym: Remove.
16388         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16389         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16390         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16391         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16392         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16393         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16394         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16395         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16396         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16397         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16398         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16399         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16400         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16401         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16402         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16403         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16404         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16405         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16406         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16407         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16408         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16409         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16411 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16413         * INSTALL: Regenerated.
16415         * po/libc.pot: Regenerated.
16417 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16418             Sandra Loosemore  <sandra@codesourcery.com>
16419             Andrew Jenner  <andrew@codesourcery.com>
16420             Joseph Myers  <joseph@codesourcery.com>
16421             Nathan Sidwell  <nathan@codesourcery.com>
16423         * NEWS: Mention new Nios II port.
16424         * sysdeps/nios2/Implies: New file.
16425         * sysdeps/nios2/Makefile: New file.
16426         * sysdeps/nios2/Subdirs: New file.
16427         * sysdeps/nios2/Versions: New file.
16428         * sysdeps/nios2/__longjmp.S: New file.
16429         * sysdeps/nios2/abort-instr.h: New file.
16430         * sysdeps/nios2/backtrace.c: New file.
16431         * sysdeps/nios2/bits/endian.h: New file.
16432         * sysdeps/nios2/bits/fenv.h: New file.
16433         * sysdeps/nios2/bits/link.h: New file.
16434         * sysdeps/nios2/bits/setjmp.h: New file.
16435         * sysdeps/nios2/bsd-_setjmp.S: New file.
16436         * sysdeps/nios2/bsd-setjmp.S: New file.
16437         * sysdeps/nios2/configure: New generated file.
16438         * sysdeps/nios2/configure.ac: New file.
16439         * sysdeps/nios2/crti.S: New file.
16440         * sysdeps/nios2/crtn.S: New file.
16441         * sysdeps/nios2/dl-init.c: New file.
16442         * sysdeps/nios2/dl-machine.h: New file.
16443         * sysdeps/nios2/dl-sysdep.h: New file.
16444         * sysdeps/nios2/dl-tls.h: New file.
16445         * sysdeps/nios2/dl-trampoline.S: New file.
16446         * sysdeps/nios2/gccframe.h: New file.
16447         * sysdeps/nios2/gmp-mparam.h: New file.
16448         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16449         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16450         * sysdeps/nios2/ldsodefs.h: New file.
16451         * sysdeps/nios2/libc-tls.c: New file.
16452         * sysdeps/nios2/libm-test-ulps: New file.
16453         * sysdeps/nios2/machine-gmon.h: New file.
16454         * sysdeps/nios2/math-tests.h: New file.
16455         * sysdeps/nios2/math_private.h: New file.
16456         * sysdeps/nios2/memusage.h: New file.
16457         * sysdeps/nios2/nptl/Makefile: New file.
16458         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16459         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16460         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16461         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16462         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16463         * sysdeps/nios2/nptl/tls.h: New file.
16464         * sysdeps/nios2/preconfigure: New file.
16465         * sysdeps/nios2/s_fma.c: New file.
16466         * sysdeps/nios2/s_fmaf.c: New file.
16467         * sysdeps/nios2/setjmp.S: New file.
16468         * sysdeps/nios2/sfp-machine.h: New file.
16469         * sysdeps/nios2/sotruss-lib.c: New file.
16470         * sysdeps/nios2/stackguard-macros.h: New file.
16471         * sysdeps/nios2/stackinfo.h: New file.
16472         * sysdeps/nios2/start.S: New file.
16473         * sysdeps/nios2/sysdep.h: New file.
16474         * sysdeps/nios2/tls-macros.h: New file.
16475         * sysdeps/nios2/tst-audit.h: New file.
16476         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16477         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16478         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16479         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16480         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16481         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16482         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16483         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16484         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16485         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16486         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16487         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16488         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16489         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16490         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16491         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16492         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16493         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16494         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16495         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16496         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16497         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16498         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16499         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16500         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16501         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16502         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16503         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16504         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16505         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16506         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16507         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16508         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16509         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16510         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16511         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16512         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16513         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16514         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16515         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16516         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16517         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16518         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16519         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16521 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16523         [BZ #17844]
16524         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16525         (getutent): Use weak_alias in non SHARED case
16526         and default_symbol_version in SHARED case.
16527         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16528         (getutent_r, pututline): Likewise.
16529         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16530         (getutid): Likewise.
16531         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16532         (getutid_r): Likewise.
16533         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16534         (getutline): Likewise.
16535         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16536         (getutline_r): Likewise.
16537         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16538         (updwtmp): Likewise.
16540 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16542         [BZ #17848]
16543         * sysdeps/s390/s390-32/memcmp.S
16544         (memcmp_g5): Rename to __memcmp_g5.
16545         * sysdeps/s390/s390-32/memcpy.S
16546         (memcpy_g5): Rename to __memcpy_g5.
16547         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16548         (memcpy_mvcle) Rename to __memcpy_mvcle.
16549         * sysdeps/s390/s390-32/memset.S
16550         (memset_g5): Rename to __memset_g5.
16551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16552         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16553         and use prefixed functions.
16554         * sysdeps/s390/s390-32/multiarch/memcmp.S
16555         (memcmp_z196): Rename to __memcmp_z196.
16556         (memcmp_z10): Rename to __memcmp_z10.
16557         (memcmp): Set alias to __memcmp_g5.
16558         (bcmp): Set alias to __memcmp_g5.
16559         * sysdeps/s390/s390-32/multiarch/memcpy.S
16560         (memcpy_z196): Rename to __memcpy_z196.
16561         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16562         (memcpy_z10): Rename to __memcpy_z10.
16563         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16564         (memcpy): Set alias to __memcpy_g5.
16565         * sysdeps/s390/s390-32/multiarch/memset.S
16566         (memset_z196): Rename to __memset_z196.
16567         Jump to __memset_mvcle instead of memset_mvcle.
16568         (memset_z10): Rename to __memset_z10.
16569         Jump to __memset_mvcle instead of memset_mvcle.
16570         (memset_mvcle) Rename to __memset_mvcle.
16571         (memset): Set alias to __memset_g5.
16572         * sysdeps/s390/s390-64/memcmp.S
16573         (memcmp_z900): Rename to __memcmp_z900.
16574         * sysdeps/s390/s390-64/memcpy.S
16575         (memcpy_z900): Rename to __memcpy_z900.
16576         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16577         (memcpy_mvcle) Rename to __memcpy_mvcle.
16578         * sysdeps/s390/s390-64/memset.S
16579         (memset_z900): Rename to __memset_z900.
16580         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16581         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16582         and use prefixed functions.
16583         * sysdeps/s390/s390-64/multiarch/memcmp.S
16584         (memcmp_z196): Rename to __memcmp_z196.
16585         (memcmp_z10): Rename to __memcmp_z10.
16586         (memcmp): Set alias to __memcmp_z900.
16587         (bcmp): Set alias to __memcmp_z900.
16588         * sysdeps/s390/s390-64/multiarch/memcpy.S
16589         (memcpy_z196): Rename to __memcpy_z196.
16590         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16591         (memcpy_z10): Rename to __memcpy_z10.
16592         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16593         (memcpy): Set alias to __memcpy_z900.
16594         * sysdeps/s390/s390-64/multiarch/memset.S
16595         (memset_z196): Rename to __memset_z196.
16596         Jump to __memset_mvcle instead of memset_mvcle.
16597         (memset_z10): Rename to __memset_z10.
16598         Jump to __memset_mvcle instead of memset_mvcle.
16599         (memset_mvcle) Rename to __memset_mvcle.
16600         (memset): Set alias to __memset_z900.
16602 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16604         [BZ #17748]
16605         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16606         __fesetenv instead of fesetenv.
16608 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16610         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16611         macro.
16613 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16615         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16616         regression on LE.
16618         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16619         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16620         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16621         strncmp-power8 object.
16622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16623         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16624         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16625         * NEWS: Update.
16627 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16628             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16630         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16631         trailing byte check.
16633 2015-01-13  David S. Miller  <davem@davemloft.net>
16635         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16637 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16639         * login/logout.c (logout): Use memset rather than bzero.
16640         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16641         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16642         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16643         (_gethtbyaddr): Likewise.
16644         * locale/programs/simple-hash.c (bcopy): Macro removed.
16646 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16648         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16649         Add strcmp-power8 object.
16650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16651         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16652         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16653         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16654         __strcmp_power8 implementation.
16655         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16656         * NEWS: Update.
16658         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16659         Add strncpy-power8 and stpncpy-power8 objects.
16660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16661         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16662         implementations.
16663         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16664         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16665         __stpncpy_power8 implementation.
16666         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16667         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16668         __strncpy_power8 implementation.
16669         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16670         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16671         * NEWS: Update.
16673         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16674         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16675         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16677         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16678         strncat-power8 object.
16679         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16680         __strcat_power8 implementation.
16681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16682         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16683         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16684         optimized strcat for power8.
16686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16687         strcpy-power8 and stpcpy-power8 objects.
16688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16689         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16690         implementations.
16691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16692         multiarch stpcpy implementation for POWER8.
16693         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16694         multiarch strcpy implementation for POWER8.
16695         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16696         __strcpy_power8 function.
16697         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16698         stpcpy for POWER8.
16699         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16700         strcpy for POWER8.
16701         * NEWS: Update.
16703 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16705         [BZ #16009]
16706         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16707         weights and rules. Use do_xfrm_cached if data fits in cache,
16708         do_xfrm otherwise.  Moved former main loop to...
16709         * (do_xfrm_cached): New function.
16710         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16711         find_idx, find_position and stack_push.
16712         * (find_idx): New function.
16713         * (find_position): Likewise.
16714         * localedata/sort-test.sh: Added test run for do_xfrm.
16715         * localedata/xfrm-test.c (main): Added command line option
16716         -nocache to run the test with strings that are too large for
16717         the STRXFRM cache.
16719 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16721         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16722         variable to lll_futex_wake call, not the value itself.
16724 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16726         [BZ #17803]
16727         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16728         twom64.  Adjust value to 0x1p-64L.
16729         (__scalblnl): Only return standard underflowing result for K <=
16730         -64 not K <= -63; adjust exponent for underflowing result by 64
16731         not 63.
16732         * math/libm-test.inc (scalbn_test_data): Add more tests.
16733         (scalbln_test_data): Likewise.
16735         [BZ #17834]
16736         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16737         0x1p63L.
16738         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16739         not HX.
16740         * math/libm-test.inc (scalbn_test_data): Add more tests.
16741         (scalbln_test_data): Likewise.
16743 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16744             Stefani Seibold  <stefani@seibold.net>
16746         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16747         (sysdep_routines): Add dl-vdso here, ...
16748         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16749         (sysdep_routines): ... not here.
16750         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16751         fallback when vDSO is not presented.
16752         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16753         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16754         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16755         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16756         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16757         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16758         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16759         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16760         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16761         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16762         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16763         fallback configurable symbol when vDSO is not available.
16764         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16765         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16766         be able to redefine fallback symbol when vDSO is not available.
16767         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16768         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16770 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16772         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16773         (TLS_INIT_TP): Add tm_capable initialization.
16774         (TLS_DEFINE_INIT_TP): Likewise.
16775         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16776         TCB.
16777         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16778         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16779         calculation.
16780         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16781         transactoion is lock elision is built and TCB tm_capable is set.
16782         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16784         (INTERNAL_SYSCALL_NCS): Likewise.
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16786         (INTERNAL_SYSCALL_NCS): Likewise.
16787         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16789         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16790         for powerpc.
16791         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16792         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16793         and remove it for 32 bits case.
16794         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16796         initialization.
16797         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16798         Disable lock elision with rdlocks if elision is not available.
16800         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16801         (sysdep_routines): Add lock elision objects.
16802         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16803         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16804         [pthread_mutex_t] (__elision): Add field.
16805         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16806         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16807         elision definitions for powerpc.
16808         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16809         implementation of lock elision for powerpc.
16810         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16811         implementation of timed lock elision for powerpc.
16812         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16813         implementation of trylock with lock elision for powerpc.
16814         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16815         implementaion of unlock for lock elision for powerpc.
16816         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16817         automatic enable lock elision for mutexes.
16818         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16819         transaction execution definitions for powerpc.
16820         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16821         definitions.
16822         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16823         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16824         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16825         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16826         * NEWS: Update.
16828 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16830         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16831         for #include of <shm-directory.h>.
16833 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16835         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16836         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16838 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16840         [BZ #17791]
16841         * NEWS: Mention bug fix.
16842         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16843         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16844         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16846 2015-01-09  Torvald Riegel <triegel@redhat.com>
16848         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16850 2015-01-09  Torvald Riegel <triegel@redhat.com>
16852         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16854 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16856         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16857         pointer and cast to uintptr_t.
16859 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16861         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16862         removed.
16863         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16865 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16867         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16868         of 0.
16870 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16872         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16873         <nptl/pthreadP.h> instead.
16874         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16876         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16877         already defined.
16878         [__SIGRTMIN] (init): Function removed.
16879         [__SIGRTMIN] (initialized): Variable removed.
16880         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16881         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16882         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16883         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16884         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16885         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16886         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16887         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16888         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16889         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16890         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16891         * sysdeps/nptl/allocrtsig.c: New file.
16892         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16893         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16894         * sysdeps/generic/testrtsig.h: File removed.
16896         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16897         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16899         * nptl/nptl-init.c (pthread_functions): Conditionalize
16900         .ptr__nptl_setxid initialization on [SIGSETXID].
16902         * sysdeps/nptl/sys/procfs.h: New file.
16903         * nptl_db/Makefile (headers): Add it.
16904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16906         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16907         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16908         * nptl/pthread_attr_setaffinity.c: Include it.
16909         * nptl/pthread_setattr_default_np.c: Likewise.
16910         * nptl/check-cpuset.h: New file.
16912 2015-01-08  Richard Henderson  <rth@redhat.com>
16914         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16915         (CFLAGS-tst-execstack-prog.c): Likewise.
16916         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16918 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16919             Sandra Loosemore  <sandra@codesourcery.com>
16920             Andrew Jenner  <andrew@codesourcery.com>
16921             Joseph Myers  <joseph@codesourcery.com>
16922             Nathan Sidwell  <nathan@codesourcery.com>
16924         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16925         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16926         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16927         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16928         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16929         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16930         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16931         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16932         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16933         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16934         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16935         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16936         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16937         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16938         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16939         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16940         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16942 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16944         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16945         timespec struct member in syscall macro.
16946         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16947         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16948         first timeval struct member in syscall macro.
16949         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16951 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16953         [BZ #17748]
16954         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16955         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16956         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16957         __feupdateenv and define as weak alias of __feupdateenv.  Use
16958         libm_hidden_weak.
16959         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16960         libm_hidden_def.
16961         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16962         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16963         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16964         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16965         libm_hidden_def.
16966         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16967         __feupdateenv and define as weak alias of __feupdateenv.  Use
16968         libm_hidden_weak.
16969         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16970         libm_hidden_def.
16971         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16972         __feupdateenv and define as weak alias of __feupdateenv.  Use
16973         libm_hidden_weak.
16974         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16975         libm_hidden_def.
16976         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16977         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16978         (__feupdateenv): Likewise.
16979         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16980         __feupdateenv and define as weak alias of __feupdateenv.  Use
16981         libm_hidden_weak.
16982         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16983         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16984         libm_hidden_def.
16985         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16986         function.
16987         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16988         libm_hidden_def.
16989         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16990         __feupdateenv instead of feupdateenv.
16991         (default_libc_feupdateenv_test): Likewise.
16992         (libc_feresetround_ctx): Likewise.
16994 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16996         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16997         prototype.
16999 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17001         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17002         COLL_SYM in a couple of places to avoid uninitialized variable
17003         wanings on tilegx gcc 4.8.2.
17005 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17007         * sysdeps/aarch64/strcpy.S: New file.
17008         * sysdeps/aarch64/stpcpy.S: New file.
17009         * NEWS: Updated.
17011 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17013         * sysdeps/aarch64/strrchr.S: New file.
17014         * NEWS: Updated.
17016 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17018         [BZ #17658]
17019         * stdlib/setenv.c: Fix memory leak when setting large,
17020         duplicate string.
17022 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17024         [BZ #17273]
17025         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17026         and tabs from buffer before parsing fstab entry.
17027         * misc/tst-mntent.c (main): Add test for mount entry with
17028         trailing spaces and tabs.
17030 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17032         [BZ #17748]
17033         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17034         * math/fesetround.c (fesetround): Rename to __fesetround and
17035         define as weak alias of __fesetround.  Use libm_hidden_weak.
17036         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17037         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17038         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17039         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17040         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17041         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17042         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17043         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17044         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17045         __fesetround_inline.
17046         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17047         __fesetround_inline instead of __fesetround.
17048         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17049         __fesetround and define as weak alias of __fesetround.  Use
17050         libm_hidden_weak.  Call __fesetround_inline instead of
17051         __fesetround.
17052         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17053         __fesetround and define as weak alias of __fesetround.  Use
17054         libm_hidden_weak.
17055         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17056         Likewise.
17057         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17058         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17059         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17060         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17061         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17062         __fesetround and define as weak alias of __fesetround.  Use
17063         libm_hidden_weak.
17064         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17065         __fesetround instead of fesetround.
17066         (default_libc_feholdexcept_setround): Likewise.
17067         (libc_feholdsetround_ctx): Likewise.
17068         (libc_feholdsetround_noex_ctx): Likewise.
17070         [BZ #17748]
17071         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17072         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17073         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17074         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17075         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17076         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17077         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17078         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17079         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17080         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17081         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17082         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17083         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17084         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17085         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17086         libm_hidden_def.
17087         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17088         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17089         Likewise.
17090         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17091         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17092         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17093         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17094         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17095         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17096         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17097         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17098         __fesetenv instead of fesetenv.
17099         (libc_feresetround_noex_ctx): Likewise.
17100         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17101         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17102         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17103         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17104         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17105         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17106         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17107         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17108         (__feupdateenv): Likewise.
17109         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17110         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17111         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17112         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17114 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17116         [BZ #17806]
17117         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17118         addresses have been freed.
17120 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17122         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17123         and nservall.
17125 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17127         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17128         Clean up check_pf allocation pattern. addresses
17130 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17132         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17133         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17134         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17135         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17136         * nptl/pthread_join.c (pthread_join): Likewise.
17137         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17138         * sysdeps/posix/waitid.c (__waitid): Likewise.
17139         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17140         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17141         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17142         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17143         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17144         Likewise.
17145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17146         (__libc_pread64): Likewise.
17147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17148         (__libc_pwrite): Likewise.
17149         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17150         (__libc_pwrite64): Likewsie.
17151         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17152         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17153         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17154         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17155         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17156         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17157         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17159         Likewise.
17160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17161         (__libc_pread64): Likewise.
17162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17163         Likewise.
17164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17165         (__libc_pwrite64): Likewise.
17166         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17167         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17168         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17169         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17170         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17171         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17172         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17173         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17174         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17175         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17176         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17177         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17178         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17179         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17180         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17181         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17182         Likewise.
17184 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17186         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17187         (CFLAGS-test-double.c): Likewise.
17188         (CFLAGS-test-ldouble.c): Likewise.
17189         (CPPFLAGS-test-ifloat.c): Likewise.
17190         (CPPFLAGS-test-idouble.c): Likewise.
17191         (CPPFLAGS-test-ildoubl.c): Likewise.
17192         (CFLAGS-test-test-fenv.c): Remove variable.
17193         (CFLAGS-test-misc.c): Likewise.
17195 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17197         [BZ #17797]
17198         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17199         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17200         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17201         CLOCKS_PER_SEC == 1000000.
17202         * time/clocktest.c (main): Replace %ld with %jd and cast to
17203         intmax_t.
17205 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17207         * sysdeps/generic/unwind-resume.h: New file.
17208         * sysdeps/gnu/unwind-resume.c: Include it.
17209         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17210         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17211         argument list.
17212         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17213         global rather than static.
17214         (_Unwind_Resume): Update user.
17215         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17216         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17217         rather than static.  Add __attribute__ ((cold)).
17218         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17219         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17220         * sysdeps/arm/arm-unwind-resume.S: New file.
17221         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17222         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17223         * sysdeps/arm/Makefile [$(subdir) = csu]
17224         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17225         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17226         Add rt-arm-unwind-resume.
17227         [$(subdir) = nptl]
17228         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17229         Add pt-arm-unwind-resume.
17230         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17231         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17233 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17235         [BZ #17748]
17236         * include/fenv.h (__feholdexcept): Declare.  Use
17237         libm_hidden_proto.
17238         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17239         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
17240         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17241         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17242         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17243         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17244         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17245         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17246         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17247         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17248         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17249         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17250         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17251         (feholdexcept): Likewise.
17252         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17253         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17254         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17255         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17256         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17257         __feholdexcept instead of feholdexcept.
17258         (default_libc_feholdexcept_setround): Likewise.
17260 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17262         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17263         to avoid using stl/str to align destination.
17265 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17267         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17269 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17271         [BZ #17796]
17272         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17273         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17274         Define as weak alias not strong alias.
17276 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
17278         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17279         bltzal with addiupc.
17280         (RTLD_START): Ditto.
17282 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
17284         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17285         for __vdso_* functions in declarations.
17286         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17287         definitions.
17288         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17289         INTERNAL_VSYSCALL): Use struct return types to check for error.
17291         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17292         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17293         function with cast from llround().
17294         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17295         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17296         Define.
17298 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
17300         [BZ #17793]
17301         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17302         Define as weak alias not strong alias.
17304         [BZ #17635]
17305         * ctype/ctype-c99.c: New file.  isblank implementation moved from
17306         ...
17307         * ctype/ctype-extn.c: ... here.
17308         (__isblank_l): Move to ...
17309         * ctype/ctype-c99_l.c: ... here.  New file.
17310         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17311         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17312         Remove variable.
17313         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17314         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17315         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17316         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17317         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17319         [BZ #17777]
17320         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17321         (posix_fadvise64): Define as weak alias not strong alias.
17322         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17323         (posix_fallocate64): Likewise.
17324         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17325         Remove variable.
17326         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17327         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17328         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17329         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17330         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17332 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
17334         [BZ #16191]
17335         * NEWS: Mention bug fix.
17336         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17337         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17338         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17339         (HOST_STACK_END_ADDR): Likewise.
17341 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17343         [BZ #17748]
17344         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
17345         * math/fegetround.c (fegetround): Rename to __fegetround and
17346         define as weak alias of __fegetround.  Use libm_hidden_weak.
17347         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17348         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17349         * sysdeps/arm/fegetround.c (fegetround): Likewise.
17350         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17351         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17352         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17353         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17354         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17355         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17356         Undefine after rather than before function definition; use
17357         parentheses around function name in definition.
17358         (__fegetround): Also undefine macro after function definition.
17359         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17360         __fegetround and define as weak alias of __fegetround.  Use
17361         libm_hidden_weak.  Do not undefine as macro.
17362         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17363         Likewise.
17364         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17365         __fegetround and define as weak alias of __fegetround.  Use
17366         libm_hidden_weak.
17367         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17368         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17369         * sysdeps/tile/math_private.h (__fegetround): New inline function.
17370         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17371         __fegetround and define as weak alias of __fegetround.  Use
17372         libm_hidden_weak.
17373         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17374         __fegetround instead of fegetround.
17376         [BZ #17782]
17377         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17378         Condition macro definition on [__USE_MISC].
17380         [BZ #17781]
17381         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17382         (struct sigaction): Change type of sa_flags field to int.
17384         [BZ #17780]
17385         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17386         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17387         __glibc_reserved0.
17389         * nptl/version.c (banner): Use single year in copyright notice.
17391         * NEWS: Update copyright dates.
17392         * catgets/gencat.c (print_version): Likewise.
17393         * csu/version.c (banner): Likewise.
17394         * debug/catchsegv.sh: Likewise.
17395         * debug/pcprofiledump.c (print_version): Likewise.
17396         * debug/xtrace.sh (do_version): Likewise.
17397         * elf/ldconfig.c (print_version): Likewise.
17398         * elf/ldd.bash.in: Likewise.
17399         * elf/pldd.c (print_version): Likewise.
17400         * elf/sotruss.sh: Likewise.
17401         * elf/sprof.c (print_version): Likewise.
17402         * iconv/iconv_prog.c (print_version): Likewise.
17403         * iconv/iconvconfig.c (print_version): Likewise.
17404         * locale/programs/locale.c (print_version): Likewise.
17405         * locale/programs/localedef.c (print_version): Likewise.
17406         * login/programs/pt_chown.c (print_version): Likewise.
17407         * malloc/memusage.sh (do_version): Likewise.
17408         * malloc/memusagestat.c (print_version): Likewise.
17409         * malloc/mtrace.pl: Likewise.
17410         * manual/libc.texinfo: Likewise.
17411         * nptl/version.c (banner): Likewise.
17412         * nscd/nscd.c (print_version): Likewise.
17413         * nss/getent.c (print_version): Likewise.
17414         * nss/makedb.c (print_version): Likewise.
17415         * posix/getconf.c (main): Likewise.
17416         * scripts/test-installation.pl: Likewise.
17417         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17419 2015-01-02  Will Newton  <will.newton@linaro.org>
17421         * sysdeps/arm/armv7/configure: Removed.
17422         * sysdeps/arm/armv7/configure.ac: Likewise.
17424 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17426         * All files with FSF copyright notices: Update copyright dates
17427         using scripts/update-copyrights.
17428         * intl/plural.c: Regenerated.
17429         * locale/programs/charmap-kw.h: Likewise.
17430         * locale/programs/locfile-kw.h: Likewise.
17432 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17434         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17436 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17438         [BZ #17748]
17439         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17440         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17441         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17442         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17443         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17444         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17445         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17446         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17447         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17448         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17449         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17450         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17451         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17452         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17453         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17454         libm_hidden_def.
17455         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17456         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17457         Likewise.
17458         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17459         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17460         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17461         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17462         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17463         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17464         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17465         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17466         __fegetenv instead of fegetenv.
17467         (libc_feholdsetround_noex_ctx): Likewise.
17469 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17471         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17472         (Elf_MIPS_ABIFlags_v0): New structure.
17473         (EF_MIPS_FP64): Define.
17474         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17475         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17476         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17477         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17478         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17479         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17480         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17481         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17482         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17483         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17484         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17485         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17486         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17487         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17488         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17489         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17490         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17491         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17492         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17493         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17494         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17495         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17496         field.
17497         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17498         EF_MIPS_FP64.
17499         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17500         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17501         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17502         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17503         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17504         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17505         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17506         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17507         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17508         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17509         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17510         record the current FP ABI extension.
17511         (mips-mode-switch): Define to show if kernel headers support mode
17512         switching.
17513         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17514         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17515         supported SYSV ABI version to 3.
17516         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17517         feature.
17519 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17520             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17522         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17523         path.
17524         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17526 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17528         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17529         __fegetround and redefine to call __fegetround.  Remove condition
17530         on [!__NO_MATH_INLINES].
17531         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17532         function.
17533         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17534         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17535         Remove macro.
17536         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17537         instead of <fenv_libc.h>.
17538         (__llrintl): Call fegetround instead of __fegetround.
17539         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17540         instead of <fenv_libc.h>.
17541         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17542         (__lrintl): Call fegetround instead of __fegetround.
17543         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17544         instead of <fenv_libc.h>.
17545         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17546         (__rintl): Call fegetround instead of __fegetround.
17548 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17550         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17551         arrays.
17553 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17555         [BZ #17775]
17556         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17557         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17558         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17560 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17562         * sysdeps/i386/tls-macros.h: Include <features.h>.
17563         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17564         (TLS_IE): Likewise.
17565         (TLS_LD): Likewise.
17566         (TLS_GD): Likewise.
17567         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17568         define for GCC >= 5.0.
17570 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17572         * math/test-fenv.c (test_single_exception, set_single_exc,
17573         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17574         feexcp_mask_test, feenable_test, fe_single_test): Add
17575         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17576         case where they are not used.
17577         * math/libm-test.inc: Likewise.
17578         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17579         unused in the absence of FP rounding/exception support.
17580         * stdio-common/tst-printf-round.c: Likewise.
17581         * stdlib/tst-strtod-round.c: Likewise.
17582         * stdlib/tst-strtod-underflow.c: Likewise.
17584 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17586         [BZ #17723]
17587         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17588         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17589         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17590         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17591         libm_hidden_weak.
17592         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17593         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17594         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17595         libm_hidden_def.
17596         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17597         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17598         libm_hidden_weak.
17599         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17600         Likewise.
17601         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17602         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17603         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17604         libm_hidden_weak.
17605         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17606         libm_hidden_def.
17607         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17608         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17609         (__feraiseexcept): Likewise.
17610         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17611         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17612         libm_hidden_weak.
17613         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17614         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17615         libm_hidden_def.
17616         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17617         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17618         Use libm_hidden_def.
17619         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17620         libm_hidden_def.
17621         (feraiseexcept): Define as weak not strong alias.  Use
17622         libm_hidden_weak.
17623         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17624         New inline function.  Factored out of ...
17625         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17626         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17627         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17628         feraiseexcept.
17629         * math/w_acos.c (__acos): Likewise.
17630         * math/w_asin.c (__asin): Likewise.
17631         * math/w_ilogb.c (__ilogb): Likewise.
17632         * math/w_j0.c (y0): Likewise.
17633         * math/w_j1.c (y1): Likewise.
17634         * math/w_jn.c (yn): Likewise.
17635         * math/w_log.c (__log): Likewise.
17636         * math/w_log10.c (__log10): Likewise.
17637         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17638         * sysdeps/aarch64/fpu/math_private.h
17639         (libc_feupdateenv_test_aarch64): Likewise.
17640         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17641         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17642         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17643         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17644         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17645         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17646         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17647         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17648         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17649         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17651 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17653         [BZ #17732]
17654         * io/test-utime.c (main): Replace %ld with %jd and cast to
17655         intmax_t.
17656         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17657         * nptl/tst-mutex5.c: Include <stdint.h>.
17658         (do_test): Replace %ld with %jd and cast to intmax_t.
17659         * posix/tst-regex.c (run_test): Likewise.
17660         (run_test_backwards): Likewise.
17661         * rt/tst-clock.c: Include <stdint.h>.
17662         (clock_test): Replace %ld with %jd and cast to intmax_t.
17663         * rt/tst-cpuclock1.c: Include <stdint.h>.
17664         (do_test): Replace %lu with %ju and cast to uintmax_t.
17665         * rt/tst-cpuclock2.c: Include <stdint.h>.
17666         (do_test): Replace %lu with %ju and cast to uintmax_t.
17667         * rt/tst-mqueue1.c: Include <stdint.h>.
17668         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17669         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17670         intmax_t.
17671         * rt/tst-mqueue4.c (do_test): Likewise.
17672         * rt/tst-timer4.c: Include <stdint.h>.
17673         (check_ts): Replace %ld with %jd and cast to intmax_t.
17674         (do_test): Likewise.
17675         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17676         and cast to intmax_t.
17677         * sysdeps/pthread/tst-timer.c (main): Likewise.
17678         * time/clocktest.c (main): Likewise.
17679         * time/tst-posixtz.c (do_test): Likewise.
17680         * timezone/tst-timezone.c (main): Likewise.
17682 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17683             H.J. Lu  <hongjiu.lu@intel.com>
17685         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17686         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17687         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17688         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17689         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17690         version if bit_Fast_Unaligned_Load is set.
17691         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17692         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17693         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17694         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17695         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17696         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17697         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17698         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17699         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17700         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17701         to 4.
17702         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17703         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17704         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17705         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17707 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17709         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17710         instead of #if to avoid a Wundef warning.
17711         * stdlib/tst-limits.c (do_test): Likewise.
17713         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17714         parallel other exception macros.
17715         (fegetenv): Convert from macro to extern inline so that it applies
17716         retroactively to inline functions already seen by the compiler.
17717         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17719         * posix/Makefile (before-compile): Use $(objpfx) for
17720         posix-conf-vars-def.h.
17722 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17724         * posix/getconf.c (main): Use size_t for type of I.
17725         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17726         NSPEC.
17728         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17729         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17730         * posix/posix-envs.def: Likewise.
17731         * sysdeps/posix/sysconf.c: Likewise.
17732         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17733         (specs): Remove array.
17734         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17735         array.
17737         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17738         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17739         (__sysconf): Use CONF_IS_* macros.
17741         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17742         ($(objpfx)posix-conf-vars-def.h): New target.
17743         * posix/posix-conf-vars.list: New file.
17744         * posix/posix-conf-vars.h: New file.
17745         * posix/confstr.c: Include posix-conf-vars.h.
17746         (confstr): Use CONF_IS_* macros.
17747         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17748         CONF_IS_* macros.
17749         * scripts/gen-posix-conf-vars.awk: New file.
17751 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17753         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17754         fegetround): Add no-op macros to avoid linknamespace issues.
17756         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17757         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17759         * sysdeps/unix/sysv/linux/tile/sysdep.h
17760         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17761         assembly-specific section to avoid a redefinition warning.
17763         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17764         long before casting to pointer to avoid a cast warning.
17766 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17768         * sysdeps/tile/tilegx/Implies: New file.
17770 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17772         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17774 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17776         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17778 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17780         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17781         not define.
17782         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17783         <kernel-features.h>.
17784         (__utimes) [__NR_utimes]: Make code unconditional.
17785         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17786         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17787         (__ASSUME_UTIMES): Do not undefine.
17788         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17789         (__ASSUME_UTIMES): Likewise.
17790         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17791         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17792         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17793         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17795 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17797         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17799 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17801         [BZ #17747]
17802         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17803         alias to weak alias for j0l, y0l.
17804         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17805         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17807         [BZ #17746]
17808         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17809         conversion.
17811 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17813         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17814         to zero if not already defined.
17816 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17818         [BZ #17724]
17819         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17820         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17821         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17822         (char *) casts added.
17823         * sysdeps/ieee754/k_standardf.c: New file.
17824         * sysdeps/ieee754/k_standardl.c: Likewise.
17825         * math/Makefile (libm-support): Remove k_standard.
17826         (libm-calls): Add k_standard.
17828 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17830         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17831         Optimize to avoid an unnecessary FPCR read.
17833 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17835         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17836         Optimize to reduce FPCR/FPSR accesses.
17838 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17840         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17841         Call libc_fetestexcept_aarch64.
17843 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17845         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17846         Call libc_fesetround_aarch64.
17848 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17850         [BZ #17733]
17851         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17852         (__bind): Do not define as weak alias.
17853         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17854         define.
17855         (__getsockname): Do not define as weak alias.
17857 2014-12-22  Will Newton  <will.newton@linaro.org>
17859         * manual/install.texi: Document that we require bison 2.7
17860         or above.
17861         * INSTALL: Regenerate.
17862         * configure.ac: Use AC_CHECK_PROG_VER instead of
17863         AC_PATH_PROG when checking for bison and check for
17864         version 2.7 or above.
17865         * configure: Regenerate.
17867 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17869         [BZ #17745]
17870         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17871         * sysdeps/tile/ffsll.c (ffsll): To here.
17873         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17875 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17877         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17878         if not defined.
17879         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17880         definition.
17881         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17882         hidden ___tls_get_addr.
17883         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17884         hidden __tls_get_addr.
17885         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17886         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17887         Likewise.
17889 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17891         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17892         _dl_init call.
17894 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17896         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17897         from "call _dl_init@PLT".
17898         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17900 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17902         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17903         guarantees.
17905 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17907         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17909 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17911         [BZ #17744]
17912         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17913         strnlen.
17915 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17917         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17918         of multu on MIPSr6.
17919         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17920         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17921         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17922         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17923         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17925 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17927         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17928         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17929         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17930         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17931         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17932         mips32r6/mips64r6.
17933         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17935 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17937         * string/strncat.c (STRNCAT): Simplify implementation.
17939 2014-12-19  David S. Miller  <davem@davemloft.net>
17941         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17942         access the quad as both a long double and as a series of 4 words.
17944         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17945         link_map->l_info array access.
17947 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17949         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17951         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17952         * math/atest-exp2.c (TIMEOUT): Likewise.
17953         * math/atest-sincos.c (TIMEOUT): Likewise.
17955 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17957         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17958         -Wno-error with -fno-builtin-lround.
17960 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17962         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17963         Contains futex constants and functions moved over from ...
17964         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17965         <lowlevellock-futex.h>.
17966         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17967         (lll_timedwait_tid): Add comments and parentheses around macro
17968         arguments.
17970 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17972         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17973         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17974         (__lll_private_flag): Remove.
17975         (lll_futex_wait): Likewise.
17976         (lll_futex_timed_wait): Likewise.
17977         (lll_futex_wake): Likewise.
17978         (lll_futex_requeue): Likewise.
17979         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17980         (__lll_timedwait_tid): Spell out argument names.
17981         (lll_timedwait_tid): Add comments and parentheses around macro
17982         arguments.
17983         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17984         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17986 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17988         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17989         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17990         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17991         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17992         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17993         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17994         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17995         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17996         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17997         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17998         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17999         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18000         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18001         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18002         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18003         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18004         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18005         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18006         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18008 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18010         * sysdeps/x86_64/x32/Makefile: New file.
18012 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18014         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18015         1L with (mp_limb_t) 1.
18017 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18019         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18020         * nptl/libc_pthread_init.c: ... here.
18021         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18022         * nptl/register-atfork.c: ... here.
18024         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18025         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18026         Use assert_perror to check its return value.
18027         (__gai_create_helper_thread): Likewise.
18029         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18031         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18033 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18035         [BZ #17725]
18036         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18037         __profil_counter.
18038         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18039         Likewise.
18040         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18041         Likewise.
18042         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18043         Likewise.
18044         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18045         (profil_counter): Likewise.
18046         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18047         (profil_counter): Likewise.
18048         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18049         Likewise.
18050         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18051         Likewise.
18052         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18053         (profil_counter): Likewise.
18054         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18055         Likewise.
18056         [!__profil_counter] (profil_counter): Define as weak alias of
18057         __profil_counter.
18058         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18059         (profil_counter): Rename to __profil_counter.
18060         [!__profil_counter] (profil_counter): Define as weak alias of
18061         __profil_counter.
18062         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18063         (profil_counter): Rename to __profil_counter.
18064         [!__profil_counter] (profil_counter): Define as weak alias of
18065         __profil_counter.
18066         * sysdeps/posix/profil.c: Update comment referring to
18067         profil_counter.
18068         (__profil): Use __profil_counter instead of profil_counter.
18069         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18070         __profil_counter.  Use __profil_counter_ushort and
18071         __profil_counter_uint in definitions.
18072         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18073         instead of profil_counter_uint and profil_counter_ushort.
18075         [BZ #17722]
18076         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18077         define as weak alias of __inet_makeaddr.
18078         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18079         as weak alias of __inet_addr.
18080         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18081         as weak alias of __inet_pton.  Use libc_hidden_weak.
18082         * include/arpa/inet.h (__inet_pton): Declare.  Use
18083         libc_hidden_proto.
18084         (inet_makeaddr): Don't use libc_hidden_proto.
18085         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18086         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18087         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18088         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18089         Remove variable.
18090         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18091         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18093 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18095         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18097 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18099         * stdio-common/bug-vfprintf-nargs.c (do_test):
18100         Cast value to intptr_t to avoid format warning
18101         for usage with PRIdPTR printing macro.
18103 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18105         * libio/tst-widetext.c (do_test):
18106         Use format type %td instead of %Zd for ptrdiff_t
18107         in order to avoid format warning.
18109 2014-12-17  Andreas Schwab  <schwab@suse.de>
18111         * nscd/mem.c (gc): Add size_t cast to match printf format.
18113 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18115         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18116         (init): Apply PTR_MANGLE to pointers before storing them.
18117         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18118         before using them.
18120 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18122         [BZ #17719]
18123         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18124         define as weak alias of __memrchr.
18125         (__memrchr): Do not define as strong alias of memrchr.
18126         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18127         Remove variable.
18128         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18129         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18130         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18132         [BZ #17717]
18133         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18134         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18135         (if_indextoname): Rename to __if_indextoname and define as weak
18136         alias of __if_indextoname.  Use libc_hidden_weak.
18137         (if_freenameindex): Rename to __if_freenameindex and define as
18138         weak alias of __if_freenameindex.
18139         (if_nameindex): Rename to __if_nameindex and define as weak alias
18140         of __if_nameindex.
18141         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18142         __if_nametoindex and define as weak alias of __if_nametoindex.
18143         Use libc_hidden_weak.
18144         (if_freenameindex): Rename to __if_freenameindex and define as
18145         weak alias of __if_freenameindex.
18146         (if_nameindex): Rename to __if_nameindex and define as weak alias
18147         of __if_nameindex.
18148         (if_indextoname): Rename to __if_indextoname and define as weak
18149         alias of __if_indextoname.  Use libc_hidden_weak.
18150         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18151         __if_nametoindex and define as weak alias of __if_nametoindex.
18152         Use libc_hidden_weak.
18153         (if_freenameindex): Rename to __if_freenameindex and define as
18154         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18155         (if_nameindex_netlink): Use __if_freenameindex instead of
18156         if_freenameindex.
18157         (if_nameindex): Rename to __if_nameindex and define as weak alias
18158         of __if_nameindex.  Use libc_hidden_weak.
18159         (if_indextoname): Rename to __if_indextoname and define as weak
18160         alias of __if_indextoname.  Use libc_hidden_weak.
18161         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18162         libc_hidden_proto.
18163         [!_ISOMAC] (__if_freenameindex): Likewise.
18164         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18165         if_nametoindex.
18166         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18167         variable.
18168         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18169         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18170         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18171         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18172         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18173         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18174         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18176         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18177         Remove variable.
18178         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18179         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18181 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18183         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18184         subscript above bounds'
18186         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18187         bounds.
18189 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18191         * libio/tst-fopenloc.c: Use test-skeleton.c.
18193         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18194         (entry): Rename to ITEM.
18195         (do_test, comp): Adjust.
18197         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18199 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18201         * string/tester.c: Include <libc-internal.h>.
18202         (test_memset): Ignore -Wmemset-transposed-args.
18204 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18206         * misc/tst-mntent2.c (do_test): Fix warning.
18208 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18210         * elf/tst-unique4lib.cc(a): Mark as used.
18212 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18214         [BZ #17630]
18215         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18216         names.
18218 2014-12-16  Allan McRae  <allan@archlinux.org>
18220         * stdio-common/Makefile (tests): Re-add bug26.
18222 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18224         [BZ #17657]
18225         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18226         static array.
18228 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
18230         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18231         (__lll_lock_wait): Likewise.
18232         (__lll_timedlock_wait): Likewise.
18233         (__lll_timedwait_tid): Likewise.
18234         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18235         (__lll_robust_timedlock_wait): Likewise.
18236         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18237         (lll_cond_trylock): Likewise.
18238         (__lll_lock): Likewise.
18239         (__lll_robust_lock): Likewise.
18240         (__lll_cond_lock): Likewise.
18241         (lll_robust_cond_lock): Likewise.
18242         (__lll_timedlock): Likewise.
18243         (__lll_robust_timedlock): Likewise.
18244         (__lll_unlock): Likewise.
18245         (__lll_robust_unlock): Likewise.
18246         (lll_wait_tid): Likewise.
18247         (lll_timedwait_tid): Likewise.
18249 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18251         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18253 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18255         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18257 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18259         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18260         * stdio-common/tst-sprintf.c: Likewise.
18262 2014-12-15  Torvald Riegel  <triegel@redhat.com>
18264         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18266 2014-12-15  Jeff Law  <law@redhat.com>
18268         [BZ #16617]
18269         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18270         on the heap.  (CVE-2012-3406)
18271         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18272         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
18273         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18275 2014-12-15  Will Newton  <will.newton@linaro.org>
18277         * manual/install.texi: Bump required version of texinfo
18278         to 4.7 from 4.5.
18279         * INSTALL: Regenerated.
18280         * configure.ac: Check for makeinfo version 4.7 and above.
18281         * configure: Regenerated.
18283 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18285         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18286         PREFIX, string constant to insert between directory and name.
18287         * sysdeps/posix/shm_open.c: Update caller.
18288         * sysdeps/posix/shm_unlink.c: Likewise.
18289         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18290         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18291         (SEM_SHM_PREFIX): New macro.
18292         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18293         [$(have-thread-library) = no].
18294         * nptl/Makefile (libpthread-routines): Add shm-directory.
18295         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18296         * sysdeps/nptl/shm-directory.h: New file.
18297         * sysdeps/posix/shm-directory.c
18298         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18299         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18300         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18301         INTERNAL_SYSCALL.
18302         (__where_is_shmfs): Function removed.
18303         (mountpoint, defaultmount, defaultdir, __namedsem_once):
18304         Variables removed.
18305         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18306         Use SHM_GET_NAME.
18307         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
18309         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18310         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18311         unconditional for use inside libpthread.
18312         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18314 2014-12-12  Roland McGrath  <roland@hack.frob.com>
18316         * nptl/pthread_getaffinity.c: New file.
18317         * nptl/pthread_setaffinity.c: New file.
18318         * nptl/pthread_getname.c: New file.
18319         * nptl/pthread_setname.c: New file.
18321         * nptl/pthread_create.c (START_THREAD_DEFN)
18322         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18324 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18325             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18327         * resolv/res_send.c (send_vc): Disable warning resplen may
18328         be used uninitialized.
18330 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18332         * nptl/tst-mutex6.c
18333         (ATTR_NULL): New define checks ATTR against NULL.
18334         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18335         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18337 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
18339         [BZ #17581]
18340         * malloc/hooks.c
18341         (mem2mem_check): Revert my previous change.
18342         (malloc_check_get_size): Revert my previous change.
18343         (mem2chunk_check): Revert my previous change.
18345 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18347         * sysdeps/posix/shm-directory.c: New file.
18348         * sysdeps/posix/shm-directory.h: New file.
18349         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18350         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18351         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
18352         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18353         Transmute EPERM to EACCES.
18354         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18355         from ...
18356         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
18357         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18359 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18361         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18362         pointer and cast to uintptr_t.
18363         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18364         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18365         Add cast to avoid warning.
18366         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18368 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18370         * nptl/semaphore.h: Move to ...
18371         * sysdeps/pthread/semaphore.h: ... here.
18372         * Makefile (installed-headers): Change nptl/semaphore.h to
18373         sysdeps/pthread/semaphore.h.
18375 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18377         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18378         generated error format strings.
18380         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18381         -Wformat-extra-args warnings for scanf formats.
18382         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18383         test of zero-length format (duh).
18384         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18385         corner-case scanf format test.
18386         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18387         generated fprintf format string.
18388         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18389         corner-case sprintf format tests.
18390         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18391         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18392         -Wformat-extra-args warnings throughout.
18393         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18394         (CFLAGS-scanf4.c): Likewise.
18395         (CFLAGS-scanf7.c): Likewise.
18396         (CFLAGS-tst-sprintf.c): Likewise.
18397         (CFLAGS-tst-printf.c): Likewise.
18398         (CFLAGS-tst-printfsz.c): Likewise.
18400 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18402         * include/cpio.h: New file.
18403         * include/fmtmsg.h: Likewise.
18405         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18406         corresponding format argument to size_t.
18407         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18408         arguments.
18409         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18410         corresponding format argument to size_t.
18411         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18412         arguments.
18413         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18414         corresponding format argument to size_t.
18415         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18416         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18417         (CFLAGS-tst-mbswcs2.c): Likewise.
18418         (CFLAGS-tst-mbswcs3.c): Likewise.
18419         (CFLAGS-tst-mbswcs4.c): Likewise.
18420         (CFLAGS-tst-mbswcs5.c): Likewise.
18421         (CFLAGS-tst-trans.c): Likewise
18423 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18425         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18426         rather than assuming they won't contain any '%'s.
18428 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18430         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18431         inhibit_loop_to_libcall to avoid recursive calls.
18432         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18433         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18435 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18437         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18438         prototype.
18440 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18442         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18443         integer value instead of boolean.
18445 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18447         * malloc/malloc.c: Fix powerof2 check.
18449 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18451         * locale/programs/locfile.h (maybe_swap_uint32):
18452         Remove inline and add unused attribute.
18454 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18456         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18457         Truncating assembler expression to a .long expression.
18459 2014-12-11  Andreas Schwab  <schwab@suse.de>
18461         * elf/rtld.c (struct map_args): Constify str member.
18462         (do_preload): Constify fname argument.
18464 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18466         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18467         constants definition.
18469 2014-12-11  Andreas Schwab  <schwab@suse.de>
18471         [BZ #16657]
18472         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18473         FORCE_ELISION instead of DO_ELISION.
18474         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18475         Remove.
18476         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18477         Likewise.
18479         * iconvdata/gconv-modules: Remove duplicate entry.
18481 2014-12-11  Will Newton  <will.newton@linaro.org>
18483         Merge gettext 0.19.3 into intl/.
18485         This involves a number of cosmetic changes to comments
18486         and ANSI function definitions and prototypes throughout
18487         all the files. The gettext copyright header is used but
18488         with the date ranges taken from the glibc copy.
18490         * NEWS: Add gettext merge to 2.21.
18491         * intl/bindtextdom.c: Switch to gettext copyright.
18492         Use ANSI definitions and prototypes.
18493         Use gl_* locking primitives rather than __libc_* ones.
18494         Use __builtin_expect rather than __glibc_likely/unlikely.
18495         * intl/dcgettext.c: Switch to gettext copyright.
18496         Use ANSI definitions and prototypes.
18497         * intl/dcigettext.c: Switch to gettext copyright.
18498         Use ANSI definitions and prototypes.
18499         (INTDIV0_RAISES_SIGFPE): New define.
18500         Use gl_* locking primitives rather than __libc_* ones.
18501         Include eval-plural.h instead of plural-eval.c.
18502         Use __builtin_expect rather than __glibc_likely/unlikely.
18503         * intl/dcngettext.c: Switch to gettext copyright.
18504         Use ANSI definitions and prototypes.
18505         * intl/dgettext.c: Likewise.
18506         * intl/dngettext.c: Likewise.
18507         * intl/plural-eval.c: Renamed to...
18508         * intl/eval-plural.h: ...this.
18509         * intl/explodename.c: Switch to gettext copyright.
18510         Use ANSI definitions and prototypes.
18511         (_nl_explode_name): Use strchr instead of __rawmemchr.
18512         * intl/finddomain.c: Switch to gettext copyright.
18513         Use ANSI definitions and prototypes.
18514         Use gl_* locking primitives rather than __libc_* ones.
18515         (_nl_find_domain): Use malloc rather than alloca for
18516         allocation of temporary locale name.
18517         * intl/gettext.c: Switch to gettext copyright.
18518         Use ANSI definitions and prototypes.
18519         * intl/gettextP.h: Switch to gettext copyright.
18520         Use ANSI definitions and prototypes.
18521         Use gl_* locking primitives rather than __libc_* ones.
18522         * intl/gmo.h: Switch to gettext copyright.
18523         (struct sysdep_string): Move struct segment_pair outside of
18524         struct definition.
18525         * intl/hash-string.c: Use ANSI definitions and prototypes.
18526         * intl/hash-string.h: Switch to gettext copyright.
18527         Use ANSI definitions and prototypes.
18528         * intl/l10nflist.c: Switch to gettext copyright.
18529         Use ANSI definitions and prototypes.
18530         (_nl_normalize_codeset): Avoid integer overflow.
18531         * intl/loadinfo.h: Switch to gettext copyright.
18532         Use ANSI definitions and prototypes.
18533         (LIBINTL_DLL_EXPORTED): New define.
18534         (PATH_SEPARATOR): New define.
18535         * intl/loadmsgcat.c: Switch to gettext copyright.
18536         * intl/localealias.c: Switch to gettext copyright.
18537         Use ANSI definitions and prototypes.
18538         (_nl_expand_alias): Use PATH_SEPARATOR.
18539         * intl/ngettext.c: Switch to gettext copyright.
18540         Use ANSI definitions and prototypes.
18541         * intl/plural-exp.c: Likewise.
18542         * intl/plural-exp.h: Switch to gettext copyright.
18543         Use ANSI definitions and prototypes.
18544         (struct expression): Move definition of enum operator outside
18545         of struct definition.
18546         * intl/plural.c: Regenerate.
18547         * intl/plural.y: Switch to gettext copyright.
18548         Use ANSI definitions and prototypes.
18549         Port to bison 3.0.
18550         * intl/textdomain.c: Switch to gettext copyright.
18551         Use ANSI definitions and prototypes.
18552         Use gl_* locking primitives rather than __libc_* ones.
18554 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18556         * debug/warning-nop.c: Add used atrribute.
18558 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18560         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18562         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18563         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18564         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18566 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18567             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18569         [BZ #17634]
18570         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18571         Undefine after defining function.  Define as weak alias of
18572         __wcschr.  Use libc_hidden_weak.
18573         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18574         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18575         (libc_hidden_def): Also define __GI___wcschr alias.
18576         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18577         __wcschr and define as weak alias of __wcschr.
18578         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18579         __wcschr.
18580         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18581         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18582         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18583         libc_hidden_weak.  Do not use libc_hidden_def.
18584         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18585         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18586         __GI___wcschr alias.
18587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18588         [IS_IN (libc)] (wcschr): Define as macro expanding to
18589         __redirect_wcschr.
18590         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18591         [IS_IN (libc)] (__wcschr_power6): Likewise.
18592         [IS_IN (libc)] (__wcschr_power7): Likewise.
18593         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18594         instead of wcschr.
18595         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18596         __libc_wcschr.
18597         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18598         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18599         __wcschr and define as weak alias of __wcschr.  Use
18600         libc_hidden_builtin_def.
18601         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18602         as weak alias of __wcschr.  Use libc_hidden_weak.
18603         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18604         wcschr.
18605         * time/era.c (_nl_init_era_entries): Likewise.
18606         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18607         variable.
18608         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18609         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18611 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18613         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18614         format for long int variable.
18616 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18618         [BZ #10672]
18619         * manual/search.texi: (Array Sort Function): Remove claim how to make
18620         qsort stable.
18622 2014-12-10  Andreas Schwab  <schwab@suse.de>
18624         [BZ #12847]
18625         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18626         user-controlled locks.
18628 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18630         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18631         register.
18633 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18635         * configure.ac (--disable-werror): New configure option.
18636         (enable_werror): New AC_SUBST.
18637         * configure: Regenerated.
18638         * config.make.in (enable-werror): New variable.
18639         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18640         -Wno-error=undef.
18641         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18642         * manual/install.texi (Configuring and compiling): Document
18643         --disable-werror.
18644         * INSTALL: Regenerated.
18645         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18646         (CFLAGS-tst-chk2.c): Likewise.
18647         (CFLAGS-tst-chk3.c): Likewise.
18648         (CFLAGS-tst-chk4.cc): Likewise.
18649         (CFLAGS-tst-chk5.cc): Likewise.
18650         (CFLAGS-tst-chk6.cc): Likewise.
18651         (CFLAGS-tst-lfschk1.c): Likewise.
18652         (CFLAGS-tst-lfschk2.c): Likewise.
18653         (CFLAGS-tst-lfschk3.c): Likewise.
18654         (CFLAGS-tst-lfschk4.cc): Likewise.
18655         (CFLAGS-tst-lfschk5.cc): Likewise.
18656         (CFLAGS-tst-lfschk6.cc): Likewise.
18658         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18659         (main): Disable -Wdeprecated-declarations around calls to
18660         register_printf_function.
18662         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18663         (do_test): Disable -Wdiv-by-zero around some calls to
18664         fwrite_unlocked and fread_unlocked.
18666         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18667         (DIAG_POP_NEEDS_COMMENT): Likewise.
18668         (_DIAG_STR1): Likewise.
18669         (_DIAG_STR): Likewise.
18670         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18671         * stdio-common/bug21.c: Include <libc-internal.h>.
18672         (do_test): Disable -Wformat around call to sscanf.
18673         * stdio-common/scanf14.c: Include <libc-internal.h>.
18674         (main): Disable -Wformat around some calls to scanf functions.
18676 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18678         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18680 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18682         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18683         stack variable alignment.
18685 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18687         [BZ #17682]
18688         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18689         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18690         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18691         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18692         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18693         __getrlimit instead of getrlimit.
18694         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18695         __gettimeofday instead of gettimeofday.
18696         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18697         Likewise.
18698         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18699         Likewise.
18700         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18701         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18702         Remove variable.
18703         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18704         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18706 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18708         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18709         for wide-character tests.
18711 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18713         * io/openat64.c: #include <libc-internal.h>
18714         (__openat64): Prototypify.  Use ignore_value on MODE.
18715         * io/openat.c: Likewise.
18716         * misc/reboot.c: #include <libc-internal.h>
18717         (reboot): Prototypify.  Use ignore_value on HOWTO.
18718         * misc/ptrace.c: #include <libc-internal.h>
18719         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18721 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18723         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18724         XPG4, UNIX98 and XOPEN2K.
18725         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18726         Remove variable.
18727         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18729 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18731         * libio/fileops.c: Use ISO C style for function definitions.
18732         * libio/iofopen.c: Likewise.
18733         * libio/wfileops.c: Likewise.
18735         [BZ #17653]
18736         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18737         offset on EOF.
18738         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18739         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18740         (fgets_func): Function pointer to fgets and fgetws.
18741         (do_ftell_test): Add test to verify ftell value after read
18742         EOF.
18743         (do_test): Set fgets_func.
18745         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18746         O_TRUNC flag for w and w+ modes.
18747         (do_rewind_test): Likewise.
18748         (do_ftell_test): Likewise.
18749         (do_write_test): Likewise.
18751         [BZ #17647]
18752         * libio/fileops.c (do_ftell): Seek only when there are
18753         unflushed writes.
18754         * libio/wfileops.c (do_ftell_wide): Likewise.
18755         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18756         test case.
18757         (do_one_test): Call it.
18759 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18761         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18762         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18763         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18764         Remove variable.
18765         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18766         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18767         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18769 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18771         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18772         Remove variable.
18773         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18775         [BZ #17668]
18776         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18777         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18778         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18779         __freeifaddrs.  Use libc_hidden_weak.
18780         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18781         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18782         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18783         __freeifaddrs.  Use libc_hidden_weak.
18784         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18785         __getifaddrs and define as weak alias of __getifaddrs.  Use
18786         libc_hidden_weak.
18787         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18788         __freeifaddrs.  Use libc_hidden_weak.
18789         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18790         Remove variable.
18791         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18792         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18794 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18796         [BZ #17601]
18797         * sysdeps/mips/start.S (__start): Use indirect jump to call
18798         __libc_start_main.
18800 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18802         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18804         * nptl/tst-mutex1.c: Include <stdbool.h>.
18805         [!ATTR] (ATTR_NULL): New macro.
18806         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18807         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18808         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18810         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18811         to char *.
18813         [BZ #17665]
18814         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18815         Change conditional to [__USE_MISC].
18817         [BZ #17664]
18818         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18819         fgets_unlocked.
18820         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18821         __fgets_unlocked.
18822         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18823         fgets_unlocked.
18824         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18825         Remove variable.
18826         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18827         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18828         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18829         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18830         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18831         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18832         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18833         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18834         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18836         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18838 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18840         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18841         Remove strpbrk objects.
18842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18843         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18844         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18845         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18846         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18847         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18849         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18850         Remove strcspn objects.
18851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18852         (__libc_ifunc_impl_list): Remove strcspn implementation.
18853         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18854         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18855         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18856         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18858         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18859         Remove strspn objetcs.
18860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18861         (__libc_ifunc_impl_list): Remove strspn implementation.
18862         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18863         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18864         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18865         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18867 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18869         [BZ #17581]
18870         * malloc/hooks.c
18871         (mem2mem_check): Add a terminator to the chain of checking blocks.
18872         (malloc_check_get_size): Use it here.
18873         (mem2chunk_check): Ditto.
18875 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18877         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18878         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18880 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18882         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18884         * nptl/nptl-init.c: Include libc-internal.h.
18885         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18887         * elf/ldconfig.c (search_dir): Expand comment.
18889 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18891         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18892         variable.
18893         (linknamespace-symlist-stdlibs-tests): Likewise.
18894         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18895         instead of $(objpfx)symlist-stdlibs.
18896         (linknamespace-libs-isoc): New variable.
18897         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18898         (linknamespace-libs-ISO): New variable.
18899         (linknamespace-libs-ISO99): Likewise.
18900         (linknamespace-libs-ISO11): Likewise.
18901         (linknamespace-libs-XPG3): Likewise.
18902         (linknamespace-libs-XPG4): Likewise.
18903         (linknamespace-libs-POSIX): Likewise.
18904         (linknamespace-libs-UNIX98): Likewise.
18905         (linknamespace-libs-XOPEN2K): Likewise.
18906         (linknamespace-libs-POSIX2008): Likewise.
18907         (linknamespace-libs-XOPEN2K8): Likewise.
18908         ($(objpfx)symlist-stdlibs): Replace by
18909         $(linknamespace-symlist-stdlibs-tests).  Use
18910         $(linknamespace-libs-$*) as set of libraries.
18911         ($(linknamespace-header-tests)): Update dependencies.  Use
18912         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18913         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18914         * conform/linknamespace.pl: Remove comment about considering
18915         definitions of symbols from irrelevant libraries.
18917 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18919         [BZ #13862]
18920         * elf/dl-tls.c: Include <atomic.h>.
18921         (oom): Remove #ifdef SHARED/#endif.
18922         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18923         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18924         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18925         big enough.
18926         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18927         * nptl/Makefile (tests): Add tst-stack4.
18928         (modules-names): Add tst-stack4mod.
18929         ($(objpfx)tst-stack4): New.
18930         (tst-stack4mod.sos): Likewise.
18931         ($(objpfx)tst-stack4.out): Likewise.
18932         ($(tst-stack4mod.sos)): Likewise.
18933         (clean): Likewise.
18934         * nptl/tst-stack4.c: New file.
18935         * nptl/tst-stack4mod.c: Likewise.
18937 2014-11-27  J. Brown  <jb999@gmx.de>
18939         * sysdeps/x86/bits/string.h: Add recent CPUs.
18941 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18943         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18944         sigblock.
18946         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18947         feof.
18949         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18950         variable.
18952 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18954         * nscd/connections.c: Include libc-internal.h because of macro
18955         usage ignore_value.
18957 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18959         * string/bits/string3.h (__warn_memset_zero_len): Don't
18960         declare for gcc newer than 5.0.
18961         (memset): Don't test for zero-length __LEN for gcc newer than
18962         5.0.
18964 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18966         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18967         size_t for %zu format.
18969         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18970         difference, not %ju.
18972 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18974         * include/libc-internal.h (ignore_value): New macro.
18975         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18976         with ignore_value.
18978         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18979         definition.
18981         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18982         pthread_cleanup_push to void *.
18984         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18985         Undefine.
18987         [BZ #16619]
18988         [BZ #16740]
18989         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18990         instead of 1L << 52.
18992         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18993         * libio/bug-rewind2.c (do_test): Likewise.
18995         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18996         * debug/test-strcpy_chk-ifunc.c: Likewise.
18997         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18998         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18999         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19000         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19001         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19002         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19003         * Rules [$(multi-arch) = no] (tests): Do not filter out
19004         $(tests-ifunc).
19005         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19006         * debug/Makefile (tests-ifunc): Remove variable.
19007         (tests): Do not add $(tests-ifunc).
19008         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19009         (tests): Do not add $(tests-ifunc).
19010         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19011         [TEST_IFUNC]: Remove conditionals.
19012         * string/test-string.h (TEST_IFUNC): Remove macro.
19013         [TEST_IFUNC]: Remove conditionals.
19015         * string/test-strchr.c [!WIDE] (L): New macro.
19016         [WIDE] (L): Likewise.
19017         (check1): Use CHAR instead of char.  Use L on string and character
19018         constants.
19020 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19022         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19023         tests.
19024         * sysdeps/powerpc/bits/atomic.h
19025         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19026         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19027         (atomic_exchange_and_add_acq): Likewise.
19028         (atomic_exchange_and_add_rel): Likewise.
19029         * sysdeps/powerpc/powerpc32/bits/atomic.h
19030         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19031         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19032         * sysdeps/powerpc/powerpc64/bits/atomic.h
19033         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19034         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19036 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19038         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19039         Change synchronization of __sched_fifo_min_prio and
19040         __sched_fifo_max_prio.
19041         * nptl/pthread_mutexattr_getprioceiling.c
19042         (pthread_mutexattr_getprioceiling): Likewise.
19043         * nptl/pthread_mutexattr_setprioceiling.c
19044         (pthread_mutexattr_setprioceiling): Likewise.
19045         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19046         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19047         Likewise.
19049 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19051         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19052         void.
19054 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19056         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19057         third argument const.
19059 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19061         fnmatch: work around GCC compiler warning bug with uninit var
19062         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19063         This works around a bug with x86-64 GCC 4.9.2 and earlier
19064         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19065         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19066         used uninitialized in this function [-Wmaybe-uninitialized]".
19068 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19070         * posix/bug-regex31.c (main): Return RES not 0.
19072 2014-11-25  Anton Blanchard <anton@samba.org>
19074         * sysdeps/powerpc/bits/atomic.h
19075         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19077 2014-11-24  Sterling Augustine  <saugustine@google.com>
19079         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19081 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19083         [BZ #17608]
19084         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19086 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19088         [BZ #17633]
19089         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19090         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19091         variable.
19092         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19093         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19095 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19097         * string/strncpy.c (strncpy): Improve performance by using memset.
19099 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19101         * string/strcpy.c (strcpy):
19102         Improve performance by using strlen and memcpy.
19104 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19106         * string/strcoll_l.c (get_next_seq): __always_inline.
19107         * string/strcoll_l.c (do_compare): __always_inline.
19109 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19111         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19112         defined.
19113         * include/mqueue.h: Likewise.
19114         * include/stdlib.h: Likewise.
19116         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19117         (get_null_defines): Adjust.
19118         * sunrpc/Makefile: Adjust comment.
19119         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19120         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19121         (CFLAGS-interp.c): Likewise.
19122         (CFLAGS-ldconfig.c): Likewise.
19123         (CPPFLAGS-.os): Likewise.
19124         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19125         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19126         * extra-modules.mk (extra-modules.mk): Likewise.
19127         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19128         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19129         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19130         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19131         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19132         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19133         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19134         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19135         * iconvdata/Makefile (CPPFLAGS): Likewise.
19136         (cpp-srcs-left): Add libof for all iconvdata routines.
19137         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19138         * include/assert.h: Likewise.
19139         * include/ctype.h: Likewise.
19140         * include/errno.h: Likewise.
19141         * include/libc-symbols.h: Likewise.
19142         * include/math.h: Likewise.
19143         * include/netdb.h: Likewise.
19144         * include/resolv.h: Likewise.
19145         * include/stdio.h: Likewise.
19146         * include/stdlib.h: Likewise.
19147         * include/string.h: Likewise.
19148         * include/sys/stat.h: Likewise.
19149         * include/wctype.h: Likewise.
19150         * intl/l10nflist.c: Likewise.
19151         * libidn/idn-stub.c: Likewise.
19152         * libio/libioP.h: Likewise.
19153         * nptl/libc_multiple_threads.c: Likewise.
19154         * nptl/pthreadP.h: Likewise.
19155         * posix/regex_internal.h: Likewise.
19156         * resolv/res_hconf.c: Likewise.
19157         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19158         * sysdeps/arm/memmove.S: Likewise.
19159         * sysdeps/arm/sysdep.h: Likewise.
19160         * sysdeps/generic/_itoa.h: Likewise.
19161         * sysdeps/generic/symbol-hacks.h: Likewise.
19162         * sysdeps/gnu/errlist.awk: Likewise.
19163         * sysdeps/gnu/errlist.c: Likewise.
19164         * sysdeps/i386/i586/memcpy.S: Likewise.
19165         * sysdeps/i386/i586/memset.S: Likewise.
19166         * sysdeps/i386/i686/memcpy.S: Likewise.
19167         * sysdeps/i386/i686/memmove.S: Likewise.
19168         * sysdeps/i386/i686/mempcpy.S: Likewise.
19169         * sysdeps/i386/i686/memset.S: Likewise.
19170         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19171         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19172         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19173         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19174         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19175         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19176         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19177         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19178         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19179         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19180         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19181         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19182         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19183         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19184         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19185         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19186         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19187         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19188         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19189         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19190         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19191         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19192         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19193         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19194         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19195         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19196         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19197         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19198         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19199         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19200         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19201         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19203         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19204         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19205         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19206         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19207         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19208         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19209         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19210         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19211         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19212         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19213         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19214         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19215         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19216         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19217         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19218         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19219         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19220         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19221         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19222         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19223         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19224         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19225         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19226         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19227         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19228         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19229         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19230         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19231         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19232         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19233         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19234         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19235         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19236         * sysdeps/posix/closedir.c: Likewise.
19237         * sysdeps/posix/opendir.c: Likewise.
19238         * sysdeps/posix/readdir.c: Likewise.
19239         * sysdeps/posix/rewinddir.c: Likewise.
19240         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19241         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19242         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19243         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19244         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19245         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19246         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19252         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19253         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19254         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19255         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19256         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19257         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19259         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19260         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19261         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19262         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19263         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19264         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19265         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19266         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19267         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19268         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19275         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19276         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19277         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19278         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19279         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19280         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19281         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19282         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19283         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19284         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19285         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19286         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19287         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19288         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19289         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19290         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19291         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19293         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19294         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19295         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19296         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19297         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19298         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19299         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19300         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19301         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19302         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19303         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19304         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19305         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19306         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19307         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19308         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19309         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19310         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19311         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19312         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19313         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19314         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19315         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19316         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19317         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19318         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19320         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19321         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19322         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19323         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19324         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19325         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19326         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19327         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19328         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19329         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19330         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19331         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19332         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19333         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19334         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19336         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19337         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19338         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19339         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19340         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19341         * sysdeps/unix/alpha/sysdep.S: Likewise.
19342         * sysdeps/unix/alpha/sysdep.h: Likewise.
19343         * sysdeps/unix/make-syscalls.sh: Likewise.
19344         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19346         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19347         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19348         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19349         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19350         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19351         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19352         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19353         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19354         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19355         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19356         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19357         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19358         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19359         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19360         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19361         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19362         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19363         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19364         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19365         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19366         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19367         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19368         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19369         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19370         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19373         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19374         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19375         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19378         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19379         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19382         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19383         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19384         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19385         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19386         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19387         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19388         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19391         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19394         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19395         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19396         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19397         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19398         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19399         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19400         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19402         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19403         * sysdeps/x86_64/memcpy.S: Likewise.
19404         * sysdeps/x86_64/memmove.c: Likewise.
19405         * sysdeps/x86_64/memset.S: Likewise.
19406         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19407         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19408         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19409         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19410         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19413         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19414         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19415         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19416         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19417         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19418         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19419         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19420         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19421         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19422         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19423         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19424         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19425         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19426         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19427         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19428         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19429         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19430         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19431         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19432         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19433         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19434         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19435         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19436         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19437         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19438         * sysdeps/x86_64/strcmp.S: Likewise.
19440         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19442         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19443         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19444         * elf/rtld-Rules: Likewise.
19445         * elf/setup-vdso.h: Likewise.
19446         * include/assert.h: Likewise.
19447         * include/bits/stdlib-float.h: Likewise.
19448         * include/errno.h: Likewise.
19449         * include/sys/stat.h: Likewise.
19450         * include/unistd.h: Likewise.
19451         * sysdeps/aarch64/setjmp.S: Likewise.
19452         * sysdeps/alpha/setjmp.S: Likewise.
19453         * sysdeps/arm/__longjmp.S: Likewise.
19454         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19455         * sysdeps/arm/setjmp.S: Likewise.
19456         * sysdeps/arm/sysdep.h: Likewise.
19457         * sysdeps/generic/_itoa.h: Likewise.
19458         * sysdeps/generic/dl-sysdep.h: Likewise.
19459         * sysdeps/generic/ldsodefs.h: Likewise.
19460         * sysdeps/i386/dl-tls.h: Likewise.
19461         * sysdeps/i386/setjmp.S: Likewise.
19462         * sysdeps/m68k/setjmp.c: Likewise.
19463         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19464         * sysdeps/mach/hurd/opendir.c: Likewise.
19465         * sysdeps/posix/getcwd.c: Likewise.
19466         * sysdeps/posix/opendir.c: Likewise.
19467         * sysdeps/posix/profil.c: Likewise.
19468         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19469         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19470         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19471         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19472         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19473         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19474         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19475         * sysdeps/s390/dl-tls.h: Likewise.
19476         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19477         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19478         * sysdeps/sh/sh3/setjmp.S: Likewise.
19479         * sysdeps/sh/sh4/setjmp.S: Likewise.
19480         * sysdeps/unix/alpha/sysdep.h: Likewise.
19481         * sysdeps/unix/arm/sysdep.S: Likewise.
19482         * sysdeps/unix/i386/sysdep.S: Likewise.
19483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19484         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19485         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19486         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19487         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19488         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19489         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19490         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19491         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19492         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19493         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19494         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19495         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19498         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19501         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19502         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19503         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19504         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19506         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19507         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19510         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19511         * sysdeps/x86_64/setjmp.S: Likewise.
19513         * include/math.h: Use IS_IN instead of IS_IN_libm.
19514         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19515         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19516         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19517         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19518         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19519         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19520         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19521         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19522         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19523         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19524         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19525         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19526         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19527         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19528         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19529         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19530         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19531         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19532         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19533         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19534         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19535         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19536         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19537         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19538         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19539         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19540         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19541         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19542         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19543         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19544         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19545         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19546         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19548         Likewise.
19549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19550         Likewise.
19551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19552         Likewise.
19553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19554         Likewise.
19555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19556         Likewise.
19557         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19558         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19559         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19560         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19561         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19562         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19568         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19569         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19570         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19571         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19572         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19573         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19574         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19575         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19576         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19577         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19578         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19579         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19580         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19581         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19583         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19585         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19586         * nptl/pthreadP.h: Likewise.
19587         * nptl_db/structs.def: Likewise.
19588         * sysdeps/arm/sysdep.h: Likewise.
19589         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19590         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19591         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19592         * sysdeps/unix/alpha/sysdep.h: Likewise.
19593         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19594         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19595         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19596         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19597         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19598         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19599         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19600         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19601         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19602         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19603         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19604         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19605         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19606         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19611         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19613         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19614         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19615         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19616         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19617         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19618         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19620         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19621         * nptl/pthreadP.h: Likewise.
19622         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19623         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19624         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19625         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19626         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19627         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19628         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19629         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19630         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19631         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19632         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19633         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19635         Likewise.
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19637         Likewise.
19638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19640         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19643         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19644         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19645         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19647         * dlfcn/dladdr.c: Use IS_IN.
19648         * dlfcn/dladdr1.c: Likewise.
19649         * dlfcn/dlclose.c: Likewise.
19650         * dlfcn/dlerror.c: Likewise.
19651         * dlfcn/dlinfo.c: Likewise.
19652         * dlfcn/dlmopen.c: Likewise.
19653         * dlfcn/dlopen.c: Likewise.
19654         * dlfcn/dlsym.c: Likewise.
19655         * dlfcn/dlvsym.c: Likewise.
19657         * include/ifaddrs.h: Use IS_IN.
19658         * inet/check_pf.c: Likewise.
19659         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19660         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19662         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19663         IS_IN_ldconfig.
19664         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19665         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19667         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19668         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19669         IS_IN (libc).
19671         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19673         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19674         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19675         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19676         * include/libc-symbols.h (IS_IN_LIB): New macro.
19677         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19678         * include/netdb.h: Likewise.
19679         * include/stap-probe.h: Remove all uses of IN_LIB.
19681         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19682         instead of IN_MODULE.
19683         * include/libc-symbols.h (IN_MODULE): Define using
19684         MODULE_NAME.
19685         (PASTE_NAME, PASTE_NAME1): New macros.
19686         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19687         of IN_LIB.
19688         (STAP_PROBE_ASM): Likewise.
19690 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19692         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19693         __mach_init in dlopened libc.
19695 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19697         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19698         * sysdeps/arm/preconfigure: Regenerate.
19700 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19702         * nptl/pthread_create.c (__pthread_create_2_1): Set
19703         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19704         when copying values from IATTR into PD.
19706 2014-11-21  Will Newton  <will.newton@linaro.org>
19707             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19709         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19710         Refactor inline-asm.  Also add comment.
19712         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19713         ElfW macro instead of hardcoded Elf64 types.
19714         (la_aarch64_gnu_pltenter): Likewise.
19715         * sysdeps/aarch64/dl-machine.h
19716         (elf_machine_runtime_setup): Use ElfW(Addr).
19718         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19719         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19720         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19721         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19722         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19723         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19724         (R_AARCH64_TLS_DTPMOD): This.
19725         (R_AARCH64_TLS_DTPREL64): Rename to ...
19726         (R_AARCH64_TLS_DTPREL): This.
19727         (R_AARCH64_TLS_TPREL64): Rename to ...
19728         (R_AARCH64_TLS_TPREL): This.
19729         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19730         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19731         R_AARCH64_TLS_TPREL64.
19732         (elf_machine_rela): Likewise.
19734 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19736         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19737         by setting it to 0.  64b atomics are not supported currently.
19739 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19741         [BZ #16469]
19742         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19743         search domain names.
19745 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19747         [BZ #16469]
19748         * NEWS: Update.
19749         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19750         trailing dot.
19751         * posix/tst-getaddrinfo5.c: New.
19752         * posix/Makefile (tests): Add it.
19754 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19756         [BZ #14498]
19757         * NEWS: Fixed.
19758         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19759         after parsing line but before break_if_match.
19760         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19761         if there is a protocol mismatch.
19763 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19765         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19766         because the potential race is on the user-supplied stream.
19768 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19770         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19771         string literal if not passed a buffer.
19772         * manual/job.texi (ctermid): Update reasoning, note deviation
19773         from posix, suggest mtasurace when not passed a buffer, for
19774         future non-preliminary safety notes.
19776 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19778         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19779         of not passing it a buffer.
19780         Reported by Peng Haitao.
19782 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19784         * manual/Makefile ($(objpfx)stamp-summary): Require
19785         check-safety.sh to pass.
19786         * manual/check-safety.sh: Wish for verification that every
19787         @deftypefn and @deftypefun is followed by a @safety remark.
19789 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19791         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19793         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19794         PTHREAD_CANCEL_ASYNCHRONOUS.
19795         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19796         send SIGCANCEL.
19798         * nptl/default-sched.h: New file.
19799         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19800         * nptl/pthread_create.c: Include it.
19801         (__pthread_create_2_1): Use collect_default_sched instead of making
19802         Linux syscalls here directly.
19804 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19806         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19807         __pthread_once): Use C11 atomics.
19809 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19811         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19813 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19815         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19816         atomic_thread_fence_acquire, atomic_thread_fence_release,
19817         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19818         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19819         atomic_compare_exchange_weak_relaxed,
19820         atomic_compare_exchange_weak_acquire,
19821         atomic_compare_exchange_weak_release,
19822         atomic_exchange_acquire, atomic_exchange_release,
19823         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19824         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19825         atomic_fetch_and_acquire,
19826         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19828 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19830         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19831         USE_ATOMIC_COMPILER_BUILTINS): Define.
19832         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19833         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19834         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19835         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19836         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19837         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19838         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19839         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19840         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19841         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19842         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19843         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19844         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19845         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19846         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19847         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19848         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19849         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19850         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19851         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19852         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19853         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19854         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19855         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19856         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19857         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19858         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19859         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19860         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19861         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19862         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19863         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19864         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19865         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19866         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19867         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19868         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19869         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19870         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19871         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19873 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19875         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19876         the sched_priority value here.  It was already checked when the user
19877         called pthread_attr_setschedparam.
19879         * nptl/tst-bad-schedattr.c: New file.
19880         * nptl/Makefile (tests): Add it.
19882 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19883             Florian Weimer  <fweimer@redhat.com>
19884             Joseph Myers  <joseph@codesourcery.com>
19885             Adam Conrad  <adconrad@0c3.net>
19886             Andreas Schwab  <schwab@suse.de>
19887             Brooks  <bmoses@google.com>
19889         [BZ #17625]
19890         * wordexp-test.c (__dso_handle): Add prototype.
19891         (__register_atfork): Likewise.
19892         (__app_register_atfork): New function.
19893         (registered_forks): New global.
19894         (register_fork): New function.
19895         (test_case): Add 3 new tests for WRDE_CMDSUB.
19896         (main): Call __app_register_atfork.
19897         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19898         fork count is non-zero fail the test.
19899         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19900         is set.
19901         (parse_dollars): Remove check for WRDE_NOCMD.
19902         (parse_dquote): Likewise.
19904 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19906         * Makeconfig (built-modules): List non-library modules to be
19907         built.
19908         (module-cppflags): Include libc-modules.h for
19909         everything except shlib-versions.v.i.
19910         (CPPFLAGS): Use it.
19911         (before-compile): Add libc-modules.h.
19912         ($(common-objpfx)libc-modules.h,
19913         $(common-objpfx)libc-modules.stmp): New targets.
19914         (common-generated): Add libc-modules.h and libc-modules.stmp.
19915         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19916         * include/libc-symbols.h: Don't include libc-modules.h.
19917         * include/libc-modules.h: Remove file.
19918         * scripts/gen-libc-modules.awk: New script to generate
19919         libc-modules.h.
19920         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19921         Depend on libc-modules.stmp.
19923         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19925         * Makeconfig (in-module): Get value of libof set for the
19926         translation unit.
19927         (CPPFLAGS): Use $(in-module).
19928         * Makerules: Don't suffix routine names for nonlib.
19929         * include/libc-modules.h: New file.
19930         * include/libc-symbols.h: Include libc-modules.h
19931         (IS_IN): New macro to replace IS_IN_* macros.
19932         * elf/Makefile: Set libof-* for each routine.
19933         * elf/rtld-Rules: Likewise.
19934         * extra-modules.mk: Likewise.
19935         * iconv/Makefile: Likewise.
19936         * iconvdata/Makefile: Likewise.
19937         * locale/Makefile: Likewise.
19938         * malloc/Makefile: Likewise.
19939         * nss/Makefile: Likewise.
19940         * sysdeps/gnu/Makefile: Likewise.
19941         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19942         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19943         * sysdeps/s390/s390-64/Makefile: Likewise.
19944         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19945         CPPFLAGS for nscd instead of nonlib.
19947 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19949         * nptl/createthread.c: New file.
19951         * nptl/createthread.c: Moved ...
19952         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19954         * nptl/createthread.c: Add proper top-line comment.
19955         (do_clone): Folded into ...
19956         (create_thread): ... here.  Take new arguments STOPPED_START and
19957         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19958         increment __nptl_threads, do event-reporting logic, do
19959         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19960         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19961         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19962         just send SIGCANCEL.
19963         * nptl/pthread_create.c: Forward-declare create_thread before
19964         including createthread.c.
19965         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19966         declaration, and new macro START_THREAD_SELF to replace argument.
19967         Remove return statement.
19968         (report_thread_creation): New function.
19969         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19970         synchronization logic, and __nptl_nthreads increment here, around
19971         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19972         PD->parent_cancelhandling here, before create_thread.  When
19973         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19974         __deallocate_stack, and ENOMEM translation here.
19976 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19978         [BZ #17616]
19979         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19980         (mptwo): Rename to __mptwo.
19981         (__inv): Use __mptwo instead of mptwo.
19982         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19983         (mptwo): Rename to __mptwo.
19984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19985         of mpone and __mptwo instead of mptwo.
19986         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19987         instead of mpone.
19988         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19989         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19990         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19991         of mpone and __mptwo instead of mptwo.
19992         (__mpranred): Use __mpone instead of mpone.
19993         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19994         variable.
19995         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19996         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19997         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19998         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19999         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20000         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20001         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20002         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20003         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20004         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20005         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20006         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20007         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20008         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20009         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20010         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20011         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20012         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20013         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20015 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20017         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20018         replace BSD Handler xref with BSD Signal Handling.
20020 2014-11-17  Richard Henderson  <rth@redhat.com>
20022         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20023         (_FP_PACK_RAW_2): Remove.
20024         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20025         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20026         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20027         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20028         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20029         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20030         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20031         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20032         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20033         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20034         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20035         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20036         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20037         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20038         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20039         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20041 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20043         * signal/signal.h [__USE_MISC]
20044         (struct sigvec): Remove type.
20045         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20046         (sigvec): Remove declaration.
20047         * sysdeps/posix/sigvec.c: Moved ...
20048         * signal/sigvec.c: ... here, replacing old file.
20049         (struct sigvec): New type, copied from old signal.h definition.
20050         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20051         (__sigvec): Convert definition to prototype.
20052         (sigvec): Replace weak_alias with compat_symbol.
20053         * signal/Versions (libc: GLIBC_2.21): New version set.
20054         * include/signal.h: Remove __sigvec declaration.
20055         * sysdeps/unix/bsd/sigvec.c: Remove file.
20056         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20057         * manual/signal.texi (BSD Handler): Remove subsection.
20058         Move siginterrupt up to ...
20059         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20060         (Blocking in BSD): Fold subsection into its parent.
20061         * NEWS: Mention sigvec removal.
20063 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20065         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20066         (DLA_FMS): Make definition conditional only on [__FMA4__].
20067         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20068         definition.
20070         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20071         Make definition conditional only on [PROF].
20072         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20073         definition.
20074         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20075         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20077         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20078         !__GNUC__].
20079         * include/signal.h (__sigpause): Move declaration above call to
20080         libc_hidden_proto.
20081         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20082         variable.
20083         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20084         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20086 2014-11-14  David S. Miller  <davem@davemloft.net>
20088         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20089         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20091 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20093         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20094         * configure: Regenerated.
20095         * manual/install.texi (Tools for Compilation): Document a
20096         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20097         compiler verified to work.
20098         * INSTALL: Regenerated.
20100         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20101         redeclare with asm name.
20102         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20103         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20104         including <string.h>.
20105         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20106         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20107         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20108         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20109         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20110         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20111         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20113 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20115         * stdlib/strtol.c (__strtol): Use prototype definition.
20117         [BZ #17594]
20118         * stdlib/strtol.c (SYM__): New macro.
20119         (SYM__1): Likewise.
20120         (__strtol): Likewise.
20121         (strtol): Rename to __strtol and define as weak alias of
20122         __strtol.  Use libc_hidden_weak.
20124 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20126         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20127         Use numbered labels in inline assembly.
20129 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20131         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20132         Add setjmp LIBC_PROBE.
20133         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20134         Likewise.
20135         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20136         Add longjmp, longjmp_target LIBC_PROBE.
20137         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20138         Likewise.
20140 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20142         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20143         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20144         to get rid of unused variable warning.
20146 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20148         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20149         Check for unwind_backtrace ==  NULL only in SHARED case.
20150         (__backchain_backtrace): Compile only in SHARED case.
20151         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20152         Likewise.
20153         (__backchain_backtrace): Declare as static.
20155 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20157         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20158         (__libc_multiple_threads_ptr): Variable moved ...
20159         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20161 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20163         * conform/GlibcConform.pm: New file.
20164         * conform/conformtest.pl: Use GlibcConform module.
20165         * conform/linknamespace.pl: New file.
20166         * conform/list-header-symbols.pl: Likewise.
20167         * conform/Makefile (linknamespace-symlists-base): New variable.
20168         (linknamespace-symlists-tests): Likewise.
20169         (linknamespace-header-base): Likewise.
20170         (linknamespace-header-tests): Likewise.
20171         (tests-special): Add new tests.
20172         ($(linknamespace-symlists-tests)): New rule.
20173         (linknamespace-libs): New variable.
20174         ($(objpfx)symlist-stdlibs): New rule.
20175         ($(linknamespace-header-tests)): Likewise.
20176         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20177         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20178         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20179         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20180         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20181         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20182         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20183         (test-xfail-ISO/math.h/linknamespace): Likewise.
20184         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20185         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20186         (test-xfail-ISO/time.h/linknamespace): Likewise.
20187         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20188         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20189         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20190         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20191         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20192         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20193         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20194         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20195         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20196         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20197         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20198         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20199         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20200         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20201         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20202         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20203         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20204         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20205         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20206         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20207         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20208         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20209         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20210         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20211         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20212         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20213         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20214         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20215         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20216         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20217         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20218         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20219         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20220         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20221         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20222         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20223         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20224         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20225         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20226         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20227         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20228         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20229         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20230         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20231         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20232         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20233         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20234         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20235         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20236         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20237         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20238         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20239         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20240         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20241         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20242         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20243         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20244         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20245         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20246         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20247         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20248         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20249         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20250         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20251         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20252         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20253         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20254         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20255         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20256         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20257         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20258         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20259         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20260         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20261         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20262         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20263         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20264         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20265         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20266         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20267         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20268         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20269         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20270         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20271         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20272         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20273         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20274         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20275         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20276         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20277         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20278         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20279         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20280         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20281         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20282         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20283         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20284         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20285         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20286         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20287         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20288         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20289         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20290         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20291         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20292         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20293         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20294         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20295         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20296         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20297         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20298         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20299         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20300         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20301         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20302         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20303         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20304         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20305         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20306         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20307         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20308         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20309         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20310         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20311         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20312         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20313         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20314         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20315         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20316         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20317         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20318         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20319         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20320         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20321         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20322         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20323         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20324         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20325         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20326         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20327         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20328         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20329         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20330         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20331         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20332         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20333         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20334         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20335         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20336         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20338         [BZ #17589]
20339         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20340         of fgets_unlocked.
20342         [BZ #17585]
20343         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20344         (memmem): Rename to __memmem and define as weak alias of
20345         __memmem.  Use libc_hidden_weak.
20346         (__memmem): Use libc_hidden_def.
20347         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
20348         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20349         memmem.
20351         [BZ #17582]
20352         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20353         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
20354         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20355         and define as weak alias of __fgets_unlocked.  Use
20356         libc_hidden_weak.
20357         (__fgets_unlocked): Use libc_hidden_def.
20358         * include/stdio.h (__fgets_unlocked): Declare.  Use
20359         libc_hidden_proto.
20360         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20361         __fgets_unlocked instead of fgets_unlocked.
20362         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20363         (GET_NPROCS_CONF_PARSER): Likewise.
20364         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20365         (GET_NPROCS_CONF_PARSER): Likewise.
20367         [BZ #17574]
20368         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20369         weak alias of __wmemset.  Use libc_hidden_weak.
20370         (__wmemset): Use libc_hidden_def.
20371         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
20372         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20373         of wmemset.
20375         [BZ #17573]
20376         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20377         with asm name __mempcpy.
20378         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20380         [BZ #17572]
20381         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20382         and define as weak alias of __rawmemchr.
20383         (__rawmemchr): Do not define as strong alias of rawmemchr.
20385         [BZ #17571]
20386         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20387         alias of __qsort_r.
20388         (qsort): Call __qsort_r instead of qsort_r.
20389         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20390         (__qsort_r): Declare.  Call libc_hidden_proto.
20391         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20392         instead of qsort_r.
20393         * nscd/gai.c (__qsort_r): Define to qsort_r.
20394         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20395         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20396         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20398         [BZ #17570]
20399         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20400         define as weak alias of __malloc_info.
20402         [BZ #17584]
20403         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20404         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20405         (__rewinddir): Use libc_hidden_def.
20406         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20407         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20408         (__rewinddir): Use libc_hidden_def.
20409         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20410         weak alias of __rewinddir.  Don't use libc_hidden_def.
20411         (__rewinddir): Use libc_hidden_def.
20412         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20413         (__rewinddir): Use libc_hidden_proto.
20414         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20415         rewinddir.
20416         (__getcwd): Use __rewinddir instead of rewinddir.
20418         [BZ #17583]
20419         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20420         alias of __fileno.  Use libc_hidden_weak.
20421         (__fileno): Use libc_hidden_def.
20422         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20423         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20424         alias of __ftello.
20425         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20426         __ftello.
20427         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20428         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20429         libc_hidden_def.
20430         (fread_unlocked): Don't use libc_hidden_ver.
20431         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20432         and define as weak alias of __fread_unlocked.  Don't use
20433         libc_hidden_def.
20434         (__fread_unlocked): Use libc_hidden_def.
20435         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20436         (ftello): Don't use libc_hidden_proto.
20437         (__ftello): Declare.  Use libc_hidden_proto.
20438         (fread_unlocked): Don't use libc_hidden_proto.
20439         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20440         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20441         and __ftello instead of fileno, fread_unlocked and ftello.
20443 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20445         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20446         GOT12.
20447         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20448         Likewise.
20449         (_dl_start_user): Likewise.
20450         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20452 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20453             Siddhesh Poyarekar  <siddhesh@redhat.com>
20455         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20456         Move argv and envp down instead of moving argc up.
20457         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20459 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20461         [BZ #17506]
20462         * test-skeleton.c (main): Return successful if one of
20463         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20464         * string/tst-strcoll-overflow.c: Define expected status.
20466 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20468         [BZ #17475]
20469         * locale/iso-639.def: Define Bhili and Tulu language codes.
20471 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20473         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20475 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20477         [BZ #17555]
20478         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20480 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20482         * configure.ac: Updated check of minimal required version to
20483         2.22.
20484         * manual/install.texi (Tools for Compilation): Updated version
20485         number.
20486         * configure: Regenerated.
20487         * INSTALL: Likewise.
20489 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20491         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20492         __tls_get_addr.
20494 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20496         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20497         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20498         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20499         libc_hidden_weak.
20500         (waitpid): Define as alias of __waitpid.
20501         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20502         __waitpid.
20503         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20504         libc_hidden_weak.
20505         (waitpid): Define as alias of __waitpid.
20506         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20507         __libc_waitpid alias.
20508         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20509         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20510         Likewise.
20511         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20512         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20513         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20514         alias.
20515         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20516         __waitpid.
20517         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20518         libc_hidden_weak.
20519         (waitpid): Define as alias of __waitpid.
20521 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20523         * manual/llio.texi: Add comment that write safety has been
20524         fixed in Linux.
20526         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20527         (localplt-build-dso): Add elf/ld.so.
20528         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20529         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20530         and free for ld.so.
20531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20532         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20534         Likewise.
20535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20536         Likewise.
20537         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20538         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20539         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20540         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20541         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20542         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20543         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20544         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20545         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20546         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20547         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20549 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20551         [BZ #14132]
20552         * include/libc-symbols.h (INTUSE): Remove macro.
20553         (INTDEF): Likewise.
20554         (INTVARDEF): Likewise.
20555         (_INTVARDEF): Likewise.
20556         (INTDEF2): Likewise.
20557         (INTVARDEF2): Likewise.
20558         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20559         rtld_hidden_def instead of INTVARDEF.
20560         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20561         (_dl_starting_up_internal): Remove declaration.
20562         (_dl_starting_up): Use rtld_hidden_proto.
20563         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20564         declaration.
20565         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20566         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20567         _dl_starting_up.
20568         * elf/dl-writev.h (_dl_writev): Likewise.
20569         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20570         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20571         _dl_starting_up_internal.
20573 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20575         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20576         test-skeleton.c.
20578 2014-11-05  Will Newton  <will.newton@linaro.org>
20580         * benchtests/Makefile: (bench-malloc): Add malloc thread
20581         scalability benchmark.
20582         * benchtests/bench-malloc-threads.c: New file.
20584 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20586         * sysdeps/aarch64/strchrnul.S: New file.
20588 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20590         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20591         definition.
20592         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20593         Likwise.
20594         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20595         Likewise.
20596         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20597         Likewise.
20598         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20599         Likewise.
20600         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20601         Likewise.
20603 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20605         * catgets/test-gencat.c: Use test-skeleton.c.
20606         * catgets/tst-catgets.c: Likewise.
20607         * csu/tst-empty.c: Likewise.
20608         * elf/tst-audit2.c: Likewise.
20609         * elf/tst-global1.c: Likewise.
20610         * elf/tst-pathopt.c: Likewise.
20611         * elf/tst-piemod1.c: Likewise.
20612         * elf/tst-tls10.c: Likewise.
20613         * elf/tst-tls11.c: Likewise.
20614         * elf/tst-tls12.c: Likewise.
20615         * gnulib/tst-gcc.c: Likewise.
20616         * iconvdata/tst-e2big.c: Likewise.
20617         * iconvdata/tst-loading.c: Likewise.
20618         * iconv/tst-iconv1.c: Likewise.
20619         * iconv/tst-iconv2.c: Likewise.
20620         * inet/test-inet6_opt.c: Likewise.
20621         * inet/tst-gethnm.c: Likewise.
20622         * inet/tst-network.c: Likewise.
20623         * inet/tst-ntoa.c: Likewise.
20624         * intl/tst-codeset.c: Likewise.
20625         * intl/tst-gettext2.c: Likewise.
20626         * intl/tst-gettext3.c: Likewise.
20627         * intl/tst-ngettext.c: Likewise.
20628         * intl/tst-translit.c: Likewise.
20629         * io/test-stat.c: Likewise.
20630         * libio/test-fmemopen.c: Likewise.
20631         * libio/tst-freopen.c: Likewise.
20632         * libio/tst-sscanf.c: Likewise.
20633         * libio/tst-ungetwc1.c: Likewise.
20634         * libio/tst-ungetwc2.c: Likewise.
20635         * libio/tst-widetext.c: Likewise.
20636         * localedata/tst-ctype.c: Likewise.
20637         * localedata/tst-digits.c: Likewise.
20638         * localedata/tst-leaks.c: Likewise.
20639         * localedata/tst-mbswcs1.c: Likewise.
20640         * localedata/tst-mbswcs2.c: Likewise.
20641         * localedata/tst-mbswcs3.c: Likewise.
20642         * localedata/tst-mbswcs4.c: Likewise.
20643         * localedata/tst-mbswcs5.c: Likewise.
20644         * localedata/tst-setlocale.c: Likewise.
20645         * localedata/tst-trans.c: Likewise.
20646         * localedata/tst-wctype.c: Likewise.
20647         * localedata/tst-xlocale1.c: Likewise.
20648         * login/tst-grantpt.c: Likewise.
20649         * malloc/tst-calloc.c: Likewise.
20650         * malloc/tst-malloc.c: Likewise.
20651         * malloc/tst-mallocstate.c: Likewise.
20652         * malloc/tst-mcheck.c: Likewise.
20653         * malloc/tst-mtrace.c: Likewise.
20654         * malloc/tst-obstack.c: Likewise.
20655         * math/atest-exp2.c: Likewise.
20656         * math/atest-exp.c: Likewise.
20657         * math/atest-sincos.c: Likewise.
20658         * math/test-matherr.c: Likewise.
20659         * math/test-misc.c: Likewise.
20660         * math/test-powl.c: Likewise.
20661         * math/tst-definitions.c: Likewise.
20662         * misc/tst-dirname.c: Likewise.
20663         * misc/tst-efgcvt.c: Likewise.
20664         * misc/tst-fdset.c: Likewise.
20665         * misc/tst-hsearch.c: Likewise.
20666         * misc/tst-mntent2.c: Likewise.
20667         * nptl/tst-sem7.c: Likewise.
20668         * nptl/tst-sem8.c: Likewise.
20669         * nptl/tst-sem9.c: Likewise.
20670         * nss/test-netdb.c: Likewise.
20671         * posix/tst-fnmatch.c: Likewise.
20672         * posix/tst-getlogin.c: Likewise.
20673         * posix/tst-gnuglob.c: Likewise.
20674         * posix/tst-mmap.c: Likewise.
20675         * pwd/tst-getpw.c: Likewise.
20676         * resolv/tst-inet_ntop.c: Likewise.
20677         * rt/tst-timer.c: Likewise.
20678         * stdio-common/test-fseek.c: Likewise.
20679         * stdio-common/test-popen.c: Likewise.
20680         * stdio-common/test-vfprintf.c: Likewise.
20681         * stdio-common/tst-cookie.c: Likewise.
20682         * stdio-common/tst-fileno.c: Likewise.
20683         * stdio-common/tst-gets.c: Likewise.
20684         * stdio-common/tst-obprintf.c: Likewise.
20685         * stdio-common/tst-perror.c: Likewise.
20686         * stdio-common/tst-sprintf2.c: Likewise.
20687         * stdio-common/tst-sprintf3.c: Likewise.
20688         * stdio-common/tst-sprintf.c: Likewise.
20689         * stdio-common/tst-swprintf.c: Likewise.
20690         * stdio-common/tst-tmpnam.c: Likewise.
20691         * stdio-common/tst-unbputc.c: Likewise.
20692         * stdio-common/tst-wc-printf.c: Likewise.
20693         * stdlib/tst-environ.c: Likewise.
20694         * stdlib/tst-fmtmsg.c: Likewise.
20695         * stdlib/tst-limits.c: Likewise.
20696         * stdlib/tst-rand48-2.c: Likewise.
20697         * stdlib/tst-rand48.c: Likewise.
20698         * stdlib/tst-random2.c: Likewise.
20699         * stdlib/tst-random.c: Likewise.
20700         * stdlib/tst-strtol.c: Likewise.
20701         * stdlib/tst-strtoll.c: Likewise.
20702         * stdlib/tst-tls-atexit.c: Likewise.
20703         * stdlib/tst-xpg-basename.c: Likewise.
20704         * string/test-ffs.c: Likewise.
20705         * string/tst-bswap.c: Likewise.
20706         * string/tst-inlcall.c: Likewise.
20707         * string/tst-strtok.c: Likewise.
20708         * string/tst-strxfrm.c: Likewise.
20709         * sysdeps/x86_64/tst-audit10.c: Likewise.
20710         * sysdeps/x86_64/tst-audit3.c: Likewise.
20711         * sysdeps/x86_64/tst-audit4.c: Likewise.
20712         * sysdeps/x86_64/tst-audit5.c: Likewise.
20713         * time/tst-ftime_l.c: Likewise.
20714         * time/tst-getdate.c: Likewise.
20715         * time/tst-mktime3.c: Likewise.
20716         * time/tst-mktime.c: Likewise.
20717         * time/tst-posixtz.c: Likewise.
20718         * time/tst-strptime2.c: Likewise.
20719         * time/tst-strptime3.c: Likewise.
20720         * wcsmbs/tst-btowc.c: Likewise.
20721         * wcsmbs/tst-mbrtowc.c: Likewise.
20722         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20723         * wcsmbs/tst-wchar-h.c: Likewise.
20724         * wcsmbs/tst-wcpncpy.c: Likewise.
20725         * wcsmbs/tst-wcrtomb.c: Likewise.
20726         * wcsmbs/tst-wcsnlen.c: Likewise.
20727         * wcsmbs/tst-wcstof.c: Likewise.
20729 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20731         [BZ #14132]
20732         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20733         INTDEF.
20734         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20735         declaration.
20736         (_dl_mcount): Use rtld_hidden_proto.
20737         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20738         _dl_mcount.
20739         * elf/rtld.c (_rtld_global_ro): Likewise.
20741         [BZ #14132]
20742         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20743         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20744         of _dl_init_internal.
20745         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20746         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20747         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20748         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20749         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20750         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20751         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20752         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20753         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20754         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20755         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20756         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20757         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20758         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20759         * sysdeps/tile/dl-start.S (_start): Likewise.
20760         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20761         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20763         [BZ #14132]
20764         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20765         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20766         (rtld_progname): Make macro definition unconditional.
20767         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20768         INTDEF.
20769         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20770         (dl_main): Likewise.
20771         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20772         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20773         instead of _dl_argv_internal.
20774         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20775         __GI__dl_argv instead of INTUSE(_dl_argv).
20776         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20777         __GI__dl_argv instead of _dl_argv_internal.
20779         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20780         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20781         macro.
20782         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20783         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20784         New macro.
20785         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20786         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20787         macro.
20788         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20789         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20791 2014-11-04  Andreas Schwab  <schwab@suse.de>
20793         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20795 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20797         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20798         mtvsrd instruction in binary form.
20800 2014-11-03  Andreas Schwab  <schwab@suse.de>
20802         [BZ #17522]
20803         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20804         for less than MB_LEN_MAX use a local buffer of that size.
20805         * libio/tst-fputws.c: New file.
20806         * libio/Makefile (tests): Add tst-fputws.
20808 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20810         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20811         the size of the fpu_fr.fpu_dregs[] array.
20813 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20815         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20816         (__nanosleep): Do not define as alias.
20817         (nanosleep): Define as alias of __nanosleep.
20818         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20819         __libc_nanosleep name.
20821 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20823         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20824         install.texi in comment.
20826 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20828         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20829         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20830         ... add here and use lwsync or sync ...
20831         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20832         ... and add here using lwsync.
20834 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20836         * elf/dl-machine-reject-phdr.h: New file.
20837         * elf/dl-load.c: #include that.
20838         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20839         if that returned true.
20841 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20843         [BZ #17496]
20844         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20845         gen-as-const-headers chunk.  Add a big scare comment after the last
20846         safe place to touch before-compile.
20848 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20850         * manual/install.texi (Tools for Compilation): Update autoconf
20851         version requirements.
20852         * INSTALL: Regenerated.
20854         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20855         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20856         (__libc_pselect): Likewise.
20858         [BZ #14138]
20859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20864 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20866         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20867         correct barrier instruction.
20868         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20869         Likewise.
20870         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20871         Likewise.
20873 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20875         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20876         after defining inlines.  Instead, just use parens to defeat macro
20877         expansion of __isctype in its declaration.
20879 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20881         * include/sys/uio.h (__libc_readv): Remove declaration.
20882         (__libc_writev): Likewise.
20883         * misc/readv.c (__libc_readv): Rename to __readv.
20884         (__readv): Do not define as alias.
20885         (readv): Define as alias of __readv.
20886         * misc/writev.c (__libc_writev): Rename to __writev.
20887         (__writev): Do not define as alias.
20888         (writev): Define as alias of __writev.
20889         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20890         (__readv): Do not define as alias.
20891         (readv): Define unconditionally as alias of __readv.
20892         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20893         (__writev): Do not define as alias.
20894         (writev): Define unconditionally as alias of __writev.
20895         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20896         name.
20897         (writev): Do not define __libc_writev name.
20899 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20901         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20902         (convert_charseq): New function, broken out of ...
20903         (use_from_charmap): ... here.  Call it.
20904         (use_to_charmap): Use convert_charseq and free instead of duplicating
20905         its code with a variable-length stack struct.
20907 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20909         * include/fcntl.h (__libc_creat): Remove declaration.
20910         * io/creat.c (__libc_creat): Rename to creat.
20911         (creat): Do not define as alias.
20912         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20913         of creat instead of __libc_creat.
20914         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20915         to creat.
20916         (creat): Do not define as alias.
20917         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20918         __libc_creat.
20919         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20920         __libc_creat name.
20921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20922         Likewise.
20924 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20926         * manual/llio.texi: Add comments discussing why write() may be
20927         considered MT-unsafe on Linux.
20929 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20931         * dl-load.c (local_strdup): Remove.
20932         (expand_dynamic_string_token): Use __strdup.
20933         (decompose_rpath): Likewise.
20934         (_dl_map_object): Likewise.
20936 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20938         [BZ #14132]
20939         * sysdeps/generic/unwind-dw2-fde.c
20940         (__register_frame_info_bases_internal): Do not declare.
20941         (__register_frame_info_table_bases_internal): Likewise.
20942         (__deregister_frame_info_bases_internal): Likewise.
20943         (__register_frame_info_bases): Declare and use hidden_proto before
20944         definition.  Use hidden_def instead of INTDEF.
20945         (__register_frame_info_table_bases): Likewise.
20946         (__deregister_frame_info_bases): Likewise.
20947         (__register_frame_info): Do not use INTUSE.
20948         (__register_frame): Likewise.
20949         (__register_frame_info_table): Likewise.
20950         (__register_frame_table): Likewise.
20951         (__deregister_frame_info): Likewise.
20952         (__deregister_frame): Likewise.
20954 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20957         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20958         not undefine.
20959         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20960         Likewise.
20961         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20962         Likewise.
20964 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20966         [BZ #14138]
20967         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20968         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20969         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20970         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20971         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20972         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20973         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20974         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20975         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20976         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20977         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20978         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20979         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20980         syscall.
20981         (setfsuid): Likewise.
20982         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20983         (setfsuid): Likewise.
20984         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20985         (setfsuid): Likewise.
20986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20987         Likewise.
20988         (setfsuid): Likewise.
20989         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20990         (setfsuid): Likewise.
20991         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20992         Likewise.
20993         (setfsuid): Likewise.
20995 2014-10-27  Andreas Schwab  <schwab@suse.de>
20997         [BZ #17501]
20998         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20999         check for Slow_SSE4_2 feature bit.
21000         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21001         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21002         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21003         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21005 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21007         * configure.ac: Validate compiler version with a empirical test of
21008         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21009         $CC -v output.
21010         * configure: Regenerated.
21012         * inet/htons.c (htons): Prototypify.
21013         * inet/htonl.c (htonl): Likewise.
21015 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21017         * string/strncat.c (strncat): Improve performance by using strlen.
21019 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21021         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21023 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21025         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21026         Call libc_fetestexcept_aarch64.
21028 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21030         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21031         Call libc_feholdexcept_aarch64.
21033 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21035         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21036         Call get_rounding_mode.
21038 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21040         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21041         Simplify logic.
21043 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21045         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21046         Simplify logic.
21048 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21050         [BZ #14138]
21051         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21052         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21053         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21054         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21055         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21056         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21057         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21058         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21059         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21060         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21061         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21062         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21063         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21064         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21065         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21066         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21067         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21068         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21069         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21070         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21071         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21072         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21073         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21074         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21075         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21076         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21077         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21078         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21079         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21080         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21081         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21082         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21083         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21084         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21085         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21086         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21087         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21088         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21089         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21090         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21091         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21092         syscall.
21093         (geteuid): Likewise.
21094         (getgid): Likewise.
21095         (getuid): Likewise.
21096         (getresgid): Likewise.
21097         (getresuid): Likewise.
21098         (getgroups): Likewise.
21099         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21100         (geteuid): Likewise.
21101         (getgid): Likewise.
21102         (getuid): Likewise.
21103         (getresgid): Likewise.
21104         (getresuid): Likewise.
21105         (getgroups): Likewise.
21106         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21107         (geteuid): Likewise.
21108         (getgid): Likewise.
21109         (getuid): Likewise.
21110         (getresgid): Likewise.
21111         (getresuid): Likewise.
21112         (getgroups): Likewise.
21113         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21114         Likewise.
21115         (geteuid): Likewise.
21116         (getgid): Likewise.
21117         (getuid): Likewise.
21118         (getresgid): Likewise.
21119         (getresuid): Likewise.
21120         (getgroups): Likewise.
21121         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21122         (geteuid): Likewise.
21123         (getgid): Likewise.
21124         (getuid): Likewise.
21125         (getresgid): Likewise.
21126         (getresuid): Likewise.
21127         (getgroups): Likewise.
21128         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21129         Likewise.
21130         (geteuid): Likewise.
21131         (getgid): Likewise.
21132         (getuid): Likewise.
21133         (getgroups): Likewise.
21135         [BZ #14138]
21136         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21137         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21138         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21139         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21140         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21141         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21142         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21143         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21144         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21145         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21146         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21147         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21148         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21149         __chown.
21150         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21151         (lchown): Likewise.
21152         (fchown): Likewise.
21153         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21154         Likewise.
21155         (lchown): Likewise.
21156         (fchown): Likewise.
21157         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21158         (lchown): Likewise.
21159         (fchown): Likewise.
21160         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21161         Likewise.
21162         (lchown): Likewise.
21163         (fchown): Likewise.
21165 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21167         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21168         Simplify logic.
21170 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21172         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21173         Cleanup logic.
21175 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21177         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21178         Remove unused include.
21180 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21182         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21184         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21185         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21187 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21188             Helge Deller <deller@gmx.de>
21190         [BZ #17508]
21191         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21192         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21193         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21195 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21197         [BZ #14132]
21198         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21199         Remove macro definition.
21200         (__ashrdi3_v_glibc20): Likewise.
21201         (__lshrdi3_v_glibc20): Likewise.
21202         (__cmpdi2_v_glibc20): Likewise.
21203         (__ucmpdi2_v_glibc20): Likewise.
21204         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21205         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21206         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21207         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21208         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21209         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21211 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21213         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21214         old GNU extension [0] syntax.
21215         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21216         alloca rather than an array member with variable length.
21217         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21218         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21219         (parse_opt): ... here.  Likewise use alloca there.
21220         Validate the -i argument before checking for rootness.
21221         (send_shutdown): New function, broken out of ...
21222         (parse_opt): ... here.
21224 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21226         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21227         macro to get at the _rt_local_ro field.
21228         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21229         ([PIC] case) or _dl_hwcap ([!PIC] case).
21230         * sysdeps/arm/setjmp.S: Likewise.
21232         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21233         * sysdeps/arm/configure.ac: New check to define it.
21234         * sysdeps/arm/configure: Regenerated.
21235         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21236         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21237         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21238         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21239         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21240         Use move/movt pair instead of a load.
21241         (LDST_GLOBAL): Macro removed.
21242         (LDR_GLOBAL): New macro replaces it.
21243         (LDR_HIDDEN): New macro.
21244         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21245         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21247         * setjmp/tst-setjmp-static.c: New file.
21248         * setjmp/Makefile (tests): Add it.
21249         (tests-static): New variable.
21251 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
21253         [BZ #17485]
21254         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21256 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
21258         [BZ #14132]
21259         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21261 2014-10-21  Roland McGrath  <roland@hack.frob.com>
21263         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21265 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21267         * io/fts.c (dirent_not_directory): New function.
21268         (fts_build): Call it.
21270 2014-10-20  Roland McGrath  <roland@hack.frob.com>
21272         * nptl/version.c (__nptl_main): Use normal __write rather than
21273         INTERNAL_SYSCALL.
21274         (banner): Update copyright years.
21276         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21277         gettimeofday.
21278         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21279         * nptl/pthread_cond_timedwait.c: Likewise.
21280         * nptl/pthread_mutex_timedlock.c: Likewise.
21281         * nptl/sem_timedwait.c: Likewise.
21283         * sysdeps/nptl/bits/libc-lock.h
21284         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21285         (__libc_lock_init_recursive): Return void, not 0.
21286         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21287         (__libc_rwlock_init): Likewise.
21288         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21290 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21292         [BZ #15215]
21293         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21294         (__pthread_once_slow): ... here.
21295         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21296         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21298 2014-10-20  Torvald Riegel  <triegel@redhat.com>
21300         [BZ #15215]
21301         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21302         __PTHREAD_ONCE_FORK_GEN_INCR): New.
21303         * sysdeps/nptl/fork.c (__libc_fork): Use them.
21304         * nptl/pthread_once.c (__pthread_once): Likewise.
21305         Update comments.
21307 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
21309         [BZ #14138]
21310         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21311         name.
21312         (writev): Use __libc_writev as strong name.
21313         * sysdeps/unix/sysv/linux/readv.c: Remove file.
21314         * sysdeps/unix/sysv/linux/writev.c: Likewise.
21316 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21318         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21320         * sysdeps/i386/nptl/tls.h
21321         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21322         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21323         New macros.
21324         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21325         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21326         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21327         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21328         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21329         Call CHECK_THREAD_SYSINFO instead of doing an assert.
21331         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21332         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21333         on [__NR_futex].
21334         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21335         broken out of ...
21336         (__pthread_mutex_init): ... here.  Call it.
21337         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21338         Conditionalize PI cases on [__NR_futex].
21339         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21340         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21341         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21343         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21344         conditional on [SIGSETXID].
21345         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21346         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21347         is defined.  Likewise for SIGSETXID.
21348         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21349         Conditionalize definitions on [SIGSETXID].
21350         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21351         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21352         unblocking on [SIGCANCEL].
21354         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21355         [__NR_set_robust_list].
21357 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21359         * string/strcoll_l.c (get_next_seq): Fix up formatting.
21360         (do_compare): Likewise.
21362 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
21364         [BZ #15884]
21365         * string/strcoll_l.c: Don't include stdio.h.
21366         (coll_seq): Remove members idxarr and rulearr.
21367         (get_next_seq_cached): Remove function.
21368         (get_next_seq): Likewise.
21369         (get_next_seq_nocache): Rename to get_next_seq.
21370         (do_compare): Remove function.
21371         (do_compare_nocache): Rename to do_compare.
21372         (STRCOLL): Remove weight and rules cache.
21374 2014-10-16  Roland McGrath  <roland@hack.frob.com>
21376         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21377         * sysdeps/arm/sfp-machine.h: ... to here.
21378         * sysdeps/arm/Implies: Remove arm/soft-fp.
21380 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
21382         * conform/data/sys/utsname.h-data (*_t): Allow.
21383         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21384         [POSIX] (WEXITED): Do not expect constant.
21385         [POSIX] (WSTOPPED): Likewise.
21386         [POSIX] (WNOHANG): Likewise.
21387         [POSIX] (WNOWAIT): Likewise.
21388         [POSIX] (siginfo_t): Do not expect type or elements.
21389         [POSIX] (pid_t): Do not expect type.
21390         [POSIX] (signal.h): Do not allow header.
21391         [POSIX] (sys/resource.h): Likewise.
21392         [POSIX] (si_*): Do not allow pattern.
21393         [POSIX] (W*): Likewise.
21394         [POSIX] (P_*): Likewise.
21395         [POSIX] (BUS_*): Likewise.
21396         [POSIX] (CLD_*): Likewise.
21397         [POSIX] (FPE_*): Likewise.
21398         [POSIX] (ILL_*): Likewise.
21399         [POSIX] (POLL_*): Likewise.
21400         [POSIX] (SEGV_*): Likewise.
21401         [POSIX] (SI_*): Likewise.
21402         [POSIX] (TRAP_*): Likewise.
21403         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21404         variable.
21406 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21408         [BZ #12926]
21409         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21410         infinite loop when __recvmsg returns 0.
21412 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21414         * CANCEL-FCT-WAIVE: Remove file.
21415         * CANCEL-FILE-WAIVE: Likewise.
21417         [BZ #14132]
21418         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21419         instead of INTVARDEF.
21420         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21421         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21422         rtld_hidden_data_def instead of INTVARDEF.
21423         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21424         * elf/dl-deps.c (expand_dst): Likewise.
21425         * elf/dl-load.c (_dl_dst_count): Likewise.
21426         (_dl_dst_substitute): Likewise.
21427         (decompose_rpath): Likewise.
21428         (_dl_init_paths): Likewise.
21429         (open_path): Likewise.
21430         (_dl_map_object): Likewise.
21431         * elf/rtld.c (dl_main): Likewise.
21432         (process_dl_audit): Likewise.
21433         (process_envvars): Likewise.
21434         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21435         Remove declaration.
21436         (__libc_enable_secure): Use rtld_hidden_proto.
21438 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21440         * elf/dl-load.c
21441         (add_path): New function broken out of _dl_rtld_di_serinfo.
21442         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21444 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21446         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21447         parentheses around macro arguments.
21448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21449         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21450         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21451         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21455         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21459         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21460         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21461         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21463         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21464         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21467         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21473         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21477         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21478         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21479         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21481         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21482         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21483         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21484         Likewise.
21485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21486         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21487         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21488         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21491         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21492         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21493         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21494         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21495         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21496         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21497         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21498         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21499         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21501         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21502         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21503         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21504         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21505         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21506         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21507         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21508         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21509         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21510         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21511         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21512         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21513         (_FP_FRAC_SRS_1): Likewise.
21514         (_FP_FRAC_CLZ_1): Likewise.
21515         (_FP_MUL_MEAT_1_imm): Likewise.
21516         (_FP_MUL_MEAT_1_wide): Likewise.
21517         (_FP_MUL_MEAT_1_hard): Likewise.
21518         (_FP_SQRT_MEAT_1): Likewise.
21519         (_FP_FRAC_ASSEMBLE_1): Likewise.
21520         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21521         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21522         (__FP_CLZ_2): Likewise.
21523         (_FP_MUL_MEAT_2_wide): Likewise.
21524         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21525         (_FP_MUL_MEAT_2_gmp): Likewise.
21526         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21527         (_FP_SQRT_MEAT_2): Likewise.
21528         (_FP_FRAC_ASSEMBLE_2): Likewise.
21529         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21530         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21531         (_FP_FRAC_CLZ_4): Likewise.
21532         (_FP_MUL_MEAT_4_wide): Likewise.
21533         (_FP_MUL_MEAT_4_gmp): Likewise.
21534         (_FP_SQRT_MEAT_4): Likewise.
21535         (_FP_FRAC_ASSEMBLE_4): Likewise.
21536         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21537         * soft-fp/op-common.h (_FP_CMP): Likewise.
21538         (_FP_CMP_EQ): Likewise.
21539         (_FP_CMP_UNORD): Likewise.
21540         (_FP_TO_INT): Likewise.
21541         (_FP_FROM_INT): Likewise.
21542         [!__FP_CLZ] (__FP_CLZ): Likewise.
21543         (_FP_DIV_HELP_imm): Likewise.
21544         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21545         Likewise.
21546         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21547         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21548         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21549         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21550         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21551         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21552         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21553         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21554         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21556         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21557         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21558         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21559         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21560         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21561         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21562         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21563         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21564         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21565         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21566         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21568         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21569         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21570         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21572         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21574         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21575         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21576         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21577         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21578         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21579         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21580         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21581         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21582         (FP_UNPACK_RAW_SP): Likewise.
21583         (FP_PACK_RAW_S): Likewise.
21584         (FP_PACK_RAW_SP): Likewise.
21585         (FP_UNPACK_S): Likewise.
21586         (FP_UNPACK_SP): Likewise.
21587         (FP_UNPACK_SEMIRAW_S): Likewise.
21588         (FP_UNPACK_SEMIRAW_SP): Likewise.
21589         (FP_PACK_S): Likewise.
21590         (FP_PACK_SP): Likewise.
21591         (FP_PACK_SEMIRAW_S): Likewise.
21592         (FP_PACK_SEMIRAW_SP): Likewise.
21593         (_FP_SQRT_MEAT_S): Likewise.
21594         (FP_CMP_S): Likewise.
21595         (FP_CMP_EQ_S): Likewise.
21596         (FP_CMP_UNORD_S): Likewise.
21597         (FP_TO_INT_S): Likewise.
21598         (FP_FROM_INT_S): Likewise.
21600         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21602         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21603         (FP_EX_INVALID_IMZ): Likewise.
21604         (FP_EX_INVALID_IMZ_FMA): Likewise.
21605         (FP_EX_INVALID_ISI): Likewise.
21606         (FP_EX_INVALID_ZDZ): Likewise.
21607         (FP_EX_INVALID_IDI): Likewise.
21608         (FP_EX_INVALID_SQRT): Likewise.
21609         (FP_EX_INVALID_CVI): Likewise.
21610         (FP_EX_INVALID_VC): Likewise.
21611         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21612         "invalid" exceptions.
21613         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21614         (_FP_ADD_INTERNAL): Likewise.
21615         (_FP_MUL): Likewise.
21616         (_FP_FMA): Likewise.
21617         (_FP_DIV): Likewise.
21618         (_FP_CMP_CHECK_NAN): Likewise.
21619         (_FP_SQRT): Likewise.
21620         (_FP_TO_INT): Likewise.
21621         (FP_EXTEND): Likewise.
21623 2014-10-09  Allan McRae  <allan@archlinux.org>
21625         * po/fr.po: Update French translation from translation project.
21627 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21629         [BZ #14132]
21630         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21631         of INTDEF.
21632         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21633         (__cxa_atexit): Use libc_hidden_proto.
21634         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21636         [BZ #14132]
21637         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21638         declaration.
21639         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21640         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21641         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21642         [!_ISOMAC] (__iswctype_internal): Likewise.
21643         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21644         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21645         alias.
21646         (fcntl): Remove __fcntl_internal alias.
21647         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21648         __connect_internal alias.
21649         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21650         Likewise.
21652         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21653         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21654         FP_DENORM_ZERO.
21655         (_FP_CHECK_FLUSH_ZERO): New macro.
21656         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21657         (_FP_CMP): Likewise.
21658         (_FP_CMP_EQ): Likewise.
21659         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21660         FP_DENORM_ZERO.
21661         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21662         (FP_TRUNC): Likewise.
21664         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21665         treated as invalid conversion, not as normal exponent.
21667         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21668         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21669         (_FP_CMP_EQ): Likewise.
21670         (_FP_CMP_UNORD): Likewise.
21671         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21672         (FP_CMP_EQ_D): Likewise.
21673         (FP_CMP_UNORD_D): Likewise.
21674         * soft-fp/extended.h (FP_CMP_E): Likewise.
21675         (FP_CMP_EQ_E): Likewise.
21676         (FP_CMP_UNORD_E): Likewise.
21677         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21678         (FP_CMP_EQ_Q): Likewise.
21679         (FP_CMP_UNORD_Q): Likewise.
21680         * soft-fp/single.h (FP_CMP_S): Likewise.
21681         (FP_CMP_EQ_S): Likewise.
21682         (FP_CMP_UNORD_S): Likewise.
21683         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21684         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21685         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21686         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21687         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21688         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21689         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21690         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21691         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21692         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21693         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21694         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21695         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21696         to FP_CMP_Q.
21697         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21698         FP_CMP_Q.
21699         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21700         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21701         FP_CMP_EQ_Q.
21702         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21703         FP_CMP_Q.
21704         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21705         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21706         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21707         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21708         FP_CMP_EQ_Q.
21709         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21710         FP_CMP_Q.
21711         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21712         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21713         FP_CMP_EQ_Q.
21714         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21715         FP_CMP_Q.
21716         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21717         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21718         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21719         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21720         FP_CMP_EQ_Q.
21722         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21723         a subnormal result, set the underflow exception if trapping on
21724         underflow is enabled.
21725         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21726         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21727         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21728         redefine to 0.
21729         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21730         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21731         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21732         * soft-fp/extendxftf2.c (__extendxftf2): Use
21733         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21735         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21736         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21737         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21738         FP_HANDLE_EXCEPTIONS.
21739         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21740         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21741         FP_HANDLE_EXCEPTIONS.
21742         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21743         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21744         FP_HANDLE_EXCEPTIONS.
21745         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21746         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21747         FP_HANDLE_EXCEPTIONS.
21749 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21751         [BZ #14132]
21752         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21753         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21754         use INTUSE.
21755         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21756         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21757         Remove alias.
21758         (__adjtimex): Define using libc_hidden_ver.
21759         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21760         Remove declaration.
21761         (ntp_gettime): Call __adjtimex directly.
21762         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21763         Remove declaration.
21764         (ntp_gettimex): Call __adjtimex directly.
21765         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21766         __adjtimex_internal alias.
21768 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21770         [BZ #17460]
21771         * nscd/nscd.c (more_help): Rewrite list of tables collection
21772         using xstrdup and asprintf.
21774         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21776 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21777             Roland McGrath  <roland@hack.frob.com>
21779         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21780         (do_lookup_unique): ... local function 'enter' here; update callers.
21782 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21784         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21785         compat_symbol calls on [SHARED].
21786         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21787         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21788         Remove.
21789         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21790         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21791         (oldsetrlimit): Remove.
21792         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21794         (lchown): New syscall entry.
21795         (oldsetrlimit): Remove.
21796         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21797         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21798         (oldsetrlimit): Remove.
21799         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21801         [BZ #14138]
21802         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21803         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21804         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21805         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21806         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21807         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21808         (fchown): Likewise.
21809         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21810         (fchown): Likewise.
21811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21812         Likewise.
21814 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21816         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21817         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21818         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21819         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21820         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21821         Likewise.
21822         (__old_sem_post): Likewise.
21824 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21826         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21827         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21828         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21829         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21830         Use INLINE_VSYSCALL macro.
21831         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21832         __vdso_clock_gettime.
21833         * sysdeps/unix/sysv/linux/tile/init-first.c
21834         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21835         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21836         __vdso_clock_gettime.
21838         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21839         to set up frame more cleanly.
21841         * sysdeps/tile/memcmp.c: New file.
21843         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21845         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21846         * sysdeps/tile/tilegx/strcasestr.c: New file.
21847         * sysdeps/tile/tilegx/strnlen.c: New file.
21848         * sysdeps/tile/tilegx/strstr.c: New file.
21850         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21852 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21854         * nptl/tst-setuid3.c: Write errors to stdout.
21856 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21858         * elf/dl-deps.c
21859         (preload): New functions broken out of _dl_map_object_deps.
21860         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21862 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21864         [BZ #14138]
21865         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21866         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21868 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21870         * sysdeps/mips/strcmp.S: New.
21872 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21874         [BZ #14138]
21875         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21876         (linkat): Likewise.
21877         (mkdirat): Likewise.
21878         (readlinkat): Likewise.
21879         (renameat): Likewise.
21880         (symlinkat): Likewise.
21881         (unlinkat): Likewise.
21882         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21883         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21884         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21885         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21886         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21887         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21888         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21890 2014-09-30  Will Newton  <will.newton@linaro.org>
21892         * math/math.h: Define long double math functions if
21893         _LIBC_TEST is defined.
21894         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21896         * localedata/Makefile: Move assignment to tests-special
21897         into an ifdef testing run-built-tests.
21898         * timezone/Makefile: Likewise.
21900 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21902         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21903         with $(BASH) not $(SHELL).
21905 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21906             Matthew LeGendre  <legendre1@llnl.gov>
21908         [BZ #17411]
21909         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21910         l_reloc_result.
21912 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21914         * stdio-common/printf_fp.c
21915         (hack_digit): New function, broken out of ...
21916         (__printf_fp): ... local function here.  Update call sites.
21917         hack_digit now takes an additional parameter that is a pointer
21918         to a struct of the referenced locals.  Those locals moved inside
21919         the struct and references updated.
21921 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21923         * aclocal.m4: Require autoconf 2.69.
21924         * configure: Regenerated.
21925         * sysdeps/aarch64/configure: Likewise.
21926         * sysdeps/alpha/configure: Likewise.
21927         * sysdeps/arm/armv7/configure: Likewise.
21928         * sysdeps/arm/configure: Likewise.
21929         * sysdeps/ia64/configure: Likewise.
21930         * sysdeps/mach/configure: Likewise.
21931         * sysdeps/mips/configure: Likewise.
21932         * sysdeps/s390/configure: Likewise.
21933         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21936         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21937         file.
21938         * sysdeps/ia64/configure.ac: Likewise.
21940 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21943         specify symbol version for ld.so.  Do not include entry for
21944         libpthread.
21945         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21946         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21947         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21949         [BZ #14171]
21950         * Makeconfig [$(build-shared) = yes]
21951         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21952         makefiles.
21953         [$(build-shared) = yes && $(soversions.mk-done) = t]
21954         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21955         [$(build-shared) = yes && $(soversions.mk-done) = t]
21956         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21957         to Makerules.
21958         [$(build-shared) = yes && $(soversions.mk-done) = t]
21959         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21960         here.
21961         [$(build-shared) = yes && $(soversions.mk-done) = t]
21962         (common-generated): Don't append gnu/lib-names.h and
21963         gnu/lib-names.stmp here.
21964         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21965         (lib-names-h-abi): New variable.
21966         [$(build-shared) = yes && $(soversions.mk-done) = t]
21967         (lib-names-stmp-abi): Likewise.
21968         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21969         abi-variants] (before-compile): Append
21970         $(common-objpfx)$(lib-names-h-abi).
21971         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21972         abi-variants] (common-generated): Append gnu/lib-names.h.
21973         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21974         abi-variants] (install-others-nosubdir): Depend on
21975         $(inst_includedir)/$(lib-names-h-abi).
21976         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21977         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21978         [$(build-shared) = yes && $(soversions.mk-done) = t]
21979         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21980         [$(build-shared) = yes && $(soversions.mk-done) = t]
21981         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21982         [$(build-shared) = yes && $(soversions.mk-done) = t]
21983         (common-generated): Append $(lib-names-h-abi) and
21984         $(lib-names-stmp-abi).
21985         * scripts/lib-names.awk: Do not handle multi being set.
21986         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21987         Remove variable.
21988         (abi-lp64_be-ld-soname): Likewise.
21989         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21990         Likewise.
21991         (abi-hard-ld-soname): Likewise.
21992         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21993         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21994         Remove variable.
21995         (abi-o32_hard-ld-soname): Likewise.
21996         (abi-o32_soft_2008-ld-soname): Likewise.
21997         (abi-o32_hard_2008-ld-soname): Likewise.
21998         (abi-n32_soft-ld-soname): Likewise.
21999         (abi-n32_hard-ld-soname): Likewise.
22000         (abi-n32_soft_2008-ld-soname): Likewise.
22001         (abi-n32_hard_2008-ld-soname): Likewise.
22002         (abi-n64_soft-ld-soname): Likewise.
22003         (abi-n64_hard-ld-soname): Likewise.
22004         (abi-n64_soft_2008-ld-soname): Likewise.
22005         (abi-n64_hard_2008-ld-soname): Likewise.
22006         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22007         Likewise.
22008         (abi-64-v2-ld-soname): Likewise.
22009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22010         ld.so entries.
22011         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22012         variable.
22013         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22014         entry.
22015         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22016         variable.
22017         (abi-64-ld-soname): Likewise.
22018         (abi-x32-ld-soname): Likewise.
22019         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22020         entry.
22021         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22023 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22025         [BZ #14138]
22026         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22027         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22028         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22029         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22030         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22031         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22032         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22033         syscall entry for GLIBC_2.2 symbol version.
22034         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22035         Likewise.
22036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22037         (setrlimit): Likewise.
22038         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22039         Likewise.
22041 2014-09-23  Will Newton  <will.newton@linaro.org>
22043         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22044         _LINUX_ARM_SYSDEP_H include guard too.
22045         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22046         define.
22048 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22050         * sysdeps/unix/sysv/linux/eventfd.c:
22051         Make first argument unsigned.
22052         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22053         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22055 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22057         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22058         * socket/sys/socket.h: Likewise
22059         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22061 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22063         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22065 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22067         * time/tst-ftime.c: New test.
22068         * time/Makefile (tests): Add tst-ftime.
22070 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22072         * soft-fp/extended.h: Fix comment formatting.
22073         * soft-fp/op-1.h: Likewise.
22074         * soft-fp/op-2.h: Likewise.
22075         * soft-fp/op-4.h: Likewise.
22076         * soft-fp/op-8.h: Likewise.
22077         * soft-fp/op-common.h: Likewise.
22078         * soft-fp/soft-fp.h: Likewise.
22080         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22082 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22084         [BZ #6652]
22085         * Makeconfig (soversions-default-setname): Remove variable.
22086         ($(common-objpfx)soversions.i): Don't pass default_setname to
22087         soversions.awk.
22088         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22089         oldest_abi to abi-versions.awk.
22090         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22091         * config.make.in (oldest-abi): Remove variable.
22092         * configure.ac (--enable-oldest-abi): Remove configure option.
22093         * configure: Regenerated.
22094         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22095         text.
22096         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22097         * scripts/soversions.awk: Do not handle default_setname variable.
22098         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22099         variable.
22100         * sysdeps/mach/hurd/configure: Regenerated.
22101         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22102         variable.
22103         * sysdeps/unix/sysv/linux/configure: Regenerated.
22105 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22107         * elf/Makefile (CFLAGS-interp.c): Remove.
22108         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22109         path string.
22110         * elf/interp.c: Include generated runtime-linker.h
22112         * Makerules (lib%.so): Don't include $(+interp) in
22113         prerequisites.
22114         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22115         * dlfcn/eval.c: Remove file.
22117         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22118         macros.
22120         [BZ #17266]
22121         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22122         4.2 and newer.
22124         [BZ #17370]
22125         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22127 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22128             Jakub Jelinek  <jakub@redhat.com>
22130         [BZ #17266]
22131         * libio/stdio.h: Check definition of __fortify_function
22132         instead of __extern_always_inline to include bits/stdio2.h.
22133         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22134         check if __extern_always_inline is defined.
22135         [__USE_MISC || __USE_XOPEN]: Likewise.
22136         [__USE_ISOC99] Likewise.
22137         * misc/sys/cdefs.h (__fortify_function): Define only if
22138         __extern_always_inline is defined.
22139         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22140         __extern_always_inline and __extern_inline only for g++-4.3
22141         and newer or a compatible gcc.
22143 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22145         [BZ #17371]
22146         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22147         last change to handle zero prefix length.
22149 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22151         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22152         _SC_REGEX_VERSION.
22154         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22155         _POSIX_RAW_SOCKETS.
22157 2014-09-13  Allan McRae  <allan@archlinux.org>
22159         * po/ru.po: Update Russian translation from translation project.
22161 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22163         * locale/programs/locale.c (show_locale_vars): Inline local function
22164         into its sole call site.  Clean up some style nits.
22165         (print_item): New function, broken out of ...
22166         (show_info): ... local function here.  Clean up style nits.
22168         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22169         out of ...
22170         (set_class_defaults): ... local function set_default here.
22171         Define set_default as a macro locally to pass constant parameters.
22172         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22173         rather than a shared local.
22175         * stdlib/rpmatch.c (try): New function, broken out of ...
22176         (rpmatch): ... local function here.  Also, prototypify definition.
22178 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22180         * scripts/soversions.awk: Do not handle configuration names.
22181         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22182         vendor and os variables to soversions.awk.
22183         * configure.ac: Do not modify gnu-* host_os.
22184         * configure: Regenerated
22185         * shlib-versions: Remove first column with configuration names.
22186         * nptl/shlib-versions: Likewise.
22187         * nptl_db/shlib-versions: Likewise.
22188         * sysdeps/hppa/shlib-versions: Likewise.
22189         * sysdeps/m68k/shlib-versions: Likewise.
22190         * sysdeps/mach/hurd/shlib-versions: Likewise.
22191         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22192         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22193         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22194         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22195         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22196         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22197         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22198         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22200         Likewise.
22201         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22202         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22203         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22204         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22205         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22206         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22207         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22208         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22211         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22213         Regenerated.
22214         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22216         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22218         * shlib-versions: Remove OS-specific entries.  Moved to files in
22219         sysdeps.
22220         * sysdeps/mach/hurd/shlib-versions: New file.
22221         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22223         * nptl/shlib-versions: Remove architecture-specific entries.
22224         Moved to files in sysdeps.
22225         * shlib-versions: Likewise.
22226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22227         file.
22228         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22229         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22230         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22231         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22233         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22234         (UDP_NO_CHECK6_RX): Likewise.
22236 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22238         * sysdeps/posix/sysconf.c (__sysconf): Spell
22239         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22241 2014-08-12  Florian Weimer  <fweimer@redhat.com>
22243         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22244         loading.
22245         * iconv/Versions (__gconv_transliterate): Export for use from
22246         gconv modules.
22247         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22248         (struct __gconv_trans_data, __gconv_trans_fct,
22249         __gconv_trans_context_fct, __gconv_trans_query_fct,
22250         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22251         definitions.
22252         (struct __gconv_step_data): Remove __trans member.
22253         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
22254         longer hidden.  Remove unused trans_data argument.
22255         * iconv/gconv_int.h (struct trans_struct): Remove definition.
22256         (__gconv_translit_find): Remove declaration.
22257         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
22258         prototype.
22259         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22260         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22261         trans_data argument.  Add hidden definition.
22262         (__gconv_translit_find): Remove.
22263         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22264         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22265         * iconv/skeleton.c: Remove transliteration initialization.
22266         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22267         __gconv_step_data initialization.
22268         * libio/iofwide.c (__libio_translit_): Remove.
22269         (_IO_fwide): Adjust struct __gconv_step_data initialization.
22270         * wcsmbs/btowc.c (__btowc): Likewise.
22271         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22272         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22273         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22274         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22275         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22276         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22277         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22278         * wcsmbs/wctob.c (wctob): Likewise.
22280 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22282         [BZ #16194]
22283         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22284         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
22285         register usage.
22286         * sysdeps/x86/Makefile: Adjust.
22288 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22289             Roland McGrath  <roland@hack.frob.com>
22291         * locale/weight.h: Add include guard.
22292         (findidx): Make static rather than auto; take new parameters
22293         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22294         * locale/weightwc.h: Likewise.
22295         * posix/fnmatch_loop.c
22296         (FCT): Change type of EXTRA from int32_t to wint_t.
22297         Don't include either header inside the function.
22298         Call FINDIDX rather than findidx, and pass new arguments.
22299         #undef FINDIDX at the end of the file.
22300         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22301         FINDIDX before including fnmatch_loop.c for the non-wide version.
22302         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22303         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22304         for the wide version.
22305         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22306         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22307         Pass new arguments to findidx.
22308         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22309         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22310         Don't #include it inside the function.  Pass new arguments to findidx.
22311         * posix/regex_internal.h
22312         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22313         (re_string_elem_size_at): Don't #include it inside the function.
22314         Pass new arguments to findidx.
22315         * string/strcoll_l.c: #include WEIGHT_H at top level.
22316         (get_next_seq): Don't #include it inside the function.
22317         Pass new arguments to findidx.
22318         (get_next_seq_nocache): Likewise.
22319         * string/strxfrm_l.c: #include WEIGHT_H at top level.
22320         (STRXFRM): Don't #include it inside the function.
22321         Pass new arguments to findidx.
22323 2014-09-11  Florian Weimer  <fweimer@redhat.com>
22325         [BZ #17344]
22326         * malloc/malloc.c (unlink): Turn asserts into a call to
22327         malloc_printerr.
22329 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
22331         [BZ #17370]
22332         * libio/wfileops (do_ftell_wide): Free OUT.
22334 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
22336         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22338 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22340         [BZ #17363]
22341         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22342         group if the current group is empty.
22344 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22346         * benchtests/bench-memset.c (test_main): Add more test from size
22347         from 32 to 512 bytes.
22348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22349         Add POWER8 memset object.
22350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22351         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22352         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22353         implementation.
22354         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22355         Likewise.
22356         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22357         multiarch POWER8 memset optimization.
22358         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22359         POWER8 memset optimization.
22361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22362         Remove bzero multiarch objects.
22363         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22365         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22366         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22367         Remove define.
22368         [__bzero]: Redefine to specific name.
22369         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22370         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22371         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22372         define.
22373         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22374         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22376 2014-09-10  Florian Weimer  <fweimer@redhat.com>
22378         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22379         warnings into errors.
22381         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22382         __cxa_thread_atexit_impl prototype.
22384 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22386         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22387         Fix capitalization of error message.
22389 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22391         * sysdeps/mips/preconfigure: Modify ABI tests.
22393 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22395         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22397 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22398             Carlos O'Donell  <carlos@systemhalted.org>
22400         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22401         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22402         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22403         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22404         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22405         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22406         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22407         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22408         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22409         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22410         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22411         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22412         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22413         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22414         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22415         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22416         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22417         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22418         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22419         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22420         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22421         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22422         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22423         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22424         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22425         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22426         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22427         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22428         Deconditionalize the code that was previously under [RESET_PID].
22429         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22430         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22431         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22432         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22433         include sysdep.h.
22435 2014-09-08  Allan McRae  <allan@archlinux.org>
22437         * version.h (RELEASE): Set to "development".
22438         (VERSION): Set to "2.20.90"
22440 2014-09-07  Allan McRae  <allan@archlinux.org
22442         * version.h (RELEASE): Set to "stable".
22443         (VERSION): Set to "2.20"
22444         * include/features.h (__GLIBC_MINOR__): Set to 20.
22446         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22447         Liebler.
22449         * po/ko.po: Update Korean translation from translation project.
22451 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22453         [BZ #17354]
22454         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22455         macro for handling signed relocations.
22457 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22459         [BZ #17325]
22460         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22461         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22462         assert.
22463         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22464         * iconvdata/ibm935.c (BODY): Likewise.
22465         * iconvdata/ibm937.c (BODY): Likewise.
22466         * iconvdata/ibm939.c (BODY): Likewise.
22467         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22468         assert.
22469         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22470         script.
22471         * iconvdata/run-iconv-test.sh: New test loop for checking for
22472         decoder crashers.
22474 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22476         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22477         libm_hidden_ver.
22479 2014-09-01  Allan McRae  <allan@archlinux.org>
22481         * po/eo.po: Update Esperanto translation from translation project.
22483         * po/ca.po: Update Catalan translation from translation project.
22485 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22487         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22488         __proc_dostop call.
22490 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22492         [BZ #17319]
22493         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22494         to call set_thread_area instead of hand written asm.
22495         (__NR_set_thread_area): Removed define.
22496         (TLS_FLAG_WRITABLE): Likewise.
22497         (__ASSUME_SET_THREAD_AREA): Remove check.
22498         (TLS_EBX_ARG): Remove define.
22499         (TLS_LOAD_EBX): Likewise.
22501 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22503         Simplify atomicity of socket creation in bind.
22505         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22506         looking up the name after linking the file.
22508 2014-08-27  Allan McRae  <allan@archlinux.org>
22510         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22512 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22514         [BZ #17187]
22515         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22516         trans_compare, open_translit, __gconv_translit_find):
22517         Remove module loading code.
22519 2014-08-26  Allan McRae  <allan@archlinux.org>
22521         * po/vi.po: Update Vietnamese translation from translation project.
22523         * po/uk.po: Update Ukrainian translation from translation project.
22525         * po/fr.po: Update French translation from translation project.
22527         * po/ru.po: Update Russian translation from translation project.
22529         * po/pl.po: Update Polish translation from translation project.
22531         * po/cs.po: Update Czech translation from translation project.
22533         * po/de.po: Update German translation from translation project.
22535         * po/bg.po: Update Bulgarian translation from translation project.
22537         * po/sv.po: Update Sweedish translation from translation project.
22539         * po/nl.po: Update Dutch translation from translation project.
22541         * po/es.po: Update Spanish translation from translation project.
22543 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22545         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22547         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22548         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22549         (CPPFLAGS-iconvconfig): Likewise.
22550         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22552         * include/libc-symbols.h: Remove unnecessary check for
22553         NOT_IN_libc.
22554         * nptl/pthreadP.h: Likewise.
22555         * sysdeps/aarch64/setjmp.S: Likewise.
22556         * sysdeps/alpha/setjmp.S: Likewise.
22557         * sysdeps/arm/sysdep.h: Likewise.
22558         * sysdeps/i386/setjmp.S: Likewise.
22559         * sysdeps/m68k/setjmp.c: Likewise.
22560         * sysdeps/posix/getcwd.c: Likewise.
22561         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22562         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22563         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22564         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22565         * sysdeps/sh/sh3/setjmp.S: Likewise.
22566         * sysdeps/sh/sh4/setjmp.S: Likewise.
22567         * sysdeps/unix/alpha/sysdep.h: Likewise.
22568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22569         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22570         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22571         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22576         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22579         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22581         * sysdeps/x86_64/setjmp.S: Likewise.
22583 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22585         [BZ #17263]
22586         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22587         <stdint.h>.
22588         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22589         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22591 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22593         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22595         [BZ #17262]
22596         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22597         and __x86_64__ when disabling x87 inline functions.
22599 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22601         [BZ #17259]
22602         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22603         asm statement with __cpuid_count.
22605 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22607         * configure.ac: Change __ehdr_start code to dereference the struct.
22608         Run readelf on the output to look for relocations.
22609         * configure: Regenerated.
22611 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22613         [BZ #17261]
22614         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22615         value to 0.
22616         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22618 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22620         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22622 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22624         [BZ #16892]
22625         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22626         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22628 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22630         * malloc/malloc.c: Fix typo in comment.
22632 2014-08-09  Allan McRae  <allan@archlinux.org>
22634         * Regenerate libc.po.
22636 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22638         * intl/tst-gettext2.sh: Check every lang file for creation.
22640 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22642         * sysdeps/aarch64/fpu/math_private.h
22643         (libc_feholdsetround_noex_aarch64_ctx): New function.
22645 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22647         * sysdeps/arm/armv6/strcpy.S (strcpy):
22648         Fix performance issue in misaligned cases.
22650 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22652         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22653         Move definition from termios.h.
22654         (struct termio): Likewise.
22655         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22656         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22657         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22658         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22659         Likewise.
22660         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22661         Move definition to ioctl-types.h
22662         (struct termio): Likewise.
22663         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22664         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22665         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22666         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22667         Likewise.
22669 2014-08-05  Richard Henderson  <rth@redhat.com>
22671         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22672         exceptions.
22673         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22674         Add fraiseexcpt.
22675         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22676         Use __feraiseexcept.
22677         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22678         Protect libm symbols with IS_IN_libm.
22680         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22682 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22684         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22686 2014-08-04  Will Newton  <will.newton@linaro.org>
22688         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22689         file.
22691 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22693         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22694         variants for each function.
22696 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22698         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22699         appended ...
22700         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22701         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22702         appended ...
22703         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22704         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22705         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22706         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22707         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22708         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22709         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22710         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22711         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22712         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22713         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22714         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22715         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22716         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22717         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22718         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22719         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22720         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22721         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22722         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22723         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22724         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22725         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22726         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22727         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22728         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22729         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22730         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22731         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22732         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22733         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22734         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22735         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22736         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22737         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22738         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22739         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22740         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22741         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22742         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22743         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22744         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22745         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22746         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22747         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22748         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22749         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22750         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22751         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22752         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22753         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22754         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22755         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22756         Update #include.
22757         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22758         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22760 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22762         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22763         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22764         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22765         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22766         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22767         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22769 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22771         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22772         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22773         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22774         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22776 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22778         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22779         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22780         (__libc_vfork): Define function under this name.
22781         (__vfork): Define as an alias.
22782         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22783         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22785 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22787         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22788         that was previously under [RESET_PID].
22789         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22791 2014-08-04  Andreas Schwab  <schwab@suse.de>
22793         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22795 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22797         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22798         (main): Likewise.
22800 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22802         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22804 2014-08-01  Richard Henderon  <rth@redhat.com>
22806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22807         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22808         typo in exact zero test.
22809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22810         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22813 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22815         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22816         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22817         * sysdeps/arm/sysdep.h: ... here.
22818         [!__ASSEMBLER__]: Include <stdint.h>.
22820 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22822         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22823         (HAVE_WCTYPE_H): Likewise.
22824         (HAVE_ISWCTYPE): Likewise.
22825         (ENABLE_NLS): Likewise.
22826         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22827         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22829         * posix/regex_internal.c: Check if DEBUG is defined and is
22830         set.
22832         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22833         (HAVE_MBSRTOWCS): Likewise.
22834         * posix/fnmatch.c: Include string.h unconditionally.
22836 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22838         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22839         reversal.
22841 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22843         * sysdeps/generic/safe-fatal.h: New file.
22844         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22845         * nptl/forward.c: Include it.
22846         (__pthread_unwind): Use __safe_fatal as default action, rather
22847         than a bogus use of INTERNAL_SYSCALL that could never work.
22849         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22850         * configure.ac (libc_cv_builtin_trap): New test.
22851         * configure: Regenerated.
22852         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22853         (ABORT_INSTRUCTION): Define using __builtin_trap.
22855         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22856         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22857         * sysdeps/nptl/nptl-signals.h: New file.
22858         * nptl/pthreadP.h: Include <nptl-signals.h>.
22860 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22862         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22863         (ONE_DIRECTION): Define.
22864         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22865         (ONE_DIRECTION): Define.
22866         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22867         (ONE_DIRECTION): Define.
22869 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22871         * sysdeps/s390/Makefile: Delete file.
22872         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22873         * sysdeps/s390/__longjmp.c: Delete file.
22874         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22875         Remove fields __flags and __reserved.
22876         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22877         and add versioning.
22878         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22879         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22880         * sysdeps/s390/rtld-setjmp.S: Likewise.
22881         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22882         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22883         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22884         * sysdeps/s390/s390-32/setjmp.S: ... here.
22885         Add versioning.
22886         (__sigsetjmp): Remove setting __flags field.
22887         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22888         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22889         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22890         * sysdeps/s390/s390-64/setjmp.S: ... here.
22891         Add versioning.
22892         (__sigsetjmp): Remove setting __flags field.
22893         * sysdeps/s390/setjmp.S: Delete file.
22894         * sysdeps/s390/sigjmp.c: Likewise.
22895         * sysdeps/s390/v1-longjmp.c: Likewise.
22896         * sysdeps/s390/v1-setjmp.h: Likewise.
22897         * sysdeps/s390/v1-sigjmp.c: Likewise.
22898         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22899         Remove v1-longjmp_chk.
22900         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22901         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22902         Include debug/longjmp_chk.c and add versioning.
22903         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22904         Include nptl/pt-longjmp.c and add versioning.
22905         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22906         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22907         Include __longjmp.c.
22908         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22909         Move to ...
22910         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22911         (__getcontext): Remove setting __flags field.
22912         Add versioning.
22913         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22914         Don't restore upper high grps.
22915         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22916         Likewise.
22917         (__swapcontext): Remove setting uc_flags field.
22918         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22919         Delete file.
22920         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22921         Include __longjmp.c.
22922         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22923         Move to ...
22924         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22925         (__getcontext): Remove setting __flags field.
22926         Add versioning.
22927         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22928         (__swapcontext): Remove setting uc_flags field.
22929         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22930         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22931         Remove fields uc_high_gprs and __reserved.
22932         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22933         New file with reverted content.
22934         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22935         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22936         Regenerated.
22937         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22938         Regenerated.
22940 2014-07-31  Andreas Schwab  <schwab@suse.de>
22942         * config.h.in (HAVE_IFUNC): Define to 0.
22943         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22944         definedness.
22946 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22949         memmove-avx-unaligned, memcpy-avx-unaligned and
22950         mempcpy-avx-unaligned.
22951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22952         Add tests for AVX memcpy functions.
22953         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22954         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22955         memcpy_chk.
22956         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22957         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22958         memmove_chk.
22959         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22960         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22961         mempcpy_chk.
22962         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22963         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22964         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22966 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22968         [BZ #17213]
22969         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22970         powerpc64le.
22972 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22974         [BZ #16839]
22975         * manual/llio.texi: Add section about open file description locks.
22976         * manual/examples/ofdlocks.c: Example of open file description
22977         lock usage.
22978         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22979         F_OFD_SETLK, and F_OFD_SETLKW.
22981 2014-07-23  Allan McRae  <allan@archlinux.org>
22983         * po/es.po: Update Spanish translation from translation project.
22985 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22987         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22989 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22991         [BZ #17078]
22992         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22993         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22994         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22996 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22998         [BZ #17088]
22999         * math/fesetenv.c (__fesetenv)
23000         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23001         * math/feupdateenv.c (__feupdateenv)
23002         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23004         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23005         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23006         (__ASSUME_SOCKETCALL): Do not define.
23008         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23009         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23010         (__ASSUME_SOCKETCALL): Do not define.
23011         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23012         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23013         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23014         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23015         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23016         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23017         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23018         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23020         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23021         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23022         (__ASSUME_SOCKETCALL): Do not define.
23023         (__ASSUME_IPC64): Define unconditionally.
23024         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23025         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23026         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23027         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23028         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23029         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23030         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23031         Likewise.
23033         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23034         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23035         (__ASSUME_SOCKETCALL): Do not define.
23036         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23037         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23038         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23039         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23040         (__ASSUME_REQUEUE_PI): Define unconditionally.
23041         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23042         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23043         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23044         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23045         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23046         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23048         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23049         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23050         (__ASSUME_SOCKETCALL): Do not define.
23051         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23052         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23053         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23054         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23055         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23056         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23058         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23059         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23060         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23061         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23062         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23063         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23064         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23065         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23066         (__ASSUME_GETCPU_SYSCALL): Likewise.
23068         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23069         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23070         cases for individual architectures.
23071         * sysdeps/gnu/configure: Regenerated.
23072         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23073         LIBC_SLIBDIR_RTLDDIR.
23074         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23075         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23076         LIBC_SLIBDIR_RTLDDIR.
23077         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23079         LIBC_SLIBDIR_RTLDDIR.
23080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23081         Regenerated.
23082         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23083         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23084         file.
23085         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23086         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23087         file.
23088         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23089         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23090         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23091         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23093         * sysdeps/aarch64/shlib-versions: Move to ...
23094         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23095         * sysdeps/alpha/shlib-versions: Move to ...
23096         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23097         * sysdeps/arm/shlib-versions: Move to ...
23098         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23099         * sysdeps/hppa/shlib-versions: Move all contents except for
23100         libgcc_s entry to ...
23101         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23102         entry from ...
23103         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23104         * sysdeps/ia64/shlib-versions: Move to ...
23105         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23106         entry from ...
23107         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23108         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23109         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23110         * sysdeps/microblaze/shlib-versions: Move to ...
23111         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23112         * sysdeps/mips/shlib-versions: Move to ...
23113         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23114         entry from ...
23115         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23116         * sysdeps/tile/shlib-versions: Move to ...
23117         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23118         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23119         from ...
23120         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23121         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23122         entry from ...
23123         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23125 2014-07-17  Will Newton  <will.newton@linaro.org>
23127         * sysdeps/arm/bits/atomic.h
23128         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23129         (__arch_compare_and_exchange_bool_16_int): Likewise.
23130         (__arch_compare_and_exchange_bool_64_int): Likewise.
23132         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23133         into an #else block.
23135 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23137         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23138         just Linux configurations.  Test empirically that the compiler sets
23139         __ARM_EABI__, rather than using the tuple to decide.
23140         * sysdeps/arm/preconfigure: Regenerated.
23141         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23142         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23143         contents appended ...
23144         * sysdeps/arm/configure.ac: ... here.
23145         * sysdeps/arm/configure: Regenerated.
23147 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23149         * nptl/pthread_kill.c: New file.
23150         * nptl/pthread_sigmask.c: New file.
23151         * nptl/pthread_sigqueue.c: New file.
23153         * sysdeps/nptl/lowlevellock.h: New file.
23154         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23155         * sysdeps/nptl/lowlevellock-futex.h: New file.
23157         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23158         Remove dead declarations.
23160 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23162         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23163         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23164         config-cflags-avx2.
23165         * sysdeps/x86_64/configure.ac: Likewise.
23166         * sysdeps/i386/configure: Regenerated.
23167         * sysdeps/x86_64/configure: Likewise.
23168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23169         memset-avx2 only if config-cflags-avx2 is yes.
23170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23171         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23172         defined.
23173         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23174         only if HAVE_AVX2_SUPPORT is defined.
23175         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23177 2014-07-14  Alan Modra  <amodra@gmail.com>
23179         [BZ #17153]
23180         * elf/elf.h (DT_PPC64_NUM): Correct value.
23181         * NEWS: Add to fixed bug list.
23183 2014-07-13  Jim Meyering  <meyering@fb.com>
23185         [BZ 17150]
23186         regex: don't deref NULL upon heap allocation failure
23187         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23188         failure in one more place.
23189         To trigger the segfault, configure grep -with-included-regex,
23190         build it, and run these commands:
23191         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23193 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23195         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23197 2014-07-11  Richard Henderson  <rth@redhat.com>
23199         * sysdeps/aarch64/libm-test-ulps: Update.
23201 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23203         [BZ #17135]
23204         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23205         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23206         (__nptl_setxid): Initialize error member.  Call
23207         __nptl_setxid_error.
23208         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23209         * nptl/descr.h (struct xid_command): Add error member.
23210         * nptl/tst-setuid3.c: New file.
23211         * nptl/Makefile (tests): Add it.
23213 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23215         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23216         New define.
23217         (__lll_trylock): Use __lll_base_trylock.
23218         (__lll_cond_trylock): Likewise.
23220 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23222         * nptl/pthread_create.c (start_thread): Use atomic_or and
23223         lll_futex_wake directly rather than lll_robust_dead.
23224         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23225         (lll_robust_dead): Macro removed.
23226         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23227         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23228         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23229         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23230         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23231         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23232         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23233         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23234         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23235         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23236         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23237         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23238         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23239         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23240         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23242         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23243         Use atomic_compare_and_exchange_val_acq directly rather than
23244         lll_robust_trylock.
23245         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23246         (__lll_robust_trylock, lll_robust_trylock): Removed.
23247         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23248         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23249         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23250         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23251         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23252         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23253         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23254         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23255         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23256         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23257         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23258         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23259         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23260         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23262 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23264         * manual/locale.texi (Locale Names): New section documenting
23265         locale name syntax.  Adjust menu and node chaining accordingly.
23266         (Choosing Locale): Reference Locale Names, Locale Categories.
23267         Mention setting LC_ALL=C.  Reflect that name syntax is now
23268         documented.
23269         (Locale Categories): New section title.  Reference Locale Names.
23270         LC_ALL is an environment variable, but not a category.
23271         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23272         description, now in Locale Name.  Reference that section.  Locale
23273         name syntax is now documented.
23275 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23277         [BZ #17137]
23278         * locale/findlocale.c (name_present, valid_locale_name): New
23279         functions.
23280         (_nl_find_locale): Use the loc_name variable to store name
23281         candidates.  Call name_present and valid_locale_name to check and
23282         validate locale names.  Return an error if the locale is invalid.
23284 2014-07-02  Florian Weimer  <fweimer@redhat.com>
23286         * locale/setlocale.c (setlocale): Use strdup for allocating
23287         composite name copy.
23289 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23291         Sync up with gnulib.
23292         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23293         [!_LIBC && ENABLE_NLS]: Include gettext.h.
23294         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23295         and _GL_ARG_NONNULL.
23296         [USE_UNLOCKED_IO]: Include unlocked-io.h.
23297         [!_LIBC]: Include code for Windows and Cygwin.
23298         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23299         Include prototype for int strerror_r.
23300         [!_LIBC] (is_open): New function.
23301         (flush_stdout): New function.
23302         (print_errno_message): Use it.
23303         (error): Likewise.
23304         (error_at_line): Likewise.
23305         (error_tail) Add function attribute macros.  Use
23306         __builtin_expect.
23308         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23310         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23312         * io/ftw.c: Include sys/param.h unconditionally.
23314         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23316         [BZ #17125]
23317         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23318         libc_freeres_ptr.
23319         (freecache): New function to free CACHE on exit.
23321         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23322         initialization.
23324 2014-07-09  David S. Miller  <davem@davemloft.net>
23326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23328         * sysdeps/sparc/nptl/internaltypes.h: Delete.
23329         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23330         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23331         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23332         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23333         * sysdeps/sparc/nptl/sem_init.c: Likewise.
23334         * sysdeps/sparc/nptl/sem_post.c: Likewise.
23335         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23336         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23337         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23338         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23339         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23340         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23342 2014-07-09  Andreas Schwab  <schwab@suse.de>
23344         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23345         output.
23346         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23347         (do_test): Likewise.
23349         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23351 2014-07-09  Will Newton  <will.newton@linaro.org>
23353         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23354         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23355         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23356         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23357         * sysdeps/hppa/start.S (_start): Likewise.
23359 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23361         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23363         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23364         defined.
23366 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23368         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23369         after checking that it is non-NULL.
23371         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23373 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23375         * sysdeps/powerpc/memmove.c: Remove file.
23376         * sysdeps/powerpc/powerpc32/power4/memcopy.h
23377         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23378         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23379         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23380         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23381         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23382         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23383         string memmove instead of removed powerpc one.
23385         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23386         [weak_alias]: Fix compiler warning due trailing data.
23387         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23388         [weak_alias]: Likewise.
23389         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23390         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23393         (__libc_ifunc_impl_list): Add memmove functions.
23395 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23397         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23398         Remove code.
23399         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23400         Likewise
23401         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23402         Likewise
23403         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23404         Likewise
23405         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23406         Likewise
23407         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23408         Likewise
23409         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23410         Likewise
23411         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23412         Likewise
23413         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23414         Likewise
23415         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23416         Likewise
23417         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23418         Likewise
23419         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23420         Likewise
23421         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23422         Likewise
23423         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23424         Likewise
23425         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23426         Likewise
23427         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23428         Likewise
23429         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23430         Likewise
23432 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23434         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23435         to avoid alignment traps in non-cacheable memory.
23436         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23439         multiarch objects.
23440         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23441         file: multiarch power7 memmove.
23442         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23443         multiarch default memmove.
23444         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23445         multiarch memove for powerpc32/power4.
23447         * string/bcopy.c: Use full path to include memmove.c.
23448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23449         multiarch objects.
23450         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23451         bcopy for powerpc64.
23452         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23453         bcopy for powerpc64.
23454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23455         and memmove implementations.
23456         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23457         optimized multiarch memmove for POWER7/powerpc64.
23458         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23459         default multiarch memmove for powerpc64.
23460         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23461         multiarch for powerpc64.
23462         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23463         for POWER7/powerpc64.
23464         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23465         memmove for POWER7/powerpc64.
23467         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23468         glibc default one.
23470         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23471         __ELF_NATIVE_CLASS equal to 64.
23473 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23475         * sysdeps/nptl/lowlevellock.h: File removed.
23477         * NEWS: NPTL is no longer an add-on!
23478         * nptl/internaltypes.h: Moved ...
23479         * sysdeps/nptl/internaltypes.h: ... here.
23480         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23481         * sysdeps/nptl/fork.c: Likewise.
23482         * sysdeps/nptl/gai_misc.h: Likewise.
23483         * sysdeps/nptl/librt-cancellation.c: Likewise.
23484         * sysdeps/nptl/jmp-unwind.c: Likewise.
23485         * sysdeps/nptl/setxid.h: Likewise.
23486         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23487         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23488         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23489         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23490         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23491         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23492         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23493         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23494         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23495         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23496         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23497         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23498         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23499         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23500         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23501         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23502         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23503         * nptl/Makeconfig: Moved ...
23504         * sysdeps/nptl/Makeconfig: ... here.
23505         * nptl/configure: File removed.
23506         * nptl/ANNOUNCE: File removed.
23507         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23508         * sysdeps/unix/sysv/linux/configure: Regenerated.
23510         * nptl/Makefile (routines): Add libc_pthread_init,
23511         libc_multiple_threads, register-atfork and unregister-atfork.
23512         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23513         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23514         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23515         pthread-pi-defines.sym, structsem.sym.
23516         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23517         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23518         [$(subdir) = nptl] (tests): Add tst-setgetname.
23519         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23520         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23521         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23522         [!LIBC_SIGACTION]: Remove aliases.
23523         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23524         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23525         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23526         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23527         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23528         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23529         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23530         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23531         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23532         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23533         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23534         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23535         __libc_allocate_rtsig_private.
23536         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23537         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23538         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23539         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23540         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23541         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23542         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23543         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23544         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23545         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23546         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23547         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23548         * nptl/internaltypes.h: ... here.
23549         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23550         * sysdeps/nptl/jmp-unwind.c: ... here.
23551         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23552         * nptl/libc-lowlevellock.c: ... here.
23553         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23554         * nptl/libc_multiple_threads.c: ... here.
23555         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23556         * nptl/libc_pthread_init.c: ... here.
23557         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23558         * nptl/lowlevelbarrier.sym: ... here.
23559         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23560         * nptl/lowlevelcond.sym: ... here.
23561         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23562         * nptl/lowlevellock.c: ... here.
23563         * nptl/lowlevellock.h: Moved ...
23564         * sysdeps/nptl/lowlevellock.h: ... here.
23565         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23566         * nptl/lowlevelrobustlock.c: ... here.
23567         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23568         * nptl/lowlevelrobustlock.sym: ... here.
23569         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23570         * nptl/lowlevelrwlock.sym: ... here.
23571         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23572         * nptl/pt-fork.c: ... here.
23573         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23574         * nptl/pthread-pi-defines.sym: ... here.
23575         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23576         * nptl/pthread_attr_getaffinity.c: ... here.
23577         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23578         * nptl/pthread_attr_setaffinity.c: ... here.
23579         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23580         * nptl/pthread_mutex_cond_lock.c: ... here.
23581         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23582         Update #include.
23583         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23584         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23585         * nptl/pthread_once.c: ... here, replacing old file.
23586         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23587         * nptl/pthread_yield.c: ... here.
23588         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23589         * nptl/register-atfork.c: ... here.
23590         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23591         * nptl/sem_post.c: ... here.
23592         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23593         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23594         * nptl/sem_timedwait.c: ... here.
23595         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23596         * nptl/sem_trywait.c: ... here.
23597         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23598         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23599         * nptl/sem_wait.c: ... here.
23600         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23601         * nptl/structsem.sym: ... here.
23602         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23603         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23604         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23605         * nptl/unregister-atfork.c: ... here.
23606         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23607         * nptl/unwindbuf.sym: ... here.
23608         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23609         * sysdeps/nptl/fork.c: ... here.
23610         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23611         * sysdeps/nptl/fork.h: ... here.
23612         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23613         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23614         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23615         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23616         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23617         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23618         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23619         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23620         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23621         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23622         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23623         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23624         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23625         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23626         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23627         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23628         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23629         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23630         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23631         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23632         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23633         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23634         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23635         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23636         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23637         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23638         * sysdeps/unix/sysv/linux/raise.c: ... here.
23639         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23640         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23641         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23642         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23643         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23644         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23645         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23646         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23647         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23648         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23649         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23650         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23651         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23652         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23653         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23655 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23657         * sysdeps/generic/memcopy.h: Add comment for
23658         MEMCPY_OK_FOR_FWD_MEMMOVE.
23660 2014-07-04  Will Newton  <will.newton@linaro.org>
23662         * string/memchr.c: Merge from gnulib.
23663         [_LIBC]: Remove conditionals.
23664         (__ptr_t): Remove define.
23665         (LONG_MAX_32_BITS): Likewise.
23666         (LONG_MAX): Likewise.
23667         (MEMCHR): Use ANSI prototype and optimize algorithm.
23669         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23671 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23673         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23674         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23676         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23677         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23678         in a bare environment with no <stdlib.h> installed.
23679         * sysdeps/nptl/configure: Regenerated.
23681         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23683         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23684         AC_EGREP_CPP for kernel header checks, so they only succeed if
23685         including <linux/version.h> actually works right.
23686         * sysdeps/unix/sysv/linux/configure: Regenerated.
23688         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23689         value so it's not diagnosed as unused.
23691         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23692         thing) with "ifeq ($(subdir),rt)".
23694 2014-07-03  Richard Henderson  <rth@redhat.com>
23696         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23697         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23698         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23700         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23701         (math_force_eval): New.
23703         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23704         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23706         * sysdeps/alpha/fpu/s_round.c: Remove file.
23707         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23709         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23710         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23711         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23712         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23713         (_dl_start, print_statistics): Likewise.
23714         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23715         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23717         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23718         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23719         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23720         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23721         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23722         (HP_SMALL_TIMING_AVAIL): Define.
23723         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23724         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23725         (HP_SMALL_TIMING_AVAIL): Define.
23726         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23727         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23729         * sysdeps/aarch64/hp-timing.h: New file.
23731         * sysdeps/generic/hp-timing.h: Remove dead comment.
23732         * sysdeps/generic/hp-timing-common.h: New file.
23733         * sysdeps/alpha/hp-timing.h: Include it.
23734         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23735         * sysdeps/i386/i686/hp-timing.h: Likewise.
23736         * sysdeps/ia64/hp-timing.h: Likewise.
23737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23738         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23740         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23741         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23742         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23743         (hp_timing_t): New.
23745         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23746         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23747         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23748         * elf/rtld.c (_dl_start_final): Likewise.
23749         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23750         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23751         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23752         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23753         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23754         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23755         (HP_TIMING_DIFF_INIT): Remove.
23756         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23757         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23758         (HP_TIMING_DIFF_INIT): Remove.
23759         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23760         * sysdeps/i386/i686/hp-timing.c: Remove file.
23761         * sysdeps/x86_64/hp-timing.c: Remove file.
23762         * sysdeps/ia64/hp-timing.c: Remove file.
23763         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23764         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23765         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23766         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23768         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23769         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23770         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23771         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23772         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23773         (HP_TIMING_ACCUM): Remove.
23774         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23775         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23776         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23778         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23779         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23780         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23781         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23782         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23783         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23784         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23785         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23787         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23789 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23791         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23793 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23795         Sync up with gettext.
23796         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23797         [_MSC_VER]: Include malloc.h
23798         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23799         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23800         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23801         TEMP_FAILURE_RETRY.  Cast return of alloca.
23802         [!_LIBC] Call gl_rwlock_init.
23803         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23805 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23807         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23808         before checking its value.
23810 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23812         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23814         * debug/memcpy_chk.c: Don't include pagecopy.h.
23815         * debug/mempcpy_chk.c: Likewise.
23816         * string/memcpy.c: Likewise.
23817         * string/memmove.c: Likewise.
23818         * sysdeps/powerpc/memmove.c: Likewise.
23819         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23820         definition of PAGE_COPY_FWD_MAYBE here...
23821         * sysdeps/generic/pagecopy.h: ... from here.
23822         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23824 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23825             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23827         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23829         optimizations.
23830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23831         (__libc_ifunc_impl_list): Likewise.
23832         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23833         multiarch strcat for PPC64.
23834         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23835         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23837 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23839         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23841 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23843         * intl/loadmsgcat.c: Remove declaration of
23844         get_sysdep_segment_value.
23845         (get_sysdep_segment_value): Use ISO C style.
23846         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23847         semicolon.  Fix typo and formatting in comment.
23848         (_nl_unload_domain): Use ISO C style.
23850         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23852 2014-07-02  Will Newton  <will.newton@linaro.org>
23854         * malloc/obstack.c: Merge from gnulib master.
23855         [HAVE_CONFIG_H]: Remove conditional code.
23856         [!_LIBC]: Include config.h.
23857         [!ELIDE_CODE]: Don't include inttypes.h, include
23858         stdint.h unconditionally.
23859         (print_and_abort): Mark as _Noreturn.
23860         (_obstack_allocated_p): Mark as __attribute_pure__.
23861         (obstack_free): Rename to __obstack_free.
23862         [!__attribute__]: Remove conditional code.
23863         * malloc/obstack.h: Merge from gnulib master.
23864         [__cplusplus]: Move conditional down.
23865         [!__attribute_pure__]: Define __attribute_pure__ here
23866         if it is not already defined.
23867         (_obstack_memory_used): Mark as __attribute_pure__.
23868         [!__obstack_free]: Define as obstack_free.
23869         [__GNUC__]: Remove check for ancient NeXT gcc.
23871 2014-07-02  Will Newton  <will.newton@linaro.org>
23872             Paul Eggert  <eggert@cs.ucla.edu>
23874         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23876 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23878         * resolv/gethnamaddr.c: Add comment warning that the file is
23879         not maintained.
23881 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23883         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23884         entries.
23886         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23887         entry for aio_cancel and aio_cancel64.
23888         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23889         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23890         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23891         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23892         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23893         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23894         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23895         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23896         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23897         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23898         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23899         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23900         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23902 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23904         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23905         * nptl/pthread_mutex_lock.c: Likewise.
23906         * nptl/pthread_mutex_timedlock.c: Likewise.
23907         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23909 2014-07-01  Richard henderson  <rth@redhat.com>
23911         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23912         (__isnan, __isnanl): Remove.
23913         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23915         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23917 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23919         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23921 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23923         * resolv/nss_dns/dns-host.c (getanswer_r)
23924         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23926 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23929         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23930         undefine.
23931         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23932         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23934 2014-07-01  Roland McGrath <roland@hack.frob.com>
23936         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23937         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23939         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23940         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23942         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23943         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23944         ... here.
23945         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23946         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23948         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23949         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23950         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23951         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23953         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23954         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23955         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23956         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23957         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23958         Moved ...
23959         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23960         ... here.
23961         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23962         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23963         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23964         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23965         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23966         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23967         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23968         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23969         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23970         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23971         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23972         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23973         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23974         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23975         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23976         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23977         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23978         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23979         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23980         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23981         ... here.
23982         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23983         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23984         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23985         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23986         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23987         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23988         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23989         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23991 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23993         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23994         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23995         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23996         Add sysdep.
23998 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24002 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24004         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24005         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24007         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24009         * sysdeps/arm/libm-test-ulps: Regenerated.
24011 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24012             Roland McGrath <roland@hack.frob.com>
24014         * test-skeleton.c (signal_handler): Kill the whole process group
24015         before killing the child individually.
24016         (main): Report any failure on `setpgid'.
24018 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24020         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24021         from _TLS_H to _ARM_NPTL_TLS_H.
24022         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24023         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24025 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24027         [BZ #16539]
24028         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24029         (__expm1l): Return argument unchanged when small but not
24030         subnormal.
24032         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24033         include macro name.
24034         (_FP_UNPACK_RAW_1_P): Likewise.
24035         (_FP_PACK_RAW_1): Likewise.
24036         (_FP_PACK_RAW_1_P): Likewise.
24037         (_FP_MUL_MEAT_1_wide): Likewise.
24038         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24039         (_FP_MUL_MEAT_1_hard): Likewise.
24040         (_FP_DIV_MEAT_1_imm): Likewise.
24041         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24042         (_FP_DIV_MEAT_1_udiv): Likewise.
24043         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24044         (_FP_UNPACK_RAW_2): Likewise.
24045         (_FP_UNPACK_RAW_2_P): Likewise.
24046         (_FP_PACK_RAW_2): Likewise.
24047         (_FP_PACK_RAW_2_P): Likewise.
24048         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24049         (_FP_MUL_MEAT_2_wide): Likewise.
24050         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24051         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24052         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24053         (_FP_MUL_MEAT_2_gmp): Likewise.
24054         (_FP_DIV_MEAT_2_udiv): Likewise.
24055         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24056         (_FP_FRAC_SRL_4): Likewise.
24057         (_FP_FRAC_SRST_4): Likewise.
24058         (_FP_FRAC_SRS_4): Likewise.
24059         (_FP_UNPACK_RAW_4): Likewise.
24060         (_FP_UNPACK_RAW_4_P): Likewise.
24061         (_FP_PACK_RAW_4): Likewise.
24062         (_FP_PACK_RAW_4_P): Likewise.
24063         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24064         (_FP_MUL_MEAT_4_wide): Likewise.
24065         (_FP_MUL_MEAT_4_gmp): Likewise.
24066         (umul_ppppmnnn): Likewise.
24067         (_FP_DIV_MEAT_4_udiv): Likewise.
24068         (__FP_FRAC_ADD_4): Likewise.
24069         (__FP_FRAC_SUB_3): Likewise.
24070         (__FP_FRAC_SUB_4): Likewise.
24071         (__FP_FRAC_DEC_3): Likewise.
24072         (__FP_FRAC_DEC_4): Likewise.
24073         (__FP_FRAC_ADDI_4): Likewise.
24074         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24075         (_FP_FRAC_SRL_8): Likewise.
24076         (_FP_FRAC_SRS_8): Likewise.
24078         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24079         include macro name.
24080         (FP_UNPACK_RAW_EP): Likewise.
24081         (FP_PACK_RAW_E): Likewise.
24082         (FP_PACK_RAW_EP): Likewise.
24083         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24084         (_FP_ISSIGNAN): Likewise.
24085         (_FP_ADD_INTERNAL): Likewise.
24086         (_FP_FMA): Likewise.
24087         (_FP_CMP): Likewise.
24088         (_FP_SQRT): Likewise.
24089         (_FP_TO_INT): Likewise.
24090         (_FP_FROM_INT): Likewise.
24091         (FP_EXTEND): Likewise.
24092         (_FP_DIV_MEAT_N_loop): Likewise.
24094 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24096         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24097         throughout.
24099 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24101         [BZ #17097]
24102         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24103         result with correct sign in case of exponents that produce
24104         overflow except for X very close to 1.
24106 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24108         mktime: merge #if/#ifdef usage from glibc
24109         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24110         as that works with both Glibc's and Gnulib's style.
24111         See thread starting at Siddhesh Poyarekar's bug report at:
24112         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24114 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24116         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24117         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24118         * sysdeps/tile/tilegx/memmove.c: Remove file.
24120 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24122         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24123         abi-name definition.
24124         * scripts/soversions.awk: Do not handle or generate ABI lines.
24125         * shlib-versions: Remove ABI entries.
24126         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24127         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24129 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24132         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24133         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24134         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24136         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24138         Moved ...
24139         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24140         ... here.
24141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24142         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24144         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24145         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24146         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24147         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24148         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24150         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24152         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24153         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24154         Moved ...
24155         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24157         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24159         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24161         Moved ...
24162         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24164         Moved ...
24165         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24167         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24169         Moved ...
24170         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24172         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24174         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24176         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24178         Moved ...
24179         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24181         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24182         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24183         Moved ...
24184         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24185         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24186         Moved ...
24187         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24189         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24190         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24191         Moved ...
24192         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24193         ... here.
24194         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24195         Identical file removed.
24196         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24197         Moved ...
24198         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24199         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24200         Identical file removed.
24201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24202         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24204         Moved ...
24205         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24207         Identical file removed.
24208         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24209         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24210         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24211         Identical file removed.
24212         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24213         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24215         Identical file removed.
24216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24217         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24219         Identical file removed.
24220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24221         Moved ...
24222         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24224         Identical file removed.
24225         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24226         Moved ...
24227         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24229         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24231         Identical file removed.
24232         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24233         Moved ...
24234         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24235         ... here.
24236         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24237         Identical file removed.
24238         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24239         Moved ...
24240         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24242         Identical file removed.
24243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24244         Moved ...
24245         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24246         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24247         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24248         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24249         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24250         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24251         Moved ...
24252         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24253         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24254         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24256         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24257         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24258         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24259         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24260         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24262 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
24264         [BZ #17092]
24265         * nscd/nscd.c (monitor_child): Return exit status of child
24266         instead of return value from wait syscall.
24268 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24270         * configure.ac (libc_commonpagesize): Remove variable.
24271         (libc_relro_required): Likewise.
24272         (libc_cv_z_relro): Remove configure test.
24273         * configure: Regenerated.
24274         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24275         variable.
24276         (libc_relro_required): Likewise.
24277         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24278         (libc_relro_required): Likewise.
24279         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24280         (libc_relro_required): Likewise.
24281         * sysdeps/arm/preconfigure: Regenerated.
24282         * sysdeps/ia64/preconfigure: Remove file.
24283         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24284         variable.
24285         (libc_relro_required): Likewise.
24287         [BZ #16561]
24288         [BZ #16562]
24289         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24290         (__ieee754_yn): Set FE_TONEAREST mode internally and then
24291         recompute overflowing results in original rounding mode.
24292         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24293         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24294         recompute overflowing results in original rounding mode.
24295         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24296         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24297         recompute overflowing results in original rounding mode.
24298         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24299         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24300         recompute overflowing results in original rounding mode.
24301         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24302         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24303         recompute overflowing results in original rounding mode.
24304         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24305         (libc_feholdsetround_ctx): New macro.
24306         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24307         * sysdeps/i386/fpu/libm-test-ulps: Update.
24308         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24310 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24312         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24313         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24314         corresponding .cpsetup call.
24316 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24318         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24319         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24320         * sysdeps/arm/Makefile [$(subdir) = csu]
24321         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24322         (static-only-routines): Add aeabi_read_tp here.
24323         (shared-only-routines): Add libc-aeabi_read_tp here.
24324         (CFLAGS-libc-start.c): Add -fexceptions here.
24325         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24326         (sysdep_routines, static-only-routines, shared-only-routines):
24327         Don't add to these here.
24328         (CFLAGS-libc-start.c): Likewise.
24330         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24331         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24332         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24333         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24334         * sysdeps/arm/Makefile [$(subdir) = rt]
24335         (librt-sysdep_routines, librt-shared-only-routines):
24336         Append rt-aeabi_unwind_cpp_pr1 here.
24337         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24338         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24339         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24340         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24341         Append nptl-aeabi_unwind_cpp_pr1 here.
24342         (tests): Filter out tst-cleanupx4 here.
24343         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24344         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24345         Don't do those here.
24347 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24349         * scripts/list-sources.sh: Do not handle ports specially.
24351 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24353         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24354         * sysdeps/arm/feupdateenv.c: Likewise.
24356         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24358 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24360         * manual/texinfo.tex: Update to version 2014-05-05.10 with
24361         trailing whitespace removed.
24362         * scripts/config.guess: Update to version 2014-03-23.
24363         * scripts/config.sub: Update to version 2014-05-01
24364         * scripts/install-sh: Update to version 2013-12-25.23.
24365         * scripts/move-if-change: Update from gnulib.
24367 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24369         * debug/memmove_chk.c: Remove pagecopy.h include.
24371 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
24373         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24374         identical to gnulib mktime.
24376 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24378         * configure.ac: Do not test for machine being rs6000.  Do not test
24379         for powerpc*-*soft.
24380         * configure: Regenerated.
24382         [BZ #11505]
24383         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24384         test.
24385         * configure: Regenerated.
24386         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24387         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24388         Remove configure test.
24389         * sysdeps/arm/configure: Regenerated.
24390         * sysdeps/nptl/configure.ac: Do not check
24391         libc_cv_asm_cfi_directives.
24392         * sysdeps/nptl/configure: Regenerated.
24393         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24394         * sysdeps/x86_64/nptl/configure: Remove generated file.
24395         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24396         unconditional.
24397         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24399 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24401         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24402         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24403         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24404         it is defined.
24406         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24407         instead of whether it is defined.
24408         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24409         * sysdeps/hppa/dl-machine.h: Likewise.
24410         * sysdeps/ia64/dl-machine.h: Likewise.
24411         * sysdeps/m68k/dl-machine.h: Likewise.
24412         * sysdeps/microblaze/dl-machine.h: Likewise.
24413         * sysdeps/mips/dl-machine.: Likewise.
24414         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24415         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24416         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24417         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24418         * sysdeps/sh/dl-machine.h: Likewise.
24419         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24420         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24421         * sysdeps/tile/dl-machine.h: Likewise.
24422         * sysdeps/x86_64/dl-machine.h: Likewise.
24424         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24425         code.
24426         (verify_persistent_db): Likewise.
24428 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24431         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24433         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24435         Moved ...
24436         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24437         ... here.
24438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24439         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24441         Identical file removed.
24442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24443         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24445         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24447         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24449         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24451         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24453         Moved ...
24454         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24456         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24458         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24460         Moved ...
24461         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24463         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24465         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24467         Identical file removed.
24468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24469         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24471         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24473         Moved ...
24474         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24475         ... here.
24476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24477         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24479         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24481         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24483         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24485         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24487         Moved ...
24488         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24490         Moved ...
24491         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24493         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24495         Moved ...
24496         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24498         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24500         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24501         folded into ...
24502         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24503         * sysdeps/unix/sysv/linux/s390/Versions
24504         (libpthread: GLIBC_2.19): New version set.
24505         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24506         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24507         (librt: GLIBC_2.3.3): New version set.
24508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24509         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24510         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24511         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24512         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24513         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24514         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24515         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24516         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24517         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24518         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24519         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24520         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24521         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24522         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24523         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24524         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24525         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24528         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24529         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24530         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24531         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24532         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24533         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24534         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24535         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24536         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24537         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24538         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24539         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24544         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24546         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24548         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24549         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24550         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24551         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24552         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24554         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24555         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24556         (__libc_vfork): Define the function under this name.
24557         [!NOT_IN_libc] (__vfork): Make this an alias.
24558         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24560         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24561         (__libc_vfork): Define the function under this name.
24562         [!NOT_IN_libc] (__vfork): Make this an alias.
24563         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24564         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24565         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24567         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24568         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24570         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24571         code that was previously under [RESET_PID].
24572         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24573         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24576         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24577         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24578         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24579         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24580         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24581         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24582         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24583         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24584         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24585         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24586         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24587         Moved ...
24588         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24589         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24590         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24591         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24592         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24593         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24594         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24595         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24596         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24597         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24598         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24599         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24600         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24601         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24602         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24603         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24604         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24605         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24606         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24607         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24608         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24609         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24610         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24611         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24612         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24613         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24614         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24615         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24616         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24618 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24620         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24621         that was previously under [RESET_PID].
24622         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24624 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24626         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24627         not undefine and redefine.
24628         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24629         [O_CLOEXEC]: Make code unconditional.
24630         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24631         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24632         <kernel-features.h>.
24633         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24634         conditional variable definition.
24635         (shm_open) [O_CLOEXEC]: Make code unconditional.
24636         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24637         code.
24639         * configure.ac (USE_REGPARMS): Don't define here.
24640         * configure: Regenerated.
24641         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24642         * sysdeps/i386/configure: Regenerated.
24644         * nptl/createthread.c: Don't include kernel-features.h.
24645         * nptl/pthread_cancel.c: Likewise.
24646         * nptl/pthread_condattr_setclock.c: Likewise.
24647         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24648         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24649         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24650         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24651         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24652         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24653         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24656         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24657         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24658         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24659         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24660         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24661         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24662         * nscd/gai.c: Likewise.
24663         * nss/nss_db/db-open.c: Likewise.
24664         * sysdeps/generic/ldsodefs.h: Likewise.
24665         * sysdeps/sh/nptl/tls.h: Likewise.
24666         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24667         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24668         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24669         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24670         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24671         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24672         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24673         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24674         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24675         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24676         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24677         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24678         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24679         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24680         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24681         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24682         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24683         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24684         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24685         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24686         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24688         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24689         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24690         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24691         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24692         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24694         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24695         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24696         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24697         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24698         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24699         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24700         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24701         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24702         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24703         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24704         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24705         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24706         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24707         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24708         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24709         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24710         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24711         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24712         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24713         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24714         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24715         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24716         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24717         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24718         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24719         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24720         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24721         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24722         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24723         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24746         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24747         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24748         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24749         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24750         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24751         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24752         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24753         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24754         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24755         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24756         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24757         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24758         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24759         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24760         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24761         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24762         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24763         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24764         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24765         * sysdeps/unix/sysv/linux/system.c: Likewise.
24766         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24767         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24768         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24769         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24770         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24771         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24772         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24774         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24775         * configure: Regenerated.
24776         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24778         * configure.ac (base_machine): Do not set specially for particular
24779         machines here.
24780         * configure: Regenerated.
24781         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24782         settings from configure.ac.
24783         * sysdeps/i386/preconfigure: New file.
24784         * sysdeps/s390/preconfigure: Likewise.
24785         * sysdeps/sh/preconfigure: Likewise.
24786         * sysdeps/sparc/preconfigure: Likewise.
24788 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24790         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24791         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24792         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24793         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24794         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24795         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24796         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24797         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24798         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24799         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24800         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24801         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24802         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24803         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24804         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24805         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24806         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24807         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24808         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24810         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24811         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24812         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24813         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24814         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24815         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24816         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24817         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24818         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24819         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24820         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24821         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24822         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24823         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24824         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24825         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24826         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24827         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24828         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24829         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24830         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24831         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24832         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24833         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24834         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24835         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24836         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24837         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24838         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24839         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24840         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24841         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24842         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24843         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24844         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24845         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24846         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24847         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24850         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24852         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24854         Moved ...
24855         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24856         ... here.
24857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24858         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24860         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24862         Moved ...
24863         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24865         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24869         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24871         Moved ...
24872         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24874         Moved ...
24875         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24877         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24879         Moved ...
24880         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24882         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24884         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24886         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24888         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24890         Moved ...
24891         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24892         ... here.
24893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24894         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24896         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24898         Moved ...
24899         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24901         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24903         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24905         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24907         Moved ...
24908         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24910         Moved ...
24911         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24913         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24915         Moved ...
24916         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24918         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24920         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24922 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24924         * timezone/checktab.awk: Update from tzcode 2014e.
24925         * timezone/private.h: Likewise.
24926         * timezone/tzfile.h: Likewise.
24927         * timezone/zdump.c: Likewise.
24928         * timezone/zic.c: Likewise.
24930         * sysdeps/unix/sysv/linux/kernel-features.h
24931         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24932         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24933         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24934         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24935         Remove conditional code.
24937 2014-06-25  Will Newton  <will.newton@linaro.org>
24939         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24940         (_dl_arm_cap_flags): Add HWCAP2 values.
24941         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24942         (_DL_HWCAP_COUNT): Increase to 37.
24943         (_DL_HWCAP_LAST): New define.
24944         (_DL_HWCAP2_LAST): New define.
24945         (_dl_procinfo): Add support for printing
24946         AT_HWCAP2 entries.
24947         (_dl_string_hwcap): Use _dl_hwcap_string.
24949 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24953 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24955         * README: Do not mention ports directory.
24957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24958         Remove macro.
24959         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24960         <kernel-features.h>.
24961         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24962         conditional variable definition.
24963         (__futimes): Update comment.
24964         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24965         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24967         [BZ #16560]
24968         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24969         arguments close to 0.
24970         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24971         Likewise.
24972         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24973         Likewise.
24974         * math/auto-libm-test-in: Add more tests of exp10.
24975         * math/auto-libm-test-out: Regenerated.
24976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24978         * sysdeps/unix/sysv/linux/kernel-features.h
24979         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24980         * sysdeps/unix/sysv/linux/readv.c: Do not include
24981         <kernel-features.h>.
24982         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24983         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24984         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24985         unconditional.
24986         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24987         conditional code.
24988         * sysdeps/unix/sysv/linux/writev.c: Do not include
24989         <kernel-features.h>.
24990         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24991         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24992         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24993         unconditional.
24994         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24995         conditional code.
24997 2014-06-25  Will Newton  <will.newton@linaro.org>
24999         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25000         comment changes throughout the file.  Remove checks
25001         for HAVE_*_H definitions that are not required.
25002         (__gen_tempname): Call abort if an unknown kind value is
25003         passed.
25005 2014-06-25  Andreas Schwab  <schwab@suse.de>
25007         [BZ #17086]
25008         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25009         scalbln, scalblnf, scalblnl in libc.
25011 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25013         [BZ #17086]
25014         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25015         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25016         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25018 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25020         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25021         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25022         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25023         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25024         Update #include.
25025         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25026         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25027         Update #include.
25028         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25029         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25030         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25031         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25032         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25033         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25034         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25035         * sysdeps/x86/bits/semaphore.h: ... here.
25036         * sysdeps/x86/nptl/elide.h: Moved ...
25037         * sysdeps/x86/elide.h: ... here.
25038         * sysdeps/x86_64/nptl/Implies: File removed.
25039         * sysdeps/i386/nptl/Implies: File removed.
25041 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25043         [BZ #16539]
25044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25045         return the argument for normal arguments with exponent below -64.
25046         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25047         Likewise.
25048         * math/auto-libm-test-in: Add another test of expm1.
25049         * math/auto-libm-test-out: Regenerated.
25051         [BZ #16287]
25052         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25053         calling __erfcl for arguments at least 16.
25054         * math/auto-libm-test-in: Add more tests of erf.
25055         * math/auto-libm-test-out: Regenerated.
25057         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25058         individual architectures.
25059         * sysdeps/unix/sysv/linux/configure: Regenerated.
25060         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25061         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25062         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25063         (ldd_rewrite_script): Define variable.
25064         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25066         file.
25067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25068         generated file.
25069         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25070         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25071         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25072         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25073         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25074         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25075         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25076         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25078 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25080         [BZ #17084]
25081         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25082         Rename member __data.d to __data.__elision_data.
25084 2014-06-24  Wilco  <wdijkstr@arm.com>
25086         * NEWS: Add 16918 to fixed bug list.
25088 2014-06-24  Wilco  <wdijkstr@arm.com>
25090         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25092 2014-06-24  Wilco  <wdijkstr@arm.com>
25094         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25095         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25096         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25097         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25098         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25099         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25100         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25101         Use _FPU_MASK_RM.
25103 2014-06-24  Wilco  <wdijkstr@arm.com>
25105         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25107 2014-06-24  Wilco  <wdijkstr@arm.com>
25109         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25110         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25111         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25112         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25114 2014-06-24  Wilco  <wdijkstr@arm.com>
25116         [BZ #16918]
25117         * sysdeps/arm/feupdateenv.c (feupdateenv):
25118         Rewrite to reduce FPSCR accesses and fix return value.
25120 2014-06-24  Wilco  <wdijkstr@arm.com>
25122         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25123         Optimize to avoid unnecessary FPSCR writes.
25124         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25125         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25126         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25127         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25129 2014-06-24  Wilco  <wdijkstr@arm.com>
25131         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25132         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25133         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25134         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25135         Call libc_fetestexcept_vfp.
25136         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25137         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25138         __SOFTFP__ ifdef so that they can be built for softfp.
25140 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25142         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25143         argument type signed char.
25145         * Makerules (check-abi): Dump diff of symlist if the test
25146         fails.
25148 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25150         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25151         using abort.
25153         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25154         Remove unused variable ST.
25156 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25158         [BZ #16354]
25159         [BZ #17061]
25160         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25161         small arguments before calling __expm1.
25162         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25163         small arguments before calling __expm1f.
25164         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25165         small arguments before calling __expm1l.
25166         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25167         Likewise.
25168         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25169         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25170         spurious underflow for some cosh tests.
25171         * math/auto-libm-test-out: Regenerated.
25172         * sysdeps/i386/fpu/libm-test-ulps: Update.
25174         [BZ #17050]
25175         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25176         (__ieee754_y1): Set errno if return value overflows.
25177         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25178         (__ieee754_y1f): Set errno if return value overflows.
25179         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25180         (__ieee754_y1l): Set errno if return value overflows.
25181         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25182         (__ieee754_y1l): Set errno if return value overflows.
25183         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25184         * math/auto-libm-test-out: Regenerated.
25186         * math/gen-auto-libm-tests.c: Document use of
25187         ignore-zero-inf-sign.
25188         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25189         (input_flags): Add ignore-zero-inf-sign.
25190         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25191         * math/gen-libm-test.pl (generate_testfile): Handle
25192         ignore-zero-inf-sign.
25193         * math/auto-libm-test-in: Mark some cpow tests with
25194         ignore-zero-inf-sign and some with xfail-rounding.
25195         * math/auto-libm-test-out: Regenerated.
25196         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25197         * sysdeps/i386/fpu/libm-test-ulps: Update.
25198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25200         [BZ #16315]
25201         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25202         overflowing or underflowing operations take place with sign of
25203         result.
25204         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25205         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25206         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25207         (__ieee754_pow): Recompute overflowing and underflowing results in
25208         original rounding mode.
25209         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25210         (__powl_helper): Allow negative argument X and scale negated value
25211         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25212         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25213         overflowing or underflowing operations take place with sign of
25214         result.
25215         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25216         Include <math.h>.
25217         * math/auto-libm-test-in: Add more tests of pow.
25218         * math/auto-libm-test-out: Regenerated.
25219         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25220         (pow_tonearest_test_data): Remove.
25221         (pow_test_tonearest): Likewise.
25222         (pow_towardzero_test_data): Likewise.
25223         (pow_test_towardzero): Likewise.
25224         (pow_downward_test_data): Likewise.
25225         (pow_test_downward): Likewise.
25226         (pow_upward_test_data): Likewise.
25227         (pow_test_upward): Likewise.
25228         (main): Don't call removed functions.
25229         * sysdeps/i386/fpu/libm-test-ulps: Update.
25230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25232 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25235         Moved ...
25236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25238         Moved ...
25239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25241         Moved ...
25242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25244         Moved ...
25245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25247         File removed.
25248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25249         File removed.
25250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25251         File removed.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25253         File removed.
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25255         File removed.
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25257         File removed.
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25259         File removed.
25260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25261         File removed.
25262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25263         File removed.
25264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25265         File removed.
25266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25267         File removed.
25268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25269         File removed.
25270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25271         Moved ...
25272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25274         Moved ...
25275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25276         ... here.
25277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25278         Moved ...
25279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25281         Moved ...
25282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25284         Moved ...
25285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25287         Moved ...
25288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25290         Moved ...
25291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25293         Moved ...
25294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25296         Moved ...
25297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25300         ... here.
25301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25302         Moved ...
25303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25305         Moved ...
25306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25307         ... here.
25308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25309         Moved ...
25310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25311         ... here.
25312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25313         Moved ...
25314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25315         ... here.
25316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25317         Moved ...
25318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25320         Moved ...
25321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25325         Moved ...
25326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25327         ... here.
25328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25329         Moved ...
25330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25331         ... here.
25332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25333         Moved ...
25334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25336         Moved ...
25337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25339         Moved ...
25340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25342         Moved ...
25343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25345         Moved ...
25346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25347         ... here.
25348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25349         Moved ...
25350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25352         Moved ...
25353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25355         Moved ...
25356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25358         Moved ...
25359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25363         Moved ...
25364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25366         Moved ...
25367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25369         Moved ...
25370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25371         ... here.
25372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25373         Moved ...
25374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25375         ... here.
25376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25377         Moved ...
25378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25379         ... here.
25380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25381         Moved ...
25382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25384         Moved ...
25385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25387         Moved ...
25388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25390         Moved ...
25391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25392         ... here.
25393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25394         Moved ...
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25396         ... here.
25397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25398         Moved ...
25399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25400         ... here.
25401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25402         Moved ...
25403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25405         Moved ...
25406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25408 2014-06-23  Will Newton  <will.newton@linaro.org>
25409             Wilco  <wdijkstr@arm.com>
25411         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25412         implementation.  Include get-rounding-mode.h.
25413         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25414         [!libc_feholdsetround_noex_ctx]: Define
25415         libc_feholdsetround_noex_ctx.
25416         [!libc_feholdsetround_noexf_ctx]: Define
25417         libc_feholdsetround_noexf_ctx.
25418         [!libc_feholdsetround_noexl_ctx]: Define
25419         libc_feholdsetround_noexl_ctx.
25420         (libc_feholdsetround_ctx): New function.
25421         (libc_feresetround_ctx): New function.
25422         (libc_feholdsetround_noex_ctx): New function.
25423         (libc_feresetround_noex_ctx): New function.
25425 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25427         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25428         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25429         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25430         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25431         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25432         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25434         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25435         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25436         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25437         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25438         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25439         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25440         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25441         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25442         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25443         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25445         Moved ...
25446         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25447         ... here.
25448         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25449         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25450         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25451         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25452         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25453         Moved ...
25454         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25456         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25460         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25462         Moved ...
25463         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25464         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25465         Moved ...
25466         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25468         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25470         Moved ...
25471         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25473         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25474         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25475         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25476         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25477         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25478         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25479         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25480         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25481         Moved ...
25482         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25483         ... here.
25484         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25485         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25486         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25487         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25488         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25489         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25490         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25491         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25492         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25493         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25494         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25495         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25496         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25497         Moved ...
25498         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25500         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25502         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25504         Moved ...
25505         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25506         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25507         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25508         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25509         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25511         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25512         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25513         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25514         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25515         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25516         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25517         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25518         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25520         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25521         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25522         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25523         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25524         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25525         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25526         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25527         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25528         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25529         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25530         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25531         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25532         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25533         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25534         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25535         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25536         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25537         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25538         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25540 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25543         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25544         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25545         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25546         (IPV6_PMTUDISC_INTERFACE): Likewise.
25547         (IPV6_PMTUDISC_OMIT): Likewise.
25549 2014-06-23  Andreas Schwab  <schwab@suse.de>
25551         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25552         Remove unused errout label.
25554 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25556         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25557         macro: hardware supports Vector Crypto instructions.
25559 2014-06-23  Will Newton  <will.newton@linaro.org>
25561         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25562         rather than __builtin_expect.
25564         * elf/dl-lookup.c (undefined_msg): Remove variable.
25565         (_dl_lookup_symbol_x): Replace undefined_msg with string
25566         literal.
25568         * elf/dl-lookup.c (do_lookup_unique): New function.
25569         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25570         to a separate function.
25572 2014-06-23  Andreas Schwab  <schwab@suse.de>
25574         [BZ #17079]
25575         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25576         before reading the next line.
25578 2014-06-23  Will Newton  <will.newton@linaro.org>
25580         * test-skeleton.c (signal_handler): Use printf and %m
25581         rather than perror.  Use printf rather than fprintf to
25582         stderr.  Use puts rather than fputs to stderr.
25583         (main): Likewise.
25585 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25587         * nscd/nscd.c (thread_info_t): Remove typedef.
25588         (thread_info): Remove variable.
25590 2014-06-21  Allan McRae  <allan@archlinux.org>
25592         * NEWS: Mention CVE-2014-4043.
25594 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25596         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25597         * nptl/smp.h: ... here.
25599         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25601         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25602         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25603         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25604         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25606         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25607         * nptl/stack-aliasing.h: New file.
25608         * sysdeps/i386/i686/stack-aliasing.h: New file.
25609         * sysdeps/i386/i686/nptl/Makefile: File removed.
25610         * sysdeps/x86_64/stack-aliasing.h: New file.
25611         * sysdeps/x86_64/nptl/Makefile
25612         (CFLAGS-pthread_create.c): Variable removed.
25614         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25615         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25616         old file.
25617         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25618         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25619         old file.
25621 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25624         (__ASSUME_SIGFRAME_V2): Remove macro.
25625         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25626         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25627         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25628         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25629         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25630         Declare as function.  Remove conditional macro definitions.
25631         (__default_rt_sa_restorer): Likewise.
25632         (__default_sa_restorer_v1): Remove declaration.
25633         (__default_sa_restorer_v2): Likewise.
25634         (__default_rt_sa_restorer_v1): Likewise.
25635         (__default_rt_sa_restorer_v2): Likewise.
25636         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25637         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25638         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25640 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25642         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25643         (libpthread-routines): Add sysdep.
25644         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25645         * sysdeps/unix/sysv/linux/sparc/Versions
25646         (libpthread: GLIBC_2.3.3): New version set.
25647         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25648         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25649         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25650         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25651         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25652         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25653         Moved ...
25654         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25655         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25656         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25657         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25658         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25659         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25660         * sysdeps/sparc/nptl/sem_init.c: ... here.
25661         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25662         * sysdeps/sparc/nptl/sem_post.c: ... here.
25663         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25664         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25665         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25666         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25667         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25668         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25669         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25670         (libpthread-routines): Add cpu_relax.
25671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25672         File removed.
25673         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25674         (librt: GLIBC_2.3.3): New version set.
25675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25676         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25677         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25678         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25679         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25681         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25683         Moved ...
25684         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25686         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25688         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25690         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25692         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25694         Moved ...
25695         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25696         Update #include.
25697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25698         Moved ...
25699         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25700         Update #include.
25701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25702         Moved ...
25703         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25704         Update #include.
25705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25706         Moved ...
25707         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25708         Update #include.
25709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25710         Moved ...
25711         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25712         Update #include.
25713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25714         Moved ...
25715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25716         Update #include.
25717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25718         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25720         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25722         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25724         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25726         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25728         Moved ...
25729         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25731         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25733         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25735 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25737         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25738         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25739         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25740         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25741         * nscd/nscd.c: Likewise.
25742         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25743         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25744         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25745         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25747         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25748         <kernel-features.h>.
25749         (init_mq_netlink): Remove conditional have_sock_cloexec
25750         definitions.  Remove code conditional on have_sock_cloexec < 0.
25751         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25752         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25753         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25754         <kernel-features.h>.
25755         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25756         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25758 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25761         Add tests for memset_chk and memset.
25763         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25764         with AVX2_Usable.
25766 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25768         [BZ #16046]
25769         * elf/tst-dl-iter-static.c: New file.
25770         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25772         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25773         error.
25775 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25777         * sysdeps/unix/sysv/linux/kernel-features.h
25778         (__ASSUME_F_GETOWN_EX): Remove macro.
25779         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25780         <kernel-features.h>.
25781         (miss_F_GETOWN_EX): Remove variable or macro.
25782         (do_fcntl): Do not check miss_F_GETOWN_EX.
25783         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25786         Remove macro.
25787         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25788         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25789         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25791         * sysdeps/unix/sysv/linux/kernel-features.h
25792         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25793         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25794         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25795         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25797 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25799         [BZ #17075]
25800         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25801         Fix calculation of the symbol's value.
25802         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25803         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25804         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25805         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25806         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25807         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25808         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25809         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25810         (modules-names): Add `tst-armtlsdescmod',
25811         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25812         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25813         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25814         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25815         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25816         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25817         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25818         ($(objpfx)tst-armtlsdescloc): New dependency.
25819         ($(objpfx)tst-armtlsdescextnow): Likewise.
25820         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25821         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25822         TLS scheme support.
25823         * sysdeps/arm/configure: Regenerate.
25825 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25827         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25828         (__atfct_seterrno_2): Likewise.
25829         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25830         <kernel-features.h>.
25831         (__ASSUME_ATFCTS): Do not undefine and redefine.
25832         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25833         (__have_atfcts): Remove conditional definition.
25834         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25835         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25836         unreachable if [__ASSUME_ATFCTS].
25837         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25838         not undefine and redefine.
25839         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25840         <kernel-features.h>.
25841         (faccessat) [__NR_faccessat]: Make code unconditional.
25842         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25843         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25844         <kernel-features.h>.
25845         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25846         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25847         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25848         <kernel-features.h>.
25849         (fchownat) [__NR_fchownat]: Make code unconditional.
25850         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25851         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25852         <kernel-features.h>.
25853         (futimesat) [__NR_futimesat]: Make code unconditional.
25854         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25855         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25856         <kernel-features.h>.
25857         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25858         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25859         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25860         <kernel-features.h>.
25861         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25862         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25863         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25864         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25865         <kernel-features.h>.
25866         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25867         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25868         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25869         <kernel-features.h>.
25870         (linkat) [__NR_linkat]: Make code unconditional.
25871         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25872         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25873         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25874         <kernel-features.h>.
25875         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25876         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25877         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25878         <kernel-features.h>.
25879         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25880         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25881         * sysdeps/unix/sysv/linux/openat.c: Do not include
25882         <kernel-features.h>.
25883         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25884         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25885         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25886         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25887         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25888         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25889         <kernel-features.h>.
25890         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25891         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25892         result of INLINE_SYSCALL directly, not via int variable.
25893         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25894         <kernel-features.h>.
25895         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25896         (renameat) [__NR_renameat]: Make code unconditional.
25897         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25898         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25899         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25900         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25901         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25902         (__ASSUME_ATFCTS): Do not undefine and redefine.
25903         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25904         <kernel-features.h>.
25905         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25906         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25907         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25908         <kernel-features.h>.
25909         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25910         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25911         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25912         (__ASSUME_ATFCTS): Do not undefine and redefine.
25913         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25914         <kernel-features.h>.
25915         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25916         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25917         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25918         <kernel-features.h>.
25919         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25920         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25922 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25924         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25926 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25928         [BZ #17069]
25929         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25930         constructed tree before returning error.
25931         * posix/bug-regexp36.c: Expand test case.
25933 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25935         [BZ #6803]
25936         * math/libm-test.inc (scalbln_test_date):
25937         Add errno expectations.
25938         * math/w_scalblnf.c: New File.
25939         Add wrapper which checks for setting errno to ERANGE.
25940         Add weak_alias for corresponding scalbln function.
25941         * math/w_scalbln.c: Likewise.
25942         * math/w_scalblnl.c: Likewise.
25943         * math/Makefile (libm-calls): Add w_scalbln.
25944         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25945         Remove weak_alias for corresponding scalbln function.
25946         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25948         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25949         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25950         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25951         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25952         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25953         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25954         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25955         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25956         Remove long_double_symbol for scalblnl function in libm, libc.
25957         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25958         Add wrapper which checks for setting errno to ERANGE.
25959         Add long_double_symbol for scalblnl function in libm, libc.
25960         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25961         Remove long_double_symbol for scalblnl in libm.
25962         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25963         Add wrapper which checks for setting errno to ERANGE.
25964         Add long_double_symbol for scalblnl function in libm.
25965         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25966         Do not use wrapper because of own implementation.
25968 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25970         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25971         3 bytes for __pad1 for x32.
25972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25974 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25975             H.J. Lu  <hongjiu.lu@intel.com>
25977         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25978         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25979         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25980         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25981         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25983 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25985         [BZ #17069]
25986         * posix/regcomp.c (parse_expression): Deallocate partially
25987         constructed tree before returning error.
25988         * posix/Makefile.c (tests): Add bug-regex36.
25989         (generated): Add bug-regex36.mtrace.
25990         (tests-special): Add $(objpfx)bug-regex36-mem.out
25991         (bug-regex36-ENV): New variable.
25992         ($(objpfx)bug-regex36-mem.out): New rule.
25993         * posix/bug-regex36.c: New file.
25995 2014-06-19  Will Newton  <will.newton@linaro.org>
25997         * malloc/malloc.c (systrim): If extra is zero then return
25998         early.
26000 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26002         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26004 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26006         * sysdeps/aarch64/strchr.S: New file.
26008 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26010         [BZ #17022]
26011         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26012         from arguments -2 or below.
26013         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26014         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26016 2014-06-18  Andreas Schwab  <schwab@suse.de>
26018         [BZ #17062]
26019         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26020         of a bracket expr not to run off the end of the string.
26021         * posix/Makefile (tests): Add tst-fnmatch3.
26022         * posix/tst-fnmatch3.c: New file.
26024 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26026         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26027         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26028         [$(cross-compiling) = no]: Likewise.
26029         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26030         [$(cross-compiling) = no]: Likewise.
26032 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26034         [BZ #17031]
26035         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26036         double, adjusted for any remainder from the high double.
26037         * math/libm-test.inc (nearbyint): Add tests.
26038         (rint): Likewise.
26040 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26042         * nptl/sysdeps/powerpc/Makefile: Moved ...
26043         * sysdeps/powerpc/nptl/Makefile: ... here.
26044         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26045         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26046         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26047         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26048         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26049         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26050         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26051         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26052         * nptl/sysdeps/powerpc/tls.h: Moved ...
26053         * sysdeps/powerpc/nptl/tls.h: ... here.
26055 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26057         [BZ #16681]
26058         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26059         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26060         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26061         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26062         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26063         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26064         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26065         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26066         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26068 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26070         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26072 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26074         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26075         defined operator.
26077         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26078         $TIMEOUTFACTOR.
26080 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26082         [BZ #17058]
26083         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26084         non-executed part of the test.
26086 2014-06-16  Andreas Schwab  <schwab@suse.de>
26088         * string/bits/string2.h (strdup, strndup): Update feature guard.
26090 2014-06-14  David S. Miller  <davem@davemloft.net>
26092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26094 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26096         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26097         that was previously under [RESET_PID].
26098         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26100         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26101         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26102         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26103         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26104         (__libc_vfork): New strong alias.
26105         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26107 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26109         * sysdeps/generic/elide.h: New file.
26111 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26113         * Makefile (installed-headers): Adjust path of pthread.h header.
26115 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26117         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26118         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26119         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26120         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26122         * nptl/sysdeps/s390/Makefile: Moved ...
26123         * sysdeps/s390/nptl/Makefile: ... here.
26124         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26125         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26126         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26127         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26128         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26129         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26130         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26131         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26132         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26133         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26134         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26135         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26136         * nptl/sysdeps/s390/tls.h: Moved ...
26137         * sysdeps/s390/nptl/tls.h: ... here.
26139         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26140         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26142 2014-06-13  David S. Miller  <davem@davemloft.net>
26144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26147         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26151         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26152         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26153         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26154         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26155         Remove RESET_PID cpp guards.
26156         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26157         Remove RESET_PID cpp guards.
26158         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26160 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26162         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26163         __sp to uintptr_t.
26165 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26167         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26168         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26169         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26170         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26172         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26173         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26177         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26178         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26180         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26181         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26182         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26183         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26184         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26185         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26186         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26188         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26189         (pthread_rwlock_rdlock): Add elision.
26190         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26191         (pthread_rwlock_wrlock): Add elision.
26192         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26193         (pthread_rwlock_trywrlock): Add elision.
26194         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26195         (pthread_rwlock_tryrdlock): Add elision.
26196         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26197         (pthread_rwlock_tryrdlock): Add elision unlock.
26198         * nptl/sysdeps/pthread/pthread.h:
26199         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26200         (PTHREAD_RWLOCK_INITIALIZER,
26201         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26202         Handle new elision field.
26203         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26204         * sysdeps/arm/nptl/bits/pthreadtypes.h
26205         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26206         * sysdeps/sh/nptl/bits/pthreadtypes.h
26207         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26208         * sysdeps/tile/nptl/bits/pthreadtypes.h
26209         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26210         * sysdeps/a/nptl/bits/pthreadtypes.h
26211         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26212         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26213         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26214         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26215         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26216         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26217         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26218         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26219         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26220         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26221         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26222         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26223         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26224         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26225         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26226         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26227         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26228         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26229         (elision_init): Set try_xbegin to zero when no RTM.
26230         * sysdeps/x86/nptl/bits/pthreadtypes.h
26231         (pthread_rwlock_t): Change __pad1 to __rwelision.
26232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26234 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26236         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26237         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26238         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26239         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26241 2014-06-13  Meador Inge  <meadori@codesourcery.com>
26243         [BZ #16996]
26244         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26245         that the cached result has been set before returning it.
26247 2014-06-12  Roland McGrath  <roland@hack.frob.com>
26249         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26250         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26251         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26252         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26253         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26254         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26256         * nptl/sysdeps/sparc/Makefile: Moved ...
26257         * sysdeps/sparc/nptl/Makefile: ... here.
26258         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26259         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26260         * nptl/sysdeps/sparc/tls.h: Moved ...
26261         * sysdeps/sparc/nptl/tls.h: ... here.
26262         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26263         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26264         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26265         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26266         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26267         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26268         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26269         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26270         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26271         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26272         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26273         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26274         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26275         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26276         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26277         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26278         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26279         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26280         Update #include.
26281         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26282         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26283         Update #include.
26284         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26285         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26286         Update #include.
26287         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26288         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26289         Update #include.
26291         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26293         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26294         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26296         * sysdeps/pthread/posix-timer.h: Include <list.h>.
26297         (struct list_links): Type removed.
26298         (struct thread_node, struct timer_node): Replace struct list_links
26299         with struct list_head.
26300         (list_unlink_ip): Likewise.
26301         * sysdeps/pthread/timer_routines.c
26302         (timer_free_list, thread_free_list, thread_active_list): Likewise.
26303         (list_append, list_insbefore): Likewise.
26304         (list_init): Function removed.
26305         (thread_init, init_module): Use INIT_LIST_HEAD instead.
26306         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26307         * sysdeps/pthread/Makefile: ... here, new file.
26309         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26310         * sysdeps/nptl/Implies: ... here.
26311         * sysdeps/unix/sysv/linux/Implies: Add nptl.
26312         * nptl/sysdeps/pthread/list.h: Moved ...
26313         * include/list.h: ... here.
26314         * nptl/sysdeps/pthread/createthread.c: Moved ...
26315         * nptl/createthread.c: ... here.
26316         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26317         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26318         * nptl/pt-longjmp.c: ... here.
26319         * nptl/sysdeps/pthread/Makefile: Moved ...
26320         * sysdeps/nptl/Makefile: ... here.
26321         * nptl/sysdeps/pthread/Subdirs: Moved ...
26322         * sysdeps/nptl/Subdirs: ... here.
26323         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26324         * sysdeps/nptl/aio_misc.h: ... here.
26325         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26326         * sysdeps/nptl/bits/libc-lock.h: ... here.
26327         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26328         * sysdeps/nptl/bits/libc-lockP.h: ... here.
26329         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26330         * sysdeps/nptl/bits/stdio-lock.h: ... here.
26331         * nptl/sysdeps/pthread/configure: Moved ...
26332         * sysdeps/nptl/configure: ... here.
26333         * nptl/sysdeps/pthread/configure.ac: Moved ...
26334         * sysdeps/nptl/configure.ac: ... here.
26335         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26336         * sysdeps/nptl/gai_misc.h: ... here.
26337         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26338         * sysdeps/nptl/librt-cancellation.c: ... here.
26339         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26340         * sysdeps/nptl/malloc-machine.h: ... here.
26341         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26342         * sysdeps/nptl/pthread-functions.h: ... here.
26343         * nptl/sysdeps/pthread/pthread.h: Moved ...
26344         * sysdeps/nptl/pthread.h: ... here.
26345         * nptl/sysdeps/pthread/setxid.h: Moved ...
26346         * sysdeps/nptl/setxid.h: ... here.
26347         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26348         * sysdeps/nptl/sigfillset.c: ... here.
26349         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26350         * sysdeps/nptl/tcb-offsets.h: ... here.
26351         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26352         * sysdeps/nptl/tst-mqueue8x.c: ... here.
26353         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26354         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26355         * nptl/sysdeps/pthread/allocalim.h: Moved ...
26356         * sysdeps/pthread/allocalim.h: ... here.
26357         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26358         * sysdeps/pthread/bits/sigthread.h: ... here.
26359         * nptl/sysdeps/pthread/flockfile.c: Moved ...
26360         * sysdeps/pthread/flockfile.c: ... here.
26361         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26362         * sysdeps/pthread/ftrylockfile.c: ... here.
26363         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26364         * sysdeps/pthread/funlockfile.c: ... here.
26365         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26366         * sysdeps/pthread/posix-timer.h: ... here.
26367         * nptl/sysdeps/pthread/timer_create.c: Moved ...
26368         * sysdeps/pthread/timer_create.c: ... here.
26369         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26370         * sysdeps/pthread/timer_delete.c: ... here.
26371         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26372         * sysdeps/pthread/timer_getoverr.c: ... here.
26373         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26374         * sysdeps/pthread/timer_gettime.c: ... here.
26375         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26376         * sysdeps/pthread/timer_routines.c: ... here.
26377         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26378         * sysdeps/pthread/timer_settime.c: ... here.
26379         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26380         * sysdeps/pthread/tst-timer.c: ... here.
26381         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26382         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26384         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26385         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26387         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26388         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26389         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26390         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26391         Update #include target.
26392         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26393         * sysdeps/i386/i686/nptl/Makefile: ... here.
26394         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26395         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26396         Update #include target.
26397         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26398         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26399         * nptl/sysdeps/i386/Makefile: Moved ...
26400         * sysdeps/i386/nptl/Makefile: ... here.
26401         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26402         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26403         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26404         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26405         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26406         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26407         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26408         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26409         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26410         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26411         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26412         * nptl/sysdeps/i386/tls.h: Moved ...
26413         * sysdeps/i386/nptl/tls.h: ... here.
26415         * sysdeps/sh/Makefile [$(subdir) = csu]
26416         (gen-as-const-headers): Add tcb-offsets.sym.
26417         * nptl/sysdeps/sh/Makefile: File removed.
26418         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26419         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26420         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26421         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26422         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26423         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26424         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26425         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26426         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26427         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26428         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26429         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26430         * nptl/sysdeps/sh/tls.h: Moved ...
26431         * sysdeps/sh/nptl/tls.h: ... here.
26432         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26433         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26434         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26435         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26436         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26437         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26438         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26439         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26440         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26441         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26442         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26443         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26444         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26445         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26446         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26447         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26448         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26449         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26450         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26451         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26452         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26453         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26454         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26455         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26456         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26457         Moved ...
26458         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26460         Moved ...
26461         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26462         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26463         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26464         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26465         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26466         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26467         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26468         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26469         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26470         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26471         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26472         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26473         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26474         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26475         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26476         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26477         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26478         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26479         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26481 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26483         * posix/spawn_faction_addopen.c: Include string.h.
26485 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26487         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26488         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26489         * nptl/sysdeps/x86_64/Makefile: Moved ...
26490         * sysdeps/x86_64/nptl/Makefile: ... here.
26491         * nptl/sysdeps/x86_64/configure: Moved ...
26492         * sysdeps/x86_64/nptl/configure: ... here.
26493         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26494         * sysdeps/x86_64/nptl/configure.ac: ... here.
26495         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26496         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26497         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26498         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26499         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26500         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26501         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26502         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26503         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26504         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26505         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26506         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26507         * nptl/sysdeps/x86_64/tls.h: Moved ...
26508         * sysdeps/x86_64/nptl/tls.h: ... here.
26509         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26510         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26511         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26512         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26514         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26516 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26520 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26522         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26523         type.
26524         [POSIX] (off_t): Likewise.
26525         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26526         [POSIX] (S_ISBLK): Require macro.
26527         [POSIX] (S_ISCHR): Likewise.
26528         [POSIX] (S_ISDIR): Likewise.
26529         [POSIX] (S_ISFIFO): Likewise.
26530         [POSIX] (S_ISREG): Likewise.
26531         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26532         optional-macro.
26533         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26534         type.
26535         [POSIX] (time_t): Likewise.
26536         [POSIX] (timer_t): Likewise.
26538 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26540         [BZ #17048]
26541         * posix/spawn_int.h (struct __spawn_action): Make the path string
26542         non-const to support deallocation.
26543         * posix/spawn_faction_addopen.c
26544         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26545         * posix/spawn_faction_destroy.c
26546         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26547         path in all spawn_do_open actions.
26548         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26549         posix_spawn_file_actions_addopen.
26551 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26553         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26554         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26555         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26556         conditional code always true.
26557         (__libc_vfork): New alias.
26559 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26561         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26562         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26564         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26566         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26567         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26569         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26570         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26572         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26573         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26575 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26577         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26578         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26579         multiarch strcmp for PPC64.
26580         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26581         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26583         multiarch optimizations.
26584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26585         (__libc_ifunc_impl_list): Likewise.
26587 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26589         * benchtests/scripts/validate_benchout.py: New script.
26590         * benchtests/Makefile (bench-func): Call it.
26591         * benchtests/scripts/benchout.schema.json: New file.
26593 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26595         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26596         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26597         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26598         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26599         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26600         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26601         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26602         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26603         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26604         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26605         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26606         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26607         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26608         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26609         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26610         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26612         Moved ...
26613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26614         ... here.
26615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26616         Moved ...
26617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26619         Moved ...
26620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26621         ... here.
26622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26623         Moved ...
26624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26625         ... here.
26626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26627         Moved ...
26628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26630         Moved ...
26631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26632         ... here.
26633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26634         Moved ...
26635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26636         ... here.
26637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26638         Moved ...
26639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26641         Moved ...
26642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26643         ... here.
26644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26645         Moved ...
26646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26647         ... here.
26648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26649         Moved ...
26650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26651         ... here.
26652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26653         Moved ...
26654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26656         Moved ...
26657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26658         ... here.
26659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26660         Moved ...
26661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26662         ... here.
26663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26664         Moved ...
26665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26666         ... here.
26667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26668         Moved ...
26669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26671         Moved ...
26672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26673         ... here.
26674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26675         Moved ...
26676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26677         ... here.
26678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26679         Moved ...
26680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26682         Moved ...
26683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26684         ... here.
26685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26686         Moved ...
26687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26689         Moved ...
26690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26692         Moved ...
26693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26694         ... here.
26695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26696         Moved ...
26697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26698         ... here.
26699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26700         Moved ...
26701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26702         ... here.
26703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26704         Moved ...
26705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26707         Moved ...
26708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26709         ... here.
26710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26711         Moved ...
26712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26713         ... here.
26714         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26715         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26716         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26717         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26718         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26719         Moved ...
26720         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26721         ... here.
26722         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26723         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26724         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26725         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26726         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26727         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26728         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26729         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26731         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26732         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26733         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26734         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26735         Moved ...
26736         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26738         Moved ...
26739         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26740         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26741         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26742         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26743         Moved ...
26744         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26746         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26747         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26748         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26749         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26750         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26752 2014-06-10  Wilco  <wdijkstr@arm.com>
26754         * math/test-fenv-return.c: New file.
26755         * math/Makefile: Add new test test-fenv-return.
26757 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26759         [BZ #17042]
26760         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26761         when x - 1 is zero.
26762         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26763         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26764         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26765         0.0L for an argument of 1.0L.
26766         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26767         Likewise.
26768         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26769         value when x - 1 is zero.
26770         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26771         * sysdeps/i386/fpu/libm-test-ulps: Update.
26772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26774 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26776         [BZ #15119]
26777         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26779 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26781         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26782         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26784 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26786         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26787         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26789         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26790         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26792         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26793         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26795         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26796         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26798         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26799         if not already defined.
26800         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26801         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26802         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26803         (TLS_INIT_TP): Use it.
26804         (TLS_DEFINE_INIT_TP): New macro.
26805         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26807 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26809         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26810         constant.
26811         [POSIX] (IXANY): Likewise.
26812         [POSIX] (OLCUC): Likewise.
26813         [POSIX || POSIX2008] (CBAUD): Do not allow.
26814         [POSIX || POSIX2008] (DEFECHO): Likewise.
26815         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26816         [POSIX || POSIX2008] (ECHOKE): Likewise.
26817         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26818         [POSIX || POSIX2008] (EXTA): Likewise.
26819         [POSIX || POSIX2008] (EXTB): Likewise.
26820         [POSIX || POSIX2008] (FLUSHO): Likewise.
26821         [POSIX || POSIX2008] (LOBLK): Likewise.
26822         [POSIX || POSIX2008] (PENDIN): Likewise.
26823         [POSIX || POSIX2008] (SWTCH): Likewise.
26824         [POSIX || POSIX2008] (VDISCARD): Likewise.
26825         [POSIX || POSIX2008] (VDSUSP): Likewise.
26826         [POSIX || POSIX2008] (VLNEXT): Likewise.
26827         [POSIX || POSIX2008] (VREPRINT): Likewise.
26828         [POSIX || POSIX2008] (VSTATUS): Likewise.
26829         [POSIX || POSIX2008] (VWERASE): Likewise.
26830         (B*): Change to B[0123456789]*.
26831         * conform/data/time.h-data [POSIX || UNIX98]
26832         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26833         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26834         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26835         [POSIX] (tm_*): Do not allow.
26837 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26839         * Makefile (install): Don't set LANGUAGE.
26840         * Makefile.in (install): Likewise.
26841         * assert/Makefile (test-assert-ENV): Remove variable.
26842         (test-assert-perr-ENV): Likewise.
26843         * elf/Makefile (neededtest4-ENV): Likewise.
26844         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26845         [$(cross-compiling) = no]: Don't set LANGUAGE.
26846         * io/ftwtest-sh (LANG): Remove variable.
26847         * libio/Makefile (tst-widetext-ENV): Likewise.
26848         * manual/install.texi (Running make install): Don't refer to
26849         environment settings for make install.
26850         * INSTALL: Regenerated.
26851         * nptl/tst-tls6.sh: Don't set LANG.
26852         * posix/globtest.sh (LANG): Remove variable.
26853         * string/Makefile (tester-ENV): Likewise.
26854         (inl-tester-ENV): Likewise.
26855         (noinl-tester-ENV): Likewise.
26856         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26857         [$(cross-compiling) = no]: Don't set LANGUAGE.
26858         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26859         without explicit environment settings.
26861 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26863         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26864         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26865         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26866         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26868 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26870         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26871         other files in the crypt directory.
26872         * crypt/crypt.c: Remove duplicate includes.
26873         * crypt/crypt-entry.c: Likewise.
26874         * crypt/crypt_util.c: Likewise.
26876 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26878         * Makeconfig (run-program-env): New variable.
26879         (run-program-prefix-before-env): Likewise.
26880         (run-program-prefix-after-env): Likewise.
26881         (run-program-prefix): Define in terms of new variables.
26882         (built-program-cmd-before-env): New variable.
26883         (built-program-cmd-after-env): Likewise.
26884         (built-program-cmd): Define in terms of new variables.
26885         (test-program-prefix-before-env): New variable.
26886         (test-program-prefix-after-env): Likewise.
26887         (test-program-prefix): Define in terms of new variables.
26888         (test-program-cmd-before-env): New variable.
26889         (test-program-cmd-after-env): Likewise.
26890         (test-program-cmd): Define in terms of new variables.
26891         * Rules (make-test-out): Use $(run-program-env).
26892         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26893         (help): Do not mention environment variables.  Mention
26894         --timeoutfactor option.
26895         (timeoutfactor): New variable.
26896         (blacklist_exports): Remove function.
26897         (exports): Remove variable.
26898         (command): Do not include ${exports}.
26899         * manual/install.texi (Configuring and compiling): Do not mention
26900         test wrappers preserving environment variables.  Mention that last
26901         assignment to a variable must take precedence.
26902         * INSTALL: Regenerated.
26903         * benchtests/Makefile (run-bench): Use $(run-program-env).
26904         * catgets/Makefile ($(objpfx)test1.cat): Use
26905         $(built-program-cmd-before-env), $(run-program-env) and
26906         $(built-program-cmd-after-env).
26907         ($(objpfx)test2.cat): Do not specify environment variables
26908         explicitly.
26909         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26910         $(run-program-env) and $(built-program-cmd-after-env).
26911         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26912         $(run-program-env) and $(test-program-cmd-after-env).
26913         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26914         explicitly.
26915         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26916         run_program_env and test_program_cmd_after_env arguments.
26917         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26918         * elf/tst-pathopt.sh: Use run_program_env argument.
26919         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26920         $(test-wrapper-env) and $(run-program-env).
26921         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26922         run_program_env arguments.
26923         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26924         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26925         $(test-program-prefix-before-env), $(run-program-env) and
26926         $(test-program-prefix-after-env).
26927         ($(objpfx)tst-gettext2.out): Likewise.
26928         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26929         run_program_env and test_program_prefix_after_env arguments.
26930         * intl/tst-gettext2.sh: Likewise.
26931         * intl/tst-gettext4.sh: Do not set environment variables
26932         explicitly.
26933         * intl/tst-gettext6.sh: Likewise.
26934         * intl/tst-translit.sh: Likewise.
26935         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26936         $(test-program-prefix-before-env), $(run-program-env) and
26937         $(test-program-prefix-after-env).
26938         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26939         run_program_env and test_program_prefix_after_env arguments.
26940         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26941         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26942         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26943         explicitly with each use of ${test_wrapper_env}.
26944         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26945         $(test-program-prefix-before-env), $(run-program-env) and
26946         $(test-program-prefix-after-env).
26947         * posix/tst-getconf.sh: Do not set environment variables
26948         explicitly.
26949         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26950         run_program_env and test_program_prefix_after_env arguments.
26951         * stdio-common/tst-printf.sh: Do not set environment variables
26952         explicitly.
26953         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26954         $(test-program-prefix-before-env), $(run-program-env) and
26955         $(test-program-prefix-after-env).
26956         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26957         run_program_env and test_program_prefix_after_env arguments.
26958         Split $test calls into $test_pre and $test.
26959         * timezone/Makefile (build-testdata): Use
26960         $(built-program-cmd-before-env), $(run-program-env) and
26961         $(built-program-cmd-after-env).
26963 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26965         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26966         strlen for non SHARED builds.
26968 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26970         * nptl/allocatestack.c (check_list): Inlined function...
26971         (__reclaim_stacks): ... here.
26973 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26975         [BZ #15698]
26976         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26977         memory overrun.
26979 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26981         * Rules (make-test-out): Include
26982         LOCPATH=$(common-objpfx)localedata in default environment.
26983         * debug/Makefile (tst-chk1-ENV): Remove variable.
26984         (tst-chk2-ENV): Likewise.
26985         (tst-chk3-ENV): Likewise.
26986         (tst-chk4-ENV): Likewise.
26987         (tst-chk5-ENV): Likewise.
26988         (tst-chk6-ENV): Likewise.
26989         (tst-lfschk1-ENV): Likewise.
26990         (tst-lfschk2-ENV): Likewise.
26991         (tst-lfschk3-ENV): Likewise.
26992         (tst-lfschk4-ENV): Likewise.
26993         (tst-lfschk5-ENV): Likewise.
26994         (tst-lfschk6-ENV): Likewise.
26995         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26996         (tst-iconv7-ENV): Likewise.
26997         * intl/Makefile (LOCPATH-ENV): Likewise.
26998         (tst-codeset-ENV): Likewise.
26999         (tst-gettext3-ENV): Likewise.
27000         (tst-gettext5-ENV): Likewise.
27001         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27002         (tst-fopenloc-ENV): Likewise.
27003         (tst-fgetws-ENV): Remove variable.
27004         (tst-ungetwc1-ENV): Likewise.
27005         (tst-ungetwc2-ENV): Likewise.
27006         (bug-ungetwc2-ENV): Likewise.
27007         (tst-swscanf-ENV): Likewise.
27008         (bug-ftell-ENV): Likewise.
27009         (tst-fgetwc-ENV): Likewise.
27010         (tst-fseek-ENV): Likewise.
27011         (tst-ftell-partial-wide-ENV): Likewise.
27012         (tst-ftell-active-handler-ENV): Likewise.
27013         (tst-ftell-append-ENV): Likewise.
27014         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27015         (tst-regexloc-ENV): Likewise.
27016         (bug-regex1-ENV): Likewise.
27017         (tst-regex-ENV): Likewise.
27018         (tst-regex2-ENV): Likewise.
27019         (bug-regex5-ENV): Likewise.
27020         (bug-regex6-ENV): Likewise.
27021         (bug-regex17-ENV): Likewise.
27022         (bug-regex18-ENV): Likewise.
27023         (bug-regex19-ENV): Likewise.
27024         (bug-regex20-ENV): Likewise.
27025         (bug-regex22-ENV): Likewise.
27026         (bug-regex23-ENV): Likewise.
27027         (bug-regex25-ENV): Likewise.
27028         (bug-regex26-ENV): Likewise.
27029         (bug-regex30-ENV): Likewise.
27030         (bug-regex32-ENV): Likewise.
27031         (bug-regex33-ENV): Likewise.
27032         (bug-regex34-ENV): Likewise.
27033         (bug-regex35-ENV): Likewise.
27034         (tst-rxspencer-ENV): Likewise.
27035         (tst-rxspencer-no-utf8-ENV): Likewise.
27036         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27037         (tst-sscanf-ENV): Likewise.
27038         (tst-swprintf-ENV): Likewise.
27039         (tst-swscanf-ENV): Likewise.
27040         (test-vfprintf-ENV): Likewise.
27041         (scanf13-ENV): Likewise.
27042         (bug14-ENV): Likewise.
27043         (tst-grouping-ENV): Likewise.
27044         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27045         (tst-strtod3-ENV): Likewise.
27046         (tst-strtod4-ENV): Likewise.
27047         (tst-strtod5-ENV): Likewise.
27048         (testmb2-ENV): Likewise./
27049         * string/Makefile (tst-strxfrm-ENV): Likewise.
27050         (tst-strxfrm2-ENV): Likewise.
27051         (bug-strcoll1-ENV): Likewise.
27052         (test-strcasecmp-ENV): Likewise.
27053         (test-strncasecmp-ENV): Likewise.
27054         * time/Makefile (tst-strptime-ENV): Likewise.
27055         (tst-ftime_l-ENV): Likewise.
27056         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27057         (tst-mbrtowc-ENV): Likewise.
27058         (tst-wcrtomb-ENV): Likewise.
27059         (tst-mbrtowc2-ENV): Likewise.
27060         (tst-c16c32-1-ENV): Likewise.
27061         (tst-mbsnrtowcs-ENV): Likewise.
27063 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27065         * manual/resource.texi (How to get information about the memory
27066         subsystem?): Fix typo.
27067         Reported by Peon de la Parra Ivan <peon@keba.com>
27069 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27071         [BZ #16882]
27072         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27073         (pthread_spin_lock): Branch out of spin loop to proper location.
27074         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27075         (pthread_spin_lock): Likewise.
27077         * nptl/tst-spin4.c: New test.
27078         * nptl/Makefile (tests): Add tst-spin4.
27080 2014-06-03  Andreas Schwab  <schwab@suse.de>
27082         [BZ #15946]
27083         * resolv/res_send.c (send_dg): Reload file descriptor after
27084         calling reopen.
27086 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27088         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27090 2014-06-03  Richard Henderson  <rth@redhat.com>
27092         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27093         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27094         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27095         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27096         in the SAVE_PID block.
27097         (__libc_vfork): New alias.
27098         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27100         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27101         child in registers, not on the stack.  Remove RESET_PID conditionals.
27102         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27104 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27106         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27108 2014-06-03  Wilco  <wdijkstr@arm.com>
27110         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27111         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27112         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27113         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27114         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27115         Likewise.
27117 2014-06-03  Wilco  <wdijkstr@arm.com>
27119         * sysdeps/aarch64/fpu/math_private.h
27120         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27121         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27122         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27123         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27124         Fix declarations.
27126 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27128         * crypt/crypt-private.h: Include ufc-crypt.h.
27129         (__b64_from_24bit): Declare extern.
27130         * crypt/crypt_util.c(__b64_from_24bit): New function.
27131         (b64t): New static const variable.
27132         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27133         (b64t): Remove variable.
27134         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27135         * crypt/sha256-crypt.c: Include crypt-private.h.
27136         (b64t): Remove variable.
27137         (__sha256_crypt_r): Remove b64_from_24bit and replace
27138         with __b64_from_24bit.
27139         * crypt/sha512-crypt.c: Likewise.
27141 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27143         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27144         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27145         Label the code __libc_vfork rather than __vfork.
27146         [!NOT_IN_libc] (vfork): Define as weak alias.
27147         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27148         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27149         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27151 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27153         * malloc/malloc.c (malloc_info): Fix format specifier for
27154         n_mmaps.
27156 2014-06-02  Wilco  <wdijkstr@arm.com>
27158         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27159         FPCR write.
27161 2014-06-02  Wilco  <wdijkstr@arm.com>
27163         [BZ #17009]
27164         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27165         Rewrite to reduce FPCR/FPSR accesses.
27167 2014-06-01  David S. Miller  <davem@davemloft.net>
27169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27171 2014-05-31  David S. Miller  <davem@davemloft.net>
27173         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27174         to occur in round to nearest mode when |x| >= 2.0
27176 2014-05-30  Richard Henderson  <rth@twiddle.net>
27178         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27179         (PSEUDO_RET_NOERRNO): Remove.
27180         (ret): Don't redefine.
27181         (ret_NOERRNO): Define in terms of ret.
27182         (ret_ERRVAL): Likewise.
27184         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27185         use of PSEUDO_RET; perform the error check directly.
27187 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27189         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27190         with __int128_t.
27192 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27194         * malloc/malloc (malloc_info): Fix formatting.
27196 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27197             Roland McGrath  <roland@hack.frob.com>
27199         * malloc/malloc (malloc_info): Also print mmapped statistics.
27201 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27203         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27204         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27206 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27208         * malloc/malloc.c (malloc_info): Inline mi_arena.
27210 2014-05-29  Richard Henderson  <rth@twiddle.net>
27212         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27213         Remove comma before expanding ASM_ARGS_##nr.
27214         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27215         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27216         of ASM_ARGS_##nr.
27217         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27218         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27219         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27220         (ASM_ARGS_1): Add leading comma.
27222         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27223         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27224         to __errno_location.
27225         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27226         Remove the expected plt for __errno_location.
27228         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27229         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27230         call to __read_tp.
27232         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27233         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
27234         it and break it down.
27235         (DOCARGS_0, DOCARGS_1): Do nothing.
27236         (DOCARGS_2): Update to store into the new stack frame.
27237         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27238         (UNDOCARGS_1): Update to restore from the new stack frame.
27239         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27240         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27242         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27243         (SINGLE_THREAD_P): New parameter for result regno.
27244         (PSEUDO): Update to match; use cbz instead of beq.
27246         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27247         Use ENTRY to define the _nocancel entry point.  Share the syscall
27248         and syscall error check paths with the cancel path.
27249         (PSEUDO_END): New.
27251         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27252         whitespace; tabs before and after asm mnemonics.
27254 2014-05-29  Eric Wong  <normalperson@yhbt.net>
27256         [BZ #15132]
27257         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27258         Call fstat64 or stat64 internally, depending on arguments passed.
27259         Replace stat buffer argument with file descriptor argument.
27260         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27261         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27262         Pass fd to __internal_statvfs instead of calling fstat64.
27263         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27264         Pass fd to __internal_statvfs64 instead of calling fstat64.
27265         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27266         Pass -1 to __internal_statvfs instead of calling stat64.
27267         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27268         Pass -1 to __internal_statvfs64 instead of calling stat64.
27270 2014-05-28  Roland McGrath  <roland@hack.frob.com>
27272         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27273         that was previously under [RESET_PID].
27274         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27276         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27277         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27279 2014-05-27  Roland McGrath  <roland@hack.frob.com>
27281         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27283         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27284         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27286 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
27288         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27290 2014-05-27  Andreas Schwab  <schwab@suse.de>
27292         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27293         TLS_INIT_TP macro.
27294         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27295         * elf/rtld.c (init_tls, dl_main): Likewise.
27296         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27297         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27298         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27299         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27300         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27301         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27302         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27303         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27304         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27305         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27306         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27307         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27308         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27309         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27310         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27311         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27312         * sysdeps/generic/tls.h: Update description.
27314 2014-05-27  Will Newton  <will.newton@linaro.org>
27316         [BZ #16990]
27317         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27318         and restore r2 rather than just restoring.
27320 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27322         [BZ #16724]
27323         * libio/tst-ftell-append.c: New test case.
27324         * libio/Makefile (tests): Add test case.
27325         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27326         append mode.
27327         * libio/wfileops.c (do_ftell_wide): Likewise.
27329 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27333         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27334         ...
27335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27337         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27338         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27339         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27340         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27341         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27342         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27343         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27344         Moved ...
27345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27347         Moved ...
27348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27349         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27350         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27351         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27352         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27353         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27354         ...
27355         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27356         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27357         Moved ...
27358         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27359         here.
27360         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27361         ...
27362         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27363         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27364         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27366         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27367         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27368         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27369         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27372         merge into ...
27373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27375         ...
27376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27378         ...
27379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27381         Moved ...
27382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27383         here.
27384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27385         Moved ...
27386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27388         Moved ...
27389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27392         conditional [RESET_PID].
27393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27395         removed.
27396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27397         removed.
27399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27400         <tcb-offsets.h>.
27401         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27402         (__libc_vfork): New strong alias.
27403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27404         removed.
27405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27406         Removed.
27408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27409         <tcb-offsets.h>.
27410         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27411         (__libc_vfork): New strong alias.
27412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27413         removed.
27414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27415         removed.
27417 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27419         * malloc/malloc.c (mi_arena): New function.
27420         (malloc_info): Remove nested function mi_arena. Call non-nosted
27421         function mi_arena.
27423 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27425         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27426         by insrwi.
27427         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27428         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27429         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27430         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27431         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27432         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27433         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27435 2014-05-26  Andreas Schwab  <schwab@suse.de>
27437         [BZ #16984]
27438         * locale/programs/repertoire.c (repertoire_read): Add slash
27439         between I18NPATH element and file name.
27440         * locale/programs/locfile.c (locfile_read): Likewise.
27442 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27444         * nptl/pthread_mutexattr_settype.c
27445         (__pthread_mutexattr_settype):
27446         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27448 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27450         * nptl/tst-mutex5 (do_test):
27451         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27453 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27455         * benchtests/README: Document 'init' directive.
27456         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27457         BENCH_INIT.
27458         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27459         (parse_file): Recognize 'init' directive.
27461 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27463         [BZ #16796]
27464         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27465         alignment of struct pthread.
27467 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27469         [BZ #16878]
27470         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27471         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27472         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27473         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27475 2014-05-25  Richard Henderson  <rth@twiddle.net>
27477         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27478         (SINGLE_THREAD_P_PIC): Remove.
27479         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27480         (SINGLE_THREAD_P_PIC): Remove.
27482         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27483         branch to syscall error ...
27484         (PSEUDO): ... here.
27485         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27486         from __local_syscall_error to .Lsyscall_error.
27487         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27488         (SYSCALL_ERROR): Update label name.
27490         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27491         Do not use DOARGS/UNDOARGS.
27492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27493         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27494         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27495         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27496         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27499         block comment.
27501         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27502         define if !NOT_IN_libc.
27503         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27504         define with non-default symbol versions.
27506 2014-05-23  Richard Henderson  <rth@twiddle.net>
27508         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27509         (vfork, __vfork): Define via compat_symbol.
27511         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27512         [!HAVE_IFUNC] (vfork_compat): Remove.
27513         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27515 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27517         [BZ #16978]
27518         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27519         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27520         variable.
27522 2014-05-23  Richard Henderson  <rth@twiddle.net>
27524         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27525         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27526         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27527         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27529         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27530         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27531         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27532         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27533         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27534         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27535         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27536         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27537         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27538         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27539         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27540         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27541         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27542         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27543         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27544         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27545         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27546         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27547         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27548         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27549         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27550         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27551         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27552         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27553         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27554         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27555         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27556         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27557         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27558         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27559         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27560         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27561         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27562         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27563         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27564         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27565         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27566         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27567         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27568         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27569         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27570         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27571         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27572         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27573         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27574         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27575         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27576         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27577         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27578         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27579         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27580         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27581         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27582         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27583         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27584         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27586         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27587         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27588         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27589         before exiting on error.
27590         (__libc_vfork): New strong alias.
27591         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27592         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27594         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27595         that was previously under [RESET_PID].
27596         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27598         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27600 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27602         [BZ #16977]
27603         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27604         value when x - 1 is zero.
27605         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27606         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27607         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27608         0.0L for an argument of 1.0L.
27609         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27610         Likewise.
27611         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27612         value when x - 1 is zero.
27613         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27614         * sysdeps/i386/fpu/libm-test-ulps: Update.
27615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27617 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27619         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27620         alphasort and versionsort.
27622 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27624         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27625         macro.
27626         [copysignf]: Likewise.
27628 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27630         * crypt/md5-crypt.c: Fix formatting.
27632 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27634         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27635         (b64_from_24bit): New function.
27637 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27639         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27640         libc_hidden_builtin_def to ifunc.
27641         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27642         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27644 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27646         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27647         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27649 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27651         * nscd/Depend (linuxthreads): Remove.
27652         (nptl): Add.
27653         * resolv/Depend (linuxthreads): Remove.
27654         * rt/Depend (linuxthreads): Remove.
27656         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27657         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27658         $(common-objpfx)elf/.
27659         (link-libc-before-gnulib): Likewise.
27660         (elfobjdir): Remove variable.
27661         * Makefile (install): Use $(elf-objpfx) instead of
27662         $(common-objpfx)elf/.
27663         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27664         $(elfobjdir)/.
27665         (link-libc-deps): Likewise.
27666         ($(common-objpfx)libc.so): Likewise.
27667         ($(common-objpfx)linkobj/libc.so): Likewise.
27668         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27669         instead of $(common-objpfx)elf/.
27670         (symbolic-link-list): Likewise.
27671         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27672         [$(cross-compiling) = no]: Likewise.
27673         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27674         $(elfobjdir)/.
27675         (static-gnulib-arch): Likewise.
27676         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27677         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27678         $(common-objpfx)elf/.
27680 2014-05-21  Richard Henderson  <rth@redhat.com>
27682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27683         (SINGLE_THREAD_P): Use the correct width load.  Fold
27684         into the ldr offset.
27686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27687         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27689 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27691         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27692         (libgcc_s_resume): Use __attribute_used__.
27693         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27694         Likewise.
27696 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27698         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27699         optimization when used with float constants.
27701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27703 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27705         [BZ #16915]
27706         * locale/nl_langinfo_l.c: Make direct reference to every
27707         _nl_current_CATEGORY symbol.
27708         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27709         (tests-static): Add tst-langinfo-static.
27710         (tests-special): Add tst-langinfo-static.out.
27711         ($(objpfx)tst-langinfo.out): Redirect output.
27712         ($(objpfx)tst-langinfo-static.out): New.
27713         * localedata/tst-langinfo.sh: Send output to stdout.
27714         * localedata/tst-langinfo-static.c: New file.
27716         [BZ #16965]
27717         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27718         when the shift amount is modulo the limb size.
27720 2014-05-20  Richard Henderson  <rth@redhat.com>
27722         [BZ #16967]
27723         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27724         Change type of sa_flags from unsigned int to int.
27726         [BZ #16966]
27727         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27729         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27731 2014-05-20  Will Newton  <will.newton@linaro.org>
27733         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27734         Test the return value of the system call in the nocancel case.
27736 2014-05-20  Will Newton  <will.newton@linaro.org>
27737             Yvan Roux  <yvan.roux@linaro.org>
27739         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27740         #include of asm/ptrace.h.
27741         (PTRACE_GET_THREAD_AREA): Remove #undef.
27742         (PTRACE_GETHBPREGS): Likewise.
27743         (PTRACE_SETHBPREGS): Likewise.
27744         (struct user_regs_struct): New structure.
27745         (struct user_fpsimd_struct): New structure.
27746         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27747         #include of asm/ptrace.h and second #include of sys/user.h.
27748         (PTRACE_GET_THREAD_AREA): Remove #undef.
27749         (PTRACE_GETHBPREGS): Likewise.
27750         (PTRACE_SETHBPREGS): Likewise.
27751         (ELF_NGREG): Use new struct user_regs_struct.
27752         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27754 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27759 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27761         [BZ #16958]
27762         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27763         membar to avoid block loads/stores to overlap previous stores.
27765 2014-05-17  Richard Henderson  <rth@redhat.com>
27767         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27768         Create the __##syscall_name##_nocancel entry point.
27769         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27770         Remove; let the sysdep-cancel.h code create it.
27772 2014-05-17  David S. Miller  <davem@davemloft.net>
27774         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27775         Protect with __USE_GNU.
27776         (TIOCSET_TEMPT): Likewise.
27777         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27778         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27779         these are already provided in bits/ioctl-types.h
27781 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27783         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27784         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27786         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27787         Use wait4 regardless of [__NR_waitpid].
27789 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27791         PR libgcc/60166
27792         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27793         (_FP_NANSIGN_Q): Set the quiet bit.
27795 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27797         * benchtests/Makefile
27798         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27799         not $(common-objpfx)math/libm.so.
27800         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27801         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27802         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27803         $(common-objpfx)dlfcn/libdl.so.
27804         ($(objpfx)tst-audit8): Depend on $(libm), not
27805         $(common-objpfx)math/libm.so.
27806         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27807         not $(common-objpfx)dlfcn/libdl.so.
27808         * math/Makefile
27809         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27810         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27811         [$(build-shared) = yes].
27812         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27813         $(common-objpfx)nptl/libpthread.so.
27814         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27815         $(common-objpfx)math/libm.so$(libm.so-version) or
27816         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27817         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27818         $(common-objpfx)dlfcn/libdl.so.
27819         * setjmp/Makefile (link-libm): Remove variable.
27820         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27821         * stdio-common/Makefile (link-libm): Remove variable.
27822         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27823         * stdlib/Makefile (link-libm): Remove variable.
27824         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27825         ($(objpfx)tst-strtod-round): Likewise.
27826         ($(objpfx)tst-tininess): Likewise.
27827         ($(objpfx)tst-strtod-underflow): Likewise.
27828         ($(objpfx)tst-strtod6): Likewise.
27829         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27830         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27831         $(common-objpfx)dlfcn/libdl.so.
27833 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27835         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27836         BSD terminal modes definitions.
27838 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27840         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27841         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27843         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27844         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27845         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27846         Don't do #include_next.
27847         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27848         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27849         Don't do #include_next.
27850         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27851         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27852         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27853         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27855 2014-05-16  Allan McRae  <allan@archlinux.org>
27857         * po/sv.po: Update Swedish translation from translation project.
27859         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27860         in sed expression.
27862 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27864         [BZ #16917]
27865         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27866         errno if the TIOCGPTN ioctl fails with an error different than
27867         EINVAL.
27868         * login/tst-ptsname.c: New file.
27869         * login/Makefile (tests): Add tst-ptsname.
27871         [BZ #16943]
27872         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27873         and prlimit64.
27875 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27877         [BZ #16849]
27878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27879         herrno to return EAI_AGAIN.
27881 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27883         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27884         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27885         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27886         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27887         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27888         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27889         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27890         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27891         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27892         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27893         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27894         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27895         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27896         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27897         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27898         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27899         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27900         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27901         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27902         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27903         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27904         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27905         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27906         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27907         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27908         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27909         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27910         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27911         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27912         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27914         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27916         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27918         Moved ...
27919         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27921         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27923         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27925         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27927         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27929         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27931         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27933         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27935         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27937         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27939         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27941         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27943         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27945         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27947         Moved ...
27948         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27950         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27952         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27954         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27956         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27958         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27960         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27962         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27964         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27966         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27968         Moved ...
27969         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27971         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27973         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27974         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27975         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27976         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27977         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27978         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27979         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27980         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27981         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27982         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27983         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27984         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27985         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27986         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27987         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27988         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27989         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27990         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27991         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27992         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27993         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27994         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27995         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27996         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27997         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27998         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27999         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28000         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28001         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28002         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28003         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28005         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28006         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28008         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28009         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28010         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28011         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28012         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28013         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28014         Moved ...
28015         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28016         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28017         Moved ...
28018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28019         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28020         Moved ...
28021         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28022         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28023         Moved ...
28024         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28025         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28026         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28027         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28028         Moved ...
28029         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28030         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28031         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28032         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28033         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28034         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28035         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28036         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28037         Moved ...
28038         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28040         Moved ...
28041         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28042         ... here.
28043         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28044         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28045         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28046         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28047         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28048         Moved ...
28049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28050         ... here.
28051         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28052         Moved ...
28053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28054         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28055         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28056         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28057         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28058         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28059         Moved ...
28060         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28061         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28062         Moved ...
28063         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28064         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28065         Moved ...
28066         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28067         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28068         Moved ...
28069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28070         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28071         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28072         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28073         Moved ...
28074         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28075         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28076         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28077         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28078         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28079         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28080         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28081         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28082         Moved ...
28083         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28085         Moved ...
28086         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28087         ... here.
28088         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28089         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28090         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28091         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28092         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28093         Moved ...
28094         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28095         ... here.
28096         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28097         Moved ...
28098         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28099         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28100         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28101         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28102         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28103         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28104         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28105         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28106         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28107         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28108         Moved ...
28109         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28110         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28111         Moved ...
28112         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28113         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28114         Moved ...
28115         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28116         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28117         Moved ...
28118         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28119         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28120         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28121         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28122         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28123         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28124         Moved ...
28125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28126         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28127         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28128         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28130         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28131         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28132         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28133         Moved ...
28134         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28136         Moved ...
28137         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28138         ... here.
28139         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28140         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28141         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28142         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28143         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28144         Moved ...
28145         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28146         ... here.
28147         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28148         Moved ...
28149         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28150         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28151         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28152         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28153         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28154         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28155         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28156         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28157         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28158         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28159         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28161         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28162         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28164         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28165         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28167         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28168         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28169         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28170         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28171         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28172         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28173         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28174         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28175         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28176         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28177         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28178         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28179         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28180         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28181         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28182         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28183         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28184         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28185         Moved ...
28186         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28187         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28188         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28190         Moved ...
28191         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28192         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28193         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28195         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28196         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28197         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28198         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28199         Moved ...
28200         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28202         Moved ...
28203         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28204         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28205         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28209         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28210         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28211         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28212         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28213         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28214         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28215         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28216         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28217         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28218         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28219         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28221         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28222         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28223         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28224         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28225         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28227         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28228         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28229         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28230         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28231         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28232         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28233         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28234         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28235         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28236         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28238         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28241         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28242         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28243         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28244         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28245         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28246         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28247         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28248         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28249         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28250         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28251         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28252         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28253         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28254         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28256         Update #include.
28257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28258         Likewise.
28259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28260         Likewise.
28261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28262         Likewise.
28263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28264         Likewise.
28265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28266         Likewise.
28267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28268         Likewise.
28269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28270         Likewise.
28271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28272         Likewise.
28273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28274         Likewise.
28275         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28280         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28282         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28284         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28285         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28286         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28287         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28288         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
28289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
28291         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28292         that was previously under [RESET_PID].
28293         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28294         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28295         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28297         * sysdeps/i386/nptl/Implies: New file.
28298         * sysdeps/x86_64/nptl/Implies: New file.
28299         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28300         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28301         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28302         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28304         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28305         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28306         (__libc_vfork): New strong alias.
28307         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28308         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28310         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28311         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28312         (__libc_vfork): New strong alias.
28313         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28314         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28316         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28317         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28318         (__libc_vfork): New strong alias.
28319         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28320         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28321         * nptl/pt-vfork.c: New file.
28322         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28323         (libpthread: GLIBC_2.20): New version set (empty).
28325 2014-05-14  Will Newton  <will.newton@linaro.org>
28327         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28328         rather than #if.
28330 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28332         [BZ #16564]
28333         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28334         arguments with exponent 65 or above.
28335         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28336         arguments 0x1p113L or above.
28337         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28338         to arguments 0x1p107L or above.
28339         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28340         positive arguments with exponent 65 or above.
28341         * math/auto-libm-test-in: Add more tests of log1p.
28342         * math/auto-libm-test-out: Regenerated.
28344         [BZ #16928]
28345         * math/s_cacos.c (__cacos): Ensure zero real part of result from
28346         non-finite arguments is +0.
28347         * math/s_cacosf.c (__cacosf): Likewise.
28348         * math/s_cacosl.c (__cacosl): Likewise.
28349         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28350         * sysdeps/i386/fpu/libm-test-ulps: Update.
28351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28353         [BZ #16927]
28354         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28355         value.
28356         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28357         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28358         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28359         for explicit high bit of mantissa when testing for argument equal
28360         to 1.
28361         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28362         * sysdeps/i386/fpu/libm-test-ulps: Update.
28363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28365         [BZ #16516]
28366         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28367         (__erf): Scale by 16 instead of 8 in potentially underflowing
28368         case.  Ensure exception if result actually underflows.
28369         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28370         (__erff): Scale by 16 instead of 8 in potentially underflowing
28371         case.  Ensure exception if result actually underflows.
28372         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28373         (efx8): Remove variable.
28374         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28375         case.  Ensure exception if result actually underflows.
28376         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28377         (efx8): Remove variable.
28378         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28379         case.  Ensure exception if result actually underflows.
28380         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28381         (efx8): Remove variable.
28382         (__erfl): Scale by 16 instead of 8 in potentially underflowing
28383         case.  Ensure exception if result actually underflows.
28384         * math/auto-libm-test-in: Add more tests of erf.
28385         * math/auto-libm-test-out: Regenerated.
28387 2014-05-14  Andreas Schwab  <schwab@suse.de>
28389         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28390         Remove code conditionalized on USE___THREAD.
28392         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28393         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28394         not definedness.
28396 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28399         Define unconditionally.
28400         (__ASSUME_O_CLOEXEC): Likewise.
28401         (__ASSUME_SOCK_CLOEXEC): Likewise.
28402         (__ASSUME_IN_NONBLOCK): Likewise.
28403         (__ASSUME_PIPE2): Likewise.
28404         (__ASSUME_EVENTFD2): Likewise.
28405         (__ASSUME_SIGNALFD4): Likewise.
28406         (__ASSUME_DUP3): Likewise.
28407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28408         (__ASSUME_DUP3): Do not define.
28409         (__ASSUME_EVENTFD2): Likewise.
28410         (__ASSUME_IN_NONBLOCK): Likewise.
28411         (__ASSUME_O_CLOEXEC): Likewise.
28412         (__ASSUME_PIPE2): Likewise.
28413         (__ASSUME_SIGNALFD4): Likewise.
28414         (__ASSUME_SOCK_CLOEXEC): Likewise.
28415         (__ASSUME_UTIMES): Undefine.
28416         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28417         (__ASSUME_UTIMES): Do not define.
28418         (__ASSUME_O_CLOEXEC): Likewise.
28419         (__ASSUME_SOCK_CLOEXEC): Likewise.
28420         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28421         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28422         0x020621].
28423         (__ASSUME_PIPE2): Likewise.
28424         (__ASSUME_EVENTFD2): Likewise.
28425         (__ASSUME_SIGNALFD4): Likewise.
28426         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28427         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28428         Do not define.
28429         (__ASSUME_EVENTFD2): Likewise.
28430         (__ASSUME_SIGNALFD4): Likewise.
28431         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28432         (__ASSUME_32BITUIDS): Likewise.
28433         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28434         (__ASSUME_IPC64): Likewise.
28435         (__ASSUME_ST_INO_64_BIT): Likewise.
28436         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28437         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28438         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28439         (__ASSUME_UTIMES): Do not define.
28440         (__ASSUME_PSELECT): Likewise.
28441         (__ASSUME_PPOLL): Likewise.
28442         (__ASSUME_O_CLOEXEC): Likewise.
28443         (__ASSUME_SOCK_CLOEXEC): Likewise.
28444         (__ASSUME_IN_NONBLOCK): Likewise.
28445         (__ASSUME_PIPE2): Likewise.
28446         (__ASSUME_EVENTFD2): Likewise.
28447         (__ASSUME_SIGNALFD4): Likewise.
28448         (__ASSUME_DUP3): Likewise.
28449         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28450         (__ASSUME_UTIMES): Likewise.
28451         (__ASSUME_O_CLOEXEC): Likewise.
28452         (__ASSUME_SOCK_CLOEXEC): Likewise.
28453         (__ASSUME_IN_NONBLOCK): Likewise.
28454         (__ASSUME_PIPE2): Likewise.
28455         (__ASSUME_EVENTFD2): Likewise.
28456         (__ASSUME_SIGNALFD4): Likewise.
28457         (__ASSUME_DUP3): Likewise.
28458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28459         (__ASSUME_UTIMES): Likewise.
28460         (__ASSUME_O_CLOEXEC): Likewise.
28461         (__ASSUME_SOCK_CLOEXEC): Likewise.
28462         (__ASSUME_IN_NONBLOCK): Likewise.
28463         (__ASSUME_PIPE2): Likewise.
28464         (__ASSUME_EVENTFD2): Likewise.
28465         (__ASSUME_SIGNALFD4): Likewise.
28466         (__ASSUME_DUP3): Likewise.
28467         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28468         Likewise.
28469         (__ASSUME_UTIMES): Likewise.
28470         (__ASSUME_EVENTFD2): Likewise.
28471         (__ASSUME_SIGNALFD4): Likewise.
28472         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28473         (__ASSUME_O_CLOEXEC): Likewise.
28474         (__ASSUME_SOCK_CLOEXEC): Likewise.
28475         (__ASSUME_IN_NONBLOCK): Likewise.
28476         (__ASSUME_PIPE2): Likewise.
28477         (__ASSUME_EVENTFD2): Likewise.
28478         (__ASSUME_SIGNALFD4): Likewise.
28479         (__ASSUME_DUP3): Likewise.
28480         (__ASSUME_UTIMES): Undefine.
28482         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28483         feclearexcept.  Remove symbol versioning code.
28484         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28485         symbol versioning code.
28486         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28487         symbol versioning code.
28488         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28489         feupdateenv.  Remove symbol versioning code.
28490         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28491         fegetexceptflag.  Remove symbol versioning code.
28492         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28493         fesetexceptflag.  Remove symbol versioning code.
28494         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28495         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28496         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28497         (__posix_fadvise64_l32): Remove prototype.
28498         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28499         code.
28501 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28503         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28504         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28505         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28506         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28508 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28510         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28511         current working directory
28513 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28515         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28516         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28517         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28518         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28519         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28520         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28521         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28522         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28523         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28524         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28525         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28526         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28527         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28528         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28529         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28530         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28531         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28532         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28533         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28534         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28535         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28536         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28537         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28538         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28539         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28540         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28541         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28542         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28543         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28544         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28545         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28546         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28547         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28548         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28549         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28550         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28551         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28552         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28553         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28554         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28555         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28556         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28558         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28559         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28561         * sysdeps/unix/sysv/linux/arm/Makefile
28562         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28563         Add rt-aeabi_unwind_cpp_pr1.
28564         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28565         Add nptl-aeabi_unwind_cpp_pr1.
28566         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28567         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28568         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28569         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28570         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28571         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28573         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28574         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28575         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28576         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28578         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28579         Deconditionalize the code that was previously under [RESET_PID].
28580         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28582         * sysdeps/generic/exit-thread.h: New file.
28583         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28584         * include/unistd.h (__exit_thread): Remove declaration.
28585         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28586         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28587         * csu/libc-start.c: Include <exit-thread.h>.
28588         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28589         * nptl/pthread_create.c: Include <exit-thread.h>.
28590         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28591         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28592         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28593         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28594         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28595         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28596         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28597         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28598         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28599         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28600         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28601         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28602         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28603         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28604         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28605         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28606         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28608 2014-05-13  Andreas Schwab  <schwab@suse.de>
28610         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28612 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28614         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28615         (__ASSUME_UTIMES): Do not condition on kernel version.
28616         (__ASSUME_PSELECT): Define unconditionally.
28617         (__ASSUME_PPOLL): Likewise.
28618         (__ASSUME_ATFCTS): Likewise.
28619         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28620         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28621         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28622         (__ASSUME_UTIMENSAT): Define unconditionally.
28623         (__ASSUME_PRIVATE_FUTEX): Likewise.
28624         (__ASSUME_FALLOCATE): Likewise.
28625         (__ASSUME_O_CLOEXEC): Likewise.
28626         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28627         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28628         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28629         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28630         (__ASSUME_IN_NONBLOCK): Likewise.
28631         (__ASSUME_PIPE2): Likewise.
28632         (__ASSUME_EVENTFD2): Likewise.
28633         (__ASSUME_SIGNALFD4): Likewise.
28634         (__ASSUME_DUP3): Likewise.
28635         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28636         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28637         (__ASSUME_AT_RANDOM): Likewise.
28638         (__ASSUME_PREADV): Likewise.
28639         (__ASSUME_PWRITEV): Likewise.
28640         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28641         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28642         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28643         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28644         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28645         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28646         (__ASSUME_O_CLOEXEC): Define unconditionally.
28647         (__ASSUME_PSELECT): Do not undefine conditionally.
28648         (__ASSUME_PPOLL): Likewise.
28649         (__ASSUME_ATFCTS): Likewise.
28650         (__ASSUME_SET_ROBUST_LIST): Likewise.
28651         (__ASSUME_UTIMENSAT): Likewise.
28652         (__ASSUME_FDATASYNC): Define unconditionally.
28653         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28654         (__ASSUME_SIGFRAME_V2): Likewise.
28655         )__ASSUME_EVENTFD2): Likewise.
28656         (__ASSUME_SIGNALFD4): Likewise.
28657         (__ASSUME_PSELECT): Do not undefine conditionally.
28658         (__ASSUME_PPOLL): Likewise.
28659         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28660         (__ASSUME_PSELECT): Define unconditionally.
28661         (__ASSUME_PPOLL): Likewise.
28662         (__ASSUME_O_CLOEXEC): Likewise.
28663         (__ASSUME_SOCK_CLOEXEC): Likewise.
28664         (__ASSUME_IN_NONBLOCK): Likewise.
28665         (__ASSUME_PIPE2): Likewise.
28666         (__ASSUME_EVENTFD2): Likewise.
28667         (__ASSUME_SIGNALFD4): Likewise.
28668         (__ASSUME_DUP3): Likewise.
28669         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28670         (__ASSUME_O_CLOEXEC): Likewise.
28671         (__ASSUME_SOCK_CLOEXEC): Likewise.
28672         (__ASSUME_IN_NONBLOCK): Likewise.
28673         (__ASSUME_PIPE2): Likewise.
28674         (__ASSUME_EVENTFD2): Likewise.
28675         (__ASSUME_SIGNALFD4): Likewise.
28676         (__ASSUME_DUP3): Likewise.
28677         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28678         (__ASSUME_EVENTFD2): Likewise.
28679         (__ASSUME_SIGNALFD4): Likewise.
28680         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28682 2014-05-12  Andreas Schwab  <schwab@suse.de>
28684         [BZ #16932]
28685         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28686         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28687         than maximum RPC packet size.
28688         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28689         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28690         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28691         (_nss_nis_getservbyport_r): Likewise.
28693 2014-05-12  Will Newton  <will.newton@linaro.org>
28695         * malloc/Makefile (tests): Add tst-mallopt.
28696         * malloc/tst-mallopt.c: New file.
28698 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28700         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28701         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28703 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28705         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28706         (tst-tlsmod6.so): Likewise.
28708 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28710         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28712 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28714         [BZ #16064]
28715         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28716         and <dl-procinfo.h>.
28717         (__fegetenv): Save SSE state in envp->__eip if supported.
28718         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28719         envp->__eip if supported.
28720         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28721         and <dl-procinfo.h>.
28722         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28723         __data_offset and __data_selector in environment to 0.  Set SSE
28724         state if supported.
28725         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28726         test-fenv-sse.
28727         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28728         -mfpmath=sse.
28729         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28731 2014-05-09  Will Newton  <will.newton@linaro.org>
28733         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28734         and libc_relro_required for ARM.
28735         * sysdeps/arm/preconfigure: Regenerate.
28737 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28738             Stefan Liebler  <stli@linux.vnet.ibm.com>
28740         * config.make.in (enable-lock-elision): New Makefile variable.
28741         * configure.ac: Likewise.
28742         * configure: Regenerate.
28743         * sysdeps/s390/configure.ac:
28744         Add check for gcc transactions support.
28745         * sysdeps/s390/configure: Regenerate.
28746         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28747         Build elision files if enabled.
28748         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28749         Add lock elision support for s390.
28750         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28751         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28752         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28753         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28754         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28755         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28756         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28757         Likewise.
28758         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28759         Likewise.
28760         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28761         Likewise.
28762         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28763         Likewise.
28764         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28765         (__lll_timedlock_elision, __lll_lock_elision)
28766         (__lll_unlock_elision, __lll_trylock_elision)
28767         (lll_timedlock_elision, lll_lock_elision)
28768         (lll_unlock_elision, lll_trylock_elision): Add.
28769         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28770         (pthread_mutex_t): Add lock elision support for s390.
28772 2014-05-14  Wilco  <wdijkstr@arm.com>
28774         * sysdeps/arm/fclrexcpt.c: Cleanup.
28775         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28776         * sysdeps/arm/feenablxcpt.c: Cleanup.
28777         * sysdeps/arm/fegetenv.c: Cleanup.
28778         * sysdeps/arm/fegetexcept.c: Cleanup.
28779         * sysdeps/arm/fegetround.c: Cleanup.
28780         * sysdeps/arm/feholdexcpt.c: Cleanup.
28781         * sysdeps/arm/fesetenv.c: Cleanup.
28782         * sysdeps/arm/fesetround.c: Cleanup.
28783         * sysdeps/arm/feupdateenv.c: Cleanup.
28784         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28785         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28786         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28787         * sysdeps/arm/ftestexcept.c: Cleanup.
28788         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28789         * sysdeps/arm/setfpucw.c: Cleanup.
28791 2014-05-09  Will Newton  <will.newton@linaro.org>
28793         * sysdeps/arm/armv7/strcmp.S: New file.
28794         * NEWS: Mention addition of ARMv7 optimized strcmp.
28796 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28798         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28799         look for %.ac rather than %.in.
28801         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28802         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28803         * sysdeps/mach/hurd/configure: Regenerated.
28804         * sysdeps/unix/sysv/linux/configure: Regenerated.
28806         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28808 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28810         [BZ# 16922]
28811         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28812         (LONG_SUB): Ditto.
28813         (PTR_SUB): Ditto.
28815 2014-05-07  Andreas Schwab  <schwab@suse.de>
28817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28818         when skipping over non-matching result from nscd.
28820 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28822         [BZ #16876]
28823         * nptl/sockperf.c (client): Check socket return value.
28825         [BZ #16877]
28826         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28827         nscd security class.
28829 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28831         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28832         * sysdeps/arm/unwind.h: ... here.
28834 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28836         [BZ# 16916]
28837         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28838         Define.
28840 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28842         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28843         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28844         multiarch strncpy for PPC64.
28845         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28846         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28848         multiarch optimizations.
28849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28850         (__libc_ifunc_impl_list): Likewise.
28851         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28852         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28853         multiarch stpncpy for PPC64.
28854         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28855         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28857 2014-05-06  Andreas Schwab  <schwab@suse.de>
28859         [BZ #16912]
28860         * gmon/mcount.c (_MCOUNT_DECL): Use
28861         atomic_compare_and_exchange_bool_acq instead of
28862         catomic_compare_and_exchange_bool_acq.
28864 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28866         * elf/Makefile (others, install-bin): Remove pldd.
28867         (pldd-modules): Variable removed.
28868         ($(objpfx)pldd): Target removed.
28869         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28870         (others, install-bin): Append pldd here.
28871         ($(objpfx)pldd): New target.
28873         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28874         to 0, so the first #if test emitted later doesn't see it undefined.
28875         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28876         * sysdeps/gnu/errlist.c: Regenerated.
28878 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28880         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28881         [libc_hidden_builtin_def]: Define to empty value.
28882         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28883         [libc_hidden_builtin_def]: Likewise.
28884         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28885         [libc_hidden_builtin_def]: Likewise.
28886         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28887         [libc_hidden_builtin_def]: Likewise.
28888         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28889         __redirect_memcpy and define ifunc as default hidden symbol.
28890         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28891         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28893 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28895         * locale/iso-4217.def: Reintroduce XDR currency.
28897 2014-05-04  Allan McRae  <allan@archlinux.org>
28899         * po/eo.po: Update Esperanto translation from translation project.
28901 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28903         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28904         and FEATURE_INDEX_MAX to 1.
28905         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28907 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28909         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28910         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28911         * iconvdata/big5.c (ONE_DIRECTION): Define.
28912         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28913         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28914         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28915         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28916         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28917         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28918         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28919         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28920         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28921         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28922         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28923         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28924         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28925         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28926         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28927         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28928         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28929         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28930         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28931         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28932         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28933         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28934         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28935         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28936         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28937         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28938         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28939         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28940         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28941         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28942         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28943         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28944         * iconvdata/johab.c (ONE_DIRECTION): Define.
28945         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28946         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28947         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28948         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28949         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28950         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28951         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28952         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28953         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28954         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28956 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28958         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28959         (_IO_JUMPS_OFFSET): Define to 0.
28961         * nptl/sysdeps/pthread/bits/libc-lock.h
28962         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28963         (__libc_lock_define_initialized_recursive): Always define using
28964         initializer.  Modern compilers treat uninitialized (implicit zero) and
28965         explicit zero initializers the same (i.e. put the datum in bss).
28967 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28969         * nscd/nscd-client.h: Include <string.h>.
28971 2014-05-01  David S. Miller  <davem@davemloft.net>
28973         [BZ #16885]
28974         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28975         multiple zero bytes exist at the end of a string.
28976         Reported by Aurelien Jarno <aurelien@aurel32.net>
28978         * string/test-strcmp.c (check): Add explicit test for situations where
28979         there are multiple zero bytes after the first.
28981 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28983         [BZ #16890]
28984         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28985         when compiling wprintf.
28986         * stdio-common/tstdiomisc.c (t3): New function.
28987         (main): Call it.
28989 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28991         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28992         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28993         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28994         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28996 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28998         * stdlib/longlong.h: Updated from GCC.
29000 2014-05-01  Will Newton  <will.newton@linaro.org>
29001             Bernard Ogden  <bernie.ogden@linaro.org>
29003         * NEWS: Update fixed bug list.
29005         [BZ #15119]
29006         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29008 2014-04-30  David S. Miller  <davem@davemloft.net>
29010         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29011         (libc_feholdexcept_setround_sparc_ctx): New function.
29012         (libc_fesetenv_sparc_ctx): Likewise.
29013         (libc_feupdateenv_sparc_ctx): Likewise.
29014         (libc_feholdsetround_sparc_ctx): Likewise.
29015         (libc_feholdexcept_setround_ctx): Define.
29016         (libc_feholdexcept_setroundf_ctx): Likewise.
29017         (libc_feholdexcept_setroundl_ctx): Likewise.
29018         (libc_fesetenv_ctx): Likewise.
29019         (libc_fesetenvf_ctx): Likewise.
29020         (libc_fesetenvl_ctx): Likewise.
29021         (libc_feupdateenv_ctx): Likewise.
29022         (libc_feupdateenvf_ctx): Likewise.
29023         (libc_feupdateenvl_ctx): Likewise.
29024         (libc_feresetround_ctx): Likewise.
29025         (libc_feresetroundf_ctx): Likewise.
29026         (libc_feresetroundl_ctx): Likewise.
29027         (libc_feholdsetround_ctx): Likewise.
29028         (libc_feholdsetroundf_ctx): Likewise.
29029         (libc_feholdsetroundl_ctx): Likewise.
29031         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29032         with __USE_GNU instead of XOPEN cpp guards.
29034         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29035         0.
29037         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29038         with XOPEN cpp guards.
29040 2014-04-30  Julian Brown  <julian@codesourcery.com>
29042         [BZ #16888]
29043         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29044         handling.
29046 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29048         [BZ #9894]
29049         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29050         Change to 2.6.32.
29051         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29052         * sysdeps/unix/sysv/linux/configure: Regenerated.
29053         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29054         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29055         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29056         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29057         * README: Update reference to required Linux kernel version.
29058         * manual/install.texi (Linux): Update reference to required Linux
29059         kernel headers version.
29060         * INSTALL: Regenerated.
29062         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29063         header inclusion.
29064         [POSIX] (limits.h): Likewise.
29065         [POSIX] (math.h): Likewise.
29066         [POSIX] (sys/wait.h): Likewise.
29067         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29068         function.
29069         [POSIX] (stddef.h): Do not allow header inclusion.
29071 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29073         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29075 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29077         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29078         Return immediately after lll_futex_wake.
29080 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29082         [BZ #16791]
29083         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29084         structure.
29085         (datahead_init_pos): Call datahead_init_common early.
29086         (datahead_init_neg): Likewise.
29088         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29089         datahead_init_neg): New functions.
29090         * nscd/aicache.c (addhstaiX): Use them.
29091         * nscd/grpcache.c (cache_addgr): Likewise.
29092         * nscd/hstcache.c (cache_addhst): Likewise.
29093         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29094         * nscd/netgroupcache.c (do_notfound): Likewise.
29095         (addgetnetgrentX): Likewise.
29096         (addinnetgrX): Likewise.
29097         * nscd/pwdcache.c (cache_addpw): Likewise.
29098         * nscd/servicescache.c (cache_addserv): Likewise.
29100 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29101             Atsushi Onoe  <atsushi@onoe.org>
29103         [BZ #14308]
29104         [BZ #12994]
29105         [BZ #13651]
29106         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29107         one response is valid.
29108         * resolv/res_send.c (send_dg): Check for validity of other
29109         response if the current response is a referral.
29111 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29113         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29115 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29117         [BZ #16823]
29118         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29119         Always divide by positive zero when computing -Inf result.
29120         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29121         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29123 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29125         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29126         FPSCR if value do not change.
29127         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29128         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29129         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29130         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29131         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29132         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29133         function.
29135 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29137         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29138         * sysdeps/unix/sysv/linux/hppa: Move directory from
29139         ports/systeps/unix/sysv/linux/hppa.
29140         * README: Update listing for hppa-*-linux-gnu.
29142 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29144         [BZ #16754]
29145         * manual/stdio.texi (Hook functions): Fix types of stream hook
29146         functions.
29147         [BZ #16854]
29148         * socket/sys/socket.h: Fix typo in comment.
29150 2014-04-28  Wilco  <wdijkstr@arm.com>
29152         * sysdeps/arm/fenv_private.h: New file.
29153         * sysdeps/arm/math_private.h: New file.
29154         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29156 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29158         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29159         with __int128_t.
29160         (La_x86_64_retval): Likewise.
29162 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29164         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29165         fpsr if value didn't change.
29166         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29167         to fpcr if value didn't change.
29168         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29169         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29170         fpsr or fpcr if value didn't change.
29171         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29172         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29173         fpcr if value didn't change.
29174         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29175         to fpsr if value didn't change.
29177 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29179         * nptl/tst-sem3.c: Use test-skeleton.c
29180         (main): Rename to do_test.  Use return instead of
29181         exit.
29182         * nptl/tst-sem4.c: Use test-skeleton.c
29183         (main): Rename to do_test.
29185 2014-04-22  David S. Miller  <davem@davemloft.net>
29187         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29188         (struct sigaction): New struct member __glibc_reserved0, change
29189         type of sa_flags to int.
29191 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29193         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29194         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29196 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29198         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29199         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29201 2014-04-22  Will Newton  <will.newton@linaro.org>
29202             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29204         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29205         (__longjmp): Add longjmp and longjmp_target SystemTap
29206         probes.
29207         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29208         (__sigsetjmp): Add setjmp SystemTap probe.
29210 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29212         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29213         match manual order.
29215 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29217         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29219         * sysdeps/powerpc/fpu/fenv_private.h
29220         (libc_feholdexcept_setroundl_ctx): Define to
29221         libc_feholdexcept_setround_ppc_ctx.
29222         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29223         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29224         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29225         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29227 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29229         * sysdeps/aarch64/math-tests.h: New file.
29231 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
29233         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29234         New.
29235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29236         Check and set bit_AVX2_Usable.
29237         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29238         macro.
29239         (bit_AVX2): Likewise.
29240         (index_AVX2_Usable): Likewise.
29241         (CPUID_AVX2): Likewise.
29242         (HAS_AVX2): Likewise.
29244 2014-04-17  Will Newton  <will.newton@linaro.org>
29246         * manual/setjmp.texi (System V contexts): Add note that
29247         calling setcontext on a context created by a call to a
29248         signal handler is undefined.  Update text to note that
29249         setcontext from a signal handler is possible but not
29250         recommended.
29252         [BZ #16629]
29253         * stdlib/tst-setcontext.c: Include signal.h.
29254         (main): Check that the signal stack before and
29255         after swapcontext is the same.
29257         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29258         Re-implement to restore registers in user code and avoid
29259         rt_sigreturn system call.
29261 2014-04-17  Wilco  <wdijkstr@arm.com>
29263         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29264         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29265         * math/test-fenv.c: Skip exception trap tests on targets which only
29266         support non-stop mode.
29268 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
29269             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29271         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29272         (libc_feholdsetround_aarch64_ctx)
29273         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29274         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29275         (libc_feresetround_ctx, libc_feresetroundf_ctx)
29276         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29277         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29278         (libc_feresetround_noexl_ctx): Define.
29280 2014-04-16  Richard Henderson  <rth@redhat.com>
29282         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29284         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29285         unwind tables.
29287         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29288         const from the non-libc, non-ldso copy.
29290         * sysdeps/alpha/libm-test-ulps: Regenerate.
29292 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
29293             Wilco Dijkstra  <wilco.dijkstra@arm.com>
29295         * sysdeps/aarch64/fpu/math_private.h: New file.
29297 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29299         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29301 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
29303         [BZ #16275]
29304         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29305         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29306         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29307         Intel MPX bound registers before _dl_profile_fixup.
29308         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29309         registers after _dl_profile_fixup.  Save and restore bound
29310         registers bnd0/bnd1 when calling _dl_call_pltexit.
29311         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29312         (LR_BND_OFFSET): Likewise.
29313         (LRV_BND0_OFFSET): Likewise.
29314         (LRV_BND1_OFFSET): Likewise.
29316 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29318         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29319         to...
29320         * sysdeps/mach/hurd/i386/tls.h: ... here.
29321         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29322         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29323         fields.
29325 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29327         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29329 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29331         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29333 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29335         [BZ #14770]
29336         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29337         * sysdeps/s390/configure: Regenerate.
29339         [BZ #16824]
29340         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29341         Set round-to-nearest internally to reduce error accumulation.
29343 2014-04-16  Alan Modra  <amodra@gmail.com>
29345         [BZ #16740]
29346         [BZ #16619]
29347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29348         * math/libm-test.inc (frexp_test_data): Add tests.
29349         * NEWS: Update fixed bug list.
29351 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29353         * benchtests/Makefile: Depend on libraries in build directory.
29354         (bench-math): Separate out math tests.
29355         (bench-pthread): Separate out pthread tests.
29356         (bench): Include math and pthread tests.
29358 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
29360         [BZ #16831]
29361         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29362         _dl_debug_initialize.
29364         * configure.ac: Remove SELinux header check.
29365         * configure: Regenerate.
29366         * nscd/selinux.c (perms): Array of const char* to permission names.
29367         (nscd_request_avc_has_perm): Call security_deny_unknown to find
29368         default policy. Call string_to_security_class and string_to_av_perm to
29369         translate strings. Enforce default policy and call avs_has_perm with
29370         results of translated strings.
29372 2014-04-13  David S. Miller  <davem@davemloft.net>
29374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29376 2014-04-12  Allan McRae  <allan@archlinux.org>
29378         [BZ #16838]
29379         * manual/string.texi (Collation Functions): Fix qsort argument
29380         order in example.
29381         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29383 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29385         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29386         Make the test a no-op if there are no exceptions defined.
29388 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29390         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29391         enable-hardcoded-path-in-tests
29393 2014-04-11  Will Newton  <will.newton@linaro.org>
29395         * benchtests/Makefile (extra-objs): Add json-lib.o.
29396         (bench-func): Tidy up JSON output.
29397         * benchtests/bench-skeleton.c: Include json-lib.h.
29398         (main): Use JSON library functions to do output of
29399         benchmark results.
29400         * benchtests/bench-timing-type.c (main): Output the
29401         timing type simply, leaving formatting to the user.
29402         * benchtests/json-lib.c: New file.
29403         * benchtests/json-lib.h: Likewise.
29405 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29407         [BZ #15215]
29408         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29409         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29410         memory barriers.  Add comments.
29411         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29412         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29413         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29414         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29415         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29416         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29418 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29420         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29421         * sysdeps/s390/s390-64/configure.ac: ... this ...
29422         * sysdeps/s390/configure.ac: ... to here.
29423         * sysdeps/s390/s390-32/configure: Delete file.
29424         * sysdeps/s390/s390-64/configure: Delete file.
29425         * sysdeps/s390/configure: Regenerate.
29427 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29429         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29431 2014-04-11  Will Newton  <will.newton@linaro.org>
29433         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29434         to zero if it is not defined elsewhere.  (mtrim): Test
29435         the value of MALLOC_DEBUG with #if rather than #ifdef.
29437 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29439         * benchtests/pthread_once-inputs: New file.
29440         * benchtests/pthread_once-source.c: New file.
29441         * benchtests/README: Update documentation.
29443 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29444             H.J. Lu  <hongjiu.lu@intel.com>
29446         [BZ #16275]
29447         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29448         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29449         * sysdeps/x86_64/configure: Regenerated.
29450         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29451         macro.
29452         (REGISTER_SAVE_RAX): Likewise.
29453         (REGISTER_SAVE_RCX): Likewise.
29454         (REGISTER_SAVE_RDX): Likewise.
29455         (REGISTER_SAVE_RSI): Likewise.
29456         (REGISTER_SAVE_RDI): Likewise.
29457         (REGISTER_SAVE_R8): Likewise.
29458         (REGISTER_SAVE_R9): Likewise.
29459         (REGISTER_SAVE_BND0): Likewise.
29460         (REGISTER_SAVE_BND1): Likewise.
29461         (REGISTER_SAVE_BND2): Likewise.
29462         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29463         bound registers when calling _dl_fixup.
29465 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29467         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29468         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29469         of its definition.
29470         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29471         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29472         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29473         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29474         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29475         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29476         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29478 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29480         [BZ #15514]
29481         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29482         pathconf(_PC_NAME_MAX).
29484 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29486         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29487         Remove macro usage.
29488         (__PTHREAD_SPINS): Move definition to ...
29489         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29490         (__PTHREAD_SPINS): ... here.
29491         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29492         (__PTHREAD_SPIN): Likewise.
29493         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29494         (__PTHREAD_SPIN): Likewise.
29495         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29496         (__PTHREAD_SPIN): Likewise.
29497         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29498         (__PTHREAD_SPIN): Likewise.
29499         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29500         (__PTHREAD_SPIN): Likewise.
29501         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29502         (__PTHREAD_SPIN): Likewise.
29503         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29504         (__PTHREAD_SPIN): Likewise.
29505         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29506         (__PTHREAD_SPIN): Likewise.
29507         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29508         (__PTHREAD_SPIN): Likewise.
29509         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29510         (__PTHREAD_SPIN): Likewise.
29511         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29512         (__PTHREAD_SPIN): Likewise.
29513         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29514         (__PTHREAD_SPIN): Likewise.
29516         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29517         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29518         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29519         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29520         imply folder.
29521         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29522         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29523         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29524         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29525         correct imply path.
29526         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29527         strlen symbol for non multi-arch builds.
29528         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29529         missing hidden_def and weak_alias.
29531 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29533         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29535 2014-04-07  Will Newton  <will.newton@linaro.org>
29537         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29538         and contents.  [!_LIBC] Remove #ifndef and contents.
29539         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29540         * string/memccpy.c (__memccpy): Use ANSI prototype.
29541         * string/memfrob.c (memfrob): Likewise.
29542         * string/strcoll.c (STRCOLL): Likewise.
29543         * string/strlen.c (strlen): Likewise.
29544         * string/strtok.c (STRTOK): Likewise.
29545         * string/strcat.c: Remove unused #include of memcopy.h.
29546         (strcat): Use ANSI prototype.
29547         * string/strchr.c: Remove unused #include of memcopy.h.
29548         (strchr): Use ANSI prototype.
29549         * string/strcmp.c: Remove unused #include of memcopy.h.
29550         (strcmp): Use ANSI prototype.
29551         * string/strcpy.c: Remove unused #include of memcopy.h.
29552         (strcpy): Use ANSI prototype.
29554 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29556         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29557         * config.make.in (config-extra-cppflags): Set it from
29558         libc_extra_cppflags.
29559         * configure.ac (libc_extra_cflags): Make it accumulate over
29560         configure fragments.
29561         (libc_extra_cppflags): New flag.
29562         * configure. Regenerate.
29563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29564         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29565         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29568         [BZ #16815]
29569         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29570         result for FE_DOWNWARD rounding mode.
29571         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29572         Likewise.
29573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29575 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29577         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29578         in function argument name.
29580 2014-04-03  David Svoboda  <svoboda@cert.org>
29582         [BZ #5666]
29583         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29584         explicitly.
29586 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29588         * elf/dl-unmap-segments.h: New file.
29589         * sysdeps/generic/ldsodefs.h
29590         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29591         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29592         * elf/dl-fptr.c: Likewise.
29593         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29594         * sysdeps/aarch64/tlsdesc.c: Likewise.
29595         * sysdeps/arm/tlsdesc.c: Likewise.
29596         * sysdeps/i386/tlsdesc.c: Likewise.
29597         * sysdeps/tile/dl-runtime.c: Likewise.
29598         * sysdeps/x86_64/tlsdesc.c: Likewise.
29599         * elf/dl-load.h: New file.
29600         * elf/dl-load.c: Include it.
29601         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29602         Macros moved to dl-load.h.
29603         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29604         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29605         Use _dl_unmap_segments in place of __munmap.
29606         Break out segment-mapping loop into ...
29607         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29609 2014-04-03  Will Newton  <will.newton@linaro.org>
29611         * elf/dl-lookup.c (do_lookup_x): Remove comment
29612         referring to nested function and move variable
29613         declarations down to before first use.
29615 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29617         [BZ #16799]
29618         [BZ #16800]
29619         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29620         with 0 numerator.
29621         * math/s_catanf.c (__catanf): Likewise.
29622         * math/s_catanh.c (__catanh): Likewise.
29623         * math/s_catanhf.c (__catanhf): Likewise.
29624         * math/s_catanhl.c (__catanhl): Likewise.
29625         * math/s_catanl.c (__catanl): Likewise.
29626         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29627         by positive zero when computing -Inf result.
29628         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29629         (catanh_test): Likewise.
29630         * sysdeps/i386/fpu/libm-test-ulps: Update.
29631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29633         [BZ #16789]
29634         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29635         instead of using underflowing value in computing result.
29636         * math/s_clog10.c (__clog10): Likewise.
29637         * math/s_clog10f.c (__clog10f): Likewise.
29638         * math/s_clog10l.c (__clog10l): Likewise.
29639         * math/s_clogf.c (__clogf): Likewise.
29640         * math/s_clogl.c (__clogl): Likewise.
29641         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29642         (clog10_test): Likewise.
29643         * sysdeps/i386/fpu/libm-test-ulps: Update.
29644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29646 2014-04-02  Alan Modra  <amodra@gmail.com>
29648         [BZ #16739]
29649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29650         output when value is near a power of two.  Use int64_t for lx and
29651         remove casts.  Use decimal rather than hex exponent constants.
29652         Don't use long double multiplication when double will suffice.
29653         * math/libm-test.inc (nextafter_test_data): Add tests.
29654         * NEWS: Add 16739 and 16786 to bug list.
29656         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29658         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29660 2014-04-01  Will Newton  <will.newton@linaro.org>
29662         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29663         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29665 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29667         [BZ #13347]
29668         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29669         * nptl/tst-setuid2.c: New file.
29670         * nptl/Makefile (xtests): Add tst-setuid2.
29672 2014-04-01  Alan Modra  <amodra@gmail.com>
29674         [BZ #16786]
29675         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29677 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29679         [BZ #6803]
29680         [BZ #6804]
29681         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29682         set errno as appropriate.
29683         * math/w_scalbf.c (__scalbf): Likewise.
29684         * math/w_scalbl.c (__scalbl): Likewise.
29685         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29686         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29687         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29688         Add more NaN tests.
29690         [BZ #16349]
29691         * math/w_atan2.c: Include <errno.h>.
29692         (__atan2): Set errno for result underflowing to zero.
29693         * math/w_atan2f.c: Include <errno.h>.
29694         (__atan2f): Set errno for result underflowing to zero.
29695         * math/w_atan2l.c: Include <errno.h>.
29696         (__atan2l): Set errno for result underflowing to zero.
29697         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29698         tests.
29699         * math/auto-libm-test-out: Regenerated.
29701 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29703         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29704         Encode instruction correctly in little endian.
29705         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29706         Likewise.
29707         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29708         Likewise.
29709         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29710         Likewise.
29711         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29712         Likewise.
29714 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29716         [BZ #9894]
29717         * sysdeps/unix/sysv/linux/kernel-features.h
29718         [__sparc__ && !__arch64__ && !__sparc_v9__]
29719         (__ASSUME_SET_ROBUST_LIST): Do not define.
29720         [__sparc__ && !__arch64__ && !__sparc_v9__]
29721         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29722         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29723         Likewise.
29724         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29725         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29726         (__ASSUME_REQUEUE_PI): Likewise.
29727         (__ASSUME_SET_ROBUST_LIST): Likewise.
29728         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29729         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29730         Undefine.
29731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29732         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29733         Likewise.
29734         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29735         Likewise.
29736         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29737         Likewise.
29738         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29739         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29740         Undefine.
29741         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29742         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29743         Likewise.
29745         [BZ #16648]
29746         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29747         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29748         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29750 2014-03-31  Will Newton  <will.newton@linaro.org>
29752         * benchtests/Makefile (bench): Add ffs and ffsll to list
29753         of tests.
29754         * benchtests/ffs-inputs: New file.
29755         * benchtests/ffsll-inputs: Likewise.
29757 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29759         [BZ #16770]
29760         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29761         too large before casting to int.
29762         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29763         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29764         * math/libm-test.inc (scalb_test_data): Add more tests.
29766 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29768         * benchtests/Makefile (DETAILED_OPT): New make option.
29769         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29770         set.
29771         * benchtests/bench-skeleton.c: Include stdbool.h.
29772         (main): Store and print timings per input.
29773         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29774         member to each argument value.
29775         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29776         (_print_arg_data): Initialize per-input timing to 0.
29778         * benchtests/Makefile (timing-type): New binary.
29779         (bench-clean): Also remove bench-timing-type.
29780         (bench): New target for timing-type.
29781         (bench-func): Print output in JSON format.
29782         * benchtests/bench-skeleton.c (main): Print output in JSON
29783         format.
29784         * benchtests/bench-timing-type.c: New file.
29785         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29786         (TIMING_PRINT_STATS): Remove.
29787         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29788         name separately.
29790         * benchtests/bench-modf.c: Remove.
29791         * benchtests/modf-inputs: New inputs file.
29793 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29795         [BZ #16362]
29796         * math/s_clog10.c (M_PI_LOG10E): New macro.
29797         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29798         imaginary parts are 0.
29799         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29800         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29801         imaginary parts are 0.
29802         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29803         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29804         imaginary parts are 0.
29805         * math/libm-test.inc (clog10_test_data): Update expected results
29806         for when real and imaginary parts are 0.
29808 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29810         * elf/dl-load.c: Finish conversion of __builtin_expect into
29811         __glibc_{un}likely.
29813 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29815         [BZ #16348]
29816         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29817         1+x for argument with exponent below -67.
29818         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29819         Likewise.
29820         * math/auto-libm-test-in: Add more tests of exp.
29821         * math/auto-libm-test-out: Regenerated.
29823 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29825         [BZ #16759]
29826         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29827         (nscd_getnetgrent): Use it.
29829         [BZ #16760]
29830         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29831         of stpcpy.
29833 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29835         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29836         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29837         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29838         (lll_robust_unlock): Remove out of line section. Use cfi
29839         intrinsics.
29840         (LLL_STUB_UNWIND_INFO*): Remove.
29841         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29842         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29843         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29844         (lll_robust_unlock): Remove out of line section. Use cfi
29845         intrinsics.
29846         (LLL_STUB_UNWIND_INFO*): Remove.
29848 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29850         [BZ #16758]
29851         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29852         blank values.
29854 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29856         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29858 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29860         [BZ #16198]
29861         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29862         fnstenv.
29863         * math/test-fenv-preserve.c: New file.
29864         * math/Makefile (tests): Add test-fenv-preserve.
29866 2014-03-26  Will Newton <will.newton@linaro.org>
29868         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29870 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29872         * scripts/versionlist.awk: Partition the version sets and emit all
29873         GLIBC_* (sorted) before all others (sorted).
29875 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29877         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29878         GLIBC_2.2.5 version.
29880 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29882         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29883         calls.
29885         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29886         previous change.
29888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29890 2014-03-25  Andreas Schwab  <schwab@suse.de>
29892         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29893         label to be used after in6ailist is initialized.
29895 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29897         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29898         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29900 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29902         [BZ #16357]
29903         [BZ #16599]
29904         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29905         min_plus_half.
29906         (fp_formats): Update initializers.
29907         (init_fp_formats): Initialize new field.
29908         (output_for_one_input_case): Allow underflow for results up to
29909         min_plus_half.
29910         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29911         * math/auto-libm-test-in: Don't mark some underflows from asin and
29912         atanh as spurious.
29913         * math/auto-libm-test-out: Regenerated.
29914         * sysdeps/i386/fpu/libm-test-ulps: Update.
29915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29917 2014-03-25  Andreas Schwab  <schwab@suse.de>
29919         * libio/Makefile (tst-ftell-partial-wide-ENV)
29920         (tst-ftell-active-handler-ENV): Define.
29922 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29924         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29926 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29928         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29930 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29932         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29933         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29934         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29936 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29938         [BZ #16634]
29939         * elf/dl-load.c (open_verify): Add mode parameter.
29940         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29941         (open_path): Change from boolean 'secure' to complete flag 'mode'
29942         (_dl_map_object): Adjust.
29943         * elf/Makefile (tests): Add tst-dlopen-aout.
29944         * elf/tst-dlopen-aout.c: New test.
29946 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29948         [BZ #16714]
29949         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29950         (struct stat): Rename member pad0 to __glibc_reserved0.
29952         [BZ #16712]
29953         * sysdeps/s390/s390-32/bits/wordsize.h
29954         (__WORDSIZE32_SIZE_ULONG): New define.
29955         * sysdeps/s390/s390-64/bits/wordsize.h
29956         (__WORDSIZE32_SIZE_ULONG): Likewise.
29957         * sysdeps/generic/stdint.h (SIZE_MAX):
29958         Define as UL if __WORDSIZE32_SIZE_ULONG.
29960         [BZ #16713]
29961         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29962         (__glibc_reserved0): New variable.
29963         (sa_flags): Change type to int.
29965         * posix/Makefile (before-compile): Use += before-compile instead
29966         of a :=.
29968         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29969         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29971 2014-03-20  Andreas Schwab  <schwab@suse.de>
29973         [BZ #16743]
29974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29975         non-matching result from nscd.
29977 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29979         * scripts/bench.py: Moved to ...
29980         * benchtests/scripts/bench.py: ... here.
29981         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29983 2014-03-24  Andreas Schwab  <schwab@suse.de>
29985         [BZ #16002]
29986         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29987         alloca_account and account alloca use for struct in6ailist.
29989 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29991         [BZ #16284]
29992         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29993         rounding mode to recompute results that overflow to infinity or
29994         underflow to zero.
29995         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29996         bug 16284.
29997         * math/auto-libm-test-out: Regenerated.
29998         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29999         (ccosh_test): Likewise.
30000         (csin_test_data): Use plus_oflow.
30001         (csin_test): Use ALL_RM_TEST.
30002         (csinh_test_data): Use plus_oflow.
30003         (csinh_test): Use ALL_RM_TEST.
30004         * sysdeps/i386/fpu/libm-test-ulps: Update.
30005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30007 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30009         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30010         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30011         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30013         [BZ #16731]
30014         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30015         when x - 1 is zero.
30016         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30017         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30018         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30020         argument is 1.
30021         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30022         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30023         zero.
30024         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30025         * sysdeps/i386/fpu/libm-test-ulps: Update.
30026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30028 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30030         * scripts/bench.pl: Remove file.
30031         * scripts/bench.py: New benchmark script.
30032         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30033         * benchtests/README: Mention python dependency.
30034         * scripts/pylintrc: New file.
30035         * scripts/pylint: New file.
30037         * bits/mathdef.h: Use #ifdef instead of #if.
30038         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30039         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30040         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30041         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30042         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30043         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30045 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30046             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30048         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30050         and strpbrk-ppc64 objects.
30051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30052         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30053         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30054         multiarch strpbrk for POWER7.
30055         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30056         multiarch strpbrk for PPC64.
30057         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30058         ifunc selector.
30059         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30060         strpbrk for POWER7.
30062 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30064         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30065         (atan_test): Likewise.
30066         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30067         (atanh_test): Use ALL_RM_TEST.
30068         (atan2_test_data): Likewise.
30069         (cabs_test): Likewise.
30070         (cacosh_test): Likewise.
30071         (carg_test): Likewise.
30072         (casin_test): Likewise.
30073         (casinh_test): Likewise.
30074         (cbrt_test): Likewise.
30075         (csqrt_test): Likewise.
30076         (erf_test): Likewise.
30077         (erfc_test): Likewise.
30078         (pow10_test): Likewise.
30079         (exp2_test): Likewise.
30080         (hypot_test): Likewise.
30081         (j0_test): Likewise.
30082         (j1_test): Likewise.
30083         (lgamma_test): Likewise.
30084         (gamma_test): Likewise.
30085         (sincos_test): Likewise.
30086         (tanh_test): Likewise.
30087         (y0_test): Likewise.
30088         (y1_test): Likewise.
30089         * sysdeps/i386/fpu/libm-test-ulps: Update.
30090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30092 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30094         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30096         and strcspn-ppc64 objects.
30097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30098         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30099         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30100         multiarch strcspn for POWER7.
30101         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30102         multiarch strcspn for PPC64.
30103         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30104         ifunc selector.
30105         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30106         strcspn for POWER7.
30108 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30110         * math/gen-libm-test.pl (generate_testfile): Expect only function
30111         name as argument to AUTO_TESTS_* and pass results for all rounding
30112         modes to parse_args.
30113         (parse_auto_input): Separate inputs of automatic tests from
30114         outputs before storing in %auto_tests.
30115         * math/libm-test.inc (acos_test_data): Update call to
30116         AUTO_TESTS_f_f.
30117         (acos_test): Use ALL_RM_TEST.
30118         (acos_tonearest_test_data): Remove.
30119         (acos_test_tonearest): Likewise.
30120         (acos_towardzero_test_data): Likewise.
30121         (acos_test_towardzero): Likewise.
30122         (acos_downward_test_data): Likewise.
30123         (acos_test_downward): Likewise.
30124         (acos_upward_test_data): Likewise.
30125         (acos_test_upward): Likewise.
30126         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30127         (asin_test_data): Likewise.
30128         (asin_test): Use ALL_RM_TEST.
30129         (asin_tonearest_test_data): Remove.
30130         (asin_test_tonearest): Likewise.
30131         (asin_towardzero_test_data): Likewise.
30132         (asin_test_towardzero): Likewise.
30133         (asin_downward_test_data): Likewise.
30134         (asin_test_downward): Likewise.
30135         (asin_upward_test_data): Likewise.
30136         (asin_test_upward): Likewise.
30137         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30138         (atan_test_data): Likewise.
30139         (atanh_test_data): Likewise.
30140         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30141         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30142         (carg_test_data): Likewise.
30143         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30144         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30145         (ccosh_test_data): Likewise.
30146         (cexp_test_data): Likewise.
30147         (clog_test_data): Likewise.
30148         (clog10_test_data): Likewise.
30149         (cos_test_data): Update call to AUTO_TESTS_f_f.
30150         (cos_test): Use ALL_RM_TEST.
30151         (cos_tonearest_test_data): Remove.
30152         (cos_test_tonearest): Likewise.
30153         (cos_towardzero_test_data): Likewise.
30154         (cos_test_towardzero): Likewise.
30155         (cos_downward_test_data): Likewise.
30156         (cos_test_downward): Likewise.
30157         (cos_upward_test_data): Likewise.
30158         (cos_test_upward): Likewise.
30159         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30160         (cosh_test): Use ALL_RM_TEST.
30161         (cosh_tonearest_test_data): Remove.
30162         (cosh_test_tonearest): Likewise.
30163         (cosh_towardzero_test_data): Likewise.
30164         (cosh_test_towardzero): Likewise.
30165         (cosh_downward_test_data): Likewise.
30166         (cosh_test_downward): Likewise.
30167         (cosh_upward_test_data): Likewise.
30168         (cosh_test_upward): Likewise.
30169         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30170         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30171         (ctan_test_data): Likewise.
30172         (ctan_test): Use ALL_RM_TEST.
30173         (ctan_tonearest_test_data): Remove.
30174         (ctan_test_tonearest): Likewise.
30175         (ctan_towardzero_test_data): Likewise.
30176         (ctan_test_towardzero): Likewise.
30177         (ctan_downward_test_data): Likewise.
30178         (ctan_test_downward): Likewise.
30179         (ctan_upward_test_data): Likewise.
30180         (ctan_test_upward): Likewise.
30181         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30182         (ctanh_test): Use ALL_RM_TEST.
30183         (ctanh_tonearest_test_data): Remove.
30184         (ctanh_test_tonearest): Likewise.
30185         (ctanh_towardzero_test_data): Likewise.
30186         (ctanh_test_towardzero): Likewise.
30187         (ctanh_downward_test_data): Likewise.
30188         (ctanh_test_downward): Likewise.
30189         (ctanh_upward_test_data): Likewise.
30190         (ctanh_test_upward): Likewise.
30191         (erf_test_data): Update call to AUTO_TESTS_f_f.
30192         (erfc_test_data): Likewise.
30193         (exp_test_data): Likewise.
30194         (exp_test): Use ALL_RM_TEST.
30195         (exp_tonearest_test_data): Remove.
30196         (exp_test_tonearest): Likewise.
30197         (exp_towardzero_test_data): Likewise.
30198         (exp_test_towardzero): Likewise.
30199         (exp_downward_test_data): Likewise.
30200         (exp_test_downward): Likewise.
30201         (exp_upward_test_data): Likewise.
30202         (exp_test_upward): Likewise.
30203         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30204         (exp10_test): Use ALL_RM_TEST.
30205         (exp10_tonearest_test_data): Remove.
30206         (exp10_test_tonearest): Likewise.
30207         (exp10_towardzero_test_data): Likewise.
30208         (exp10_test_towardzero): Likewise.
30209         (exp10_downward_test_data): Likewise.
30210         (exp10_test_downward): Likewise.
30211         (exp10_upward_test_data): Likewise.
30212         (exp10_test_upward): Likewise.
30213         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30214         (expm1_test_data): Likewise.
30215         (expm1_test): Use ALL_RM_TEST.
30216         (expm1_tonearest_test_data): Remove.
30217         (expm1_test_tonearest): Likewise.
30218         (expm1_towardzero_test_data): Likewise.
30219         (expm1_test_towardzero): Likewise.
30220         (expm1_downward_test_data): Likewise.
30221         (expm1_test_downward): Likewise.
30222         (expm1_upward_test_data): Likewise.
30223         (expm1_test_upward): Likewise.
30224         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30225         (fma_test): Use ALL_RM_TEST.
30226         (fma_towardzero_test_data): Remove.
30227         (fma_test_towardzero): Likewise.
30228         (fma_downward_test_data): Likewise.
30229         (fma_test_downward): Likewise.
30230         (fma_upward_test_data): Likewise.
30231         (fma_test_upward): Likewise.
30232         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30233         (j0_test_data): Update call to AUTO_TESTS_f_f.
30234         (j1_test_data): Likewise.
30235         (jn_test_data): Update call to AUTO_TESTS_if_f.
30236         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30237         (log_test_data): Update call to AUTO_TESTS_f_f.
30238         (log10_test_data): Likewise.
30239         (log1p_test_data): Likewise.
30240         (log2_test_data): Likewise.
30241         (pow_test_data): Update call to AUTO_TESTS_ff_f.
30242         (pow_tonearest_test_data): Likewise.
30243         (sin_test_data): Update call to AUTO_TESTS_f_f.
30244         (sin_test): Use ALL_RM_TEST.
30245         (sin_tonearest_test_data): Remove.
30246         (sin_test_tonearest): Likewise.
30247         (sin_towardzero_test_data): Likewise.
30248         (sin_test_towardzero): Likewise.
30249         (sin_downward_test_data): Likewise.
30250         (sin_test_downward): Likewise.
30251         (sin_upward_test_data): Likewise.
30252         (sin_test_upward): Likewise.
30253         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30254         (sinh_test_data): Update call to AUTO_TESTS_f_f.
30255         (sinh_test): Use ALL_RM_TEST.
30256         (sinh_tonearest_test_data): Remove.
30257         (sinh_test_tonearest): Likewise.
30258         (sinh_towardzero_test_data): Likewise.
30259         (sinh_test_towardzero): Likewise.
30260         (sinh_downward_test_data): Likewise.
30261         (sinh_test_downward): Likewise.
30262         (sinh_upward_test_data): Likewise.
30263         (sinh_test_upward): Likewise.
30264         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30265         (sqrt_test): Use ALL_RM_TEST.
30266         (sqrt_tonearest_test_data): Remove.
30267         (sqrt_test_tonearest): Likewise.
30268         (sqrt_towardzero_test_data): Likewise.
30269         (sqrt_test_towardzero): Likewise.
30270         (sqrt_downward_test_data): Likewise.
30271         (sqrt_test_downward): Likewise.
30272         (sqrt_upward_test_data): Likewise.
30273         (sqrt_test_upward): Likewise.
30274         (tan_test_data): Update call to AUTO_TESTS_f_f.
30275         (tan_test): Use ALL_RM_TEST.
30276         (tan_tonearest_test_data): Remove.
30277         (tan_test_tonearest): Likewise.
30278         (tan_towardzero_test_data): Likewise.
30279         (tan_test_towardzero): Likewise.
30280         (tan_downward_test_data): Likewise.
30281         (tan_test_downward): Likewise.
30282         (tan_upward_test_data): Likewise.
30283         (tan_test_upward): Likewise.
30284         (tanh_test_data): Update call to AUTO_TESTS_f_f.
30285         (tgamma_test_data): Likewise.
30286         (y0_test_data): Likewise.
30287         (y1_test_data): Likewise.
30288         (yn_test_data): Update call to AUTO_TESTS_if_f.
30289         (main): Do not call removed functions.
30291 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30293         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30294         (ldexp_test_data): Remove.
30295         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
30296         scalbn_test_data.
30297         (scalb_test): Use ALL_RM_TEST.
30299 2014-03-19  Andreas Schwab  <schwab@suse.de>
30301         * nscd/nscd.service: Also invalidate netgroup cache on reload.
30303 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
30305         [BZ #16649]
30306         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30307         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30308         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30310         (__ASSUME_PREADV): Undefine.
30311         (__ASSUME_PWRITEV): Likewise.
30313 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30315         * bits/mman-linux.h: Add comment about non-Linux use.
30316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30317         bits/mman-linux.h resting place.
30319         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30320         * bits/mman-linux.h: ... here.
30322 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30324         * conform/conformtest.pl: Add standard definition when calling C
30325         preprocessor on data files.
30326         (checknamespace): Remove unused variable.
30328 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30330         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30331         minus_oflow, plus_uflow and minus_uflow in expected results.
30332         * math/libm-test.inc (scalbn_test_data): Add more tests of
30333         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
30334         minus_uflow.
30335         (scalbn_test): Use ALL_RM_TEST.
30336         (scalbln_test_data): Add more tests of negative arguments.  Use
30337         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30338         (scalbln_test): Use ALL_RM_TEST.
30340 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30342         * scripts/abilist.awk: Ignore symbols marked with .hidden.
30344 2014-03-18  Will Newton  <will.newton@linaro.org>
30346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30347         inaccurate comment.
30349 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
30351         * Makerules [!subdir] (check-abi): Exit with error status if a
30352         test failed.
30354 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30356         * math/libm-test.inc (nearbyint_test_data): Include all tests used
30357         for rint.  Include results for all rounding modes.
30358         (nearbyint_test): Use ALL_RM_TEST.
30359         (rint_test_data): Include all tests used for nearbyint.
30361 2014-03-17  Will Newton  <will.newton@linaro.org>
30363         * nptl/sysdeps/pthread/pthread.h: Revert previous
30364         change.
30366         * sysdeps/generic/ldsodefs.h: Revert previous
30367         change.
30369         * libio/genops.c: Revert previous change.
30370         * libio/libioP.h: Likewise.
30371         * stdio-common/vfprintf.c: Likewise.
30373         * sysdeps/generic/math_private.h: Revert previous
30374         change.
30376         * sysdeps/generic/math_private.h: Check whether
30377         HAVE_RM_CTX is defined with #ifdef rather
30378         than #if.
30380         * argp/argp-fmtstream.h: Check whether
30381         __STRICT_ANSI__ is defined with #ifdef rather
30382         than #if.
30383         * argp/argp.h: Likewise.
30385         * libio/genops.c: Check whether
30386         _IO_JUMPS_OFFSET is defined with #ifdef rather
30387         than #if.
30388         * libio/libioP.h: Likewise.
30389         * stdio-common/vfprintf.c: Likewise.
30391         * sysdeps/generic/ldsodefs.h: Check whether
30392         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30393         than #if.
30395         * nptl/sysdeps/pthread/pthread.h: Check
30396         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30397         its value.
30399 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30401         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30402         setting O_APPEND.
30403         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30404         test case.
30406         [BZ #16680]
30407         * libio/fileops.c (_IO_file_open): Seek to end of file but
30408         don't cache the offset.
30409         (get_file_offset): Remove function.
30410         (do_ftell): Use cached offset when available.
30411         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30412         don't cache the offset.
30413         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30414         case.
30415         (do_one_test): Call it.
30416         (do_ftell_test): Fix up expected old offset for a+ mode.
30417         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30418         available.
30420         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30421         up test status with function return status.
30422         (do_write_test): Likewise.
30423         (do_append_test): Likewise.
30425         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30426         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30427         Remove.
30429 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30431         * math/gen-libm-test.pl (parse_args): Handle results specified for
30432         each rounding mode separately.
30433         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30434         tests and results from lrint_tonearest_test_data,
30435         lrint_towardzero_test_data, lrint_downward_test_data and
30436         lrint_upward_test_data.
30437         (lrint_test): Use ALL_RM_TEST.
30438         (lrint_tonearest_test_data): Remove.
30439         (lrint_test_tonearest): Likewise.
30440         (lrint_towardzero_test_data): Likewise.
30441         (lrint_test_towardzero): Likewise.
30442         (lrint_downward_test_data): Likewise.
30443         (lrint_test_downward): Likewise.
30444         (lrint_upward_test_data): Likewise.
30445         (lrint_test_upward): Likewise.
30446         (llrint_test_data): Merge in per-rounding-mode tests and results
30447         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30448         llrint_downward_test_data and llrint_upward_test_data.
30449         (llrint_test): Use ALL_RM_TEST.
30450         (llrint_tonearest_test_data): Remove.
30451         (llrint_test_tonearest): Likewise.
30452         (llrint_towardzero_test_data): Likewise.
30453         (llrint_test_towardzero): Likewise.
30454         (llrint_downward_test_data): Likewise.
30455         (llrint_test_downward): Likewise.
30456         (llrint_upward_test_data): Likewise.
30457         (llrint_test_upward): Likewise.
30458         (rint_test_data): Merge in per-rounding-mode tests and results
30459         from rint_tonearest_test_data, rint_towardzero_test_data,
30460         rint_downward_test_data and rint_upward_test_data.  Add
30461         per-rounding-mode results for tests not in those arrays.
30462         (rint_test): Use ALL_RM_TEST.
30463         (rint_tonearest_test_data): Remove.
30464         (rint_test_tonearest): Likewise.
30465         (rint_towardzero_test_data): Likewise.
30466         (rint_test_towardzero): Likewise.
30467         (rint_downward_test_data): Likewise.
30468         (rint_test_downward): Likewise.
30469         (rint_upward_test_data): Likewise.
30470         (rint_test_upward): Likewise.
30471         (main): Don't call removed functions.
30473 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30475         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30476         "Compiled on ..." crapola.  It is anti-useful.
30478 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30480         * scripts/evaluate-test.sh: Handle fourth argument to determine
30481         whether test run should stop on failure.
30482         * Makeconfig (stop-on-test-failure): New variable.
30483         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30484         $(stop-on-test-failure).
30485         * Makefile (tests): Give a summary of results from testing and
30486         exit with failure status if they include an ERROR or FAIL.
30487         (xtests): Likewise.
30488         * manual/install.texi (Configuring and compiling): Mention
30489         stop-on-test-failure=y.
30490         * INSTALL: Regenerated.
30492 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30494         * scripts/versionlist.awk: New file.
30495         * Makerules [$(build-shared) = yes]
30496         (postclean-generated): Add Versions.def, not Versions.def.v and
30497         Versions.def.v.i.
30498         ($(common-objpfx)Versions.def.v.i): Target removed.
30499         ($(common-objpfx)Versions.def): New target.
30500         ($(common-objpfx)Versions.all): Depend on that rather that
30501         $(common-objpfx)Versions.def.v.
30502         * Versions.def: File removed.
30504         * Makeconfig (+gccwarn): Add -Wundef.
30505         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30506         a dl-sysdep.h breaking its contract.
30507         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30508         * include/stackinfo.h: New file.
30509         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30510         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30511         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30512         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30513         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30514         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30515         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30516         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30517         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30518         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30519         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30520         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30521         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30522         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30523         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30525 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30527         [BZ #16707]
30528         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30529         implementation.
30530         * math/libm-test.inc (round_test_data): Add more tests.
30532         [BZ #16706]
30533         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30534         implementation.
30535         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30537         [BZ #16701]
30538         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30539         implementation.
30540         * math/libm-test.inc (ceil_test_data): Add more tests.
30542         * math/libm-test.inc (trunc_test_data): Add more tests related to
30543         BZ#16414.
30545 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30547         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30548         with #if rather than #ifdef.
30549         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30551 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30553         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30554         first.  Disable AVX-512 GCC support if assembler doesn't support
30555         it.
30556         * sysdeps/x86_64/configure: Regenerated.
30558 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30560         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30561         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30562         (__old_pthread_attr_setstack): Likewise.
30563         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30564         [!_STACK_GROWS_DOWN]: Likewise.
30566 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30568         * config.make.in (have-bash2): Delete.
30569         * configure.ac (libc_cv_have_bash2): Delete.
30570         * configure: Regenerate.
30571         * elf/Makefile (common-ldd-rewrite): Rename to ...
30572         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30573         (sh-ldd-rewrite): Delete.
30574         (bash-ldd-rewrite): Delete.
30575         (have-bash2): Delete checks.
30576         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30577         ldd-rewrite.
30579         * config.make.in (have-ksh): Delete.
30580         (KSH): Delete.
30581         * configure.ac (libc_cv_have_ksh): Delete.
30582         * configure: Regenerate.
30584         * elf/Makefile: Delete $(have-ksh) check.
30585         ($(objpfx)sotruss): Change KSH to BASH.
30586         * elf/sotruss.ksh: Rename to ...
30587         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30588         function style to match POSIX.  Drop ksh vim mode setting.
30590         * manual/time.texi (Specifying the Time Zone with TZ): Change
30591         Tuesday to Thursday.
30593         * debug/tst-longjmp_chk2.c: Update header comment.
30594         (stackoverflow_handler): Add comment.  Call assert on pass value.
30596 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30598         [BZ #16194]
30599         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30600         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30601         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30602         (La_x86_64_vector): Add zmm.
30603         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30604         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30605         ($(objpfx)tst-audit10): New target.
30606         ($(objpfx)tst-audit10.out): Likewise.
30607         (tst-audit10-ENV): New.
30608         (AVX512-CFLAGS): Likewise.
30609         (CFLAGS-tst-audit10.c): Likewise.
30610         (CFLAGS-tst-auditmod10a.c): Likewise.
30611         (CFLAGS-tst-auditmod10b.c): Likewise.
30612         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30613         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30614         * sysdeps/x86_64/configure: Regenerated.
30615         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30616         AVX-512 zmm register support.
30617         (_dl_x86_64_save_sse): Likewise.
30618         (_dl_x86_64_restore_sse): Likewise.
30619         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30620         size vector registers.
30621         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30622         (ZMM_SIZE): Likewise.
30623         * sysdeps/x86_64/tst-audit10.c: New file.
30624         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30625         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30627 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30629         * configure.ac (HAVE_EHDR_START): New check.
30630         * configure: Regenerated.
30631         * config.h.in (HAVE_EHDR_START): New #undef.
30632         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30633         assuming the lowest-addressed segment maps the start of the file.
30635 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30637         * INSTALL: Regenerated.
30639 2014-03-13  Will Newton  <will.newton@linaro.org>
30641         * manual/setjmp.texi (System V contexts): Improve
30642         clarity and grammar of documentation.
30644 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30646         [BZ #16381]
30647         * elf/Makefile (tests): Add tst-pie2.
30648         (tests-pie): Add tst-pie2.
30649         * elf/tst-pie2.c: New file.
30650         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30651         for ET_EXEC.
30652         * elf/rtld.c (map_doit): Load executable as lt_executable.
30653         (dl_main): Likewise.
30655 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30657         [BZ #16642]
30658         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30659         (__ASSUME_PSELECT): Undefine.
30661 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30663         [BZ #16689]
30664         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30665         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30666         static build.
30667         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30668         selector for static builds.
30670 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30672         [BZ #16695]
30673         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30674         key in the buffer.
30676 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30678         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30679         IFUNC selector for static builds.
30681 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30683         * sysdeps/mips/math_private.h [__mips_hard_float]
30684         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30685         libc_feresetround_mips_ctx.
30686         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30687         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30688         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30690         [BZ #16677]
30691         * math/s_nextafter.c (__nextafter): Do not return value from
30692         overflowing computation.
30693         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30694         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30695         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30696         Likewise.
30697         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30698         Likewise.
30699         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30700         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30702 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30704         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30705         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30706         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30707         the new mov targetting sp.
30709 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30711         [BZ #16683]
30712         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30713         Define it for static builds as well.
30714         (NO_BZERO_IMPL): Likewise.
30716 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30718         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30719         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30720         multiarch strspn for PPC64.
30721         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30722         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30724         (__libc_ifunc_impl_list): Likewise.
30725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30726         multiarch optimizations
30727         * string/strspn.c (strspn): Using macro to redefine symbol name.
30729 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30730             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30732         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30733         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30734         multiarch strncat for PPC64.
30735         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30736         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30738         (__libc_ifunc_impl_list): Likewise.
30739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30740         multiarch optimizations
30742 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30744         [BZ #16639]
30745         * nscd/nscd.service: Make service type forking.
30747 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30749         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30750         sign in non default rounding modes.
30751         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30753 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30755         * math/libm-test.inc (ALL_RM_TEST): New macro.
30756         (ceil_test): Use ALL_RM_TEST.
30757         (cimag_test): Likewise.
30758         (conj_test): Likewise.
30759         (copysign_test): Likewise.
30760         (cproj_test): Likewise.
30761         (creal_test): Likewise.
30762         (fabs_test): Likewise.
30763         (floor_test): Likewise.
30764         (fmax_test): Likewise.
30765         (fmin_test): Likewise.
30766         (fmod_test): Likewise.
30767         (fpclassify_test): Likewise.
30768         (frexp_test): Likewise.
30769         (ilogb_test): Likewise.
30770         (isfinite_test): Likewise.
30771         (finite_test): Likewise.
30772         (isgreater_test): Likewise.
30773         (isgreaterequal_test): Likewise.
30774         (isinf_test): Likewise.
30775         (isless_test): Likewise.
30776         (islessequal_test): Likewise.
30777         (islessgreater_test): Likewise.
30778         (isnan_test): Likewise.
30779         (isnormal_test): Likewise.
30780         (issignaling_test): Likewise.
30781         (isunordered_test): Likewise.
30782         (logb_test): Likewise.
30783         (logb_downward_test_data): Remove.
30784         (logb_test_downward): Likewise.
30785         (lround_test): Use ALL_RM_TEST.
30786         (llround_test): Likewise.
30787         (modf_test): Likewise.
30788         (nexttoward_test): Likewise.
30789         (remainder_test): Likewise.
30790         (drem_test): Likewise.
30791         (remainder_tonearest_test_data): Likewise.
30792         (remainder_test_tonearest): Likewise.
30793         (drem_test_tonearest): Likewise.
30794         (remainder_towardzero_test_data): Likewise.
30795         (remainder_test_towardzero): Likewise.
30796         (drem_test_towardzero): Likewise.
30797         (remainder_downward_test_data): Likewise.
30798         (remainder_test_downward): Likewise.
30799         (drem_test_downward): Likewise.
30800         (remainder_upward_test_data): Likewise.
30801         (remainder_test_upward): Likewise.
30802         (drem_test_upward): Likewise.
30803         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30804         (round_test): Use ALL_RM_TEST.
30805         (signbit_test): Likewise.
30806         (trunc_test): Likewise.
30807         (significand_test): Likewise.
30808         (main): Don't call removed functions.
30810 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30812         [BZ #16674]
30813         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30814         || __USE_XOPEN2K8].
30815         (ILL_ILLOPN): Likewise.
30816         (ILL_ILLADR): Likewise.
30817         (ILL_ILLTRP): Likewise.
30818         (ILL_PRVOPC): Likewise.
30819         (ILL_PRVREG): Likewise.
30820         (ILL_COPROC): Likewise.
30821         (ILL_BADSTK): Likewise.
30822         (FPE_INTDIV): Likewise.
30823         (FPE_INTOVF): Likewise.
30824         (FPE_FLTDIV): Likewise.
30825         (FPE_FLTOVF): Likewise.
30826         (FPE_FLTUND): Likewise.
30827         (FPE_FLTRES): Likewise.
30828         (FPE_FLTINV): Likewise.
30829         (FPE_FLTSUB): Likewise.
30830         (SEGV_MAPERR): Likewise.
30831         (SEGV_ACCERR): Likewise.
30832         (BUS_ADRALN): Likewise.
30833         (BUS_ADRERR): Likewise.
30834         (BUS_OBJERR): Likewise.
30835         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30836         (TRAP_TRACE): Likewise.
30837         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30838         __USE_XOPEN2K8].
30839         (CLD_KILLED): Likewise.
30840         (CLD_DUMPED): Likewise.
30841         (CLD_TRAPPED): Likewise.
30842         (CLD_STOPPED): Likewise.
30843         (CLD_CONTINUED): Likewise.
30844         (POLL_IN): Likewise.
30845         (POLL_OUT): Likewise.
30846         (POLL_MSG): Likewise.
30847         (POLL_ERR): Likewise.
30848         (POLL_PRI): Likewise.
30849         (POLL_HUP): Likewise.
30850         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30851         Likewise.
30852         (ILL_ILLOPN): Likewise.
30853         (ILL_ILLADR): Likewise.
30854         (ILL_ILLTRP): Likewise.
30855         (ILL_PRVOPC): Likewise.
30856         (ILL_PRVREG): Likewise.
30857         (ILL_COPROC): Likewise.
30858         (ILL_BADSTK): Likewise.
30859         (FPE_INTDIV): Likewise.
30860         (FPE_INTOVF): Likewise.
30861         (FPE_FLTDIV): Likewise.
30862         (FPE_FLTOVF): Likewise.
30863         (FPE_FLTUND): Likewise.
30864         (FPE_FLTRES): Likewise.
30865         (FPE_FLTINV): Likewise.
30866         (FPE_FLTSUB): Likewise.
30867         (SEGV_MAPERR): Likewise.
30868         (SEGV_ACCERR): Likewise.
30869         (BUS_ADRALN): Likewise.
30870         (BUS_ADRERR): Likewise.
30871         (BUS_OBJERR): Likewise.
30872         (BUS_MCEERR_AR): Likewise.
30873         (BUS_MCEERR_AO): Likewise.
30874         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30875         (TRAP_TRACE): Likewise.
30876         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30877         __USE_XOPEN2K8].
30878         (CLD_KILLED): Likewise.
30879         (CLD_DUMPED): Likewise.
30880         (CLD_TRAPPED): Likewise.
30881         (CLD_STOPPED): Likewise.
30882         (CLD_CONTINUED): Likewise.
30883         (POLL_IN): Likewise.
30884         (POLL_OUT): Likewise.
30885         (POLL_MSG): Likewise.
30886         (POLL_ERR): Likewise.
30887         (POLL_PRI): Likewise.
30888         (POLL_HUP): Likewise.
30889         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30890         (ILL_ILLOPN): Likewise.
30891         (ILL_ILLADR): Likewise.
30892         (ILL_ILLTRP): Likewise.
30893         (ILL_PRVOPC): Likewise.
30894         (ILL_PRVREG): Likewise.
30895         (ILL_COPROC): Likewise.
30896         (ILL_BADSTK): Likewise.
30897         (FPE_INTDIV): Likewise.
30898         (FPE_INTOVF): Likewise.
30899         (FPE_FLTDIV): Likewise.
30900         (FPE_FLTOVF): Likewise.
30901         (FPE_FLTUND): Likewise.
30902         (FPE_FLTRES): Likewise.
30903         (FPE_FLTINV): Likewise.
30904         (FPE_FLTSUB): Likewise.
30905         (SEGV_MAPERR): Likewise.
30906         (SEGV_ACCERR): Likewise.
30907         (BUS_ADRALN): Likewise.
30908         (BUS_ADRERR): Likewise.
30909         (BUS_OBJERR): Likewise.
30910         (BUS_MCEERR_AR): Likewise.
30911         (BUS_MCEERR_AO): Likewise.
30912         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30913         (TRAP_TRACE): Likewise.
30914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30915         __USE_XOPEN2K8].
30916         (CLD_KILLED): Likewise.
30917         (CLD_DUMPED): Likewise.
30918         (CLD_TRAPPED): Likewise.
30919         (CLD_STOPPED): Likewise.
30920         (CLD_CONTINUED): Likewise.
30921         (POLL_IN): Likewise.
30922         (POLL_OUT): Likewise.
30923         (POLL_MSG): Likewise.
30924         (POLL_ERR): Likewise.
30925         (POLL_PRI): Likewise.
30926         (POLL_HUP): Likewise.
30927         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30928         Likewise.
30929         (ILL_ILLOPN): Likewise.
30930         (ILL_ILLADR): Likewise.
30931         (ILL_ILLTRP): Likewise.
30932         (ILL_PRVOPC): Likewise.
30933         (ILL_PRVREG): Likewise.
30934         (ILL_COPROC): Likewise.
30935         (ILL_BADSTK): Likewise.
30936         (ILL_BADIADDR): Likewise.
30937         (ILL_BREAK): Likewise.
30938         (FPE_INTDIV): Likewise.
30939         (FPE_INTOVF): Likewise.
30940         (FPE_FLTDIV): Likewise.
30941         (FPE_FLTOVF): Likewise.
30942         (FPE_FLTUND): Likewise.
30943         (FPE_FLTRES): Likewise.
30944         (FPE_FLTINV): Likewise.
30945         (FPE_FLTSUB): Likewise.
30946         (FPE_DECOVF): Likewise.
30947         (FPE_DECDIV): Likewise.
30948         (FPE_DECERR): Likewise.
30949         (FPE_INVASC): Likewise.
30950         (FPE_INVDEC): Likewise.
30951         (SEGV_MAPERR): Likewise.
30952         (SEGV_ACCERR): Likewise.
30953         (SEGV_PSTKOVF): Likewise.
30954         (BUS_ADRALN): Likewise.
30955         (BUS_ADRERR): Likewise.
30956         (BUS_OBJERR): Likewise.
30957         (BUS_MCEERR_AR): Likewise.
30958         (BUS_MCEERR_AO): Likewise.
30959         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30960         (TRAP_TRACE): Likewise.
30961         (TRAP_BRANCH): Likewise.
30962         (TRAP_HWBKPT): Likewise.
30963         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30964         __USE_XOPEN2K8].
30965         (CLD_KILLED): Likewise.
30966         (CLD_DUMPED): Likewise.
30967         (CLD_TRAPPED): Likewise.
30968         (CLD_STOPPED): Likewise.
30969         (CLD_CONTINUED): Likewise.
30970         (POLL_IN): Likewise.
30971         (POLL_OUT): Likewise.
30972         (POLL_MSG): Likewise.
30973         (POLL_ERR): Likewise.
30974         (POLL_PRI): Likewise.
30975         (POLL_HUP): Likewise.
30976         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30977         (ILL_ILLOPN): Likewise.
30978         (ILL_ILLADR): Likewise.
30979         (ILL_ILLTRP): Likewise.
30980         (ILL_PRVOPC): Likewise.
30981         (ILL_PRVREG): Likewise.
30982         (ILL_COPROC): Likewise.
30983         (ILL_BADSTK): Likewise.
30984         (FPE_INTDIV): Likewise.
30985         (FPE_INTOVF): Likewise.
30986         (FPE_FLTDIV): Likewise.
30987         (FPE_FLTOVF): Likewise.
30988         (FPE_FLTUND): Likewise.
30989         (FPE_FLTRES): Likewise.
30990         (FPE_FLTINV): Likewise.
30991         (FPE_FLTSUB): Likewise.
30992         (SEGV_MAPERR): Likewise.
30993         (SEGV_ACCERR): Likewise.
30994         (BUS_ADRALN): Likewise.
30995         (BUS_ADRERR): Likewise.
30996         (BUS_OBJERR): Likewise.
30997         (BUS_MCEERR_AR): Likewise.
30998         (BUS_MCEERR_AO): Likewise.
30999         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31000         (TRAP_TRACE): Likewise.
31001         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31002         __USE_XOPEN2K8].
31003         (CLD_KILLED): Likewise.
31004         (CLD_DUMPED): Likewise.
31005         (CLD_TRAPPED): Likewise.
31006         (CLD_STOPPED): Likewise.
31007         (CLD_CONTINUED): Likewise.
31008         (POLL_IN): Likewise.
31009         (POLL_OUT): Likewise.
31010         (POLL_MSG): Likewise.
31011         (POLL_ERR): Likewise.
31012         (POLL_PRI): Likewise.
31013         (POLL_HUP): Likewise.
31014         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31015         (ILL_ILLOPN): Likewise.
31016         (ILL_ILLADR): Likewise.
31017         (ILL_ILLTRP): Likewise.
31018         (ILL_PRVOPC): Likewise.
31019         (ILL_PRVREG): Likewise.
31020         (ILL_COPROC): Likewise.
31021         (ILL_BADSTK): Likewise.
31022         (FPE_INTDIV): Likewise.
31023         (FPE_INTOVF): Likewise.
31024         (FPE_FLTDIV): Likewise.
31025         (FPE_FLTOVF): Likewise.
31026         (FPE_FLTUND): Likewise.
31027         (FPE_FLTRES): Likewise.
31028         (FPE_FLTINV): Likewise.
31029         (FPE_FLTSUB): Likewise.
31030         (SEGV_MAPERR): Likewise.
31031         (SEGV_ACCERR): Likewise.
31032         (BUS_ADRALN): Likewise.
31033         (BUS_ADRERR): Likewise.
31034         (BUS_OBJERR): Likewise.
31035         (BUS_MCEERR_AR): Likewise.
31036         (BUS_MCEERR_AO): Likewise.
31037         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31038         (TRAP_TRACE): Likewise.
31039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31040         __USE_XOPEN2K8].
31041         (CLD_KILLED): Likewise.
31042         (CLD_DUMPED): Likewise.
31043         (CLD_TRAPPED): Likewise.
31044         (CLD_STOPPED): Likewise.
31045         (CLD_CONTINUED): Likewise.
31046         (POLL_IN): Likewise.
31047         (POLL_OUT): Likewise.
31048         (POLL_MSG): Likewise.
31049         (POLL_ERR): Likewise.
31050         (POLL_PRI): Likewise.
31051         (POLL_HUP): Likewise.
31052         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31053         (ILL_ILLOPN): Likewise.
31054         (ILL_ILLADR): Likewise.
31055         (ILL_ILLTRP): Likewise.
31056         (ILL_PRVOPC): Likewise.
31057         (ILL_PRVREG): Likewise.
31058         (ILL_COPROC): Likewise.
31059         (ILL_BADSTK): Likewise.
31060         (FPE_INTDIV): Likewise.
31061         (FPE_INTOVF): Likewise.
31062         (FPE_FLTDIV): Likewise.
31063         (FPE_FLTOVF): Likewise.
31064         (FPE_FLTUND): Likewise.
31065         (FPE_FLTRES): Likewise.
31066         (FPE_FLTINV): Likewise.
31067         (FPE_FLTSUB): Likewise.
31068         (SEGV_MAPERR): Likewise.
31069         (SEGV_ACCERR): Likewise.
31070         (BUS_ADRALN): Likewise.
31071         (BUS_ADRERR): Likewise.
31072         (BUS_OBJERR): Likewise.
31073         (BUS_MCEERR_AR): Likewise.
31074         (BUS_MCEERR_AO): Likewise.
31075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31076         (TRAP_TRACE): Likewise.
31077         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31078         __USE_XOPEN2K8].
31079         (CLD_KILLED): Likewise.
31080         (CLD_DUMPED): Likewise.
31081         (CLD_TRAPPED): Likewise.
31082         (CLD_STOPPED): Likewise.
31083         (CLD_CONTINUED): Likewise.
31084         (POLL_IN): Likewise.
31085         (POLL_OUT): Likewise.
31086         (POLL_MSG): Likewise.
31087         (POLL_ERR): Likewise.
31088         (POLL_PRI): Likewise.
31089         (POLL_HUP): Likewise.
31090         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31091         (ILL_ILLOPN): Likewise.
31092         (ILL_ILLADR): Likewise.
31093         (ILL_ILLTRP): Likewise.
31094         (ILL_PRVOPC): Likewise.
31095         (ILL_PRVREG): Likewise.
31096         (ILL_COPROC): Likewise.
31097         (ILL_BADSTK): Likewise.
31098         (ILL_DBLFLT): Likewise.
31099         (ILL_HARDWALL): Likewise.
31100         (FPE_INTDIV): Likewise.
31101         (FPE_INTOVF): Likewise.
31102         (FPE_FLTDIV): Likewise.
31103         (FPE_FLTOVF): Likewise.
31104         (FPE_FLTUND): Likewise.
31105         (FPE_FLTRES): Likewise.
31106         (FPE_FLTINV): Likewise.
31107         (FPE_FLTSUB): Likewise.
31108         (SEGV_MAPERR): Likewise.
31109         (SEGV_ACCERR): Likewise.
31110         (BUS_ADRALN): Likewise.
31111         (BUS_ADRERR): Likewise.
31112         (BUS_OBJERR): Likewise.
31113         (BUS_MCEERR_AR): Likewise.
31114         (BUS_MCEERR_AO): Likewise.
31115         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31116         (TRAP_TRACE): Likewise.
31117         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31118         __USE_XOPEN2K8].
31119         (CLD_KILLED): Likewise.
31120         (CLD_DUMPED): Likewise.
31121         (CLD_TRAPPED): Likewise.
31122         (CLD_STOPPED): Likewise.
31123         (CLD_CONTINUED): Likewise.
31124         (POLL_IN): Likewise.
31125         (POLL_OUT): Likewise.
31126         (POLL_MSG): Likewise.
31127         (POLL_ERR): Likewise.
31128         (POLL_PRI): Likewise.
31129         (POLL_HUP): Likewise.
31130         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31131         (ILL_ILLOPN): Likewise.
31132         (ILL_ILLADR): Likewise.
31133         (ILL_ILLTRP): Likewise.
31134         (ILL_PRVOPC): Likewise.
31135         (ILL_PRVREG): Likewise.
31136         (ILL_COPROC): Likewise.
31137         (ILL_BADSTK): Likewise.
31138         (FPE_INTDIV): Likewise.
31139         (FPE_INTOVF): Likewise.
31140         (FPE_FLTDIV): Likewise.
31141         (FPE_FLTOVF): Likewise.
31142         (FPE_FLTUND): Likewise.
31143         (FPE_FLTRES): Likewise.
31144         (FPE_FLTINV): Likewise.
31145         (FPE_FLTSUB): Likewise.
31146         (SEGV_MAPERR): Likewise.
31147         (SEGV_ACCERR): Likewise.
31148         (BUS_ADRALN): Likewise.
31149         (BUS_ADRERR): Likewise.
31150         (BUS_OBJERR): Likewise.
31151         (BUS_MCEERR_AR): Likewise.
31152         (BUS_MCEERR_AO): Likewise.
31153         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31154         (TRAP_TRACE): Likewise.
31155         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31156         __USE_XOPEN2K8].
31157         (CLD_KILLED): Likewise.
31158         (CLD_DUMPED): Likewise.
31159         (CLD_TRAPPED): Likewise.
31160         (CLD_STOPPED): Likewise.
31161         (CLD_CONTINUED): Likewise.
31162         (POLL_IN): Likewise.
31163         (POLL_OUT): Likewise.
31164         (POLL_MSG): Likewise.
31165         (POLL_ERR): Likewise.
31166         (POLL_PRI): Likewise.
31167         (POLL_HUP): Likewise.
31168         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31169         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31171         [BZ #16670]
31172         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31173         before #include of <time.h>.
31174         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31175         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31176         (test-xfail-UNIX98/sched.h/conform): Likewise.
31178 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31180         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31181         error absence of trapping exception support.
31182         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31184 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31186         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31187         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31188         * timezone/Makefile (testdata): Move definition above include of
31189         Rules.
31190         (test-zones): New variable.
31191         (tests-special): Add zone files.
31192         (build-testdata): Use $(evaluate-test).
31194         * elf/Makefile (tests-special): Rename tests to end with .out.
31195         ($(objpfx)noload-mem): Likewise.
31196         ($(objpfx)tst-leaks1-mem): Likewise.
31197         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31198         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31199         $(objpfx)test-iconvconfig.out.
31200         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31201         set -e inside subshell and redirect output to file.
31202         * iconvdata/Makefile (generated): Rename tests to end with .out.
31203         Correct type.
31204         (tests-special): Rename tests to end with .out.
31205         ($(objpfx)mtrace-tst-loading): Likewise.
31206         * intl/Makefile (generated): Likewise.
31207         (tests-special): Likewise.
31208         ($(objpfx)mtrace-tst-gettext): Likewise.
31209         * misc/Makefile (generated): Likewise.
31210         (tests-special): Likewise.
31211         ($(objpfx)tst-error1-mem): Likewise.
31212         * nptl/Makefile (tests-special): Likewise.
31213         ($(objpfx)tst-stack3-mem): Likewise.
31214         (generated): Likewise.
31215         * posix/Makefile (generated): Likewise.
31216         (tests-special): Likewise.
31217         (xtests-special): Likewise.
31218         ($(objpfx)tst-fnmatch-mem): Likewise.
31219         ($(objpfx)bug-regex2-mem): Likewise.
31220         ($(objpfx)bug-regex14-mem): Likewise.
31221         ($(objpfx)bug-regex21-mem): Likewise.
31222         ($(objpfx)bug-regex31-mem): Likewise.
31223         ($(objpfx)tst-vfork3-mem): Likewise.
31224         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31225         ($(objpfx)tst-pcre-mem): Likewise.
31226         ($(objpfx)tst-boost-mem): Likewise.
31227         ($(objpfx)bug-ga2-mem): Likewise.
31228         ($(objpfx)bug-glob2-mem): Likewise.
31229         * resolv/Makefile (generate): Likewise.
31230         (tests-special): Likewise.
31231         (xtests-special): Likewise.
31232         (generated): Likewise.
31233         ($(objpfx)mtrace-tst-leaks): Likewise.
31234         ($(objpfx)mtrace-tst-leaks2): Likewise.
31236         * scripts/merge-test-results.sh: New file.
31237         * Makefile (tests-special-notdir): New variable.
31238         (tests): Run merge-test-results.sh.
31239         (xtests): Likewise.
31240         * Rules (tests-special-notdir): New variable.
31241         (xtests-special-notdir): Likewise.
31242         (tests): Run merge-test-results.sh
31243         (xtests): Likewise.
31245         * Makeconfig (test-xfail-name): New variable.
31246         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31247         compute variable name for expected failures.
31248         * conform/Makefile (conformtest-headers-data): New variable.
31249         (conformtest-standards): Likewise.
31250         (conformtest-headers-ISO): Likewise.
31251         (conformtest-headers-ISO99): Likewise.
31252         (conformtest-headers-ISO11): Likewise.
31253         (conformtest-headers-POSIX): Likewise.
31254         (conformtest-headers-XPG3): Likewise.
31255         (conformtest-headers-XPG4): Likewise.
31256         (conformtest-headers-UNIX98): Likewise.
31257         (conformtest-headers-XOPEN2K): Likewise.
31258         (conformtest-headers-POSIX2008): Likewise.
31259         (conformtest-headers-XOPEN2K8): Likewise.
31260         (conformtest-header-list-base): Likewise.
31261         (conformtest-header-list-tests): Likewise.
31262         (conformtest-header-base): Likewise.
31263         (conformtest-header-tests): Likewise.
31264         (tests-special): Add $(conformtest-header-list-tests).  If
31265         [$(fast-check) && !$(cross-compiling)], add
31266         $(conformtest-header-tests) instead of
31267         $(objpfx)run-conformtest.out.
31268         (generated): Add $(conformtest-header-list-base).  If
31269         [$(fast-check) && !$(cross-compiling)], add
31270         $(conformtest-header-base).  Remove previous setting.
31271         ($(conformtest-header-list-tests)): New target.
31272         (test-xfail-run-conformtest): Remove variable.
31273         ($(objpfx)run-conformtest.out): Remove target.
31274         (test-xfail-ISO11/complex.h/conform): New variable.
31275         (test-xfail-ISO11/stdalign.h/conform): Likewise.
31276         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31277         (test-xfail-XPG3/varargs.h/conform): Likewise.
31278         (test-xfail-XPG4/varargs.h/conform): Likewise.
31279         (test-xfail-UNIX98/varargs.h/conform): Likewise.
31280         (test-xfail-XPG4/ndbm.h/conform): Likewise.
31281         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31282         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31283         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31284         (test-xfail-XPG3/fcntl.h/conform): Likewise.
31285         (test-xfail-XPG3/ftw.h/conform): Likewise.
31286         (test-xfail-XPG3/grp.h/conform): Likewise.
31287         (test-xfail-XPG3/langinfo.h/conform): Likewise.
31288         (test-xfail-XPG3/limits.h/conform): Likewise.
31289         (test-xfail-XPG3/pwd.h/conform): Likewise.
31290         (test-xfail-XPG3/search.h/conform): Likewise.
31291         (test-xfail-XPG3/signal.h/conform): Likewise.
31292         (test-xfail-XPG3/stdio.h/conform): Likewise.
31293         (test-xfail-XPG3/stdlib.h/conform): Likewise.
31294         (test-xfail-XPG3/string.h/conform): Likewise.
31295         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31296         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31297         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31298         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31299         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31300         (test-xfail-XPG3/sys/types.h/conform): Likewise.
31301         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31302         (test-xfail-XPG3/termios.h/conform): Likewise.
31303         (test-xfail-XPG3/time.h/conform): Likewise.
31304         (test-xfail-XPG3/unistd.h/conform): Likewise.
31305         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31306         (test-xfail-XPG4/fcntl.h/conform): Likewise.
31307         (test-xfail-XPG4/langinfo.h/conform): Likewise.
31308         (test-xfail-XPG4/netdb.h/conform): Likewise.
31309         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31310         (test-xfail-XPG4/signal.h/conform): Likewise.
31311         (test-xfail-XPG4/stdio.h/conform): Likewise.
31312         (test-xfail-XPG4/stdlib.h/conform): Likewise.
31313         (test-xfail-XPG4/stropts.h/conform): Likewise.
31314         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31315         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31316         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31317         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31318         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31319         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31320         (test-xfail-XPG4/sys/time.h/conform): Likewise.
31321         (test-xfail-XPG4/sys/types.h/conform): Likewise.
31322         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31323         (test-xfail-XPG4/termios.h/conform): Likewise.
31324         (test-xfail-XPG4/ucontext.h/conform): Likewise.
31325         (test-xfail-XPG4/unistd.h/conform): Likewise.
31326         (test-xfail-XPG4/utmpx.h/conform): Likewise.
31327         (test-xfail-POSIX/sched.h/conform): Likewise.
31328         (test-xfail-POSIX/signal.h/conform): Likewise.
31329         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31330         (test-xfail-POSIX/tar.h/conform): Likewise.
31331         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31332         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31333         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31334         (test-xfail-UNIX98/netdb.h/conform): Likewise.
31335         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31336         (test-xfail-UNIX98/sched.h/conform): Likewise.
31337         (test-xfail-UNIX98/signal.h/conform): Likewise.
31338         (test-xfail-UNIX98/stdio.h/conform): Likewise.
31339         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31340         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31341         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31342         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31343         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31344         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31345         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31346         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31347         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31348         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31349         (test-xfail-UNIX98/unistd.h/conform): Likewise.
31350         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31351         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31352         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31353         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31354         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31355         (test-xfail-XOPEN2K/math.h/conform): Likewise.
31356         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31357         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31358         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31359         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31360         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31361         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31362         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31363         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31364         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31365         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31366         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31367         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31368         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31369         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31370         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31371         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31372         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31373         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31374         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31375         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31376         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31377         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31378         (test-xfail-POSIX2008/signal.h/conform): Likewise.
31379         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31380         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31381         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31382         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31383         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31384         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31385         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31386         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31387         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31388         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31389         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31390         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31391         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31392         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31393         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31394         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31395         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31396         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31397         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31398         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31399         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31400         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31401         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31402         (conformtest-cc-flags): Likewise.
31403         ($(conformtest-header-tests): New target.
31404         * conform/check-header-lists.sh: New file.
31405         * conform/run-conformtest.sh: Remove.
31407         * conform/conformtest.pl: Allow ' and \ in values given for
31408         constants.
31409         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31410         inclusion.
31411         [POSIX] (sys/types.h): Likewise.
31412         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31413         inclusion.
31414         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31415         inclusion.
31416         * conform/data/signal.h-data (SIGIO): Remove expectation.
31417         [XPG3] (SIGBUS): Do not expect.
31418         [POSIX || XPG3] (SIGPOLL): Likewise.
31419         [POSIX || XPG3] (SIGPROF): Likewise.
31420         [POSIX || XPG3] (SIGSYS): Likewise.
31421         [XPG3] (SIGTRAP): Likewise.
31422         [POSIX || XPG3] (SIGURG): Likewise.
31423         [POSIX || XPG3] (SIGVTALRM): Likewise.
31424         [POSIX || XPG3] (SIGXCPU): Likewise.
31425         [POSIX || XPG3] (SIGXFSZ): Likewise.
31426         [POSIX] (SA_SIGINFO): Expect.
31427         [XPG3] (siginfo_t): Do not expect type or contents.
31428         [POSIX] (si_pid): Do not expect element.
31429         [POSIX] (si_uid): Likewise.
31430         [POSIX] (si_addr): Likewise.
31431         [POSIX] (si_status): Likewise.
31432         [POSIX] (si_band): Likewise.
31433         [XPG4] (si_value): Likewise.
31434         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31435         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31436         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31437         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31438         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31439         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31440         [POSIX || XPG3] (ILL_COPROC): Likewise.
31441         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31442         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31443         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31444         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31445         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31446         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31447         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31448         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31449         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31450         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31451         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31452         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31453         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31454         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31455         [POSIX || XPG3] (CLD_EXITED): Likewise.
31456         [POSIX || XPG3] (CLD_KILLED): Likewise.
31457         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31458         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31459         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31460         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31461         [POSIX || XPG3] (POLL_IN): Likewise.
31462         [POSIX || XPG3] (POLL_OUT): Likewise.
31463         [POSIX || XPG3] (POLL_MSG): Likewise.
31464         [POSIX || XPG3] (POLL_ERR): Likewise.
31465         [POSIX || XPG3] (POLL_PRI): Likewise.
31466         [POSIX || XPG3] (POLL_HUP): Likewise.
31467         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31468         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31469         (SIG*): Do not allow.
31470         [XPG3] (si_*): Likewise.
31471         [XPG3] (SI_*): Likewise.
31472         [XPG3 || XPG4] (sigev_*): Likewise.
31473         [XPG3 || XPG4] (SIGEV_*): Likewise.
31474         [XPG3 || XPG4] (sival_*): Likewise.
31475         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31476         [POSIX || XPG3] (BUS_*): Likewise.
31477         [POSIX || XPG3] (CLD_*): Likewise.
31478         [POSIX || XPG3] (FPE_*): Likewise.
31479         [POSIX || XPG3] (ILL_*): Likewise.
31480         [POSIX || XPG3] (POLL_*): Likewise.
31481         [POSIX || XPG3] (SEGV_*): Likewise.
31482         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31483         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31484         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31485         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31486         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31487         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31488         Specify type and value.
31489         (TVERSLEN): Likewise.
31490         (REGTYPE): Likewise.
31491         (AREGTYPE): Likewise.
31492         (LNKTYPE): Likewise.
31493         (SYMTYPE): Likewise.
31494         (CHRTYPE): Likewise.
31495         (BLKTYPE): Likewise.
31496         (DIRTYPE): Likewise.
31497         (FIFOTYPE): Likewise.
31498         (CONTTYPE): Likewise.
31499         (TSUID): Likewise.
31500         (TSGID): Likewise.
31501         (TSVTX): Likewise.
31502         (TUREAD): Likewise.
31503         (TUWRITE): Likewise.
31504         (TUEXEC): Likewise.
31505         (TGREAD): Likewise.
31506         (TGWRITE): Likewise.
31507         (TGEXEC): Likewise.
31508         (TOREAD): Likewise.
31509         (TOWRITE): Likewise.
31510         (TOEXEC): Likewise.
31511         [POSIX] (TSVTX): Expect constant.
31513 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31515         * Makefile (tests): Change dependencies to ....
31516         (tests-special): ... additions to this variable.
31517         (tests): Depend on $(tests-special).
31518         * Makerules (check-abi-list): New variable.
31519         (check-abi): Depend on $(check-abi-list).
31520         [$(subdir) = elf] (tests-special): Add
31521         $(objpfx)check-abi-libc.out.
31522         [$(build-shared) = yes && subdir] (tests-special): Add
31523         $(check-abi-list).
31524         [$(build-shared) = yes && subdir] (tests): Do not depend on
31525         check-abi.
31526         * Rules (tests): Depend on $(tests-special).
31527         (xtests): Depend on $(xtests-special).
31528         * catgets/Makefile (tests): Change dependencies to ....
31529         (tests-special): ... additions to this variable.
31530         * conform/Makefile (tests): Change dependencies to ....
31531         (tests-special): ... additions to this variable.
31532         * elf/Makefile (tests): Change dependencies to ....
31533         (tests-special): ... additions to this variable.
31534         * grp/Makefile (tests): Change dependencies to ....
31535         (tests-special): ... additions to this variable.
31536         * iconv/Makefile (xtests): Change dependencies to ....
31537         (xtests-special): ... additions to this variable.
31538         * iconvdata/Makefile (tests): Change dependencies to ....
31539         (tests-special): ... additions to this variable.
31540         * intl/Makefile (tests): Change dependencies to ....
31541         (tests-special): ... additions to this variable.  Also add
31542         $(objpfx)tst-gettext.out.
31543         * io/Makefile (tests): Change dependencies to ....
31544         (tests-special): ... additions to this variable.
31545         * libio/Makefile (tests): Change dependencies to ....
31546         (tests-special): ... additions to this variable.
31547         * malloc/Makefile (tests): Change dependencies to ....
31548         (tests-special): ... additions to this variable.
31549         * misc/Makefile (tests): Change dependencies to ....
31550         (tests-special): ... additions to this variable.
31551         * nptl/Makefile (tests): Change dependencies to ....
31552         (tests-special): ... additions to this variable.
31553         * nptl_db/Makefile (tests): Change dependencies to ....
31554         (tests-special): ... additions to this variable.
31555         * posix/Makefile (tests): Change dependencies to ....
31556         (tests-special): ... additions to this variable.
31557         (xtests): Change dependencies to ....
31558         (xtests-special): ... additions to this variable.
31559         * resolv/Makefile (tests): Change dependencies to ....
31560         (tests-special): ... additions to this variable.
31561         (xtests): Change dependencies to ....
31562         (xtests-special): ... additions to this variable.
31563         * stdio-common/Makefile (tests): Change dependencies to ....
31564         (tests-special): ... additions to this variable.
31565         (do-tst-unbputc): Remove target.
31566         (do-tst-printf): Likewise.
31567         * stdlib/Makefile (tests): Change dependencies to ....
31568         (tests-special): ... additions to this variable.
31569         * string/Makefile (tests): Change dependencies to ....
31570         (tests-special): ... additions to this variable.
31571         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31572         (tests-special): ... additions to this variable.
31574         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31575         whole file.
31576         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31577         whole file.
31578         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31579         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31581         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31582         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31583         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31584         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31585         * conform/data/libgen.h-data [XPG3]: Likewise.
31586         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31587         * conform/data/ndbm.h-data [XPG3]: Likewise.
31588         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31589         * conform/data/netdb.h-data [XPG3]: Likewise.
31590         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31591         * conform/data/poll.h-data [XPG3]: Likewise.
31592         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31593         * conform/data/strings.h-data [XPG3]: Likewise.
31594         * conform/data/stropts.h-data [XPG3]: Likewise.
31595         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31596         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31597         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31598         Likewise.
31599         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31600         * conform/data/sys/time.h-data [XPG3]: Likewise.
31601         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31602         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31603         * conform/data/sys/un.h-data [XPG3]: Likewise.
31604         * conform/data/syslog.h-data [XPG3]: Likewise.
31605         * conform/data/ucontext.h-data [XPG3]: Likewise.
31606         * conform/data/utmpx.h-data [XPG3]: Likewise.
31607         * conform/data/varargs.h-data [UNIX98]: Enable file.
31609         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31611         * math/libm-test.inc (struct test_f_f_data): Move expected results
31612         into structure for each rounding mode.
31613         (struct test_ff_f_data): Likewise.
31614         (struct test_ff_f_data_nexttoward): Likewise.
31615         (struct test_fi_f_data): Likewise.
31616         (struct test_fl_f_data): Likewise.
31617         (struct test_if_f_data): Likewise.
31618         (struct test_fff_f_data): Likewise.
31619         (struct test_c_f_data): Likewise.
31620         (struct test_f_f1_data): Likewise.
31621         (struct test_fF_f1_data): Likewise.
31622         (struct test_ffI_f1_data): Likewise.
31623         (struct test_c_c_data): Likewise.
31624         (struct test_cc_c_data): Likewise.
31625         (struct test_f_i_data): Likewise.
31626         (struct test_ff_i_data): Likewise.
31627         (struct test_f_l_data): Likewise.
31628         (struct test_f_L_data): Likewise.
31629         (struct test_fFF_11_data): Likewise.
31630         (RM_): New macro.
31631         (RM_FE_DOWNWARD): Likewise.
31632         (RM_FE_TONEAREST): Likewise.
31633         (RM_FE_TOWARDZERO): Likewise.
31634         (RM_FE_UPWARD): Likewise.
31635         (RUN_TEST_LOOP_f_f): Update references to expected results.
31636         (RUN_TEST_LOOP_2_f): Likewise.
31637         (RUN_TEST_LOOP_fff_f): Likewise.
31638         (RUN_TEST_LOOP_c_f): Likewise.
31639         (RUN_TEST_LOOP_f_f1): Likewise.
31640         (RUN_TEST_LOOP_fF_f1): Likewise.
31641         (RUN_TEST_LOOP_fI_f1): Likewise.
31642         (RUN_TEST_LOOP_ffI_f1): Likewise.
31643         (RUN_TEST_LOOP_c_c): Likewise.
31644         (RUN_TEST_LOOP_cc_c): Likewise.
31645         (RUN_TEST_LOOP_f_i): Likewise.
31646         (RUN_TEST_LOOP_f_i_tg): Likewise.
31647         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31648         (RUN_TEST_LOOP_f_b): Likewise.
31649         (RUN_TEST_LOOP_f_b_tg): Likewise.
31650         (RUN_TEST_LOOP_f_l): Likewise.
31651         (RUN_TEST_LOOP_f_L): Likewise.
31652         (RUN_TEST_LOOP_fFF_11): Likewise.
31653         * math/gen-libm-test.pl (parse_args): Output four copies of
31654         expected results for each test.
31656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31657         (__ASSUME_UTIMES): Remove.
31658         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31659         (__ASSUME_UTIMES): Likewise.
31661         * math/gen-auto-libm-tests.c: Update comment on output format.
31662         (output_for_one_input_case): Generate before-rounding and
31663         after-rounding information as conditions on output flags not
31664         floating-point format.
31665         * math/auto-libm-test-out: Regenerated.
31666         * math/gen-libm-test.pl (cond_value): New function.
31667         (or_cond_value): Use cond_value.
31668         (generate_testfile): Handle conditional exceptions.
31670 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31672         * math/libm-test.inc (max_valid_error): New variable.
31673         (init_max_error): Take new argument specifying whether function
31674         results are exactly determined.  Set max_valid_error and bound
31675         other variables for errors based on this argument.
31676         (set_max_error): Do not record results above max_valid_error.
31677         (check_float_internal): Only accept errors of up to 0.5ulps if
31678         also at most max_valid_error.
31679         (START): Take new argument EXACT and pass it to init_max_error.
31680         (acos_test): Update call to START.
31681         (acos_test_tonearest): Likewise.
31682         (acos_test_towardzero): Likewise.
31683         (acos_test_downward): Likewise.
31684         (acos_test_upward): Likewise.
31685         (acosh_test): Likewise.
31686         (asin_test): Likewise.
31687         (asin_test_tonearest): Likewise.
31688         (asin_test_towardzero): Likewise.
31689         (asin_test_downward): Likewise.
31690         (asin_test_upward): Likewise.
31691         (asinh_test): Likewise.
31692         (atan_test): Likewise.
31693         (atanh_test): Likewise.
31694         (atan2_test): Likewise.
31695         (cabs_test): Likewise.
31696         (cacos_test): Likewise.
31697         (cacosh_test): Likewise.
31698         (carg_test): Likewise.
31699         (casin_test): Likewise.
31700         (casinh_test): Likewise.
31701         (catan_test): Likewise.
31702         (catanh_test): Likewise.
31703         (cbrt_test): Likewise.
31704         (ccos_test): Likewise.
31705         (ccosh_test): Likewise.
31706         (ceil_test): Likewise.
31707         (cexp_test): Likewise.
31708         (cimag_test): Likewise.
31709         (clog_test): Likewise.
31710         (clog10_test): Likewise.
31711         (conj_test): Likewise.
31712         (copysign_test): Likewise.
31713         (cos_test): Likewise.
31714         (cos_test_tonearest): Likewise.
31715         (cos_test_towardzero): Likewise.
31716         (cos_test_downward): Likewise.
31717         (cos_test_upward): Likewise.
31718         (cosh_test): Likewise.
31719         (cosh_test_tonearest): Likewise.
31720         (cosh_test_towardzero): Likewise.
31721         (cosh_test_downward): Likewise.
31722         (cosh_test_upward): Likewise.
31723         (cpow_test): Likewise.
31724         (cproj_test): Likewise.
31725         (creal_test): Likewise.
31726         (csin_test): Likewise.
31727         (csinh_test): Likewise.
31728         (csqrt_test): Likewise.
31729         (ctan_test): Likewise.
31730         (ctan_test_tonearest): Likewise.
31731         (ctan_test_towardzero): Likewise.
31732         (ctan_test_downward): Likewise.
31733         (ctan_test_upward): Likewise.
31734         (ctanh_test): Likewise.
31735         (ctanh_test_tonearest): Likewise.
31736         (ctanh_test_towardzero): Likewise.
31737         (ctanh_test_downward): Likewise.
31738         (ctanh_test_upward): Likewise.
31739         (erf_test): Likewise.
31740         (erfc_test): Likewise.
31741         (exp_test): Likewise.
31742         (exp_test_tonearest): Likewise.
31743         (exp_test_towardzero): Likewise.
31744         (exp_test_downward): Likewise.
31745         (exp_test_upward): Likewise.
31746         (exp10_test): Likewise.
31747         (exp10_test_tonearest): Likewise.
31748         (exp10_test_towardzero): Likewise.
31749         (exp10_test_downward): Likewise.
31750         (exp10_test_upward): Likewise.
31751         (pow10_test): Likewise.
31752         (exp2_test): Likewise.
31753         (expm1_test): Likewise.
31754         (expm1_test_tonearest): Likewise.
31755         (expm1_test_towardzero): Likewise.
31756         (expm1_test_downward): Likewise.
31757         (expm1_test_upward): Likewise.
31758         (fabs_test): Likewise.
31759         (fdim_test): Likewise.
31760         (floor_test): Likewise.
31761         (fma_test): Likewise.
31762         (fma_test_towardzero): Likewise.
31763         (fma_test_downward): Likewise.
31764         (fma_test_upward): Likewise.
31765         (fmax_test): Likewise.
31766         (fmin_test): Likewise.
31767         (fmod_test): Likewise.
31768         (fpclassify_test): Likewise.
31769         (frexp_test): Likewise.
31770         (hypot_test): Likewise.
31771         (ilogb_test): Likewise.
31772         (isfinite_test): Likewise.
31773         (finite_test): Likewise.
31774         (isgreater_test): Likewise.
31775         (isgreaterequal_test): Likewise.
31776         (isinf_test): Likewise.
31777         (isless_test): Likewise.
31778         (islessequal_test): Likewise.
31779         (islessgreater_test): Likewise.
31780         (isnan_test): Likewise.
31781         (isnormal_test): Likewise.
31782         (issignaling_test): Likewise.
31783         (isunordered_test): Likewise.
31784         (j0_test): Likewise.
31785         (j1_test): Likewise.
31786         (jn_test): Likewise.
31787         (ldexp_test): Likewise.
31788         (lgamma_test): Likewise.
31789         (gamma_test): Likewise.
31790         (lrint_test): Likewise.
31791         (lrint_test_tonearest): Likewise.
31792         (lrint_test_towardzero): Likewise.
31793         (lrint_test_downward): Likewise.
31794         (lrint_test_upward): Likewise.
31795         (llrint_test): Likewise.
31796         (llrint_test_tonearest): Likewise.
31797         (llrint_test_towardzero): Likewise.
31798         (llrint_test_downward): Likewise.
31799         (llrint_test_upward): Likewise.
31800         (log_test): Likewise.
31801         (log10_test): Likewise.
31802         (log1p_test): Likewise.
31803         (log2_test): Likewise.
31804         (logb_test): Likewise.
31805         (logb_test_downward): Likewise.
31806         (lround_test): Likewise.
31807         (llround_test): Likewise.
31808         (modf_test): Likewise.
31809         (nearbyint_test): Likewise.
31810         (nextafter_test): Likewise.
31811         (nexttoward_test): Likewise.
31812         (pow_test): Likewise.
31813         (pow_test_tonearest): Likewise.
31814         (pow_test_towardzero): Likewise.
31815         (pow_test_downward): Likewise.
31816         (pow_test_upward): Likewise.
31817         (remainder_test): Likewise.
31818         (drem_test): Likewise.
31819         (remainder_test_tonearest): Likewise.
31820         (drem_test_tonearest): Likewise.
31821         (remainder_test_towardzero): Likewise.
31822         (drem_test_towardzero): Likewise.
31823         (remainder_test_downward): Likewise.
31824         (drem_test_downward): Likewise.
31825         (remainder_test_upward): Likewise.
31826         (drem_test_upward): Likewise.
31827         (remquo_test): Likewise.
31828         (rint_test): Likewise.
31829         (rint_test_tonearest): Likewise.
31830         (rint_test_towardzero): Likewise.
31831         (rint_test_downward): Likewise.
31832         (rint_test_upward): Likewise.
31833         (round_test): Likewise.
31834         (scalb_test): Likewise.
31835         (scalbn_test): Likewise.
31836         (scalbln_test): Likewise.
31837         (signbit_test): Likewise.
31838         (sin_test): Likewise.
31839         (sin_test_tonearest): Likewise.
31840         (sin_test_towardzero): Likewise.
31841         (sin_test_downward): Likewise.
31842         (sin_test_upward): Likewise.
31843         (sincos_test): Likewise.
31844         (sinh_test): Likewise.
31845         (sinh_test_tonearest): Likewise.
31846         (sinh_test_towardzero): Likewise.
31847         (sinh_test_downward): Likewise.
31848         (sinh_test_upward): Likewise.
31849         (sqrt_test): Likewise.
31850         (sqrt_test_tonearest): Likewise.
31851         (sqrt_test_towardzero): Likewise.
31852         (sqrt_test_downward): Likewise.
31853         (sqrt_test_upward): Likewise.
31854         (tan_test): Likewise.
31855         (tan_test_tonearest): Likewise.
31856         (tan_test_towardzero): Likewise.
31857         (tan_test_downward): Likewise.
31858         (tan_test_upward): Likewise.
31859         (tanh_test): Likewise.
31860         (tgamma_test): Likewise.
31861         (trunc_test): Likewise.
31862         (y0_test): Likewise.
31863         (y1_test): Likewise.
31864         (yn_test): Likewise.
31865         (significand_test): Likewise.
31867         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31868         individual tests in comment.
31869         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31870         (prev_max_error): New variable.
31871         (prev_real_max_error): Likewise.
31872         (prev_imag_max_error): Likewise.
31873         (compare_ulp_data): Don't refer to test names in comment.
31874         (find_test_ulps): Remove function.
31875         (find_function_ulps): Likewise.
31876         (find_complex_function_ulps): Likewise.
31877         (init_max_error): Take function name as argument.  Look up ulps
31878         for that function.
31879         (print_ulps): Remove function.
31880         (print_max_error): Use prev_max_error instead of calling
31881         find_function_ulps.
31882         (print_complex_max_error): Use prev_real_max_error and
31883         prev_imag_max_error instead of calling find_complex_function_ulps.
31884         (check_float_internal): Take max_ulp parameter instead of calling
31885         find_test_ulps.  Don't call print_ulps.
31886         (check_float): Update call to check_float_internal.
31887         (check_complex): Update calls to check_float_internal.
31888         (START): Pass argument to init_max_error.
31889         * math/gen-libm-test.pl (%results): Don't include "kind"
31890         information.
31891         (parse_ulps): Don't handle ulps of individual tests.
31892         (print_ulps_file): Likewise.
31893         (output_ulps): Likewise.
31894         * math/README.libm-test: Update.
31895         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31896         individual tests.
31897         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31898         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31899         * sysdeps/arm/libm-test-ulps: Likewise.
31900         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31901         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31902         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31903         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31904         * sysdeps/microblaze/libm-test-ulps: Likewise.
31905         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31906         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31907         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31908         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31909         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31910         * sysdeps/sh/libm-test-ulps: Likewise.
31911         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31912         * sysdeps/tile/libm-test-ulps: Likewise.
31913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31915 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31917         * math/libm-test.inc (print_complex_max_error): Check separately
31918         whether real and imaginary errors are within allowed range and
31919         pass 0 to print_complex_function_ulps instead of value within
31920         allowed range.
31922 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31924         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31925         formatting.
31926         (get_handles_fopen): Likewise.
31927         (do_write_test): Likewise.
31929         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31931         * libio/fileops.c (do_ftell): Use cached offset when
31932         available.
31933         * libio/iofwide.c (do_ftell_wide): Likewise.
31934         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31935         _IO_file_attach.
31936         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31938         [BZ #16532]
31939         * libio/libioP.h (get_file_offset): New function.
31940         * libio/fileops.c (get_file_offset): Likewise.
31941         (do_ftell): Likewise.
31942         (_IO_new_file_seekoff): Split out ftell logic.
31943         * libio/wfileops.c (do_ftell_wide): Likewise.
31944         (_IO_wfile_seekoff): Split out ftell logic.
31945         * libio/tst-ftell-active-handler.c: New test case.
31946         * libio/Makefile (tests): Add it.
31948 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31950         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31951         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31953 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31955         [BZ #16639]
31956         * nscd/connections.c (nscd_init): Call do_exit.
31957         (start_threads): Call do_exit and notify_parent.
31958         (begin_drop_privileges): Call do_exit.
31959         (finish_drop_privileges): Likewise.
31960         * nscd/selinux.c (preserve_capabilities): Likewise.
31961         (install_real_capabilities): Likewise.
31962         (nscd_selinux_enabled): Likewise.
31963         (avc_create_thread): Likewise.
31964         (avc_alloc_lock): Likewise.
31965         (nscd_avc_init): Likewise.
31966         * nscd/nscd.c (parent_fd): New static variable.
31967         (main): Create a pipe between parent and child processes.
31968         Skip closing parent_fd.
31969         (monitor_child): New function.
31970         (do_exit): Likewise.
31971         (notify_parent): Likewise.
31972         * nscd/nscd.h (notify_parent): Likewise.
31973         (do_exit): Likewise.
31975 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31977         * malloc/malloc.c (__libc_calloc): Revert last change.
31979 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31983 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31985         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31987         implementation.
31988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31989         (__libc_ifunc_impl_list): Likewise.
31990         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31991         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31992         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31993         * string/strrchr.c: Define STRRCHR.
31995 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31997         * benchtest/bench-strtok.c (simple_strtok): Delete.
31998         (strtok_string): Use as benchmark.
31999         * string/strtok (STRTOK): New macro.
32001 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32003         * manual/threads.texi: Add header and standard comments to all
32004         functions.
32006         * elf/dl-lookup.c (check_match): New function.
32007         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32008         (do_lookup_x): Remove nested function check_match. Use non-nested
32009         function check_match.
32011 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32013         * csu/Makefile (generated, before-compile): Use += rather than =.
32014         * catgets/Makefile (generated, generated-dirs): Likewise.
32015         * debug/Makefile (generated): Likewise.
32016         * dlfcn/Makefile (generated): Likewise.
32017         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32018         * iconvdata/Makefile (before-compile, generated): Likewise.
32019         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32020         * libio/Makefile (generated): Likewise.
32021         * malloc/Makefile (generated): Likewise.
32022         * manual/Makefile (generated, generated-dirs): Likewise.
32023         * misc/Makefile (generated): Likewise.
32024         * posix/Makefile (generated): Likewise.
32025         * resolv/Makefile (generated): Likewise.
32026         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32027         * timezone/Makefile (generated, generated-dirs): Likewise.
32029         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32031 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32034         power8 implementation.
32035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32036         file: POWER8 llround ifunc implementation.
32037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32038         (__lllround): Add POWER8 implementation.
32039         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32040         POWER8 llround implementation.
32042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32043         power8 implementation.
32044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32045         file: POWER8 llrint ifunc implementation.
32046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32047         Add POWER8 implementation.
32048         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32049         POWER8 llrint implementation.
32051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32052         power8 implementation.
32053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32054         file: POWER8 finite ifunc implementation.
32055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32056         Add POWER8 implementation.
32057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32058         Likewise.
32059         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32060         POWER8 finite implementation.
32061         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32064         power8 implementation.
32065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32066         file: POWER8 isinf ifunc implementation.
32067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32068         POWER8 implementation.
32069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32070         Likewise.
32071         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32072         isinf implementation.
32073         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32075         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32076         (INIT_ARCH): Add hwcap2 initialization.
32077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32078         power8 implementation.
32079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32080         file: POWER8 isnan ifunc implementation.
32081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32082         POWER8 implementation.
32083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32084         Likewise.
32085         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32086         isnan implementation.
32087         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32089 2014-02-27  Joey Ye  <joey.ye@arm.com>
32091         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32092         (_FP_NANFRAC_Q): Set to zero.
32094 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32096         [BZ #16623]
32097         * math/auto-libm-test-in: New test inputs.
32098         * math/auto-libm-test-out: Regenerate.
32099         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32100         and DA.
32101         (__cos): Likewise.
32102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32104 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32106         * scripts/evaluate-test.sh: Take new argument indicating whether
32107         failure is expected.
32108         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32109         indicating whether failure is expected.
32110         * conform/Makefile (test-xfail-run-conformtest): New variable.
32111         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32112         level.
32113         * posix/Makefile (test-xfail-annexc): New variable.
32114         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32116 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32118         * argp/Makefile: Include Makeconfig immediately after defining
32119         subdir.
32120         * assert/Makefile: Likewise.
32121         * benchtests/Makefile: Likewise.
32122         * catgets/Makefile: Likewise.
32123         * conform/Makefile: Likewise.
32124         * crypt/Makefile: Likewise.
32125         * csu/Makefile: Likewise.
32126         (all): Remove target.
32127         * ctype/Makefile: Include Makeconfig immediately after defining
32128         subdir.
32129         * debug/Makefile: Likewise.
32130         * dirent/Makefile: Likewise.
32131         * dlfcn/Makefile: Likewise.
32132         * gmon/Makefile: Likewise.
32133         * gnulib/Makefile: Likewise.
32134         * grp/Makefile: Likewise.
32135         * gshadow/Makefile: Likewise.
32136         * hesiod/Makefile: Likewise.
32137         * hurd/Makefile: Likewise.
32138         (all): Remove target.
32139         * iconvdata/Makefile: Include Makeconfig immediately after
32140         defining subdir.
32141         * inet/Makefile: Likewise.
32142         * intl/Makefile: Likewise.
32143         * io/Makefile: Likewise.
32144         * libio/Makefile: Likewise.
32145         (all): Remove target.
32146         * locale/Makefile: Include Makeconfig immediately after defining
32147         subdir.
32148         * login/Makefile: Likewise.
32149         * mach/Makefile: Likewise.
32150         (all): Remove target.
32151         * malloc/Makefile: Include Makeconfig immediately after defining
32152         subdir.
32153         (all): Remove target.
32154         * manual/Makefile: Include Makeconfig immediately after defining
32155         subdir.
32156         * math/Makefile: Likewise.
32157         * misc/Makefile: Likewise.
32158         * nis/Makefile: Likewise.
32159         * nss/Makefile: Likewise.
32160         * po/Makefile: Likewise.
32161         (all): Remove target.
32162         * posix/Makefile: Include Makeconfig immediately after defining
32163         subdir.
32164         * pwd/Makefile: Likewise.
32165         * resolv/Makefile: Likewise.
32166         * resource/Makefile: Likewise.
32167         * rt/Makefile: Likewise.
32168         * setjmp/Makefile: Likewise.
32169         * shadow/Makefile: Likewise.
32170         * signal/Makefile: Likewise.
32171         * socket/Makefile: Likewise.
32172         * soft-fp/Makefile: Likewise.
32173         * stdio-common/Makefile: Likewise.
32174         * stdlib/Makefile: Likewise.
32175         * streams/Makefile: Likewise.
32176         * string/Makefile: Likewise.
32177         * sunrpc/Makefile: Likewise.
32178         (all): Remove target.
32179         * sysvipc/Makefile: Include Makeconfig immediately after defining
32180         subdir.
32181         * termios/Makefile: Likewise.
32182         * time/Makefile: Likewise.
32183         * timezone/Makefile: Likewise.
32184         (all): Remove target.
32185         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32186         subdir.
32187         * wctype/Makefile: Likewise.
32189 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32191         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32192         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32193         (libc_feholdexcept_setround_mips): Ditto.
32194         (libc_feholdsetround): New.
32195         (libc_feholdsetroundf): New.
32196         (libc_feholdsetroundl): New.
32197         (libc_feupdateenv_test_mips): New.
32198         (libc_feupdateenv_test): New.
32199         (libc_feupdateenv_testf): New.
32200         (libc_feupdateenv_testl): New.
32201         (libc_feresetround): New.
32202         (libc_feresetroundf): New.
32203         (libc_feresetroundl): New.
32204         (libc_fetestexcept_mips): New.
32205         (libc_fetestexcept): New.
32206         (libc_fetestexceptf): New.
32207         (libc_fetestexceptl): New.
32208         (HAVE_RM_CTX): New.
32209         (libc_feholdexcept_setround_mips_ctx): New.
32210         (libc_feholdexcept_setround_ctx): New.
32211         (libc_feholdexcept_setroundf_ctx): New.
32212         (libc_feholdexcept_setroundl_ctx): New.
32213         (libc_fesetenv_mips_ctx): New.
32214         (libc_fesetenv_ctx): New.
32215         (libc_fesetenv_ctxf): New.
32216         (libc_fesetenv_ctxl): New.
32217         (libc_feupdateenv_mips_ctx): New.
32218         (libc_feupdateenv_ctx): New.
32219         (libc_feupdateenvf_ctx): New.
32220         (libc_feupdateenvl_ctx): New.
32221         (libc_feholdsetround_mips_ctx): New.
32222         (libc_feholdsetround_ctx): New.
32223         (libc_feholdsetroundf_ctx): New.
32224         (libc_feholdsetroundl_ctx): New.
32225         (libc_feresetround_mips_ctx): New.
32226         (libc_feresetround_ctx): New.
32227         (libc_feresetroundf_ctx): New.
32228         (libc_feresetroundl_ctx): New.
32230 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
32232         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32234         * manual/ipc.texi: New file.
32235         * manual/Makefile (chapters): Add ipc.
32236         * manual/job.texi: Add "Inter-Process Communication" to next.
32237         * manual/process.texi: Add "Inter-Process Communication" to prev.
32239 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32243 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
32245         * malloc/malloc.c (__libc_calloc): Simplify implementation.
32247         * manual/arith.texi: Fix spaces after sentences.
32248         * manual/charset.texi: Likewise.
32249         * manual/errno.texi: Likewise.
32250         * manual/install.texi: Likewise.
32251         * manual/llio.texi: Likewise.
32252         * manual/locale.texi: Likewise.
32253         * manual/maint.texi: Likewise.
32254         * manual/math.texi: Likewise.
32255         * manual/memory.texi: Likewise.
32256         * manual/message.texi: Likewise.
32257         * manual/probes.texi: Likewise.
32258         * manual/resource.texi: Likewise.
32259         * manual/signal.texi: Likewise.
32260         * manual/socket.texi: Likewise.
32261         * manual/stdio.texi: Likewise.
32262         * manual/string.texi: Likewise.
32263         * manual/time.texi: Likewise.
32264         * manual/users.texi: Likewise.
32266 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
32268         [BZ #16632]
32269         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32270         _DEFAULT_SOURCE is defined.
32272 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
32273             Carlos O'Donell  <carlos@redhat.com>
32275         [BZ #16613]
32276         * elf/dl-tls.c (_dl_count_modids): New function.
32277         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32278         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32279         audit library and increment generation counter.
32280         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32281         * elf/tst-audit9.c: New file.
32282         * elf/tst-auditmod9a.c: New file.
32283         * elf/tst-auditmod9b.c: New file.
32284         * elf/Makefile: Add rules to build and run tst-audit9.
32286 2014-02-25  Florian Weimer  <fweimer@redhat.com>
32288         [BZ #15347]
32289         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32291 2014-02-25  Will Newton  <will.newton@linaro.org>
32293         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32294         (__longjmp): Restore sp and lr before restoring callee
32295         saved registers.  Add longjmp and longjmp_target
32296         SystemTap probe point.
32297         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32298         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32299         Define to zero to match jmpbuf layout.
32300         * sysdeps/arm/setjmp.S: Include stap-probe.h.
32301         (__sigsetjmp): Save sp and lr before saving callee
32302         saved registers.  Add setjmp SystemTap probe point.
32304 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32306         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32308 2014-02-24  Andreas Schwab  <schwab@suse.de>
32310         [BZ #15804]
32311         * elf/pldd.c (wait_for_ptrace_stop): New function.
32312         (main): Call it after attaching.
32314 2014-02-22  Roland McGrath  <roland@hack.frob.com>
32316         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32317         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32318         Versions files is now verboten.
32319         * hurd/Versions (libc: GLIBC_2.0):
32320         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32321         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32322         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32323         * mach/Versions: Likewise.
32325         * csu/Versions: Remove unused %include.
32326         * resolv/Versions: Likewise.
32328 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
32330         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32331         ($(objpfx)check-local-headers.out): Likewise.
32332         ($(objpfx)begin-end-check.out): Likewise.
32333         * Makerules (check-abi-%.out): Likewise.
32334         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32335         ($(objpfx)test2.cat): Likewise.
32336         ($(objpfx)de/libc.cat): Likewise.
32337         ($(objpfx)test-gencat.out): Likewise.
32338         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32339         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32340         ($(objpfx)noload-mem): Likewise.
32341         ($(objpfx)tst-pathopt.out): Likewise.
32342         ($(objpfx)tst-rtld-load-self.out): Likewise.
32343         ($(objpfx)tst-array1-cmp.out): Likewise.
32344         ($(objpfx)tst-array1-static-cmp.out): Likewise.
32345         ($(objpfx)tst-array2-cmp.out): Likewise.
32346         ($(objpfx)tst-array3-cmp.out): Likewise.
32347         ($(objpfx)tst-array4-cmp.out): Likewise.
32348         ($(objpfx)tst-array5-cmp.out): Likewise.
32349         ($(objpfx)tst-array5-static-cmp.out): Likewise.
32350         ($(objpfx)check-textrel.out): Likewise.
32351         ($(objpfx)check-execstack.out): Likewise.
32352         ($(objpfx)check-localplt.out): Likewise.
32353         ($(objpfx)order2-cmp.out): Likewise.
32354         ($(objpfx)tst-leaks1-mem): Likewise.
32355         ($(objpfx)tst-leaks1-static-mem): Likewise.
32356         ($(objpfx)tst-initorder-cmp.out): Likewise.
32357         ($(objpfx)tst-initorder2-cmp.out): Likewise.
32358         ($(objpfx)tst-unused-dep.out): Likewise.
32359         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32360         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32361         * iconv/Makefile (test-iconvconfig): Likewise.
32362         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32363         ($(objpfx)iconv-test.out): Likewise.
32364         ($(objpfx)tst-tables.out): Likewise.
32365         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32366         ($(objpfx)tst-gettext.out): Likewise.
32367         ($(objpfx)tst-translit.out): Likewise.
32368         ($(objpfx)tst-gettext2.out): Likewise.
32369         ($(objpfx)tst-gettext4.out): Likewise.
32370         ($(objpfx)tst-gettext6.out): Likewise.
32371         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32372         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32373         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32374         ($(objpfx)tst-fopenloc-mem.out): Likewise.
32375         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32376         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32377         * posix/Makefile ($(objpfx)globtest.out): Likewise.
32378         ($(objpfx)wordexp-tst.out): Likewise.
32379         ($(objpfx)annexc.out): Likewise.
32380         ($(objpfx)tst-fnmatch-mem): Likewise.
32381         ($(objpfx)bug-regex2-mem): Likewise.
32382         ($(objpfx)bug-regex14-mem): Likewise.
32383         ($(objpfx)bug-regex21-mem): Likewise.
32384         ($(objpfx)bug-regex31-mem): Likewise.
32385         ($(objpfx)tst-vfork3-mem): Likewise.
32386         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32387         ($(objpfx)tst-pcre-mem): Likewise.
32388         ($(objpfx)tst-boost-mem): Likewise.
32389         ($(objpfx)tst-getconf.out): Likewise.
32390         ($(objpfx)bug-ga2-mem): Likewise.
32391         ($(objpfx)bug-glob2-mem): Likewise.
32392         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32393         ($(objpfx)mtrace-tst-leaks2): Likewise.
32394         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32395         ($(objpfx)tst-printf.out): Likewise.
32396         ($(objpfx)tst-setvbuf1.out): Likewise.
32397         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32398         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32399         ($(objpfx)tst-fmtmsg.out): Likewise.
32400         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32401         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32403         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32404         * bits/sigaction.h [__USE_MISC]: Likewise.
32405         * bits/waitstatus.h: Update #endif comments.
32406         * ctype/ctype.h: Likewise.
32407         * dirent/dirent.h: Likewise.
32408         [__USE_MISC]: Remove redundant conditionals.
32409         * grp/grp.h: Update #endif comments.
32410         [__USE_GNU]: Remove redundant conditionals.
32411         [__USE_MISC]: Likewise.
32412         * inet/netinet/in.h [__USE_GNU]: Likewise.
32413         * io/sys/stat.h [__USE_MISC]: Likewise.
32414         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32415         * libio/bits/stdio.h: Update #endif comments.
32416         [__USE_MISC]: Remove redundant conditionals.
32417         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32418         * libio/stdio.h: Update #endif comments.
32419         [__USE_MISC]: Remove redundant conditionals.
32420         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32421         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32422         * math/math.h: Update #else and #endif comments.
32423         [__USE_MISC]: Remove redundant conditionals.
32424         * misc/sys/uio.h: Update #endif comments.
32425         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32426         * posix/glob.h [__USE_MISC]: Likewise.
32427         * posix/sys/types.h: Update #endif comments.
32428         [__USE_MISC]: Remove redundant conditionals.
32429         * posix/sys/wait.h: Update #endif comments.
32430         [__USE_MISC]: Remove redundant conditionals.
32431         * posix/unistd.h: Update #endif comments.
32432         [__USE_MISC]: Remove redundant conditionals.
32433         * pwd/pwd.h [__USE_GNU]: Likewise.
32434         [__USE_MISC]: Likewise.
32435         * resolv/netdb.h [__USE_GNU]: Likewise.
32436         * signal/signal.h: Update #endif comments.
32437         [__USE_MISC]: Remove redundant conditionals.
32438         * stdlib/stdlib.h: Update #else and #endif comments.
32439         [__USE_MISC]: Remove redundant conditionals.
32440         [__USE_GNU]: Likewise.
32441         * string/bits/string2.h [__USE_MISC]: Likewise.
32442         * string/string.h: Update #endif comments.
32443         [__USE_MISC]: Remove redundant conditionals.
32444         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32445         Likewise.
32446         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32447         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32448         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32449         Likewise.
32450         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32451         Likewise.
32452         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32453         comments.
32454         [__USE_MISC]: Remove redundant conditionals.
32455         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32456         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32457         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32458         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32459         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32460         Likewise.
32461         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32462         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32463         Likewise.
32464         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32465         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32466         Likewise.
32467         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32468         Likewise.
32469         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32470         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32471         Likewise.
32472         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32473         Likewise.
32474         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32475         * sysdeps/x86/bits/string.h: Update #endif comments.
32476         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32477         conditionals.
32478         * time/sys/time.h: Update #endif comments.
32479         * time/time.h: Likewise.
32480         [__USE_MISC]: Remove redundant conditionals.
32482 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32484         [BZ #16600]
32485         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32487 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32489         * Versions.def (librt): Add GLIBC_2.17.
32491 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32493         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32494         synonym for _SYS_AUXV_H to allow direct inclusion.
32495         * sysdeps/sparc/bits/hwcap.h: Likewise.
32496         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32497         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32498         * sysdeps/sparc/sysdep.h: Likewise.
32500 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32502         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32504 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32506         * benchtests/bench-strrchr.c: Print length instead of position.
32508 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32510         [BZ #16611]
32511         * sysdeps/unix/sysv/linux/kernel-features.h
32512         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32513         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32514         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32515         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32516         Likewise.
32517         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32518         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32519         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32520         (__ASSUME_SENDMMSG): Define instead of using previous
32521         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32522         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32523         (__ASSUME_SENDMMSG_SYSCALL): Define.
32524         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32525         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32526         Likewise.
32527         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32528         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32529         Likewise.
32530         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32531         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32532         Likewise.
32533         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32534         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32535         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32536         [__ASSUME_SENDMMSG]: Change conditionals to
32537         [__ASSUME_SENDMMSG_SOCKETCALL].
32538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32539         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32540         Define.
32541         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32542         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32543         Likewise.
32544         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32545         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32546         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32547         [!__ASSUME_SENDMMSG]: Change conditional to
32548         [!__ASSUME_SENDMMSG_SOCKETCALL].
32549         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32550         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32551         Define.
32553         [BZ #16610]
32554         * sysdeps/unix/sysv/linux/kernel-features.h
32555         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32556         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32557         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32558         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32559         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32560         [__i386__ || __sparc__]
32561         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32562         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32563         (__ASSUME_RECVMMSG): Define instead of using previous
32564         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32565         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32566         (__ASSUME_RECVMMSG_SYSCALL): Define.
32567         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32568         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32569         Likewise.
32570         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32571         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32572         Likewise.
32573         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32574         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32575         Likewise.
32576         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32577         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32578         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32579         [__ASSUME_RECVMMSG]: Change condition to
32580         [__ASSUME_RECVMMSG_SOCKETCALL].
32581         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32582         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32583         Define.
32584         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32585         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32586         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32587         Likewise.
32588         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32589         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32590         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32591         [!__ASSUME_RECVMMSG]: Change condition to
32592         [!__ASSUME_RECVMMSG_SOCKETCALL].
32593         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32594         (__ASSUME_RECVMMSG_SYSCALL): Define.
32596         [BZ #16609]
32597         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32598         __powerpc__ || __s390__ || __sh__ || __sparc__]
32599         (__ASSUME_SOCKETCALL): Define.
32600         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32601         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32602         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32603         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32604         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32605         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32606         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32607         (__ASSUME_ACCEPT4): Define instead of using previous
32608         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32609         __powerpc__ || __sparc__ || __s390__)] condition.
32610         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32611         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32612         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32613         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32614         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32615         [!__ASSUME_ACCEPT4]: Change condition to
32616         [!__ASSUME_ACCEPT4_SOCKETCALL].
32617         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32618         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32619         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32620         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32621         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32622         __ASSUME_ACCEPT4_SYSCALL.
32623         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32624         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32625         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32626         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32627         __ASSUME_ACCEPT4_SYSCALL.
32628         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32629         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32630         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32631         [__ASSUME_ACCEPT4]: Change condition to
32632         [__ASSUME_ACCEPT4_SOCKETCALL].
32633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32634         (__ASSUME_SOCKETCALL): Define.
32635         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32636         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32637         (__ASSUME_SOCKETCALL): Define.
32638         (__ASSUME_ACCEPT4): Remove.
32639         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32640         Define.
32641         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32642         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32643         Likewise.
32644         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32645         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32647         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32648         macro.
32649         (HWCAP_ARM_LPAE): Likewise.
32650         (HWCAP_ARM_EVTSTRM): Likewise.
32651         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32652         Add vpfd32, lpae and evtstrm.
32653         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32654         Increase to 22.
32656 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32658         * math/auto-libm-test-in: Add tests of clog10.
32659         * math/auto-libm-test-out: Regenerated.
32660         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32661         * sysdeps/i386/fpu/libm-test-ulps: Update.
32662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32664 2014-02-18  Andreas Schwab  <schwab@suse.de>
32666         [BZ #16574]
32667         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32668         Store non-zero if the second buffer was newly allocated.
32669         (send_dg): Likewise.
32670         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32671         to send_vc and send_dg.
32672         (res_nsend): Pass NULL for ansp2_malloced.
32673         * resolv/res_query.c (__libc_res_nquery): Add parameter
32674         answerp2_malloced and pass it down to __libc_res_nsend.
32675         (res_nquery): Pass additional NULL to __libc_res_nquery.
32676         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32677         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32678         second answer buffer if answerp2_malloced was set.
32679         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32680         (__libc_res_nquerydomain): Add parameter
32681         answerp2_malloced and pass it down to __libc_res_nquery.
32682         (res_nquerydomain): Pass additional NULL to
32683         __libc_res_nquerydomain.
32684         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32685         additional NULL to __libc_res_nsend and __libc_res_nquery.
32686         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32687         additional NULL to __libc_res_nsearch.
32688         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32689         parameter of __libc_res_nsearch to check for separately allocated
32690         second buffer.
32691         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32692         __libc_res_nquery.
32693         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32694         additional NULL to __libc_res_nquery.
32695         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32696         __libc_res_nsearch.
32697         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32698         * include/resolv.h: Update prototypes of __libc_res_nquery,
32699         __libc_res_nsearch, __libc_res_nsend.
32701 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32703         * math/auto-libm-test-in: Add tests of fma.
32704         * math/auto-libm-test-out: Regenerated.
32705         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32706         (fma_towardzero_test_data): Likewise.
32707         (fma_downward_test_data): Likewise.
32708         (fma_upward_test_data): Likewise.
32709         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32710         mpc_mode.
32711         (rounding_modes): Add values for new field.
32712         (func_calc_method): Add value mpfr_fff_f.
32713         (func_calc_desc): Add mpfr_fff_f union field.
32714         (test_function): Add field exact_args.
32715         (FUNC): Add macro argument EXACT_ARGS.
32716         (FUNC_mpfr_f_f): Update call to FUNC.
32717         (FUNC_mpfr_f_f): Likewise.
32718         (FUNC_mpfr_ff_f): Likewise.
32719         (FUNC_mpfr_if_f): Likewise.
32720         (FUNC_mpc_c_f): Likewise.
32721         (FUNC_mpc_c_c): Likewise.
32722         (test_functions): Add fma.  Update calls to FUNC.
32723         (handle_input_arg): Add argument exact_args.
32724         (add_test): Update call to handle_input_arg.
32725         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32726         (output_for_one_input_case): Update call to calc_generic_results.
32727         Recalculate exact zero results in each rounding mode.
32729         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32730         non-negative before setting low bit.
32731         * math/auto-libm-test-in: Mark one asin test possibly having
32732         spurious underflow.
32733         * math/auto-libm-test-out: Regenerated.
32734         * sysdeps/i386/fpu/libm-test-ulps: Update.
32735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32737 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32739         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32740         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32741         ports/sysdeps/unix/sysv/linux/microblaze.
32742         * README: Add missing listing for microblaze*-*-linux-gnu.
32744 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32747         duplicate code
32749 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32751         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32752         * sysdeps/unix/sysv/linux/ia64: Move directory from
32753         ports/sysdeps/unix/sysv/linux/ia64.
32754         * README: Update listing for ia64-*-linux-gnu.
32756 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32757             Joseph Myers  <joseph@codesourcery.com>
32759         * Makeconfig (test-name): New variable.
32760         (evaluate-test): Likewise.
32761         * Makerules (do-test-clean): Remove .test-result files.
32762         (common-mostlyclean): Likewise.
32763         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32764         * scripts/evaluate-test.sh: New file.
32766 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32768         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32769         separate $(objpfx)tst-fopenloc-cmp.out and
32770         $(objpfx)tst-fopenloc-mem.out targets.
32771         (tests): Update dependencies.
32772         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32773         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32774         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32775         (tst-rxspencer-no-utf8-ARGS): New variable.
32776         (tst-rxspencer-no-utf8-ENV): Likewise.
32777         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32778         instead of $(objpfx)tst-rxspencer-mem.
32779         ($(objpfx)tst-rxspencer-mem): Change target to
32780         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32781         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32782         * posix/tst-rxspencer-no-utf8.c: New file.
32784         * elf/Makefile ($(objpfx)order.out): Remove rule.
32785         [$(run-built-tests) = yes] (tests): Depend on
32786         $(objpfx)order-cmp.out.
32787         ($(objpfx)order-cmp.out): New rule.
32788         [$(run-built-tests) = yes] (tests): Depend on
32789         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32790         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32791         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32792         $(objpfx)tst-array5-static-cmp.out.
32793         ($(objpfx)tst-array1.out): Remove rule.
32794         ($(objpfx)tst-array1-cmp.out): New rule.
32795         ($(objpfx)tst-array1-static.out): Remove rule.
32796         ($(objpfx)tst-array1-static-cmp.out): New rule.
32797         ($(objpfx)tst-array2.out): Remove rule.
32798         ($(objpfx)tst-array2-cmp.out): New rule.
32799         ($(objpfx)tst-array3.out): Remove rule.
32800         ($(objpfx)tst-array3-cmp.out): New rule.
32801         ($(objpfx)tst-array4.out): Remove rule.
32802         ($(objpfx)tst-array4-cmp.out): New rule.
32803         ($(objpfx)tst-array5.out): Remove rule.
32804         ($(objpfx)tst-array5-cmp.out): New rule.
32805         ($(objpfx)tst-array5-static.out): Remove rule.
32806         ($(objpfx)tst-array5-static-cmp.out): New rule.
32807         [$(run-built-tests) = yes] (tests): Depend on
32808         $(objpfx)order2-cmp.out.
32809         ($(objpfx)order2.out): Remove rule.
32810         ($(objpfx)order2-cmp.out): New rule.
32811         ($(objpfx)tst-initorder.out): Remove rule.
32812         [$(run-built-tests) = yes] (tests): Depend on
32813         $(objpfx)tst-initorder-cmp.out.
32814         ($(objpfx)tst-initorder-cmp.out): New rule.
32815         ($(objpfx)tst-initorder2.out): Remove rule.
32816         [$(run-built-tests) = yes] (tests): Depend on
32817         $(objpfx)tst-initorder2-cmp.out.
32818         ($(objpfx)tst-initorder2-cmp.out): New rule.
32819         [$(run-built-tests) = yes] (tests): Depend on
32820         $(objpfx)tst-unused-dep-cmp.out.
32821         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32822         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32823         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32824         on $(objpfx)tst-setvbuf1-cmp.out.
32825         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32826         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32827         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32828         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32829         ($(objpfx)tst-svc.out): Remove rule.
32830         ($(objpfx)tst-svc-cmp.out): New rule.
32832 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32834         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32835         * ctype/ctype.h [__USE_MISC]: Likewise.
32836         * dirent/dirent.h [__USE_MISC]: Likewise.
32837         * grp/grp.h [__USE_MISC]: Likewise.
32838         * io/fcntl.h [__USE_MISC]: Likewise.
32839         * io/sys/stat.h [__USE_MISC]: Likewise.
32840         * libio/stdio.h [__USE_MISC]: Likewise.
32841         * posix/unistd.h [__USE_MISC]: Likewise.
32842         * pwd/pwd.h [__USE_MISC]: Likewise.
32843         * stdlib.h [__USE_MISC]: Likewise.
32844         * string/bits/string2.h [__USE_MISC]: Likewise.
32845         * string/string.h [__USE_MISC]: Likewise.
32846         * time/time.h [__USE_MISC]: Likewise.
32848 2014-02-13  Andreas Schwab  <schwab@suse.de>
32850         [BZ #16574]
32851         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32852         second answer buffer if it was separately allocated.
32854 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32856         * sysdeps/mips/math-tests.h: Include <features.h>.
32857         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32858         (ROUNDING_TESTS_long_double): Do not define.
32859         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32860         (EXCEPTION_TESTS_long_double): Likewise.
32861         * sysdeps/mips/mips64/libm-test-ulps: Update.
32863         * include/features.h (__USE_BSD): Remove macro definitions.
32864         (__USE_SVID): Likewise.
32865         (_BSD_SOURCE): Likewise.
32866         (_SVID_SOURCE): Likewise.
32867         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32868         from definition of _DEFAULT_SOURCE.
32869         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32870         [_DEFAULT_SOURCE].
32871         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32872         * bits/mman.h [__USE_BSD]: Likewise.
32873         * bits/termios.h [__USE_BSD]: Likewise.
32874         * bits/waitstatus.h [__USE_BSD]: Likewise.
32875         * ctype/ctype.h [__USE_SVID]: Likewise.
32876         * dirent/dirent.h [__USE_BSD]: Likewise.
32877         * grp/grp.h [__USE_SVID]: Likewise.
32878         [__USE_BSD]: Likewise.
32879         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32880         * io/fcntl.h [__USE_BSD]: Likewise.
32881         * io/ftw.h [__USE_BSD]: Likewise.
32882         * io/sys/stat.h [__USE_BSD]: Likewise.
32883         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32884         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32885         * libio/stdio.h [__USE_SVID]: Likewise.
32886         [__USE_BSD]: Likewise.
32887         * math/math.h [__USE_SVID]: Likewise.
32888         [__USE_BSD]: Likewise.
32889         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32890         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32891         * misc/search.h [__USE_SVID]: Likewise.
32892         * misc/sys/mman.h [__USE_BSD]: Likewise.
32893         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32894         * misc/sys/uio.h [__USE_BSD]: Likewise.
32895         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32896         * posix/glob.h [__USE_BSD]: Likewise.
32897         * posix/regex.h [__USE_BSD]: Likewise.
32898         * posix/sys/types.h [__USE_BSD]: Likewise.
32899         [__USE_SVID]: Likewise.
32900         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32901         * posix/sys/wait.h [__USE_BSD]: Likewise.
32902         [__USE_SVID]: Likewise.
32903         * posix/unistd.h [__USE_BSD]: Likewise.
32904         [__USE_SVID]: Likewise.
32905         * pwd/pwd.h [__USE_SVID]: Likewise.
32906         * resolv/netdb.h [__USE_BSD]: Likewise.
32907         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32908         * signal/signal.h [__USE_BSD]: Likewise.
32909         [__USE_SVID]: Likewise.
32910         * socket/sys/socket.h [__USE_BSD]: Likewise.
32911         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32912         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32913         [__USE_SVID]: Likewise.
32914         * string/bits/string2.h [__USE_BSD]: Likewise.
32915         [__USE_SVID]: Likewise.
32916         * string/bits/string3.h [__USE_BSD]: Likewise.
32917         * string/endian.h [__USE_BSD]: Likewise.
32918         * string/string.h [__USE_SVID]: Likewise.
32919         [__USE_BSD]: Likewise.
32920         * string/strings.h [__USE_BSD]: Likewise.
32921         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32922         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32923         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32924         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32925         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32926         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32927         Likewise.
32928         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32929         Likewise.
32930         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32931         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32932         Likewise.
32933         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32934         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32935         Likewise.
32936         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32937         Likewise.
32938         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32939         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32940         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32941         Likewise.
32942         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32943         Likewise.
32944         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32945         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32946         * termios/termios.h [__USE_BSD]: Likewise.
32947         * time/sys/time.h [__USE_BSD]: Likewise.
32948         * time/time.h [__USE_BSD]: Likewise.
32949         [__USE_SVID]: Likewise.
32951         * Makefile (subdir_targets): Remove subdir_lint.out.
32953         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32954         (do-tst-printf): Likewise.
32955         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32956         $(objpfx)tst-printf.out.
32958         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32960         * Makerules (check-abi-%): Change target to
32961         $(objpfx)check-abi-%.out.
32962         (check-abi target): Update dependencies.
32963         (check-abi-pattern variable): Redirect output of diff to $@.
32964         (check-abi variable): Likewise.
32965         * elf/Makefile (check-abi): Update dependencies.
32967         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32968         unused.
32969         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32970         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32971         subnormal range.
32972         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32973         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32974         value has largest subnormal exponent.
32975         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32976         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32977         * sysdeps/aarch64/soft-fp/sfp-machine.h
32978         (_FP_TININESS_AFTER_ROUNDING): New macro.
32979         * sysdeps/alpha/soft-fp/sfp-machine.h
32980         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32981         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32982         Likewise.
32983         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32984         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32985         * sysdeps/mips/soft-fp/sfp-machine.h
32986         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32987         * sysdeps/powerpc/soft-fp/sfp-machine.h
32988         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32989         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32990         Likewise.
32991         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32992         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32993         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32994         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32995         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32996         Likewise.
32998 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33000         [BZ #16545]
33001         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33002         model 1.
33004 2014-02-12  Richard Henderson  <rth@redhat.com>
33006         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33007         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33008         * sysdeps/unix/sysv/linux/alpha: Move directory from
33009         ports/sysdeps/unix/sysv/linux/alpha.
33010         * README: Update listing for alpha-*-linux-gnu.
33012 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33014         * include/features.h: Update comment documenting feature test
33015         macros.
33016         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33017         _DEFAULT_SOURCE.
33018         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33019         (_SVID_SOURCE): Likewise.
33020         (_DEFAULT_SOURCE): Update description of default features.
33021         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33022         with _GNU_SOURCE.
33023         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33024         (S_ISVTX): Likewise.
33025         * manual/math.texi (Mathematical Constants): Likewise.
33026         * manual/signal.texi (Interrupted Primitives): Likewise.
33027         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33028         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33029         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33030         Don't refer to _SVID_SOURCE in warning text.
33032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33034         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33035         already defined.
33036         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33037         * sysdeps/mips/dl-lookup.c: Remove.
33038         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33040 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33042         [BZ #16447]
33043         * math/auto-libm-test-in: Add testcase for expl.
33044         * math/auto-libm-test-out: Regenerate.
33045         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33046         calculation of unsafe.
33047         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33049 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33051         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33052         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33053         ports/sysdeps/unix/sysv/linux/aarch64.
33054         * README: Update listing for aarch64*-*-linux-gnu.
33056 2014-02-11  Will Newton  <will.newton@linaro.org>
33058         * manual/probes.texi (Mathematical Function Probes): Use
33059         "triggered" instead of "hit".
33061         * manual/probes.texi (Internal Probes): Add documentation
33062         of setjmp, longjmp and longjmp_target probes.
33064         * include/stap-probe.h: Add comment about probe argument
33065         format.
33067         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33068         definition.  (tr_where, tr_freehook, tr_mallochook,
33069         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33071 2014-02-11  David S. Miller  <davem@davemloft.net>
33073         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33074         processing int_tests.
33076 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33078         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33079         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33080         * sysdeps/unix/sysv/linux/mips: Move directory from
33081         ports/sysdeps/unix/sysv/linux/mips.
33082         * README: Update listing for mips-*-linux-gnu and
33083         mips64-*-linux-gnu.
33085 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33087         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33088         * sysdeps/unix/sysv/linux/m68k: Move directory from
33089         ports/sysdeps/unix/sysv/linux/m68k.
33090         * README: Update listing for m68k-*-linux-gnu.
33092 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33094         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33095         * sysdeps/unix/sysv/linux/generic: Move directory from
33096         ports/sysdeps/unix/sysv/linux/generic.
33097         * sysdeps/unix/sysv/linux/tile: Move directory from
33098         ports/sysdeps/unix/sysv/linux/tile.
33099         * README: Update listing for tile*-*-linux-gnu.
33101 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33103         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33104         __builtin_expect.
33105         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33106         * catgets/open_catalog.c (__open_catalog): Likewise.
33107         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33108         * debug/confstr_chk.c: Likewise.
33109         * debug/fread_chk.c (__fread_chk): Likewise.
33110         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33111         * debug/getgroups_chk.c: Likewise.
33112         * debug/mbsnrtowcs_chk.c: Likewise.
33113         * debug/mbsrtowcs_chk.c: Likewise.
33114         * debug/mbstowcs_chk.c: Likewise.
33115         * debug/memcpy_chk.c: Likewise.
33116         * debug/memmove_chk.c: Likewise.
33117         * debug/mempcpy_chk.c: Likewise.
33118         * debug/memset_chk.c: Likewise.
33119         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33120         * debug/strcat_chk.c (__strcat_chk): Likewise.
33121         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33122         * debug/strncat_chk.c (__strncat_chk): Likewise.
33123         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33124         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33125         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33126         * debug/wcpncpy_chk.c: Likewise.
33127         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33128         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33129         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33130         * debug/wcsncpy_chk.c: Likewise.
33131         * debug/wcsnrtombs_chk.c: Likewise.
33132         * debug/wcsrtombs_chk.c: Likewise.
33133         * debug/wcstombs_chk.c: Likewise.
33134         * debug/wmemcpy_chk.c: Likewise.
33135         * debug/wmemmove_chk.c: Likewise.
33136         * debug/wmempcpy_chk.c: Likewise.
33137         * debug/wmemset_chk.c: Likewise.
33138         * dirent/scandirat.c (SCANDIRAT): Likewise.
33139         * dlfcn/dladdr1.c (dladdr1): Likewise.
33140         * dlfcn/dladdr.c (dladdr): Likewise.
33141         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33142         * dlfcn/dlerror.c (__dlerror): Likewise.
33143         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33144         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33145         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33146         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33147         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33148         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33149         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33150         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33151         Likewise.
33152         * elf/dl-conflict.c: Likewise.
33153         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33154         * elf/dl-dst.h: Likewise.
33155         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33156         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33157         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33158         * elf/dl-init.c (call_init, _dl_init): Likewise.
33159         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33160         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33161         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33162         Likewise.
33163         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33164         Likewise.
33165         * elf/dl-minimal.c (__libc_memalign): Likewise.
33166         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33167         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33168         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33169         * elf/dl-sym.c (do_sym): Likewise.
33170         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33171         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33172         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33173         * elf/dl-writev.h (_dl_writev): Likewise.
33174         * elf/ldconfig.c (search_dir): Likewise.
33175         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33176         (dl_main): Likewise.
33177         * elf/setup-vdso.h (setup_vdso): Likewise.
33178         * grp/compat-initgroups.c (compat_call): Likewise.
33179         * grp/fgetgrent.c (fgetgrent): Likewise.
33180         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33181         * grp/putgrent.c (putgrent): Likewise.
33182         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33183         Likewise.
33184         * hurd/hurdinit.c: Likewise.
33185         * iconvdata/8bit-gap.c (struct): Likewise.
33186         * iconvdata/ansi_x3.110.c : Likewise.
33187         * iconvdata/big5.c : Likewise.
33188         * iconvdata/big5hkscs.c : Likewise.
33189         * iconvdata/cp1255.c: Likewise.
33190         * iconvdata/cp1258.c : Likewise.
33191         * iconvdata/cp932.c : Likewise.
33192         * iconvdata/euc-cn.c: Likewise.
33193         * iconvdata/euc-jisx0213.c : Likewise.
33194         * iconvdata/euc-jp.c: Likewise.
33195         * iconvdata/euc-jp-ms.c : Likewise.
33196         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33197         * iconvdata/gb18030.c : Likewise.
33198         * iconvdata/gbbig5.c (const): Likewise.
33199         * iconvdata/gbgbk.c: Likewise.
33200         * iconvdata/gbk.c : Likewise.
33201         * iconvdata/ibm1364.c : Likewise.
33202         * iconvdata/ibm930.c : Likewise.
33203         * iconvdata/ibm932.c: Likewise.
33204         * iconvdata/ibm933.c : Likewise.
33205         * iconvdata/ibm935.c : Likewise.
33206         * iconvdata/ibm937.c : Likewise.
33207         * iconvdata/ibm939.c : Likewise.
33208         * iconvdata/ibm943.c: Likewise.
33209         * iconvdata/iso_11548-1.c: Likewise.
33210         * iconvdata/iso-2022-cn.c : Likewise.
33211         * iconvdata/iso-2022-cn-ext.c : Likewise.
33212         * iconvdata/iso-2022-jp-3.c: Likewise.
33213         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33214         * iconvdata/iso-2022-kr.c : Likewise.
33215         * iconvdata/iso646.c (gconv_end): Likewise.
33216         * iconvdata/iso_6937-2.c : Likewise.
33217         * iconvdata/iso_6937.c : Likewise.
33218         * iconvdata/iso8859-1.c: Likewise.
33219         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33220         * iconvdata/shift_jisx0213.c : Likewise.
33221         * iconvdata/sjis.c : Likewise.
33222         * iconvdata/t.61.c : Likewise.
33223         * iconvdata/tcvn5712-1.c : Likewise.
33224         * iconvdata/tscii.c: Likewise.
33225         * iconvdata/uhc.c : Likewise.
33226         * iconvdata/unicode.c (gconv_end): Likewise.
33227         * iconvdata/utf-16.c (gconv_end): Likewise.
33228         * iconvdata/utf-32.c (gconv_end): Likewise.
33229         * iconvdata/utf-7.c (base64): Likewise.
33230         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33231         * iconv/gconv_close.c (__gconv_close): Likewise.
33232         * iconv/gconv_open.c (__gconv_open): Likewise.
33233         * iconv/gconv_simple.c (internal_ucs4_loop_single)
33234         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33235         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33236         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33237         (ucs4le_internal_loop_single): Likewise.
33238         * iconv/iconv.c (iconv): Likewise.
33239         * iconv/iconv_close.c: Likewise.
33240         * iconv/loop.c (SINGLE): Likewise.
33241         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33242         * include/atomic.h: Likewise.
33243         * inet/inet6_option.c (option_alloc): Likewise.
33244         * intl/bindtextdom.c (set_binding_values): Likewise.
33245         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33246         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33247         * intl/localealias.c (read_alias_file): Likewise.
33248         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33249         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33250         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33251         * libio/fmemopen.c (fmemopen): Likewise.
33252         * libio/iofgets.c (_IO_fgets): Likewise.
33253         * libio/iofgets_u.c (fgets_unlocked): Likewise.
33254         * libio/iofgetws.c (fgetws): Likewise.
33255         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33256         * libio/iogetdelim.c (_IO_getdelim): Likewise.
33257         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33258         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33259         * locale/findlocale.c (_nl_find_locale): Likewise.
33260         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33261         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33262         Likewise.
33263         * locale/setlocale.c (setlocale): Likewise.
33264         * login/programs/pt_chown.c (main): Likewise.
33265         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33266         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33267         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33268         (mmap, mmap64, mremap, munmap): Likewise.
33269         * math/e_exp2l.c: Likewise.
33270         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33271         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33272         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33273         * math/s_catan.c (__catan): Likewise.
33274         * math/s_catanf.c (__catanf): Likewise.
33275         * math/s_catanh.c (__catanh): Likewise.
33276         * math/s_catanhf.c (__catanhf): Likewise.
33277         * math/s_catanhl.c (__catanhl): Likewise.
33278         * math/s_catanl.c (__catanl): Likewise.
33279         * math/s_ccosh.c (__ccosh): Likewise.
33280         * math/s_ccoshf.c (__ccoshf): Likewise.
33281         * math/s_ccoshl.c (__ccoshl): Likewise.
33282         * math/s_cexp.c (__cexp): Likewise.
33283         * math/s_cexpf.c (__cexpf): Likewise.
33284         * math/s_cexpl.c (__cexpl): Likewise.
33285         * math/s_clog10.c (__clog10): Likewise.
33286         * math/s_clog10f.c (__clog10f): Likewise.
33287         * math/s_clog10l.c (__clog10l): Likewise.
33288         * math/s_clog.c (__clog): Likewise.
33289         * math/s_clogf.c (__clogf): Likewise.
33290         * math/s_clogl.c (__clogl): Likewise.
33291         * math/s_csin.c (__csin): Likewise.
33292         * math/s_csinf.c (__csinf): Likewise.
33293         * math/s_csinh.c (__csinh): Likewise.
33294         * math/s_csinhf.c (__csinhf): Likewise.
33295         * math/s_csinhl.c (__csinhl): Likewise.
33296         * math/s_csinl.c (__csinl): Likewise.
33297         * math/s_csqrt.c (__csqrt): Likewise.
33298         * math/s_csqrtf.c (__csqrtf): Likewise.
33299         * math/s_csqrtl.c (__csqrtl): Likewise.
33300         * math/s_ctan.c (__ctan): Likewise.
33301         * math/s_ctanf.c (__ctanf): Likewise.
33302         * math/s_ctanh.c (__ctanh): Likewise.
33303         * math/s_ctanhf.c (__ctanhf): Likewise.
33304         * math/s_ctanhl.c (__ctanhl): Likewise.
33305         * math/s_ctanl.c (__ctanl): Likewise.
33306         * math/w_pow.c: Likewise.
33307         * math/w_powf.c: Likewise.
33308         * math/w_powl.c: Likewise.
33309         * math/w_scalb.c (sysv_scalb): Likewise.
33310         * math/w_scalbf.c (sysv_scalbf): Likewise.
33311         * math/w_scalbl.c (sysv_scalbl): Likewise.
33312         * misc/error.c (error_tail): Likewise.
33313         * misc/pselect.c (__pselect): Likewise.
33314         * nis/nis_callback.c (__nis_create_callback): Likewise.
33315         * nis/nis_call.c (__nisfind_server): Likewise.
33316         * nis/nis_creategroup.c (nis_creategroup): Likewise.
33317         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33318         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33319         * nis/nis_getservlist.c (nis_getservlist): Likewise.
33320         * nis/nis_lookup.c (nis_lookup): Likewise.
33321         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33322         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33323         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33324         * nis/nis_xdr.c (xdr_endpoint): Likewise.
33325         * nis/nss_compat/compat-grp.c (getgrent_next_file)
33326         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33327         * nis/nss_compat/compat-initgroups.c (add_group)
33328         (internal_getgrent_r): Likewise.
33329         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33330         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33331         * nis/nss_compat/compat-spwd.c (getspent_next_file)
33332         (internal_getspnam_r): Likewise.
33333         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33334         (_nss_nis_getaliasbyname_r): Likewise.
33335         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33336         (_nss_nis_getntohost_r): Likewise.
33337         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33338         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33339         (_nss_nis_getgrgid_r): Likewise.
33340         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33341         (internal_nis_gethostent_r, internal_gethostbyname2_r)
33342         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33343         (_nss_nis_gethostbyname4_r): Likewise.
33344         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33345         (initgroups_netid): Likewise.
33346         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33347         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33348         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33349         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33350         (_nss_nis_getprotobynumber_r): Likewise.
33351         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33352         (_nss_nis_getsecretkey): Likewise.
33353         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33354         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33355         (_nss_nis_getpwuid_r): Likewise.
33356         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33357         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33358         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33359         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33360         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33361         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33362         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33363         Likewise.
33364         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33365         (_nss_nisplus_getntohost_r): Likewise.
33366         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33367         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33368         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33369         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33370         Likewise.
33371         * nis/nss_nisplus/nisplus-initgroups.c
33372         (_nss_nisplus_initgroups_dyn): Likewise.
33373         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33374         (_nss_nisplus_getnetbyaddr_r): Likewise.
33375         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33376         (_nss_nisplus_getprotobynumber_r): Likewise.
33377         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33378         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33379         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33380         Likewise.
33381         * nis/nss_nisplus/nisplus-service.c
33382         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33383         (_nss_nisplus_getservbyport_r): Likewise.
33384         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33385         (_nss_nisplus_getspnam_r): Likewise.
33386         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33387         Likewise.
33388         * nscd/aicache.c (addhstaiX): Likewise.
33389         * nscd/cache.c (cache_search, prune_cache): Likewise.
33390         * nscd/connections.c (register_traced_file, send_ro_fd)
33391         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33392         (main_loop_epoll): Likewise.
33393         * nscd/grpcache.c (addgrbyX): Likewise.
33394         * nscd/hstcache.c (addhstbyX): Likewise.
33395         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33396         * nscd/mem.c (gc, mempool_alloc): Likewise.
33397         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33398         (addinnetgrX): Likewise.
33399         * nscd/nscd-client.h (__nscd_acquire_maplock)
33400         (__nscd_drop_map_ref): Likewise.
33401         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33402         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33403         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33404         Likewise.
33405         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33406         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33407         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33408         (__nscd_get_map_ref): Likewise.
33409         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33410         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33411         Likewise.
33412         * nscd/pwdcache.c (addpwbyX): Likewise.
33413         * nscd/selinux.c (preserve_capabilities): Likewise.
33414         * nscd/servicescache.c (addservbyX): Likewise.
33415         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33416         * posix/fnmatch.c (fnmatch): Likewise.
33417         * posix/getopt.c (_getopt_internal_r): Likewise.
33418         * posix/glob.c (glob, glob_in_dir): Likewise.
33419         * posix/wordexp.c (exec_comm_child): Likewise.
33420         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33421         (getanswer_r, gaih_getanswer_slice): Likewise.
33422         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33423         * resolv/res_init.c: Likewise.
33424         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33425         * resolv/res_query.c (__libc_res_nquery): Likewise.
33426         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33427         Likewise.
33428         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33429         * stdio-common/perror.c (perror): Likewise.
33430         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33431         * stdio-common/tmpnam.c (tmpnam): Likewise.
33432         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33433         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33434         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33435         Likewise.
33436         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33437         * stdlib/putenv.c (putenv): Likewise.
33438         * stdlib/setenv.c (__add_to_environ): Likewise.
33439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33440         * stdlib/strtol_l.c (INTERNAL): Likewise.
33441         * string/memmem.c (memmem): Likewise.
33442         * string/strerror.c (strerror): Likewise.
33443         * string/strnlen.c (__strnlen): Likewise.
33444         * string/test-memmem.c (simple_memmem): Likewise.
33445         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33446         * sunrpc/pm_getport.c (__get_socket): Likewise.
33447         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33448         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33449         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33450         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33451         Likewise.
33452         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33453         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33454         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33455         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33456         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33457         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33458         Likewise.
33459         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33460         Likewise.
33461         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33462         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33463         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33464         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33465         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33467         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33468         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33469         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33470         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33471         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33472         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33473         Likewise.
33474         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33475         Likewise.
33476         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33477         Likewise.
33478         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33479         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33480         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33481         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33482         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33483         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33484         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33485         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33487         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33488         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33489         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33490         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33491         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33493         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33494         Likewise.
33495         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33496         Likewise.
33497         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33498         Likewise.
33499         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33500         Likewise.
33501         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33502         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33503         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33504         Likewise.
33505         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33506         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33507         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33508         * sysdeps/posix/sleep.c: Likewise.
33509         * sysdeps/posix/tempname.c: Likewise.
33510         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33511         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33512         Likewise.
33513         * sysdeps/powerpc/powerpc32/dl-machine.h
33514         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33515         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33516         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33517         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33518         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33519         Likewise.
33520         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33521         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33522         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33523         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33524         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33525         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33526         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33527         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33528         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33529         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33530         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33531         (elf_machine_lazy_rel): Likewise.
33532         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33533         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33534         (elf_machine_lazy_rel): Likewise.
33535         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33536         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33537         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33538         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33539         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33540         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33541         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33542         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33543         Likewise.
33544         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33545         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33546         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33547         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33548         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33549         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33550         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33551         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33552         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33553         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33554         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33555         Likewise.
33556         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33557         (__posix_fallocate64_l64): Likewise.
33558         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33559         (posix_fallocate): Likewise.
33560         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33561         Likewise.
33562         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33563         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33564         (getifaddrs_internal): Likewise.
33565         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33566         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33567         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33568         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33569         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33570         (__posix_fallocate64_l64): Likewise.
33571         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33572         Likewise.
33573         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33574         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33575         (__get_clockfreq): Likewise.
33576         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33577         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33578         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33579         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33581         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33582         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33583         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33584         Likewise.
33585         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33586         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33587         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33588         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33589         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33590         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33591         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33592         Likewise.
33593         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33594         (posix_fallocate): Likewise.
33595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33596         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33597         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33598         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33599         (elf_machine_rela, elf_machine_rela_relative)
33600         (elf_machine_lazy_rel): Likewise.
33601         * time/asctime.c (asctime_internal): Likewise.
33602         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33603         * time/tzset.c (__tzset_parse_tz): Likewise.
33604         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33605         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33606         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33607         * wcsmbs/wcsmbsload.h: Likewise.
33609         [BZ #15894]
33610         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33612         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33613         (arena_get2): Remove THREAD_STATS conditionals.
33614         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33615         (__malloc_stats, int): Likewise.
33617 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33619         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33620         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33622         * manual/setjmp.texi: Fix typos/grammar errors.
33624         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33625         Only return early when n is <= 0.  Delete unused return statement.
33627         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33628         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33629         * debug/tst-longjmp_chk3.c: New file.
33631         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33632         (test_main): Replace code with set_fortify_handler call.
33633         * debug/test-strcpy_chk.c: Likewise.
33634         * debug/tst-chk1.c: Likewise.
33635         * debug/tst-longjmp_chk.c: Likewise.
33636         * test-skeleton.c: Include fcntl.h & paths.h
33637         (set_fortify_handler): Define.
33639         * debug/tst-longjmp_chk.c: Add header comment and include
33640         ../test-skeleton.c.
33641         (do_test): Mark static.
33642         (TEST_FUNCTION): Define.
33644         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33645         (IP_PMTUDISC_INTERFACE): Likewise.
33646         (IP_MULTICAST_IF): Likewise.
33647         (IP_MULTICAST_TTL): Likewise.
33648         (IP_MULTICAST_LOOP): Likewise.
33649         (IP_ADD_MEMBERSHIP): Likewise.
33650         (IP_DROP_MEMBERSHIP): Likewise.
33651         (IP_UNBLOCK_SOURCE): Likewise.
33652         (IP_BLOCK_SOURCE): Likewise.
33653         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33654         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33655         (IP_MSFILTER): Likewise.
33656         (MCAST_JOIN_GROUP): Likewise.
33657         (MCAST_BLOCK_SOURCE): Likewise.
33658         (MCAST_UNBLOCK_SOURCE): Likewise.
33659         (MCAST_LEAVE_GROUP): Likewise.
33660         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33661         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33662         (MCAST_MSFILTER): Likewise.
33663         (IP_MULTICAST_ALL): Likewise.
33664         (IP_UNICAST_IF): Likewise.
33666         * timezone/Makefile: Delete $(have-ksh) check.
33667         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33668         * timezone/tzselect.ksh: Add +x mode bits.
33670         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33671         (ANON_INODE_FS_MAGIC): Likewise.
33672         (BDEVFS_MAGIC): Likewise.
33673         (BINFMTFS_MAGIC): Likewise.
33674         (BTRFS_TEST_MAGIC): Likewise.
33675         (CRAMFS_MAGIC_WEND): Likewise.
33676         (DEBUGFS_MAGIC): Likewise.
33677         (ECRYPTFS_SUPER_MAGIC): Likewise.
33678         (EXT3_SUPER_MAGIC): Likewise.
33679         (EXT4_SUPER_MAGIC): Likewise.
33680         (FUTEXFS_SUPER_MAGIC): Likewise.
33681         (HOSTFS_SUPER_MAGIC): Likewise.
33682         (HUGETLBFS_MAGIC): Likewise.
33683         (MINIX3_SUPER_MAGIC): Likewise.
33684         (MTD_INODE_FS_MAGIC): Likewise.
33685         (NILFS_SUPER_MAGIC): Likewise.
33686         (OPENPROM_SUPER_MAGIC): Likewise.
33687         (PIPEFS_MAGIC): Likewise.
33688         (PSTOREFS_MAGIC): Likewise.
33689         (QNX6_SUPER_MAGIC): Likewise.
33690         (RAMFS_MAGIC): Likewise.
33691         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33692         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33693         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33694         (SECURITYFS_MAGIC): Likewise.
33695         (SELINUX_MAGIC): Likewise.
33696         (SMACK_MAGIC): Likewise.
33697         (SOCKFS_MAGIC): Likewise.
33698         (SQUASHFS_MAGIC): Likewise.
33699         (STACK_END_MAGIC): Likewise.
33700         (TMPFS_MAGIC): Likewise.
33701         (USBDEVICE_SUPER_MAGIC): Likewise.
33702         (V9FS_MAGIC): Likewise.
33703         (XENFS_SUPER_MAGIC): Likewise.
33704         (CRAMFS_MAGIC): Fix typo in comment.
33705         (EXT2_SUPER_MAGIC): Update comment.
33706         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33708 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33710         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33711         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33712         * sysdeps/unix/sysv/linux/arm: Move directory from
33713         ports/sysdeps/unix/sysv/linux/arm.
33714         * README: Update listing for arm-*-linux-gnueabi.
33716         * README: Remove mention of am33.
33718 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33720         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33721         than the comma operator, to avoid "rhs of comma has no effect"
33722         compiler warnings.
33723         (__sigfillset, __sigandset, __sigorset): Likewise.
33724         * include/signal.h (__sigemptyset): Likewise.
33725         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33727 2014-02-07  Allan McRae  <allan@archlinux.org>
33729         * version.h (RELEASE): Set to "development".
33730         (VERSION): Set to "2.19.90"
33731         * NEWS: Add 2.20 section.
33733 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33735         [BZ #16529]
33736         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33738 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33740         * manual/contrib.texi: Update entry for Carlos O'Donell,
33741         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33743 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33745         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33747         * sysdeps/unix/sysv/linux/kernel-features.h
33748         [__LINUX_KERNEL_VERSION >= 0x020621]
33749         (__ASSUME_PROC_PID_TASK_COMM): Define.
33751 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33753         [BZ #16398]
33754         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33755         conversion when destination buffer does not have enough space.
33756         * libio/tst-ftell-partial-wide.c: New test case.
33757         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33759         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33760         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33761         Leonard and Allan McRae.
33763 2014-02-04  David S. Miller  <davem@davemloft.net>
33765         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33766         32-bit.
33768 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33771         New file
33772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33773         New file
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33775         New file.
33776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33777         New file.
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33779         New file.
33780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33781         New file.
33782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33783         New file.
33784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33785         New file.
33786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33787         New file.
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33789         New file.
33790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33791         New file.
33792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33793         New file.
33794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33795         New file.
33797 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33799         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33800         * shlib-versions: Likewise.
33802 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33803             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33805         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33806         (abilist-pattern): New variable, set to %-le.abilist.
33808         * Makerules (abilist-pattern): New variable.
33809         (vpath): Use $(abilist-pattern) in place of %.abilist.
33810         (check-abi-% pattern rule): Likewise.
33811         (check-abi, update-abi): Likewise.
33813 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33817 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33819         * manual/startup.texi: Add next, previous, and top entries for
33820         the `Program Arguments' and `Environment Variables' nodes.
33822 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33824         * manual/macros.texi: Add comments before MTASC-safety macros.
33826         * manual/users.texi: Document MTASC-safety properties.
33828         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33829         (pthread_getspecific, pthread_setspecific): Format with
33830         @deftypefun, and add @safety note.
33831         * manual/signal.texi: Move comments that analyze the above
33832         functions to their home place.
33834 2014-02-03  Allan McRae  <allan@archlinux.org>
33836         * po/sl.po: Update Slovenian translation from translation project.
33838 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33840         * manual/time.texi (timegm): Add missing blank after @c.
33841         Reported by Joseph Myers <joseph@codesourcery.com>.
33843 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33845         * manual/check-safety.sh: New.
33846         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33848         * manual/terminal.texi: Document MTASC-safety properties.
33850         * manual/filesys.texi: Document MTASC-safety properties.
33852         * manual/errno.texi: Document MTASC-safety properties.
33854         * manual/intro.texi: Document safety identifiers and
33855         conditionals.
33857         * manual/string.texi (wcstok): Fix prototype.
33858         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33860         * manual/time.texi: Document MTASC-safety properties.
33862         * manual/string.texi: Document MTASC-safety properties.
33864         * manual/threads.texi: Document MTASC-safety properties.
33866         * manual/stdio.texi: Document MTASC-safety properties.
33868         * manual/syslog.texi: Document MTASC-safety properties.
33870         * manual/sysinfo.texi: Document MTASC-safety properties.
33872         * manual/startup.texi: Document MTASC-safety properties.
33874         * manual/socket.texi: Document MTASC-safety properties.
33876         * manual/signal.texi: Document MTASC-safety properties.
33878 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33880         * manual/setjmp.texi: Document MTASC-safety properties.
33882         * manual/search.texi: Document MTASC-safety properties.
33884         * manual/resource.texi: Document MTASC-safety properties.
33886         * manual/process.texi: Document MTASC-safety properties.
33888         * manual/platform.texi: Document MTASC-safety properties.
33890         * manual/pipe.texi: Document MTASC-safety properties.
33892         * manual/pattern.texi: Document MTASC-safety properties.
33894         * manual/message.texi: Document MTASC-safety properties.
33896         [BZ #12751]
33897         * manual/memory.texi: Document MTASC-safety properties.
33899         * manual/math.texi: Document MTASC-safety properties.
33901         * manual/locale.texi: Document MTASC-safety properties.
33903         * manual/llio.texi: Document MTASC-safety properties.
33905         * manual/libdl.texi: New.
33907         * manual/lang.texi: Document MTASC-safety properties.
33909         * manual/job.texi: Document MTASC-safety properties.
33911         * manual/getopt.texi: Document MTASC-safety properties.
33913         * manual/ctype.texi: Document MTASC-safety properties.
33915 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33917         [BZ #16046]
33918         * csu/libc-tls.c (static_map): Remove variable.
33919         (__libc_setup_tls): Use main executable's link map for TLS data.
33920         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33921         casing for LM_ID_BASE and GL(dl_nns).
33922         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33923         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33924         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33925         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33926         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33927         member.
33928         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33929         l_phnum members.
33931 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33933         * manual/debug.texi: Document MTASC-safety properties.
33935 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33937         [BZ #16510]
33938         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33939         of __x86_64__ when disabling x87 inline functions.
33941 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33943         * manual/charset.texi: Document MTASC-safety properties.
33945         * manual/crypt.texi: Document MTASC-safety properties.
33947         * manual/conf.texi: Document MTASC-safety properties.
33949         * manual/arith.texi: Document MTASC-safety properties.
33951         * manual/argp.texi: Document MTASC-safety properties.
33953         * manual/macros.texi: Introduce macros to document multi
33954         thread, asynchronous signal and asynchronous cancellation
33955         safety properties.
33956         * manual/intro.texi: Introduce the properties themselves.
33958 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33960         * sysdeps/sh/sh4/Makefile: New file.
33962 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33964         * math/gen-libm-test.pl ($srcdir): New variable.
33965         ($auto_input): Use it.
33967 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33969         [BZ #16506]
33970         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33971         access beyond array bounds when parsing netgroups file.
33973         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33974         the old buffer before realloc.
33976 2014-01-27  Allan McRae  <allan@archlinux.org>
33978         * po/fr.po: Update French translation from translation project.
33980 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33982         * sysdeps/sh/libm-test-ulps: Regenerate.
33984 2014-01-24  David S. Miller  <davem@davemloft.net>
33986         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33988 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33990         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33991         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33993 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33995         [BZ #16474]
33996         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33997         string pointers after reallocation.
33999 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34001         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34002         __SH4A__ instead of __SH_FPU_ANY__.
34004 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34006         * sysdeps/sh/fpu_control.h: New file.
34007         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34008         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34009         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34010         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34011         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34012         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34013         * sysdeps/sh/sys/ucontext.h: Remove.
34014         * sysdeps/sh/sys: Remove directory.
34016 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34018         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34019         s390/sys/ucontext.h.
34020         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34021         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34023 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34025         [BZ #15605]
34026         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34028 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34030         [BZ#16431]
34031         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34032         Adjust the vDSO correctly for internal calls.
34033         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34035 2014-01-20  Allan McRae  <allan@archlinux.org>
34037         * po/ca.po: Update Catalan translation from translation project.
34039 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34041         * sysdeps/s390/sotruss-lib.c: New file.
34043 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34045         [BZ#16430]
34046         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34047         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34048         local calls issues by not having a PLT stub required for IFUNC calls.
34049         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34051 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34053         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34054         * math/test-fpucw-static.c: Likewise.
34056 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34058         [BZ #16453]
34059         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34061 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34063         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34064         implementation for powerpc.
34066 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34068         [BZ #14782]
34069         * sysdeps/posix/system.c (__libc_system): Do not enable
34070         asynchronous cancellation.
34072 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34074         [BZ #16427]
34075         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34076         handling only for numbers special also in the IEEE case.
34078 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34080         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34082 2014-01-11  Allan McRae  <allan@archlinux.org>
34084         * po/bg.po: Update Bulgarian translation from translation project.
34086         * po/de.po: Update German translation from translation project.
34088 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34090         * sysdeps/generic/gcc-compat.h: New file.
34092 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34094         * benchtests/asin-inputs: Correct slow inputs.
34095         * benchtests/acos-inputs: Likewise.
34097 2014-01-10  Allan McRae  <allan@archlinux.org>
34099         * po:sv.po: Update Swedish translation from translation project.
34101         * po/vi.po: Update Vietnamese translation from translation project.
34103         * po/eo.po: Update Esperanto translation from translation project.
34105         * po/cs.po: Update Czech translation from translation project.
34107         * po/nl.po: Update Dutch translation from translation project.
34109         * po/pl.po: Update Polish translation from translation project.
34111         * po/ru.po: Update Russian translation from translation project.
34113         * po/uk.po: Update Ukrainian translation from translation project.
34115 2014-01-08  Brooks Moses  <bmoses@google.com>
34117         * elf/dl-load.c: Fix comment typo.
34119 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34121         * po/header.pot: Rename to...
34122         * po/pot.header: ... this.
34123         * po/Makefile: Use pot.header.
34125 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34126             Maxim Kuvyrkov  <maxim@kugelworks.com>
34128         [BZ #16394]
34129         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34130         SRC and DEST against LEN.
34132 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34134         [BZ #16414]
34135         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34136         implementation.
34137         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34139 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34143 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34145         [BZ #16408]
34146         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34147         for large positive arguments.
34149 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34151         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34153         * math/auto-libm-test-in: Mark various tests with
34154         xfail-rounding:ldbl-128ibm.
34155         * math/auto-libm-test-out: Regenerated.
34157         [BZ #16407]
34158         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34159         Increase overflow threshold.
34161 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34163         [BZ #14286]
34164         * stdio-common/vfprintf.c: Check for integer overflow.
34166 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34168         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34169         the first argument and return value of __tls_get_addr_internal.
34171 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34173         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34174         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34176 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34178         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34179         * sysdeps/s390/rtld-global-offsets.sym: New file.
34180         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34181         GLIBC_2.19 symbol.
34182         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34183         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34184         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34185         ... this.
34186         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34187         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34188         ... this.
34189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34190         Regenerate.
34191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34192         Regenerate.
34193         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34194         halfs of GPRs for high_gprs contexts.
34195         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34196         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34197         field.
34198         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34199         uc_flags field.
34200         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34201         64 bit versions:
34202         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34203         for high GPRs (uc_high_gprs) and for future extensions
34204         (__reserved).
34205         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34206         for future extensions (__reserved).
34207         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34208         64 bit versions:
34209         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34210         SC_HIGHGPRS offset definition.
34211         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34212         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34214         * Versions.def: Add GLIBC_2.19 for libpthread.
34215         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34216         siglongjmp for libpthread with GLIBC_2.19 symver.
34217         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34218         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34219         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34220         * sysdeps/s390/__longjmp.c: New file.
34221         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34222         * sysdeps/s390/longjmp.c: New file.
34223         * sysdeps/s390/setjmp.S: New file.
34224         * sysdeps/s390/sigjmp.S: New file.
34225         * sysdeps/s390/v1-longjmp.c: New file.
34226         * sysdeps/s390/v1-setjmp.h: New file.
34227         * sysdeps/s390/v1-sigjmp.c: New file.
34228         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34229         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34230         GLIBC_2.19 version.
34231         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34232         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34233         versioned symbols for ____longjmp_chk.
34234         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34235         Likewise.
34236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34237         Regenerate.
34238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34239         Regenerate.
34240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34241         Regenerate.
34242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34243         Regenerate.
34244         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34245         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34246         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34247         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34248         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34249         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34250         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34251         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34252         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34253         * sysdeps/s390/rtld-__longjmp.c: New file.
34254         * sysdeps/s390/rtld-setjmp.S: New file.
34256 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
34258         [BZ #16400]
34259         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34260         Return -__logl (x) for small positive arguments without evaluating
34261         a polynomial.
34263 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
34265         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34266         Rename to ...
34267         (__ptrace_peeksiginfo_args): ... this.
34268         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34270         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34272 2014-01-06  Allan McRae  <allan@archlinux.org>
34274         * inet/netinet/in.h: Fix typo in comment.
34276 2014-01-05  Andreas Jaeger  <aj@suse.de>
34278         * sysdeps/i386/fpu/libm-test-ulps: Update.
34280 2014-01-05  Allan McRae  <allan@archlinux.org>
34282         * po/libc.pot: Regenerated.
34284         * malloc/memusagestat.c: Fix gettext call formatting.
34286 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
34288         * nscd/nscd.c: Improve usage() output.
34290 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
34292         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34293         * sysdeps/unix/sysv/linux/configure: Regenerated.
34294         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34295         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34297 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34299         [BZ #16390]
34300         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34301         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34303 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34305         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34306         extra tokens at end of #undef directive.
34307         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34308         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34309         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34311 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
34313         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34315         * math/auto-libm-test-in: Mark various tests with
34316         xfail-rounding:ldbl-128ibm.
34317         * math/auto-libm-test-out: Regenerated.
34319 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
34321         [BZ #16386]
34322         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34323         numbers with subnormal high part when calculating exponent.
34325         [BZ #16385]
34326         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34327         fabs.
34329         [BZ #16384]
34330         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34331         M_LN2l.
34332         (__ieee754_acoshl): Use __log1pl not __log1p.
34334 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
34336         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34337         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34338         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34339         (grow_heap, heap_trim, _int_new_arena, get_free_list)
34340         (reused_arena, arena_get2): Convert to GNU style.
34341         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34342         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34343         (memalign_check, __malloc_set_state): Likewise.
34344         * malloc/mallocbug.c (main): Likewise.
34345         * malloc/malloc.c (__malloc_assert, malloc_init_state)
34346         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34347         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34348         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34349         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34350         (__posix_memalign, malloc_info): Likewise.
34351         * malloc/malloc.h: Likewise.
34352         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34353         (mallochook, memalignhook, reallochook, mabort): Likewise.
34354         * malloc/mcheck.h: Likewise.
34355         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34356         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34357         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34358         * malloc/morecore.c (__default_morecore): Likewise.
34359         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34360         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34361         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34362         (print_and_abort): Likewise.
34363         * malloc/obstack.h: Likewise.
34364         * malloc/set-freeres.c (__libc_freeres): Likewise.
34365         * malloc/tst-mallocstate.c (main): Likewise.
34366         * malloc/tst-mtrace.c (main): Likewise.
34367         * malloc/tst-realloc.c (do_test): Likewise.
34369 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34371         [BZ #16366]
34372         * nscd/netgroupcache.c (do_notfound): New function.
34373         (addgetnetgrentX): Use it.
34375         [BZ # 16365]
34376         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34377         NSS_STATUS_NOTFOUND.
34379 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
34381         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34384 2014-01-01  Allan McRae  <allan@archlinux.org>
34386         * scripts/update-copyrights: Update configure input file suffix.
34388         * NEWS: Update copyright year.
34389         * catgets/gencat.c: Likewise.
34390         * csu/version.c: Likewise.
34391         * debug/catchsegv.sh: Likewise.
34392         * debug/pcprofiledump.c: Likewise.
34393         * debug/xtrace.sh: Likewise.
34394         * elf/ldconfig.c: Likewise.
34395         * elf/ldd.bash.in: Likewise.
34396         * elf/pldd.c: Likewise.
34397         * elf/sotruss.ksh: Likewise.
34398         * elf/sprof.c: Likewise.
34399         * iconv/iconv_prog.c: Likewise.
34400         * iconv/iconvconfig.c: Likewise.
34401         * locale/programs/locale.c: Likewise.
34402         * locale/programs/localedef.c: Likewise.
34403         * login/programs/pt_chown.c: Likewise.
34404         * malloc/memusage.sh: Likewise.
34405         * malloc/memusagestat.c: Likewise.
34406         * malloc/mtrace.pl: Likewise.
34407         * manual/libc.texinfo: Likewise.
34408         * nscd/nscd.c: Likewise.
34409         * nss/getent.c: Likewise.
34410         * nss/makedb.c: Likewise.
34411         * posix/getconf.c: Likewise.
34412         * scripts/test-installation.pl: Likewise.
34414         * All files with FSF copyright notices: Update copyright dates
34415         using scripts/update-copyrights.
34416         * intl/plural.c: Regenerated.
34417         * locale/programs/charmap-kw.h: Likewise.
34418         * locale/programs/locfile-kw.h: Likewise.
34420 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34422         * sysdeps/unix/sysv/linux/configure: Regenerated.
34423         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34424         the linux/fanotify.h header.
34425         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34426         HAVE_LINUX_FANOTIFY_H is defined.
34428 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34430         * benchtests/cos-inputs: New inputs.
34431         * benchtests/sin-inputs: Likewise.
34433         * benchtests/atan-inputs: New inputs. Fix name of multiple
34434         precision fallback inputs.
34436         * benchtests/atanh-inputs: New inputs.
34437         * benchtests/tanh-inputs: Likewise.
34439         * benchtests/acosh-inputs: New inputs.
34440         * benchtests/asinh-inputs: Likewise.
34442         * benchtests/cosh-inputs: New inputs.
34443         * benchtests/sinh-inputs: Likewise.
34445         * benchtests/acos-inputs: Add more inputs.
34446         * benchtests/asin-inputs: Likewise.
34448 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34450         [BZ #16375]
34451         * manual/arith.texi: Fix spelling.
34452         * manual/charset.texi: Likewise.
34453         * manual/errno.texi: Likewise.
34454         * manual/filesys.texi: Likewise.
34455         * manual/lang.texi: Likewise.
34456         * manual/llio.texi: Likewise.
34457         * manual/locale.texi: Likewise.
34458         * manual/message.texi: Likewise.
34459         * manual/resource.texi: Likewise.
34460         * manual/search.texi: Likewise.
34461         * manual/setjmp.texi: Likewise.
34462         * manual/stdio.texi: Likewise.
34463         * manual/string.texi: Likewise.
34464         * manual/sysinfo.texi: Likewise.
34465         * manual/time.texi: Likewise.
34467 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34469         * po/sl.po: New file.
34471 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34473         * .gitignore: Add core/.gdbinit/.gdb_history.
34475 2013-12-27  Allan McRae  <allan@archlinux.org>
34477         [BZ #16369]
34478         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34479         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34481 2013-12-24  Brooks Moses  <bmoses@google.com>
34483         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34484         all compilers that claim C++98 compliance, not just GCC.
34485         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34486         Likewise.
34488 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34490         * NEWS: Restore accidentally deleted bug-fix entries.
34492 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34493             Ondřej Bílka  <neleai@seznam.cz>
34495         [BZ #15073]
34496         * malloc/malloc.c (_int_free): Perform sanity check only if we
34497         have_lock.
34499 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34501         [BZ #12986]
34502         * manual/stdio.texi (String Input Conversions): Clarify that character
34503         classes are not supported.
34505 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34509 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34511         [BZ #16337]
34512         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34513         Calculate results for small negative arguments directly rather
34514         than using reflection formula with special underflow handling.
34516         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34517         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34518         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34519         (fchflags): Likewise.
34520         (revoke): Likewise.
34521         (setlogin): Likewise.
34522         (sigaltstack): Likewise.
34523         (wait4): Likewise.
34524         (sigblock): Remove.
34525         (sigsetmask): Likewise.
34526         (wait3): Likewise.
34527         (waitpid): Likewise.
34528         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34529         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34530         file.
34531         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34532         * sysdeps/unix/bsd/Makefile: ... here.
34533         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34534         * sysdeps/unix/bsd/Versions: ... here.
34535         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34536         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34537         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34538         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34539         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34540         * sysdeps/unix/bsd/sigblock.c: ... here.
34541         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34542         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34543         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34544         * sysdeps/unix/bsd/sigvec.c: ... here.
34545         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34546         * sysdeps/unix/bsd/tcdrain.c: ... here.
34547         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34548         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34549         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34550         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34551         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34552         * sysdeps/unix/bsd/wait.c: ... here.
34553         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34554         * sysdeps/unix/bsd/wait3.c: ... here.
34555         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34556         * sysdeps/unix/bsd/waitpid.c: ... here.
34558 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34560         [BZ #16356]
34561         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34562         round-to-nearest for [!USE_AS_EXPM1L].
34563         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34564         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34565         more tests of exp and exp10.  Expect some exp10 tests to miss
34566         exceptions or fail in directed rounding modes.
34567         * math/auto-libm-test-out: Regenerated.
34568         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34569         (exp10_test_tonearest): New function.
34570         (exp10_towardzero_test_data): New array.
34571         (exp10_test_towardzero): New function.
34572         (exp10_downward_test_data): New array.
34573         (exp10_test_downward): New function.
34574         (exp10_upward_test_data): New array.
34575         (exp10_test_upward): New function.
34576         (main): Call the new functions.
34577         * sysdeps/i386/fpu/libm-test-ulps: Update.
34578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34580 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34582         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34583         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34584         * math/auto-libm-test-out: Regenerated.
34585         * math/libm-test.inc (acosh_test_data): Add more tests.
34586         (atanh_test_data): Likewise.
34587         (ceil_test_data): Likewise.
34588         (copysign_test_data): Likewise.
34589         * sysdeps/i386/fpu/libm-test-ulps: Update.
34590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34592         * timezone/checktab.awk: Update from tzcode 2013i.
34593         * timezone/private.h: Likewise.
34594         * timezone/scheck.c: Likewise.
34595         * timezone/tzfile.h: Likewise.
34596         * timezone/tzselect.ksh: Likewise.
34597         * timezone/zdump.c: Likewise.
34598         * timezone/zic.c: Likewise.
34600         * math/auto-libm-test-in: Add tests of cpow.
34601         * math/auto-libm-test-out: Regenerated.
34602         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34603         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34604         mpc_cc_c.
34605         (func_calc_desc): Add mpc_cc_c union field.
34606         (test_functions): Add cpow.
34607         (special_fill_2pi): New function.
34608         (special_real_inputs): Add 2pi.
34609         (calc_generic_results): Handle mpc_cc_c.
34610         * sysdeps/i386/fpu/libm-test-ulps: Update.
34611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34613         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34614         csqrt, ctan and ctanh.
34615         * math/auto-libm-test-out: Regenerated.
34616         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34617         (TEST_COND_x86): Likewise.
34618         (ccos_test_data): Use AUTO_TESTS_c_c.
34619         (ccosh_test_data): Likewise.
34620         (cexp_test_data): Likewise.
34621         (clog_test_data): Likewise.
34622         (csqrt_test_data): Likewise.
34623         (ctan_test_data): Likewise.
34624         (ctan_tonearest_test_data): Likewise.
34625         (ctan_towardzero_test_data): Likewise.
34626         (ctan_downward_test_data): Likewise.
34627         (ctan_upward_test_data): Likewise.
34628         (ctanh_test_data): Likewise.
34629         (ctanh_tonearest_test_data): Likewise.
34630         (ctanh_towardzero_test_data): Likewise.
34631         (ctanh_downward_test_data): Likewise.
34632         (ctanh_upward_test_data): Likewise.
34633         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34634         mpc_c_c.
34635         (func_calc_desc): Add mpc_c_c union field.
34636         (FUNC_mpc_c_c): New macro.
34637         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34638         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34639         ctanh.
34640         (special_fill_min_subnorm_p120): New function.
34641         (special_real_inputs): Add min_subnorm_p120.
34642         (calc_generic_results): Handle mpc_c_c.
34643         * sysdeps/i386/fpu/libm-test-ulps: Update.
34644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34646 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34648         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34649         (do_sin_slow): New functions.
34650         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34651         (cslow2, csloww1, csloww2): Use the new functions.
34653         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34654         Use M to change sign of result instead of X.  Assume X is
34655         positive.
34656         (csloww1): Likewise.
34657         (__sin): Adjust.
34658         (__cos): Adjust.
34660         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34661         arguments A and DA.
34662         (__sin): Adjust.
34663         (__cos): Likewise.
34665         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34666         (__cos): Likewise.
34667         (sloww1): Don't adjust sign of DX.
34668         (csloww1): Likewise.
34669         (sloww2): Use X directly and don't adjust sign of DX.
34670         (csloww2): Likewise.
34672 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34674         * math/auto-libm-test-in: Add tests of cabs and carg.
34675         * math/auto-libm-test-out: Regenerated.
34676         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34677         (carg_test_data): Likewise.
34678         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34679         mpc_c_f.
34680         (func_calc_desc): Add mpc_c_f union field.
34681         (test_functions): Add cabs and carg.
34682         (calc_generic_results): Handle mpc_c_f.
34684         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34685         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34686         as a macro and a compat symbol.
34687         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34688         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34689         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34690         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34691         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34692         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34693         not use .hidden.
34694         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34695         Likewise.
34696         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34697         Likewise.
34698         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34699         Likewise.
34700         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34701         Likewise.
34702         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34703         Likewise.
34704         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34705         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34706         from GLIBC_2.3.2.
34708 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34712 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34714         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34715         trailing whitespace removed.
34716         * scripts/config.guess: Update to version 2013-11-29.
34717         * scripts/config.sub: Update to version 2013-10-01.
34719         * math/auto-libm-test-in: Add tests of sincos.
34720         * math/auto-libm-test-out: Regenerated.
34721         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34722         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34723         mpfr_f_11.
34724         (func_calc_desc): Add mpfr_f_11 union field.
34725         (test_functions): Add sincos.
34726         (calc_generic_results): Handle mpfr_f_11.
34727         * sysdeps/i386/fpu/libm-test-ulps: Update.
34728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34730 2013-12-19  Andreas Schwab  <schwab@suse.de>
34732         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34733         CALL_MCOUNT.
34734         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34735         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34736         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34738 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34740         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34741         * sysdeps/i386/fpu/libm-test-ulps: Update.
34742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34744         [BZ #16293]
34745         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34746         round-to-nearest mode when using frndint.
34747         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34748         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34749         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34750         Likewise.
34751         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34752         sinh test to fail.
34753         * math/auto-libm-test-out: Regenerated.
34754         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34755         (TEST_COND_x86): Likewise.
34756         (expm1_tonearest_test_data): New array.
34757         (expm1_test_tonearest): New function.
34758         (expm1_towardzero_test_data): New array.
34759         (expm1_test_towardzero): New function.
34760         (expm1_downward_test_data): New array.
34761         (expm1_test_downward): New function.
34762         (expm1_upward_test_data): New array.
34763         (expm1_test_upward): New function.
34764         (main): Run the new test functions.
34765         * sysdeps/i386/fpu/libm-test-ulps: Update.
34766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34768         * include/features.h: Update comment documenting feature test
34769         macros.  Mention _DEFAULT_SOURCE in comment.
34770         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34771         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34772         _BSD_SOURCE and _SVID_SOURCE.
34773         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34774         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34775         !_SVID_SOURCE]: Likewise.
34776         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34777         (__USE_POSIX_IMPLICITLY): Define.
34778         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34779         (_POSIX_SOURCE): Undefine and redefine.
34780         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34781         (_POSIX_C_SOURCE): Likewise.
34782         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34783         (Feature Test Macros): Update documentation of default features.
34785 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34787         * benchtests/Makefile: Add bench-strtok.
34788         * benchtests/bench-strtok.c: New file: strtok benchtest.
34790 2013-12-19  Allan McRae  <allan@archlinux.org>
34792         * manual/install.texi: Suppress menu for plain text output.
34793         * INSTALL: Regenerated.
34795 2013-12-18  Brooks Moses  <bmoses@google.com>
34797         [BZ #15846]
34798         * misc/getauxval.c: Include errno.h.
34799         (__getauxval): Set errno to ENOENT if the requested type is not
34800         found.
34801         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34802         don't declare with __attribute_const__.
34803         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34804         * manual/startup.texi: Document that getauxval sets errno.
34806 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34808         * math/auto-libm-test-in: Add tests of jn and yn.
34809         * math/auto-libm-test-out: Regenerated.
34810         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34811         (yn_test_data): Likewise.
34812         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34813         mpfr_if_f.
34814         (func_calc_desc): Add mpfr_if_f union field.
34815         (FUNC_mpfr_if_f): New macro.
34816         (test_functions): Add jn and yn.
34817         (calc_generic_results): Assert type of second input for
34818         mpfr_ff_f.  Handle mpfr_if_f.
34819         (output_for_one_input_case): Disable all checking for arguments
34820         fitting floating-point types in case of an integer argument.
34821         * sysdeps/i386/fpu/libm-test-ulps: Update.
34822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34825         Don't expect fegetround reference in libm.so.
34827 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34829         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34830         $(config-cflags-nofma).
34832 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34834         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34835         * math/auto-libm-test-out: Regenerated.
34837         [BZ #16338]
34838         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34839         to determine exponent and adjust argument to have exponent of -1.
34840         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34841         log2.
34842         * math/auto-libm-test-out: Regenerated.
34843         * sysdeps/i386/fpu/libm-test-ulps: Update.
34844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34846 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34848         * manual/probes.texi: Remove cases when per-thread arenas are
34849         disabled.
34851 2013-12-18  Andreas Schwab  <schwab@suse.de>
34853         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34854         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34855         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34856         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34857         * sysdeps/i386/i686/multiarch/Makefile: Update.
34858         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34860 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34862         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34863         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34865 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34867         [BZ #15968]
34868         Support TZ transition times < 00:00:00.
34869         This is needed for version-3 tz-format files; it supports time
34870         stamps past 2037 for America/Godthab (the only entry in the tz
34871         database for which this change is relevant).
34872         * manual/time.texi (TZ Variable): Document transition times
34873         from -167:59:59 through -00:00:01.
34874         * time/tzset.c (tz_rule): Time of day is now signed.
34875         (__tzset_parse_tz): Parse negative time of day.
34877         Document TZ transition times >= 25:00:00.
34878         * manual/time.texi (TZ Variable): Document transition times from
34879         25:00:00 through 167:59:59.  These are already supported, and this
34880         support will help with version-3 tz-format files.
34882         * manual/time.texi (TZ Variable): Modernize North America example
34883         to reflect current (i.e., 2007-and-later) daylight saving rules.
34885         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34887 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34889         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34890         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34892         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34893         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34894         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34895         * sysdeps/unix/bsd/clock.c: Likewise.
34896         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34897         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34898         * sysdeps/unix/bsd/init-posix.c: Likewise.
34899         * sysdeps/unix/bsd/poll.c: Likewise.
34900         * sysdeps/unix/bsd/ptsname.c: Likewise.
34901         * sysdeps/unix/bsd/seekdir.c: Likewise.
34902         * sysdeps/unix/bsd/setegid.c: Likewise.
34903         * sysdeps/unix/bsd/seteuid.c: Likewise.
34904         * sysdeps/unix/bsd/setgid.c: Likewise.
34905         * sysdeps/unix/bsd/setrgid.c: Likewise.
34906         * sysdeps/unix/bsd/setruid.c: Likewise.
34907         * sysdeps/unix/bsd/setsid.c: Likewise.
34908         * sysdeps/unix/bsd/setuid.c: Likewise.
34909         * sysdeps/unix/bsd/sigaction.c: Likewise.
34910         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34911         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34912         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34913         * sysdeps/unix/bsd/telldir.c: Likewise.
34914         * sysdeps/unix/bsd/times.c: Likewise.
34915         * sysdeps/unix/bsd/usleep.c: Likewise.
34917         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34918         ($(objpfx)libbsd-compat.a): Remove rule.
34920         * include/features.h (__FAVOR_BSD): Do not define.
34921         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34922         features conflicting with POSIX.
34923         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34924         (_BSD_SOURCE): Remove description of not being a subset of other
34925         feature test macros.
34926         * manual/job.texi (getpgrp): Do not document BSD version.
34927         (getpgid): Do not document by reference to BSD getpgrp.
34928         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34929         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34930         * signal/signal.h [__FAVOR_BSD]: Likewise.
34931         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34932         instead of making contents conditional on [__FAVOR_BSD].
34933         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34935 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34939 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34941         [BZ #16314]
34942         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34943         values below 2**-450, not 2**-500.
34944         * math/auto-libm-test-in: Don't allow spurious underflow from
34945         hypot.
34946         * math/auto-libm-test-out: Regenerated.
34948         [BZ #16316]
34949         [BZ #16330]
34950         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34951         values of ha and hb and sort them after adjusting subnormal
34952         arguments.
34953         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34954         Likewise.
34955         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34956         values of ea and eb and sort them after adjusting subnormal
34957         arguments.
34958         * math/auto-libm-test-in: Do not expect some hypot tests of
34959         subnormals to fail.  Add more hypot tests.
34960         * math/auto-libm-test-out: Regenerated.
34962 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34964         [BZ #13304]
34965         * sysdeps/sh/s_fma.c: New file.
34966         * sysdeps/sh/s_fmaf.c: New file.
34967         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34968         version.
34969         * sysdeps/sh/Implies: Add sh/soft-fp.
34971 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34973         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34974         level of indirection to members `objname', `errstring', `malloced'.
34975         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34976         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34977         it as the __longjmp argument (just pass 1 instead).
34978         (_dl_catch_error): Initialize C with argument pointers and address of
34979         volatile local ERRCODE rather than copying values out of C at return.
34981 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34983         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34984         * math/auto-libm-test-out: Regenerated.
34985         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34986         (hypot_test_data): Likewise.
34987         (pow_test_data): Likewise.
34988         (pow_tonearest_test_data): Likewise.
34989         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34990         mpfr_ff_f.
34991         (func_calc_desc): Add mpfr_ff_f union field.
34992         (FUNC_mpfr_ff_f): New macro.
34993         (test_functions): Add atan2, hypot and pow.
34994         (special_fill_min): New function.
34995         (special_fill_minus_min): Likewise.
34996         (special_fill_min_subnorm): Likewise.
34997         (special_fill_minus_min_subnorm): Likewise.
34998         (special_real_inputs): Add min, -min, min_subnorm and
34999         -min_subnorm.
35000         (calc_generic_results): Handle mpfr_ff_f.
35001         * sysdeps/i386/fpu/libm-test-ulps: Update.
35002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35004 2013-12-16  Will Newton  <will.newton@linaro.org>
35006         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35007         (Aligned Memory Blocks): Add documentation for aligned_alloc
35008         and suggest it as an alternative to posix_memalign.
35009         (Hooks for Malloc): Document __memalign_hook is also called
35010         for aligned_alloc.  (Summary of Malloc): Add summary for
35011         aligned alloc.  Document __memalign_hook is also called
35012         for aligned_alloc.
35014 2013-12-16  Will Newton  <will.newton@linaro.org>
35016         * manual/memory.texi (Malloc Examples): Clarify default
35017         alignment documentation.  Suggest posix_memalign rather
35018         than memalign or valloc.
35019         (Aligned Memory Blocks): Remove suggestion to use memalign
35020         or valloc.  Remove obsolete comment about BSD.
35021         Document memalign errno values and mark the function obsolete.
35022         Document posix_memalign returned error codes.  Mark valloc
35023         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35024         called for posix_memalign and valloc.
35025         (Summary of Malloc): Add posix_memalign to function summary.
35026         __memalign_hook is also called for posix_memalign and valloc.
35028 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35030         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35031         TAYLOR_SIN.
35032         (__sin): Adjust.
35033         (__cos): Likewise.
35034         (sloww): Use mynumber union.  Expand ternary operator into
35035         if-else statements.
35036         (cslow): use mynumber union.
35038 2013-12-16  Allan McRae  <allan@archlinux.org>
35040         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35041         * configure: Regenerated.
35043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35045         [BZ #14120]
35046         * configure.ac: Added --enable-maintainer-mode. Check for
35047         autoconf when enabled.
35048         * configure: Regenerated.
35050         * nscd/nscd.service: New file.
35051         * nscd/nscd.tmpfiles: New file.
35053 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35055         [BZ #12100]
35056         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35057         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35058         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35059         (strstr): Add __strstr_sse2_unaligned ifunc.
35060         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35061         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35062         (strcasestr): Remove __strcasestr_sse42 ifunc.
35063         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35067 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35069         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35070         * sysdeps/sh/bits/fenv.h: ... here.
35071         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35073 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35075         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35077         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35078         hypotf multiarch implementations.
35079         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35080         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35081         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35082         multiarch hypot for PPC64.
35083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35084         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35085         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35086         multiarch hypotf for PPC64.
35088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35089         modff multiarch implementations.
35090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35093         multiarch modf for PPC64.
35094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35097         multiarch modff for PPC64.
35099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35100         and logl multiarch implementations.
35101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35104         multiarch logb for PPC64.
35105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35108         multiarch logb for PPC64.
35109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35112         multiarch logb for PPC64.
35114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35115         isinff multiarch implementation.
35116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35117         file.
35118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35120         multiarch isinf for PPC64.
35121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35122         file.
35123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35124         multiarch isinff for PPC64.
35126         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35127         finitef multiarch implementation.
35128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35129         file.
35130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35132         multiarch finite for PPC64.
35133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35134         file.
35135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35136         multiarch finitef for PPC64.
35138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35139         lrint multiarch implementation.
35140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35141         file.
35142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35144         multiarch llrint for PPC64.
35145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35146         multiarch lrint for PPC64.
35148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35149         copysignf multiarch implementation.
35150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35151         file.
35152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35153         file.
35154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35155         multiarch copysign for PPC64.
35156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35157         multiarch copysignf for PPC64.
35159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35160         multiarch implementation.
35161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35162         file.
35163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35164         file.
35165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35166         file.
35167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35168         file.
35169         multiarch llround for PPC64.
35170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35171         multiarch trunc for PPC64.
35172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35173         multiarch truncf for PPC64.
35175         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35176         multiarch implementation.
35177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35178         file.
35179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35180         file.
35181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35182         file.
35183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35184         file.
35185         multiarch llround for PPC64.
35186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35187         multiarch round for PPC64.
35188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35189         multiarch roundf for PPC64.
35191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35192         multiarch implementation.
35193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35194         file.
35195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35196         file.
35197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35198         file.
35199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35200         file.
35201         multiarch llround for PPC64.
35202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35203         multiarch floor for PPC64.
35204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35205         multiarch floorf for PPC64.
35207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35208         multiarch implementation.
35209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35210         file.
35211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35212         file.
35213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35214         file.
35215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35216         file.
35217         multiarch llround for PPC64.
35218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35219         multiarch ceil for PPC64.
35220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35221         multiarch ceilf for PPC64.
35223         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35224         multiarch implementation.
35225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35226         file.
35227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35228         file.
35229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35230         file.
35231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35232         multiarch llround for PPC64.
35233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35234         multiarch lround for PPC64.
35236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35237         multiarch implementation.
35238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35241         file.
35242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35245         multiarch isnan for PPC64.
35246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35247         multiarch isnanf for PPC64.
35249         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35250         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35251         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35252         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35253         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35256         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35257         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35259         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35262         multiarch implementations.
35263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35264         (__libc_ifunc_impl_list): Likewise.
35265         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35267         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35268         multiarch stpcpy for PPC64.
35270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35271         multiarch implementations.
35272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35273         (__libc_ifunc_impl_list): Likewise.
35274         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35275         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35276         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35277         multiarch strcpy for PPC64.
35279         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35280         redefine function name.
35281         (_wordcopy_fwd_dest_aligned): Likewise.
35282         (_wordcopy_bwd_aligned): Likewise.
35283         (_wordcopy_bwd_dest_aligned): Likewise.
35284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35285         multiarch implementations.
35286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35287         (__libc_ifunc_impl_list): Likewise.
35288         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35289         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35290         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35291         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35292         multiarch wcscpy for PPC64.
35294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35295         multiarch implementations.
35296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35297         (__libc_ifunc_impl_list): Likewise.
35298         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35299         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35300         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35301         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35302         multiarch wcscpy for PPC64.
35304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35305         multiarch implementations.
35306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35307         (__libc_ifunc_impl_list): Likewise.
35308         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35309         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35310         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35311         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35312         multiarch wcsrchr for PPC64.
35314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35315         multiarch implementations.
35316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35317         (__libc_ifunc_impl_list): Likewise.
35318         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35319         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35320         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35321         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35322         multiarch wcschr for PPC64.
35324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35325         multiarch implementations.
35326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35327         (__libc_ifunc_impl_list): Likewise.
35328         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35329         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35330         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35331         multiarch strchrnul for PPC64.
35333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35334         implementations.
35335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35336         (__libc_ifunc_impl_list): Likewise.
35337         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35338         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35339         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35340         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35341         strchr for PPC64.
35343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35344         implementations.
35345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35346         (__libc_ifunc_impl_list): Likewise.
35347         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35348         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35349         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35350         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35351         strncmp for PPC64.
35353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35354         multiarch implementations.
35355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35356         (__libc_ifunc_impl_list): Likewise.
35357         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35358         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35359         strncasecmp for PPC64.
35360         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35361         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35362         multiarch strncasecmp_l for PPC64.
35364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35365         multiarch implementations.
35366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35367         (__libc_ifunc_impl_list): Likewise.
35368         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35370         multiarch strcasecmp for PPC64.
35371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35372         file.
35373         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35374         multiarch strcasecmp_l for PPC64.
35376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35377         implementations.
35378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35379         (__libc_ifunc_impl_list): Likewise.
35380         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35381         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35382         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35383         strnlen for PPC64.
35385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35386         implementations.
35387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35388         (__libc_ifunc_impl_list): Likewise.
35389         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35390         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35391         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35392         strlen for PPC64.
35394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35395         implementations.
35396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35397         (__libc_ifunc_impl_list): Likewise.
35398         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35399         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35400         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35401         rawmemrchr for PPC64.
35403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35404         implementation.
35405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35406         (__libc_ifunc_impl_list): Likewise.
35407         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35408         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35409         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35410         memrchr for PPC64.
35412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35413         implementation.
35414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35415         (__libc_ifunc_impl_list): Likewise.
35416         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35417         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35418         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35419         memchr for PPC64.
35421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35422         implementation.
35423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35424         (__libc_ifunc_impl_list): Likewise.
35425         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35426         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35427         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35428         mempcpy for PPC64.
35430         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35431         avoid cretion of __bzero symbol.
35432         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35433         Likewise.
35434         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35435         Likewise.
35436         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35437         Likewise.
35438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35439         multiarch implementations.
35440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35441         (__libc_ifunc_impl_list): Likewise.
35442         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35443         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35444         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35445         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35446         bzero for PPC32.
35447         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35448         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35449         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35450         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35451         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35452         memset for PPC64.
35453         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35455         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35457         implementations.
35458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35459         (__libc_ifunc_impl_list): Likewise.
35460         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35461         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35462         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35463         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35464         memcmp for PPC64.
35466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35467         multiarch for POWER/PPC64.
35468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35469         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35470         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35471         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35472         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35473         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35474         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35475         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35476         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35477         memcpy for PPC64.
35479         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35480         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35481         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35482         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35483         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35484         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35485         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35486         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35487         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35488         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35489         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35490         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35491         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35492         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35493         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35502 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35504         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35506 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35508         * benchtests/Makefile (bench): Add exp2 and log2.
35509         (LDLIBS-bench-exp2): Add -lm.
35510         (LDLIBS-bench-log2): Likewise.
35511         * benchtests/exp2-inputs: New inputs file.
35512         * benchtests/log2-inputs: New inputs file.
35513         * benchtests/log-inputs: Add new inputs.
35514         * benchtests/tan-inputs: Likewise.
35516 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35518         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35519         definition...
35520         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35521         (csloww2): ... from here.
35523         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35524         instead of structures.
35525         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35526         (POLYNOMIAL): Likewise.
35527         (TAYLOR_SLOW): Likewise.
35528         (__sin): Likewise.
35529         (__cos): Likewise.
35530         (slow1): Likewise.
35531         (slow2): Likewise.
35532         (sloww): Likewise.
35533         (sloww1); Likewise.
35534         (sloww2): Likewise.
35535         (bsloww1): Likewise.
35536         (bsloww2): Likewise.
35537         (cslow2): Likewise.
35538         (csloww): Likewise.
35539         (csloww1): Likewise.
35540         (csloww2): Likewise.
35542 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35544         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35545         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35546         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35547         * malloc/hooks.c (realloc_check): Likewise.
35549         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35550         * malloc/arena.c: Remove PER_THREAD conditional.
35551         [!PER_THREAD]: Remove code.
35552         (ptmalloc_unlock_all2): Likewise.
35553         (ptmalloc_init): Likewise.
35554         (_int_new_arena): Likewise.
35555         (arena_get2): Likewise.
35556         * malloc/hooks.c (__malloc_get_state): Likewise.
35557         (__malloc_set_state): Likewise.
35558         * malloc/malloc.c: Likewise.
35559         (struct malloc_state): Likewise.
35560         (struct malloc_par): Likewise.
35561         (__libc_realloc): Likewise.
35562         (__libc_mallopt): Likewise.
35564 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35566         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35568 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35570         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35571         macro to a function.  Check for zero perturb_byte.
35572         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35574         * malloc/malloc.c: (force_reg): Remove.
35575         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35576         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35577         force_reg by atomic_forced_read.
35578         * malloc/arena.c (ptmalloc_init): Likewise.
35579         * malloc/hooks.c (top_check): Likewise.
35581 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35585 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35589 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35591         * math/auto-libm-test-in: Add tests of lgamma.
35592         * math/auto-libm-test-out: Regenerated.
35593         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35594         (M_LOG_2_SQRT_PIl): Likewise.
35595         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35596         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35597         mpfr_f_f1.
35598         (func_calc_desc): Add mpfr_f_f1 union field.
35599         (ARGS1): New macro.
35600         (ARGS2): Likewise.
35601         (ARGS3): Likewise.
35602         (ARGS4): Likewise.
35603         (RET1): Likewise.
35604         (RET2): Likewise.
35605         (CALC): Likewise.
35606         (FUNC): Likewise.
35607         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35608         (test_functions): Add lgamma.
35609         (calc_generic_results): Handle mpfr_f_f1.
35610         * sysdeps/i386/fpu/libm-test-ulps: Update.
35611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35613 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35615         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35616         __mpn_add_n for PowerPC64/POWER7.
35617         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35618         __mpn_sub_n for PowerPC64/POWER7.
35620         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35621         __mpn_addmul_1 for PowerPC64.
35622         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35623         __mpn_submul_1 for PowerPC64.
35624         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35625         for PowerPC64.
35626         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35627         for PowerPC64.
35629 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35631         [BZ #15089]
35632         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35634 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35636         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35638         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35639         add multiarch folders.
35640         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35641         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35642         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35643         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35644         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35645         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35646         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35647         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35648         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35649         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35650         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35659         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35661         New file.
35662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35663         New file.
35664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35665         multiarch __ieee754_hypot for PowerPC32.
35666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35667         New file.
35668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35669         New file.
35670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35671         multiarch __ieee754_hypotf for PowerPC32.
35673         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35674         long_double_symbol only if __logbl is defined.
35675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35676         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35677         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35678         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35679         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35680         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35681         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35682         path for implementation.
35683         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35684         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35686         logb, and logbl multiarch implementations for PowerPC32.
35687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35688         file.
35689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35690         file.
35691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35692         multiarch logb for PowerPC32.
35693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35694         file.
35695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35696         file.
35697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35698         multiarch logbf for PowerPC32.
35699         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35701         file.
35702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35703         multiarch logbl implementation for PowerPC32.
35705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35706         and modff multiarch implementations.
35707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35708         New file.
35709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35710         New file.
35711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35712         multiarch modf for PowerPC32.
35713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35714         New file.
35715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35716         New file.
35717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35718         multiarch modff for PowerPC32.
35720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35721         and lrintf multiarch implementations.
35722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35723         New file.
35724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35725         New file.
35726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35727         multiarch lrint for PowerPC32.
35728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35729         file: multiarch lrintf for PowerPC32.
35731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35732         and lroundf multiarch implementations.
35733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35734         New file.
35735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35736         New file.
35737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35738         New file.
35739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35740         multiarch lround for PowerPC32.
35741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35742         file: multiarch lroundf for PowerPC32.
35744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35745         copysign and copysignf multiarch implementations.
35746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35747         New file.
35748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35749         New file.
35750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35751         file: multiarch copysign for PowerPC32.
35752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35753         file: multiarch copysignf for PowerPC32.
35755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35756         and truncf multiarch implementations.
35757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35758         New file.
35759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35760         file.
35761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35762         multiarch trunc for PowerPC32.
35763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35764         New file.
35765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35766         New file.
35767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35768         multiarch truncf for PowerPC32.
35770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35771         and roundf multiarch implementations.
35772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35773         New file.
35774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35775         file.
35776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35777         multiarch round for PowerPC32.
35778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35779         New file.
35780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35781         New file.
35782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35783         multiarch roundf for PowerPC32.
35785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35786         and floorf multiarch implementations.
35787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35788         New file.
35789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35790         file.
35791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35792         multiarch floor for PowerPC32.
35793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35794         New file.
35795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35796         New file.
35797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35798         multiarch floorf for PowerPC32.
35800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35801         and ceilf multiarch implementations.
35802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35803         New file.
35804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35805         file.
35806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35807         multiarch ceil for PowerPC32.
35808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35809         New file.
35810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35811         file.
35812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35813         multiarch ceilf for PowerPC32.
35815         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35816         is defined.
35817         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35818         FINITEF is defined.
35819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35820         and finitef multiarch implementations.
35821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35822         New file.
35823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35824         file.
35825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35826         multiarch finite for PowerPC32.
35827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35828         New file.
35829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35830         file: multiarch finitef for PowerPC32.
35832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35833         and isinff multiarch implementations.
35834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35835         file.
35836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35837         file.
35838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35839         multiarch isinf for PowerPC32.
35840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35841         New file.
35842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35843         multiarch isinff for PowerPC32.
35845         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35846         alias when __isnan is defined.
35847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35848         and isnanf multiarch implementations.
35849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35850         file.
35851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35852         file.
35853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35854         file.
35855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35856         file.
35857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35858         multiarch isnan for PowerPC32.
35859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35860         New file.
35861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35862         New file.
35863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35864         multiarch isnanf for PowerPC32.
35866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35867         and sqrtf multiarch implementations.
35868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35869         file.
35870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35871         file.
35872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35873         multiarch sqrt for PowerPC32.
35874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35875         file.
35876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35877         file.
35878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35879         multiarch sqrtf for PowerPC32.
35881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35882         and llroundf multiarch implementations.
35883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35884         New file.
35885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35886         New file.
35887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35888         New file.
35889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35890         file: multiarch llround for PowerPC32.
35891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35892         file: multiarch llroundf for PowerPC32.
35894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35895         multiarch PowerPC32 fpu implementations.
35896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35897         New file.
35898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35899         New file.
35900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35901         multiarch llrint for PowerPC32.
35902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35903         New file.
35904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35905         New file.
35906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35907         file.
35909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35911         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35912         file.
35913         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35914         file.
35915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35916         file.
35917         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35918         multiarch wordcopy for PPC32.
35919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35920         wordcopy objects.
35921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35922         (__libc_ifunc_impl_list): Likewise.
35923         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35924         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35925         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35926         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35927         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35928         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35930         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35932         file.
35933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35934         file.
35935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35936         file.
35937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35938         multiarch wcscpy for PPC32.
35939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35940         multiarch objects.
35941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35942         (__libc_ifunc_impl_list): Likewise.
35943         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35944         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35945         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35946         sysdeps/powerpc/power6/wcscpy.c.
35948         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35950         file.
35951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35952         file.
35953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35954         file.
35955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35956         multiarch wcsrchr for PPC32.
35957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35958         multiarch objects.
35959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35960         (__libc_ifunc_impl_list): Likewise.
35961         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35962         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35963         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35964         sysdeps/powerpc/power6/wcsrchr.c.
35966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35967         file.
35968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35969         file.
35970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35972         multiarch wcschr for PPc32.
35973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35974         multiarch objects.
35975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35976         (__libc_ifunc_impl_list): Likewise.
35977         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35978         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35979         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35980         sysdeps/powerpc/power6/wcschr.c.
35982         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35983         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35984         file.
35985         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35986         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35987         file: multiarch strchr for PPC32.
35988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35989         multiarch objects.
35990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35991         (__libc_ifunc_impl_list): Likewise.
35993         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35994         name.
35995         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35996         file.
35997         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35998         file.
35999         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36000         multiarch strchrnul for PPC32.
36001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36002         multiarch objects.
36003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36004         (__libc_ifunc_impl_list): Likewise.
36006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36007         file.
36008         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36009         multiarch strncasecmp for PPC32.
36010         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36011         file.
36012         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36013         multiarch strncasecmp_l for PPC32.
36014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36015         strncasecmp multiarch objects.
36016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36017         (__libc_ifunc_impl_list): Likewise.
36019         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36020         file.
36021         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36022         multiarch strncasecmp for PPC32.
36023         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36024         New file.
36025         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36026         multiarch strcasecmp_l for PPC32.
36027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36028         multiarch objects.
36029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36030         (__libc_ifunc_impl_list): Likewise.
36032         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36033         file.
36034         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36035         file.
36036         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36037         multiarch strncmp for PPC32.
36038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36039         multiarch objects.
36040         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36041         (__libc_ifunc_impl_list): Likewise.
36043         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36044         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36045         file.
36046         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36047         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36049         multiarch objects.
36050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36051         (__libc_ifunc_impl_list): Likewise.
36053         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36054         file.
36055         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36056         file.
36057         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36059         multiarch objects.
36060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36061         (__libc_ifunc_impl_list): Likewise.
36063         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36064         file.
36065         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36066         file.
36067         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36068         multiarch rawmemchr for PPC32.
36069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36070         multiarch objects.
36071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36072         (__libc_ifunc_impl_list): Likewise.
36074         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36075         file.
36076         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36077         file.
36078         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36079         file: memrchr multiarch for PPC32.
36080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36081         multiarch objects.
36082         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36083         (__libc_ifunc_impl_list): Likewise.
36085         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36086         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36087         file.
36088         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36089         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36090         multiarch memchr for PPC32.
36091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36092         multiarch objects.
36093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36094         (__libc_ifunc_impl_list): Likewise.
36096         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36097         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36098         file.
36099         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36100         file.
36101         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36102         file: multiarch mempcpy for PPC32.
36103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36104         multiarch objects.
36105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36106         (__libc_ifunc_impl_list): Likewise.
36108         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36109         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36110         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36111         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36112         multiarch bzero for PPC32.
36113         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36114         file.
36115         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36116         file.
36117         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36118         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36119         file: multiarch memset for PPC32.
36120         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36122         memset multiarch objects.
36123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36124         (__libc_ifunc_impl_list): Likewise.
36126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36127         file.
36128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36130         memcmp for PPC32.
36131         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36133         multiarch objects.
36134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36135         (__libc_ifunc_impl_list): Likewise.
36137         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36138         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36139         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36140         file.
36141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36142         file.
36143         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36144         file.
36145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36146         multiarch memcpy for PPC32.
36147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36148         multiarch objects.
36149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36150         (__libc_ifunc_impl_list): Likewise.
36152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36153         support multiarch for POWER/PPC32.
36154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36155         Likewise.
36156         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36158         Implies file to make multiarch folder appers before the fpu and
36159         default folder for power4 configuration.
36161 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36163         * scripts/bench.pl: Append volatile keyword to type.
36165 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36167         * sysdeps/sh/sotruss-lib.c: New file.
36168         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36170 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36174 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36176         [BZ #6810]
36177         * math/w_tgamma.c: Include <errno.h>.
36178         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36179         * math/w_tgammaf.c: Include <errno.h>.
36180         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36181         * math/w_tgammal.c: Include <errno.h>.
36182         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36183         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36184         underflow.  Add more tgamma tests.
36185         * math/auto-libm-test-out: Regenerated.
36186         * sysdeps/i386/fpu/libm-test-ulps: Update.
36187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36189         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36190         sin, sinh, tan, tanh, tgamma, y0 and y1.
36191         * math/auto-libm-test-out: Regenerated.
36192         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36193         (TEST_COND_x86): Likewise.
36194         (M_E2l): Remove macro.
36195         (M_E3l): Likewise.
36196         (M_2_SQRT_PIl): Likewise.
36197         (M_SQRT_PIl): Likewise.
36198         (M_1_DIV_El): Likewise.
36199         (log_test_data): Use AUTO_TESTS_f_f.
36200         (log10_test_data): Likewise.
36201         (log1p_test_data): Likewise.
36202         (log2_test_data): Likewise.
36203         (sin_test_data): Likewise.
36204         (sin_tonearest_test_data): Likewise.
36205         (sin_towardzero_test_data): Likewise.
36206         (sin_downward_test_data): Likewise.
36207         (sin_upward_test_data): Likewise.
36208         (sinh_test_data): Likewise.
36209         (sinh_tonearest_test_data): Likewise.
36210         (sinh_towardzero_test_data): Likewise.
36211         (sinh_downward_test_data): Likewise.
36212         (sinh_upward_test_data): Likewise.
36213         (tan_test_data): Likewise.
36214         (tan_tonearest_test_data): Likewise.
36215         (tan_towardzero_test_data): Likewise.
36216         (tan_downward_test_data): Likewise.
36217         (tan_upward_test_data): Likewise.
36218         (tanh_test_data): Likewise.
36219         (tgamma_test_data): Likewise.
36220         (y0_test_data): Likewise.
36221         (y1_test_data): Likewise.
36222         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36223         (special_real_inputs): Add pi/4.
36224         * sysdeps/i386/fpu/libm-test-ulps: Update.
36225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36227 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36229         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36230         "longjmp_target" static probes.
36231         (__longjmp): Rename to __longjmp_symbol.
36232         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36233         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36234         on which longjmp to generate.
36235         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36236         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36237         probe.
36238         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36239         (__sigjmp_save): Rename to __sigjmp_save_symbol.
36240         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36241         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36242         and __sigjmp_save_symbol based on which sigsetjmp to generated.
36243         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
36244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36245         __longjmp_symbol based on which __longjmp to generate.
36246         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36247         probe.
36248         (setjmp): Rename to setjmp_symbol.
36249         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36250         (_setjmp): Rename to _setjmp_symbol.
36251         (__sigsetjmp): Rename to __sigsetjmp_symbol.
36252         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36253         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36254         which setjmp to generate.
36255         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36256         "longjmp_target" static probes.
36258 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36260         * benchtests/README: Add note about output arguments.
36261         * benchtests/bench-sincos.c: Remove file.
36262         * benchtests/sincos-inputs: New file.
36263         * scripts/bench.pl: Identify output arguments and define
36264         static variables for them.
36266         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36268         [BZ #15941]
36269         * Makefile (INSTALL): Add install-plain.texi as the primary
36270         dependency.
36271         * manual/install-plain.texi: New file.
36272         * manual/install.texi: Include node directive only for
36273         non-plaintext output.
36275 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
36277         * stdlib/longlong.h: Update from GCC.
36279         [BZ #6807]
36280         [BZ #15901]
36281         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36282         * math/w_j0f.c (y0f): Likewise.
36283         * math/w_j0l.c (__y0l): Likewise.
36284         * math/w_j1.c (y1): Likewise.
36285         * math/w_j1f.c (y1f): Likewise.
36286         * math/w_j1l.c (__y1l): Likewise
36287         * math/w_jn.c (yn): Likewise.
36288         * math/w_jnf.c (ynf): Likewise.
36289         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36290         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
36291         value for Bessel function domain errors outside _SVID_ mode.
36292         Adjust sign of return value for yn (negative integer, 0).
36293         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36294         by zero in return for negative x and set sign appropriately for
36295         negative n.
36296         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36297         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36298         * math/libm-test.inc (y0_test_data): Add more tests and adjust
36299         expectations in error cases.
36300         (y1_test_data): Likewise.
36301         (yn_test_data): Likewise.
36302         * sysdeps/i386/fpu/libm-test-ulps: Update.
36303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36305 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36307         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36308         "64" to "64-v1".  Add "64-v2".
36309         (abi-64-options): Rename to ...
36310         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
36311         (abi-64-condition): Rename to ...
36312         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
36313         (abi-64-ld-soname): Rename to ...
36314         (abi-64-v1-ld-soname): ... this.
36315         (abi-64-v2-options): Define.
36316         (abi-64-v2-condition): Likewise.
36317         (abi-64-v2-ld-soname): Likewise.
36318         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36319         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36324 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36325             Alan Modra  <amodra@gmail.com>
36327         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36328         New versions for use with the ELFv2 ABI.
36329         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36330         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36331         declaration.
36332         (struct La_ppc64v2_retval): Likewise.
36333         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36334         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36335         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36336         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36337         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36338         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36339         Do not save or restore CR.
36340         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36341         (_dl_profile_resolve): Do no save or restore CR.  Support extended
36342         return values for ELFv2 ABI.  Fix location of FPR return registers.
36343         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36344         updated values for _CALL_ELF == 2.
36345         (La_regs, La_retval, int_retval): Likewise.
36347 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36349         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36350         (FRAME_MIN_SIZE_PARM): Likewise.
36351         (FRAME_BACKCHAIN): Likewise.
36352         (FRAME_CR_SAVE): Likewise.
36353         (FRAME_LR_SAVE): Likewise.
36354         (FRAME_TOC_SAVE): Likewise.
36355         (FRAME_PARM_SAVE): Likewise.
36356         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36357         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36358         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36359         (call_mcount_parm_offset): New macro.
36360         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36361         (PROF): Use symbolic stack frame offsets.
36362         (TAIL_CALL_SYSCALL_ERROR): Likewise.
36363         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36364         Redefine in terms of FRAME_MIN_SIZE.
36365         (_dl_runtime_resolve): Use symbolic stack frame offsets.
36366         (_dl_profile_resolve): Likewise.  Update comment.
36367         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36368         symbols stack frame offsets.
36369         (__sigsetjmp): Likewise.
36370         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36371         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36372         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36373         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36376         (FRAME_BACKCHAIN): Remove.
36377         (FRAME_CR_SAVE): Likewise.
36378         (FRAME_LR_SAVE): Likewise.
36379         (FRAME_COMPILER_DW): Likewise.
36380         (FRAME_LINKER_DW): Likewise.
36381         (FRAME_TOC_SAVE): Likewise.
36382         (FRAME_PARM_SAVE): Likewise.
36383         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36384         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36385         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36387         (CHECK_SP): Use symbolic stack frame offsets.
36388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36389         zone" instead of caller's parameter save area for temp storage.
36390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36391         Likewise.  Also, use symbolic stack frame offsets.
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36393         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36394         our own stack frame instead of the caller's.
36395         (__socket): Use symbolic stack frame offsets.
36397 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36398             Alan Modra  <amodra@gmail.com>
36400         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36401         Define.
36402         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36403         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36404         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36405         New function.
36406         (elf_machine_fixup_plt): Call it.
36407         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36408         reloc arguments.
36409         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36410         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36411         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36412         r2 before calling target.
36414 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36415             Alan Modra  <amodra@gmail.com>
36417         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36418         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36419         versions of macros to support ELFv2 ABI.
36420         (LOCALENTRY): New macro.
36421         (ENTRY, EALIGN): Use it.
36422         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36423         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36424         fall through into ENTRY entry point.
36425         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36426         Only define if _CALL_ELF != 2.
36428         (elf_machine_matches_host): Verify ABI version matches.
36429         (RTLD_START): Use LOCALENTRY.
36430         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36431         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36432         (PLT_ENTRY_WORDS): New macro.
36433         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36434         (elf_machine_runtime_setup): Support ELFv2 ABI.
36435         (elf_machine_fixup_plt): Likewise.
36436         (elf_machine_plt_conflict): Likewise.
36437         (resolve_ifunc): Likewise.
36438         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36439         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36440         Likewise.
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36442         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36444         (makecontext): Support ELFv2 ABI.
36445         * elf/elf.h (EF_PPC64_ABI): Define.
36447 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36449         * sysdeps/powerpc/powerpc64/sysdep.h
36450         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36451         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36452         (ENTRY) [ASSEMBLER]: ... but instead here ...
36453         (EALIGN) [ASSEMBLER]: ... and here.
36454         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36455         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36456         (ENTRY_2) [!ASSEMBLER]: Use it.
36457         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36458         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36459         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36460         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36461         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36463         Use PPC64_LOAD_FUNCPTR.
36465         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36467 2013-12-04  Alan Modra  <amodra@gmail.com>
36469         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36470         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36471         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36472         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36475         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36476         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36477         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36478         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36479         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36481 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36484         (__makecontext): Fix incorrect CFI when backtracing out of
36485         context created via makecontext.
36486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36487         (__setcontext): Fix incorrect CFI during switch to new context.
36488         (__novec_setcontext): Likewise.
36490 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36492         [BZ #4772]
36493         * time/strptime_l.c (__strptime_internal): Allow modifiers
36494         in strptime.
36495         * time/tst-strptime.c (day_tests): Add testcase.
36497 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36499         * scripts/bench.pl: Skip over blank lines.
36501 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36503         [BZ #926]
36504         * manual/time.texi (Calendar Time): Clarify what timezone functions
36505         use.
36507 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36511 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36513         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36514         implementation.
36515         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36516         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36517         * debug/memset_chk.c (__memset_chk): Likewise.
36518         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36519         * debug/strncpy_chk.c: Likewise.
36521 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36523         [BZ #15268]
36524         [BZ #15425]
36525         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36526         (__ieee754_exp): For possibly underflowing results, check size of
36527         result and force underflow exception if required.
36528         * math/auto-libm-test-in: Add more tests of exp.
36529         * math/auto-libm-test-out: Regenerated.
36530         * sysdeps/i386/fpu/libm-test-ulps: Update.
36531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36533         [BZ #16283]
36534         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36535         * math/w_exp2f.c (__exp2f): Likewise.
36536         * math/w_exp2l.c (__exp2l): Likewise.
36537         * math/auto-libm-test-in: Do not allow missing errno on exp2
36538         underflow.
36539         * math/auto-libm-test-out: Regenerated.
36541 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36543         [BZ #16274]
36544         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36545         handle filename validation.
36546         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36547         (do_open): Delete.
36549 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36551         [BZ #6786]
36552         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36553         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36554         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36555         <float.h>.
36556         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36557         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36558         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36559         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36560         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36561         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36562         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36563         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36564         Add more erfc tests.
36565         * math/auto-libm-test-out: Regenerated.
36566         * sysdeps/i386/fpu/libm-test-ulps: Update.
36567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36569         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36570         exp2, expm1, j0 and j1.
36571         * math/auto-libm-test-out: Regenerated.
36572         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36573         (erfc_test_data): Likewise.
36574         (exp_test_data): Likewise.
36575         (exp_tonearest_test_data): Likewise.
36576         (exp_towardzero_test_data): Likewise.
36577         (exp_downward_test_data): Likewise.
36578         (exp_upward_test_data): Likewise.
36579         (exp10_test_data): Likewise.
36580         (exp2_test_data): Likewise.
36581         (expm1_test_data): Likewise.
36582         (j0_test_data): Likewise.
36583         (j1_test_data): Likewise.
36584         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36585         (input_flag_type): Add flag_xfail_rounding.
36586         (input_flags): Add xfail-rounding.
36587         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36588         (output_for_one_input_case): Handle flag_xfail_rounding.
36589         * sysdeps/i386/fpu/libm-test-ulps: Update.
36590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36592 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36594         [BZ #16289]
36595         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36596         division by 0.
36598 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36600         [BZ #16195]
36601         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36602         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36603         (STAP_PROBE0): New macro.
36604         (STAP_PROBE1): Likewise.
36605         (STAP_PROBE2): Likewise.
36606         (STAP_PROBE3): Likewise.
36607         (STAP_PROBE4): Likewise.
36609 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36611         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36613 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36615         * benchtests/Makefile (bench): Add sqrt.
36616         (LDLIBS-bench-sqrt): New.
36617         * benchtests/sqrt-input: New.
36619 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36621         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36622         (GAIH_EAI): Likewise.
36623         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36624         (gaih_inet): Likewise.
36625         (getaddrinfo): Don't use GAIH_EAI.
36627         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36628         (struct gaih): Remove definition.
36630 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36632         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36633         Use HERRNOP directly.
36635 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36639 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36641         * math/gen-auto-libm-tests.c (test_functions): Add more
36642         single-argument functions.
36643         (special_fill_pi_2): New function.
36644         (special_fill_minus_pi_2): Likewise.
36645         (special_fill_pi_6): Likewise.
36646         (special_fill_minus_pi_6): Likewise.
36647         (special_fill_pi_3): Likewise.
36648         (special_fill_2pi_3): Likewise.
36649         (special_fill_e): Likewise.
36650         (special_fill_1_e): Likewise.
36651         (special_fill_e_minus_1): Likewise.
36652         (special_real_inputs): Add more special inputs.
36653         (output_for_one_input_case): Do not require ERANGE on underflow to
36654         zero if round-to-nearest result does not underflow to zero, unless
36655         exact results required.
36656         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36657         atan, atanh, cbrt, cos and cosh.
36658         * math/auto-libm-test-out: Regenerated.
36659         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36660         (acos_tonearest_test_data): Likewise.
36661         (acos_towardzero_test_data): Likewise.
36662         (acos_downward_test_data): Likewise.
36663         (acos_upward_test_data): Likewise.
36664         (acosh_test_data): Likewise.
36665         (asin_test_data): Likewise.
36666         (asin_tonearest_test_data): Likewise.
36667         (asin_towardzero_test_data): Likewise.
36668         (asin_upward_test_data): Likewise.
36669         (asinh_test_data): Likewise.
36670         (atan_test_data): Likewise.
36671         (atanh_test_data): Likewise.
36672         (cbrt_test_data): Likewise.
36673         (cos_test_data): Likewise.
36674         (cos_tonearest_test_data): Likewise.
36675         (cos_towardzero_test_data): Likewise.
36676         (cos_downward_test_data): Likewise.
36677         (cos_upward_test_data): Likewise.
36678         (cosh_test_data): Likewise.
36679         (cosh_tonearest_test_data): Likewise.
36680         (cosh_towardzero_test_data): Likewise.
36681         (cosh_downward_test_data): Likewise.
36682         (cosh_upward_test_data): Likewise.
36683         * sysdeps/i386/fpu/libm-test-ulps: Update.
36684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36686 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36688         [BZ #6787]
36689         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36690         * math/w_exp10f.c (__exp10f): Likewise.
36691         * math/w_exp10l.c (__exp10l): Likewise.
36692         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36693         errno settings in existing tests.
36695         [BZ #14032]
36696         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36697         precision control set to double precision.
36698         * sysdeps/i386/fpu/w_sqrt.c: New file.
36699         * math/auto-libm-test-in: Add more tests.
36700         * math/auto-libm-test-out: Update.
36702         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36703         (sqrt_test_tonearest): New function.
36704         (sqrt_towardzero_test_data): New variable.
36705         (sqrt_test_towardzero): New function.
36706         (sqrt_downward_test_data): New variable.
36707         (sqrt_test_downward): New function.
36708         (sqrt_upward_test_data): New variable.
36709         (sqrt_test_upward): New function.
36710         (main): Call the new functions.
36712         * math/gen-auto-libm-tests.c: New file.
36713         * math/auto-libm-test-in: Likewise.
36714         * math/auto-libm-test-out: New generated file.
36715         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36716         variables.
36717         (%beautify): Add generated representations of zero.
36718         (top level): Set $auto_input and call parse_auto_input.
36719         (beautify): Remove trailing "f" from hex float constants.
36720         (parse_args): Handle XFAIL_TEST.
36721         (convert_condition): New function.
36722         (or_value): Likewise.
36723         (or_cond_value): Likewise.
36724         (generate_testfile): Handle AUTO_TESTS_* lines.
36725         (parse_auto_input): New function.
36726         * math/libm-test.inc (XFAIL_TEST): New macro.
36727         (ERRNO_UNCHANGED): Update value.
36728         (ERRNO_EDOM): Likewise.
36729         (ERRNO_ERANGE): Likewise.
36730         (IGNORE_RESULT): Likewise.
36731         (TEST_COND_flt_32): New macro.
36732         (TEST_COND_dbl_64): Likewise.
36733         (TEST_COND_ldbl_96_intel): Likewise.
36734         (TEST_COND_ldbl_96_m68k): Likewise.
36735         (TEST_COND_ldbl_128): Likewise.
36736         (TEST_COND_ldbl_128ibm): Likewise.
36737         (TEST_COND_long32): Likewise.
36738         (TEST_COND_long64): Likewise.
36739         (TEST_COND_before_rounding): Likewise.
36740         (TEST_COND_after_rounding): Likewise.
36741         (enable_test): Handle XFAIL_TEST flag.
36742         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36743         with finite results.
36744         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36745         auto-libm-test-out.
36747 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36748             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36750         [BZ #16214]
36751         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36752         __tls_get_addr_internal instead of __tls_get_offset in order to
36753         avoid GOT pointer dependency.  Make rtld export
36754         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36755         __tls_get_addr since we are a __tls_get_offset platform.
36756         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36757         GOT pointer being set up before.
36758         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36760 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36762         * manual/math.texi (Errors in Math Functions): Document accuracy
36763         goals.
36765         [BZ #15004]
36766         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36767         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36768         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36769         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36770         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36771         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36772         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36773         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36774         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36775         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36776         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36777         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36778         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36779         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36780         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36781         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36783         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36784         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36785         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36786         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36787         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36788         Likewise.
36789         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36790         Likewise.
36791         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36792         Likewise.
36793         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36794         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36795         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36796         atomic-feupdateenv and flt-rounds.
36797         * sysdeps/powerpc/nofpu/Versions (libc): Add
36798         __atomic_feholdexcept, __atomic_feclearexcept,
36799         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36800         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36801         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36802         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36803         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36804         here.
36805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36806         Update.
36808         * manual/arith.texi (FP Exceptions): Document that exceptions may
36809         not be raised when matherr is used.
36810         (Math Error Reporting): Document overflow in directed rounding
36811         modes.  Document that errno may not be set when finite values are
36812         returned on overflow.  Document intent to set errno on underflow
36813         only for underflow to zero.
36815         [BZ #16271]
36816         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36817         round-to-nearest then adjust result for other rounding modes.
36818         * include/fenv.h (fegetround): Use libm_hidden_proto.
36819         * math/fegetround.c (fegetround): Use libm_hidden_def.
36820         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36821         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36822         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36823         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36824         Likewise.
36825         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36826         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36827         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36828         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36830 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36832         [BZ #16077]
36833         * nss/Versions (libnss_files): Add
36834         _nss_files_gethostbyname3_r.
36835         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36836         New function.
36837         (HOST_DB_LOOKUP): Remove macro.
36838         (_nss_files_gethostbyname_r): Implement function without the
36839         HOST_DB_LOOKUP macro.
36840         (_nss_files_gethostbyname2_r): Likewise.
36842 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36844         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36846 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36848         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36849         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36850         warning.
36852 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36854         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36855         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36856         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36857         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36858         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36859         __fe_nomask_env_priv and attribute_hidden.
36860         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36861         (libc_feupdateenv_test_ppc): Likewise.
36862         (libc_feresetround_ppc): Likewise.
36863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36864         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36865         compat_symbol macro.
36866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36867         (__fe_nomask_env): Likewise.
36868         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36870 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36872         * string/Makefile: Remove ifunc tests.
36873         * string/test-string.h: Define TEST_IFUNC.
36874         * string/test-bcopy-ifunc.c: Remove.
36875         * string/test-bzero-ifunc.c: Likewise.
36876         * string/test-memccpy-ifunc.c: Likewise.
36877         * string/test-memchr-ifunc.c: Likewise.
36878         * string/test-memcmp-ifunc.c: Likewise.
36879         * string/test-memcpy-ifunc.c: Likewise.
36880         * string/test-memmem-ifunc.c: Likewise.
36881         * string/test-memmove-ifunc.c: Likewise.
36882         * string/test-mempcpy-ifunc.c: Likewise.
36883         * string/test-memrchr-ifunc.c: Likewise.
36884         * string/test-memset-ifunc.c: Likewise.
36885         * string/test-rawmemchr-ifunc.c: Likewise.
36886         * string/test-stpcpy-ifunc.c: Likewise.
36887         * string/test-stpncpy-ifunc.c: Likewise.
36888         * string/test-strcasecmp-ifunc.c: Likewise.
36889         * string/test-strcasestr-ifunc.c: Likewise.
36890         * string/test-strcat-ifunc.c: Likewise.
36891         * string/test-strchr-ifunc.c: Likewise.
36892         * string/test-strchrnul-ifunc.c: Likewise.
36893         * string/test-strcmp-ifunc.c: Likewise.
36894         * string/test-strcpy-ifunc.c: Likewise.
36895         * string/test-strcspn-ifunc.c: Likewise.
36896         * string/test-strlen-ifunc.c: Likewise.
36897         * string/test-strncasecmp-ifunc.c: Likewise.
36898         * string/test-strncat-ifunc.c: Likewise.
36899         * string/test-strncmp-ifunc.c: Likewise.
36900         * string/test-strncpy-ifunc.c: Likewise.
36901         * string/test-strnlen-ifunc.c: Likewise.
36902         * string/test-strpbrk-ifunc.c: Likewise.
36903         * string/test-strrchr-ifunc.c: Likewise.
36904         * string/test-strspn-ifunc.c: Likewise.
36905         * string/test-strstr-ifunc.c: Likewise.
36907 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36909         * benchtests/Makefile: Remove ifunc tests.
36910         * benchtests/bench-string.h: Define TEST_IFUNC.
36911         * benchtests/bench-bcopy-ifunc.c: Remove.
36912         * benchtests/bench-bzero-ifunc.c: Likewise.
36913         * benchtests/bench-memccpy-ifunc.c: Likewise.
36914         * benchtests/bench-memchr-ifunc.c: Likewise.
36915         * benchtests/bench-memcmp-ifunc.c: Likewise.
36916         * benchtests/bench-memcpy-ifunc.c: Likewise.
36917         * benchtests/bench-memmem-ifunc.c: Likewise.
36918         * benchtests/bench-memmove-ifunc.c: Likewise.
36919         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36920         * benchtests/bench-memrchr-ifunc.c: Likewise.
36921         * benchtests/bench-memset-ifunc.c: Likewise.
36922         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36923         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36924         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36925         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36926         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36927         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36928         * benchtests/bench-strcat-ifunc.c: Likewise.
36929         * benchtests/bench-strchr-ifunc.c: Likewise.
36930         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36931         * benchtests/bench-strcmp-ifunc.c: Likewise.
36932         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36933         * benchtests/bench-strcpy-ifunc.c: Likewise.
36934         * benchtests/bench-strcspn-ifunc.c: Likewise.
36935         * benchtests/bench-strlen-ifunc.c: Likewise.
36936         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36937         * benchtests/bench-strncat-ifunc.c: Likewise.
36938         * benchtests/bench-strncmp-ifunc.c: Likewise.
36939         * benchtests/bench-strncpy-ifunc.c: Likewise.
36940         * benchtests/bench-strnlen-ifunc.c: Likewise.
36941         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36942         * benchtests/bench-strrchr-ifunc.c: Likewise.
36943         * benchtests/bench-strsep-ifunc.c: Likewise.
36944         * benchtests/bench-strspn-ifunc.c: Likewise.
36945         * benchtests/bench-strstr-ifunc.c: Likewise.
36947 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36949         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36951 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36953         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36954         * rt/aio.h: Likewise.
36955         * sysdeps/gnu/bits/utmp.h: Likewise.
36956         * sysdeps/gnu/bits/utmpx.h: Likewise.
36957         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36958         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36959         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36960         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36961         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36962         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36963         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36964         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36965         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36966         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36967         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36968         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36969         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36971         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36972         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36973         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36974         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36975         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36976         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36977         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36978         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36979         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36980         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36981         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36982         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36983         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36984         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36985         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36986         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36987         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36988         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36989         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36990         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36991         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36992         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36993         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36994         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36995         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36996         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36997         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36998         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37000 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37002         [BZ #16245]
37003         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37004         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37006 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37008         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37009         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37010         Likewise.
37012 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37014         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37015         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37016         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37017         (__fesetround): Remove define.
37018         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37019         rounding and exceptions handling.
37020         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37021         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37022         (__fe_nomask_env): Likewise.
37023         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37024         __fegetround instead of fegetround.
37025         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37026         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37028 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37030         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37031         it's there.
37033         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37035 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37037         [BZ #11157]
37038         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37039         (encrypt_r): Likewise.
37040         * malloc/obstack.h (obstack_free): Likewise.
37041         * posix/unistd.h (encrypt): Likewise.
37043 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37045         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37046         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37047         DL_CALL_DT_FINI() that call the functions directly.
37048         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37049         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37050         * elf/dl-fini.c: Likewise.
37052 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37054         * malloc/hooks.c (memalign_check): Add alignment rounding.
37055         * malloc/malloc.c (_mid_memalign): New function.
37056         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37057         Implement by calling _mid_memalign.
37058         * manual/probes.texi (Memory Allocation Probes): Remove
37059         memory_valloc_retry and memory_pvalloc_retry.
37061 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37063         * locale/programs/locarchive.c (open_archive): Add const
37064         qualifier to ARCHIVEFNAME and copy default fname to
37065         DEFAULT_FNAME.
37067         [BZ #15601]
37068         * libio/tst-widetext.input: Rename Oriya to Odia.
37069         * locale/iso-639.def: Likewise.
37071         * manual/probes.texi (Mathematical Function Probes): Add
37072         documentation for sin, cos, asin and acos probes.
37073         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37074         (__sin32): Add slowasin probe.
37075         (__cos32): Add slowacos probe.
37076         (__mpsin): Add slowsin probe.
37077         (__mpcos): Add slowcos probe.
37079 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37081         [BZ #15483]
37082         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37083         thread-local __sim_exceptions_thread and global
37084         __sim_exceptions_global.
37085         (__sim_disabled_exceptions): Change to thread-local
37086         __sim_disabled_exceptions_thread and global
37087         __sim_disabled_exceptions_global.
37088         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37089         and global __sim_round_mode_global.
37090         (__simulate_exceptions): Use thread-local floating-point state and
37091         set global state from it as needed.
37092         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37093         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37094         __sim_round_mode_thread.
37095         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37096         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37097         and global __sim_exceptions_global.
37098         (__sim_disabled_exceptions): Change to thread-local
37099         __sim_disabled_exceptions_thread and global
37100         __sim_disabled_exceptions_global.
37101         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37102         and global __sim_round_mode_global.
37103         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37104         (SIM_SET_GLOBAL): Likewise.
37105         * sysdeps/powerpc/soft-fp/sfp-machine.h
37106         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37107         __sim_round_mode_thread.
37108         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37109         __sim_disabled_exceptions_thread.
37110         (__sim_exceptions): Change to __sim_exceptions_thread.
37111         (__sim_disabled_exceptions): Change to
37112         __sim_disabled_exceptions_thread.
37113         (__sim_round_mode): Change to __sim_round_mode_thread.
37114         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37115         thread-local floating-point state and set global state from it as
37116         needed.
37117         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37118         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37119         (__sim_disabled_exceptions): Remove extern declaration.
37120         (feenableexcept): Use thread-local floating-point state and set
37121         global state from it as needed.
37122         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37123         extern declaration.
37124         (__sim_disabled_exceptions): Likewise.
37125         (__sim_round_mode): Likewise.
37126         (__fegetenv): Use thread-local floating-point state.
37127         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37128         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37129         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37130         floating-point state and set global state from it as needed.
37131         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37132         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37133         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37134         Likewise.
37135         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37136         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37137         Likewise.
37138         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37139         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37140         Use __sim_round_mode_thread.
37141         * math/test-fenv-tls.c: New file.
37142         * math/Makefile (tests): Add test-fenv-tls.
37143         ($(objpfx)test-fenv-tls): Depend on
37144         $(common-objpfx)nptl/libpthread.so.
37146 2013-11-19  Andreas Schwab  <schwab@suse.de>
37148         * locale/programs/locale.c (show_info): Decode wordarray elements.
37149         * locale/categories.def (LC_MONETARY): Add element for
37150         _NL_MONETARY_CRNCYSTR.
37151         * locale/C-monetary.c (conversion_rate): New variable.
37152         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37153         element.
37155 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37157         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37158         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37160 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37162         * elf/Makefile (tst-auxv): New test.
37163         * elf/tst-auxv.c: New
37164         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37166 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37168         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37169         (hidden_proto): Caller changed.
37170         (hidden_tls_proto): New macro.
37171         (libc_hidden_tls_proto): Likewise.
37172         (rtld_hidden_tls_proto): Likewise.
37173         (libm_hidden_tls_proto): Likewise.
37174         (libresolv_hidden_tls_proto): Likewise.
37175         (librt_hidden_tls_proto): Likewise.
37176         (libdl_hidden_tls_proto): Likewise.
37177         (libnss_files_hidden_tls_proto): Likewise.
37178         (libnsl_hidden_tls_proto): Likewise.
37179         (libnss_nisplus_hidden_tls_proto): Likewise.
37180         (libutil_hidden_tls_proto): Likewise.
37182 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37184         [BZ #10253]
37185         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37186         (decompose_rpath): Defer expansion to fillin_rpath.
37187         (_dl_init_paths): Pass linkmap to fillin_rpath.
37189 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37191         * benchtests/Makefile: Add strsep.
37192         * benchtests/bench-strsep.c: New file: strsep benchtest.
37193         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37195 2013-11-18  Andreas Schwab  <schwab@suse.de>
37197         * locale/programs/locale.c (show_info) [case byte]: Check for
37198         '\377' instead of '\177'.
37199         * locale/C-monetary.c (not_available): Always use "\377".
37200         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37201         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37202         detect unavailable sign_posn locale elements.
37203         * locale/localeconv.c (__localeconv): For grouping and
37204         mon_grouping handle "\177" and "\377" like no grouping.
37205         (INT_ELEM): New macro.  Use it to set all numeric members.
37206         * locale/programs/ld-monetary.c (monetary_read)
37207         <tok_mon_grouping>: Normalize single -1 to the empty string.
37208         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37209         Likewise.
37211 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37213         [BZ #16055]
37214         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37215         when we match (nil).
37216         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37218 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37220         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37221         (NO_TEST_INLINE): Update value.
37222         (ERRNO_UNCHANGED): Likewise.
37223         (ERRNO_EDOM): Likewise.
37224         (ERRNO_ERANGE): Likewise.
37225         (IGNORE_RESULT): Likewise.
37226         (check_float_internal): Check signs of NaN results if
37227         TEST_NAN_SIGN used.
37228         (check_complex): Pass TEST_NAN_SIGN flag through to second
37229         check_float_internal call.
37230         (copysign_test_data): Add tests with quiet NaNs as second
37231         argument.  Use TEST_NAN_SIGN.
37232         (fabs_test_data): Add test of negative quiet NaN argument.  Use
37233         TEST_NAN_SIGN.
37234         (signbit_test_data): Add tests of quiet NaN argument.
37235         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37237         * math/gen-libm-test.pl (show_exceptions): Take extra argument
37238         $ignore_result.
37239         (parse_args): Handle function results specified as IGNORE.
37240         * math/libm-test.inc (IGNORE_RESULT): New macro.
37241         (check_float_internal): Do not check numerical result if flag
37242         IGNORE_RESULT set.
37243         (check_complex): Pass through IGNORE_RESULT to second
37244         check_float_internal call.
37245         (check_int): Do not check numerical result if flag IGNORE_RESULT
37246         set.
37247         (check_long): Likewise.
37248         (check_bool): Likewise.
37249         (check_longlong): Likewise.
37250         (lrint_test_data): Add tests of infinite and NaN arguments.
37251         (lrint_tonearest_test_data): Likewise.
37252         (lrint_towardzero_test_data): Likewise.
37253         (lrint_downward_test_data): Likewise.
37254         (lrint_upward_test_data): Likewise.
37255         (llrint_test_data): Likewise.
37256         (llrint_tonearest_test_data): Likewise.
37257         (llrint_towardzero_test_data): Likewise.
37258         (llrint_downward_test_data): Likewise.
37259         (llrint_upward_test_data): Likewise.
37260         (lround_test_data): Likewise.
37261         (llround_test_data): Likewise.
37263         * math/libm-test.inc (NO_TEST_INLINE): New macro.
37264         (ERRNO_UNCHANGED): Update value.
37265         (ERRNO_EDOM): Likewise.
37266         (ERRNO_ERANGE): Likewise.
37267         (NO_TEST_INLINE_FLOAT): New macro.
37268         (NO_TEST_INLINE_DOUBLE): Likewise.
37269         (enable_test): New function.
37270         (RUN_TEST_f_f): Check enable_test before running test.
37271         (RUN_TEST_2_f): Likewise.
37272         (RUN_TEST_fff_f): Likewise.
37273         (RUN_TEST_c_f): Likewise.
37274         (RUN_TEST_f_f1): Likewise.
37275         (RUN_TEST_fF_f1): Likewise.
37276         (RUN_TEST_fI_f1): Likewise.
37277         (RUN_TEST_ffI_f1): Likewise.
37278         (RUN_TEST_c_c): Likewise.
37279         (RUN_TEST_cc_c): Likewise.
37280         (RUN_TEST_f_i): Likewise.
37281         (RUN_TEST_f_i_tg): Likewise.
37282         (RUN_TEST_ff_i_tg): Likewise.
37283         (RUN_TEST_f_b): Likewise.
37284         (RUN_TEST_f_b_tg): Likewise.
37285         (RUN_TEST_f_l): Likewise.
37286         (RUN_TEST_f_L): Likewise.
37287         (RUN_TEST_fFF_11): Likewise.
37288         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37289         conditionals.
37290         (cosh_test_data): Likewise.
37291         (exp_test_data): Likewise.
37292         (expm1_test_data): Likewise.
37293         (hypot_test_data): Likewise.
37294         (pow_test_data): Likewise.
37295         (sinh_test_data): Likewise.
37296         (tanh_test_data): Likewise.
37297         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37298         flags argument.
37300         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37301         tests with quiet NaN input and output.
37302         (acosh_test_data): Likewise.
37303         (asin_test_data): Likewise.
37304         (asinh_test_data): Likewise.
37305         (atan_test_data): Likewise.
37306         (atanh_test_data): Likewise.
37307         (atan2_test_data): Likewise.
37308         (cbrt_test_data): Likewise.
37309         (cos_test_data): Likewise.
37310         (cosh_test_data): Likewise.
37311         (erf_test_data): Likewise.
37312         (erfc_test_data): Likewise.
37313         (exp_test_data): Likewise.
37314         (exp10_test_data): Likewise.
37315         (exp2_test_data): Likewise.
37316         (expm1_test_data): Likewise.
37317         (hypot_test_data): Likewise.
37318         (j0_test_data): Likewise.
37319         (j1_test_data): Likewise.
37320         (jn_test_data): Likewise.
37321         (lgamma_test_data): Likewise.
37322         (log_test_data): Likewise.
37323         (log10_test_data): Likewise.
37324         (log1p_test_data): Likewise.
37325         (log2_test_data): Likewise.
37326         (pow_test_data): Likewise.
37327         (scalb_test_data): Likewise.
37328         (sin_test_data): Likewise.
37329         (sincos_test_data): Likewise.
37330         (sinh_test_data): Likewise.
37331         (tan_test_data): Likewise.
37332         (tanh_test_data): Likewise.
37333         (tgamma_test_data): Likewise.
37334         (y0_test_data): Likewise.
37335         (y1_test_data): Likewise.
37336         (yn_test_data): Likewise.
37338         [BZ #16167]
37339         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37340         argument being NaN and avoid computations with second argument in
37341         that case.
37342         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37343         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37344         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37346 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
37348         * locale/iso-639.def: Add Chitwani Tharu (the).
37350 2013-11-14  Andreas Schwab  <schwab@suse.de>
37352         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37353         word instead of empty string.
37355 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37358         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37360         (__fe_nomask_env): Likewise.
37362 2013-11-13  Steve Ellcey  <sellcey@mips.com>
37364         * benchtests/bench-timing.h: Include time.h.
37366 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
37368         [BZ #15997]
37369         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37370         to 3.4.0 for x32.
37371         * sysdeps/unix/sysv/linux/configure: Regenerated.
37373 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
37375         [BZ #16151]
37376         * stdlib/strtod_l.c (round_and_return): Do not consider
37377         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37378         exponent one less than half the least subnormal exponent.
37379         * stdlib/test-strtod-round-data: Add more tests.
37380         * stdlib/tst-strtod-round.c (tests): Regenerated.
37382 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37384         [BZ #14143]
37385         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37386         (__fe_mask_env): Likewise.
37387         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37388         libm_hidden_proto and add function prototype.
37389         (__fe_mask_env): Add function prototype.
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37391         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37393         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37395         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37397 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37399         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37400         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37402 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37404         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37405         of htab_find_slot().
37407 2013-11-11  David S. Miller  <davem@davemloft.net>
37409         [BZ #16150]
37410         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37411         symbol in the non-vis3 case in static builds.
37412         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37413         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37414         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37415         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37417 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37419         [BZ #387]
37420         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37421         it is empty.
37423 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37425         * benchtests/Makefile: Add bench-strtod.
37426         * benchtests/bench-strtod.c: New file: strtod benchtest
37428 2013-11-11  Andreas Schwab  <schwab@suse.de>
37430         [BZ #16153]
37431         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37432         terminating NUL in key length.
37434 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37436         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37437         Add artificial ODP entry for vDSO symbol for PPC64.
37438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37439         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37441 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37443         [BZ #15374]
37444         * nss/getent.c (services_keys): Recognize services starting with digit.
37446 2013-11-06  David S. Miller  <davem@davemloft.net>
37448         [BZ #15985]
37449         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37450         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37452 2013-11-06  Will Newton  <will.newton@linaro.org>
37454         * manual/memory.texi (Malloc Examples): Remove register
37455         keyword from examples.
37457 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37459         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37461 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37463         [BZ #6981]
37464         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37465         depending on [__GCC_IEC_559 > 0].
37466         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37467         depending on [__GCC_IEC_559_COMPLEX > 0].
37469 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37471         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37472         to iso-639.def.
37474 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37476         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37478 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37480         [BZ #16112]
37481         * malloc/malloc (malloc_info): Do not handle first bin as
37482         special case.
37484 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37486         * locale/iso-639.def: Add Central Nahuatl (nhn).
37488 2013-11-01  Bruno Haible  <bruno@clisp.org>
37490         [BZ #7003]
37491         * manual/math.texi (BSD Random): Specify range upper bound as
37492         in POSIX.
37494 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37496         * locale/iso-639.def: Add Meadow Mari (mhr).
37498 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37500         [BZ #14752], [BZ #15763]
37501         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37502         Validate name.
37503         * rt/tst_shm.c: Add test for escaping directory.
37505 2013-10-31  Andreas Schwab  <schwab@suse.de>
37507         [BZ #15917]
37508         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37509         followed by 'x' as part of digit sequence.
37510         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37512 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37514         [BZ #16037]
37515         * configure.ac: allow GNU Make 4.0 and greater.
37516         * configure: Regenerated.
37518 2013-10-30  Will Newton  <will.newton@linaro.org>
37520         [BZ #16038]
37521         * malloc/hooks.c (memalign_check): Limit alignment to the
37522         maximum representable power of two.
37523         * malloc/malloc.c (__libc_memalign): Likewise.
37524         * malloc/tst-memalign.c (do_test): Add test for very
37525         large alignment values.
37526         * malloc/tst-posix_memalign.c (do_test): Likewise.
37528 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37530         [BZ #11087]
37531         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37532         (munmap_chunk): Likewise.
37533         (mremap_chunk): Likewise.
37535 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37537         [BZ #15799]
37538         * stdlib/div.c (div): Remove obsolete code.
37539         * stdlib/ldiv.c (ldiv): Likewise.
37540         * stdlib/lldiv.c (lldiv): Likewise.
37542 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37544         [BZ #16071]
37545         * nss/nss_files/files-XXX.c (get_contents_ret): New
37546         enumerator.
37547         (get_contents): New function.
37548         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37550 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37552         * configure.in: Moved to ...
37553         * configure.ac: ... here. Change reference to configure.in
37554         to configure.ac.
37555         * sysdeps/arm/preconfigure.ac: ... here.
37556         configure.in to configure.ac.
37557         * sysdeps/gnu/configure.in: Moved to ...
37558         * sysdeps/gnu/configure.ac: ... here.
37559         * sysdeps/i386/configure.in: Moved to ...
37560         * sysdeps/i386/configure.ac: ... here.
37561         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37562         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37563         * sysdeps/mach/configure.in: Moved to ...
37564         * sysdeps/mach/configure.ac: ... here.
37565         * sysdeps/mach/hurd/configure.in: Moved to ...
37566         * sysdeps/mach/hurd/configure.ac: ... here.
37567         * sysdeps/powerpc/configure.in: Moved to ...
37568         * sysdeps/powerpc/configure.ac: ... here.
37569         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37570         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37571         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37572         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37573         * sysdeps/s390/s390-32/configure.in: Moved to ...
37574         * sysdeps/s390/s390-32/configure.ac: ... here.
37575         * sysdeps/s390/s390-64/configure.in: Moved to ...
37576         * sysdeps/s390/s390-64/configure.ac: ... here.
37577         * sysdeps/sh/configure.in: Moved to ...
37578         * sysdeps/sh/configure.ac: ... here.
37579         * sysdeps/sparc/configure.in: Moved to ...
37580         * sysdeps/sparc/configure.ac: ... here.
37581         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37582         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37583         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37584         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37585         * sysdeps/x86_64/configure.in: Moved to ...
37586         * sysdeps/x86_64/configure.ac: ... here.
37587         * sysdeps/x86_64/preconfigure.in: Moved to ...
37588         * sysdeps/x86_64/preconfigure.ac: ... here.
37589         * aclocal.m4: Change reference to configure.in to configure.ac.
37590         * config.h.in: Likewise.
37591         * manual/install.texi: Likewise.
37592         * manual/maint.texi: Likewise.
37593         * Makefile: Likewise.
37594         * malloc/Makefile: Likewise.
37595         * nscd/Makefile: Likewise.
37596         * Makeconfig: Change reference to configure.in and
37597         preconfigure.in to configure.ac and preconfigure.ac
37598         respectively.
37599         * INSTALL: Regenerated.
37600         * configure: Likewise.
37601         * sysdeps/gnu/configure: Likewise.
37602         * sysdeps/i386/configure: Likewise.
37603         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37604         * sysdeps/mach/configure: Likewise.
37605         * sysdeps/mach/hurd/configure: Likewise.
37606         * sysdeps/powerpc/configure: Likewise.
37607         * sysdeps/powerpc/powerpc32/configure: Likewise.
37608         * sysdeps/powerpc/powerpc64/configure: Likewise.
37609         * sysdeps/s390/s390-32/configure: Likewise.
37610         * sysdeps/s390/s390-64/configure: Likewise.
37611         * sysdeps/sh/configure: Likewise.
37612         * sysdeps/sparc/configure: Likewise.
37613         * sysdeps/unix/sysv/linux/configure: Likewise.
37614         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37615         * sysdeps/x86_64/configure: Likewise.
37616         * sysdeps/x86_64/preconfigure: Likewise.
37618 2013-10-29  Andreas Schwab  <schwab@suse.de>
37620         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37622 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37624         * benchtests/pow-inputs: Add new inputs.
37626         * benchtests/exp-inputs: Add new inputs.
37628         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37629         conditional check for return value.
37630         (__cos32): Likewise.
37632 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37634         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37635         to provide a boost for large inputs with word alignment.
37636         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37637         implementation based on optimized PPC64 strcpy.
37638         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37639         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37640         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37641         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37643 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37645         [BZ #2801]
37646         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37648 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37650         [BZ #14876]
37651         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37652         * time/tst-strptime.c (day_tests): Add testcase.
37654 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37656         [BZ #14029]
37657         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37659 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37661         [BZ #16074]
37662         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37663         MAP_FAILED on error.
37665 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37667         [BZ #16072]
37668         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37669         heap for large requests.
37671 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37673         [BZ #9954]
37674         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37675         result if the result has no associated interface.
37676         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37677         interface for all 127.X.Y.Z addresses.
37679 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37681         * locale/iso-639.def: Add Ligurian (lij)
37683 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37685         [BZ #15825]
37686         * sunrpc/rpc_main.c: Document rpcgen -5.
37688 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37690         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37692 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37694         [BZ #10278]
37695         * posix/glob.c: Match only directories when trailing slash is present.
37696         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37697         (main): Add testcase.
37699 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37701         [BZ #15670]
37702         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37704 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37706         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37707         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37708         AUTH_DES and cindex for FIPS 140-2.
37709         (DES Encryption): Add cindex FIPS 46-3.
37711         * locale/locarchive.h (struct locarhandle): Add fname.
37712         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37713         if an optional argument was specified to --list-archive,
37714         otherwise NULL.
37715         * locale/programs/locarchive.c (show_archive_content): Take new
37716         argument fname and pass it via ah.fname to open_archive.
37717         * locale/programs/localedef.h: Update decl.
37718         (open_archive): If AH->fname is non-null, open that file
37719         rather than the default file name, and don't ignore ENOENT.
37720         (create_archive): Set AH.fname to NULL.
37721         (delete_locales_from_archive): Likewise.
37722         (add_locales_to_archive): Likewise.
37723         * locale/programs/locfile.c (write_all_categories): Likewise.
37725 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37726             Aldy Hernandez  <aldyh@redhat.com>
37728         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37729         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37730         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37731         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37732         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37733         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37734         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37735         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37736         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37737         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37738         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37739         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37740         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37741         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37742         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37743         Likewise.
37744         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37745         Likewise.
37746         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37747         Likewise.
37748         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37749         Likewise.
37750         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37751         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37752         Likewise.
37753         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37754         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37755         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37756         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37757         Likewise.
37758         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37759         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37760         * sysdeps/powerpc/preconfigure: Likewise.
37761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37762         Likewise.
37763         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37764         Replace contents of file by #include of <fenv_libc.h>.
37765         * sysdeps/powerpc/soft-fp/sfp-machine.h
37766         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37767         and <sys/prctl.h>.
37768         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37769         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37770         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37771         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37772         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37773         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37775         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37776         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37777         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37778         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37779         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37781         Allow copysignl PLT reference to be missing.
37783 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37784             Joseph Myers  <joseph@codesourcery.com
37786         [BZ #15948]
37787         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37788         single character.
37789         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37791 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37793         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37794         * elf/tst-tls1.c: Likewise.
37795         * elf/tst-tls10.h: Likewise.
37796         * elf/tst-tls14.c: Likewise.
37797         * elf/tst-tls2.c: Likewise.
37798         * elf/tst-tls3.c: Likewise.
37799         * elf/tst-tls4.c: Likewise.
37800         * elf/tst-tls5.c: Likewise.
37801         * elf/tst-tls6.c: Likewise.
37802         * elf/tst-tls7.c: Likewise.
37803         * elf/tst-tls8.c: Likewise.
37804         * elf/tst-tls9.c: Likewise.
37805         * elf/tst-tlsmod1.c: Likewise.
37806         * elf/tst-tlsmod13.c: Likewise.
37807         * elf/tst-tlsmod13a.c: Likewise.
37808         * elf/tst-tlsmod14a.c: Likewise.
37809         * elf/tst-tlsmod16a.c: Likewise.
37810         * elf/tst-tlsmod16b.c: Likewise.
37811         * elf/tst-tlsmod2.c: Likewise.
37812         * elf/tst-tlsmod3.c: Likewise.
37813         * elf/tst-tlsmod4.c: Likewise.
37814         * elf/tst-tlsmod5.c: Likewise.
37815         * elf/tst-tlsmod6.c: Likewise.
37817 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37819         [BZ #12486]
37820         * malloc/malloc.c: remove checks for statistics.
37822 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37824         [BZ #15277]
37825         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37826         * inet/tst-network.c: Add testcase.
37828 2013-10-17  Andreas Schwab  <schwab@suse.de>
37830         [BZ #15218]
37831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37832         to determine canonical name.
37834 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37836         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37837         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37838         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37839         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37840         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37841         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37842         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37843         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37844         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37845         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37846         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37847         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37848         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37849         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37850         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37851         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37852         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37853         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37854         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37855         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37856         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37857         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37858         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37859         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37860         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37861         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37862         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37863         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37864         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37865         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37866         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37867         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37868         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37869         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37870         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37871         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37872         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37873         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37874         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37875         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37876         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37877         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37878         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37879         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37880         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37881         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37882         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37883         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37884         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37885         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37886         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37887         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37888         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37889         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37890         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37891         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37892         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37893         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37895 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37897         [BZ #16041]
37898         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37899         make result into a quiet NaN.
37901 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37903         * soft-fp/adddf3.c: Fix horizontal whitespace.
37904         * soft-fp/addsf3.c: Likewise.
37905         * soft-fp/addtf3.c: Likewise.
37906         * soft-fp/divdf3.c: Likewise.
37907         * soft-fp/divsf3.c: Likewise.
37908         * soft-fp/divtf3.c: Likewise.
37909         * soft-fp/double.h: Likewise.
37910         * soft-fp/eqdf2.c: Likewise.
37911         * soft-fp/eqsf2.c: Likewise.
37912         * soft-fp/eqtf2.c: Likewise.
37913         * soft-fp/extenddftf2.c: Likewise.
37914         * soft-fp/extended.h: Likewise.
37915         * soft-fp/extendsfdf2.c: Likewise.
37916         * soft-fp/extendsftf2.c: Likewise.
37917         * soft-fp/extendxftf2.c: Likewise.
37918         * soft-fp/fixdfdi.c: Likewise.
37919         * soft-fp/fixdfsi.c: Likewise.
37920         * soft-fp/fixdfti.c: Likewise.
37921         * soft-fp/fixsfdi.c: Likewise.
37922         * soft-fp/fixsfsi.c: Likewise.
37923         * soft-fp/fixsfti.c: Likewise.
37924         * soft-fp/fixtfdi.c: Likewise.
37925         * soft-fp/fixtfsi.c: Likewise.
37926         * soft-fp/fixtfti.c: Likewise.
37927         * soft-fp/fixunsdfdi.c: Likewise.
37928         * soft-fp/fixunsdfsi.c: Likewise.
37929         * soft-fp/fixunsdfti.c: Likewise.
37930         * soft-fp/fixunssfdi.c: Likewise.
37931         * soft-fp/fixunssfsi.c: Likewise.
37932         * soft-fp/fixunssfti.c: Likewise.
37933         * soft-fp/fixunstfdi.c: Likewise.
37934         * soft-fp/fixunstfsi.c: Likewise.
37935         * soft-fp/fixunstfti.c: Likewise.
37936         * soft-fp/floatdidf.c: Likewise.
37937         * soft-fp/floatdisf.c: Likewise.
37938         * soft-fp/floatditf.c: Likewise.
37939         * soft-fp/floatsidf.c: Likewise.
37940         * soft-fp/floatsisf.c: Likewise.
37941         * soft-fp/floatsitf.c: Likewise.
37942         * soft-fp/floattidf.c: Likewise.
37943         * soft-fp/floattisf.c: Likewise.
37944         * soft-fp/floattitf.c: Likewise.
37945         * soft-fp/floatundidf.c: Likewise.
37946         * soft-fp/floatundisf.c: Likewise.
37947         * soft-fp/floatunditf.c: Likewise.
37948         * soft-fp/floatunsidf.c: Likewise.
37949         * soft-fp/floatunsisf.c: Likewise.
37950         * soft-fp/floatunsitf.c: Likewise.
37951         * soft-fp/floatuntidf.c: Likewise.
37952         * soft-fp/floatuntisf.c: Likewise.
37953         * soft-fp/floatuntitf.c: Likewise.
37954         * soft-fp/fmadf4.c: Likewise.
37955         * soft-fp/fmasf4.c: Likewise.
37956         * soft-fp/fmatf4.c: Likewise.
37957         * soft-fp/gedf2.c: Likewise.
37958         * soft-fp/gesf2.c: Likewise.
37959         * soft-fp/getf2.c: Likewise.
37960         * soft-fp/ledf2.c: Likewise.
37961         * soft-fp/lesf2.c: Likewise.
37962         * soft-fp/letf2.c: Likewise.
37963         * soft-fp/muldf3.c: Likewise.
37964         * soft-fp/mulsf3.c: Likewise.
37965         * soft-fp/multf3.c: Likewise.
37966         * soft-fp/negdf2.c: Likewise.
37967         * soft-fp/negsf2.c: Likewise.
37968         * soft-fp/negtf2.c: Likewise.
37969         * soft-fp/op-1.h: Likewise.
37970         * soft-fp/op-2.h: Likewise.
37971         * soft-fp/op-4.h: Likewise.
37972         * soft-fp/op-8.h: Likewise.
37973         * soft-fp/op-common.h: Likewise.
37974         * soft-fp/quad.h: Likewise.
37975         * soft-fp/single.h: Likewise.
37976         * soft-fp/soft-fp.h: Likewise.
37977         * soft-fp/sqrtdf2.c: Likewise.
37978         * soft-fp/sqrtsf2.c: Likewise.
37979         * soft-fp/sqrttf2.c: Likewise.
37980         * soft-fp/subdf3.c: Likewise.
37981         * soft-fp/subsf3.c: Likewise.
37982         * soft-fp/subtf3.c: Likewise.
37983         * soft-fp/truncdfsf2.c: Likewise.
37984         * soft-fp/trunctfdf2.c: Likewise.
37985         * soft-fp/trunctfsf2.c: Likewise.
37986         * soft-fp/trunctfxf2.c: Likewise.
37987         * soft-fp/unorddf2.c: Likewise.
37988         * soft-fp/unordsf2.c: Likewise.
37989         * soft-fp/unordtf2.c: Likewise.
37991 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37993         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37994         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37996 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37998         * elf/dl-libc.c: Clear initfini list after freeing.
38000 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38002         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38003         * soft-fp/addsf3.c: Likewise.
38004         * soft-fp/addtf3.c: Likewise.
38005         * soft-fp/divdf3.c: Likewise.
38006         * soft-fp/divsf3.c: Likewise.
38007         * soft-fp/divtf3.c: Likewise.
38008         * soft-fp/double.h: Likewise.
38009         * soft-fp/eqdf2.c: Likewise.
38010         * soft-fp/eqsf2.c: Likewise.
38011         * soft-fp/eqtf2.c: Likewise.
38012         * soft-fp/extenddftf2.c: Likewise.
38013         * soft-fp/extended.h: Likewise.
38014         * soft-fp/extendsfdf2.c: Likewise.
38015         * soft-fp/extendsftf2.c: Likewise.
38016         * soft-fp/extendxftf2.c: Likewise.
38017         * soft-fp/fixdfdi.c: Likewise.
38018         * soft-fp/fixdfsi.c: Likewise.
38019         * soft-fp/fixdfti.c: Likewise.
38020         * soft-fp/fixsfdi.c: Likewise.
38021         * soft-fp/fixsfsi.c: Likewise.
38022         * soft-fp/fixsfti.c: Likewise.
38023         * soft-fp/fixtfdi.c: Likewise.
38024         * soft-fp/fixtfsi.c: Likewise.
38025         * soft-fp/fixtfti.c: Likewise.
38026         * soft-fp/fixunsdfdi.c: Likewise.
38027         * soft-fp/fixunsdfsi.c: Likewise.
38028         * soft-fp/fixunsdfti.c: Likewise.
38029         * soft-fp/fixunssfdi.c: Likewise.
38030         * soft-fp/fixunssfsi.c: Likewise.
38031         * soft-fp/fixunssfti.c: Likewise.
38032         * soft-fp/fixunstfdi.c: Likewise.
38033         * soft-fp/fixunstfsi.c: Likewise.
38034         * soft-fp/fixunstfti.c: Likewise.
38035         * soft-fp/floatdidf.c: Likewise.
38036         * soft-fp/floatdisf.c: Likewise.
38037         * soft-fp/floatditf.c: Likewise.
38038         * soft-fp/floatsidf.c: Likewise.
38039         * soft-fp/floatsisf.c: Likewise.
38040         * soft-fp/floatsitf.c: Likewise.
38041         * soft-fp/floattidf.c: Likewise.
38042         * soft-fp/floattisf.c: Likewise.
38043         * soft-fp/floattitf.c: Likewise.
38044         * soft-fp/floatundidf.c: Likewise.
38045         * soft-fp/floatundisf.c: Likewise.
38046         * soft-fp/floatunsidf.c: Likewise.
38047         * soft-fp/floatunsisf.c: Likewise.
38048         * soft-fp/floatuntidf.c: Likewise.
38049         * soft-fp/floatuntisf.c: Likewise.
38050         * soft-fp/floatuntitf.c: Likewise.
38051         * soft-fp/fmadf4.c: Likewise.
38052         * soft-fp/fmasf4.c: Likewise.
38053         * soft-fp/fmatf4.c: Likewise.
38054         * soft-fp/gedf2.c: Likewise.
38055         * soft-fp/gesf2.c: Likewise.
38056         * soft-fp/getf2.c: Likewise.
38057         * soft-fp/ledf2.c: Likewise.
38058         * soft-fp/lesf2.c: Likewise.
38059         * soft-fp/letf2.c: Likewise.
38060         * soft-fp/muldf3.c: Likewise.
38061         * soft-fp/mulsf3.c: Likewise.
38062         * soft-fp/multf3.c: Likewise.
38063         * soft-fp/negdf2.c: Likewise.
38064         * soft-fp/negsf2.c: Likewise.
38065         * soft-fp/negtf2.c: Likewise.
38066         * soft-fp/op-1.h: Likewise.
38067         * soft-fp/op-2.h: Likewise.
38068         * soft-fp/op-4.h: Likewise.
38069         * soft-fp/op-8.h: Likewise.
38070         * soft-fp/op-common.h: Likewise.
38071         * soft-fp/quad.h: Likewise.
38072         * soft-fp/single.h: Likewise.
38073         * soft-fp/soft-fp.h: Likewise.
38074         * soft-fp/sqrtdf2.c: Likewise.
38075         * soft-fp/sqrtsf2.c: Likewise.
38076         * soft-fp/sqrttf2.c: Likewise.
38077         * soft-fp/subdf3.c: Likewise.
38078         * soft-fp/subsf3.c: Likewise.
38079         * soft-fp/subtf3.c: Likewise.
38080         * soft-fp/truncdfsf2.c: Likewise.
38081         * soft-fp/trunctfdf2.c: Likewise.
38082         * soft-fp/trunctfsf2.c: Likewise.
38083         * soft-fp/trunctfxf2.c: Likewise.
38084         * soft-fp/unorddf2.c: Likewise.
38085         * soft-fp/unordsf2.c: Likewise.
38086         * soft-fp/unordtf2.c: Likewise.
38088 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38090         [BZ #15672]
38091         * misc/error.c (error_tail): Fix possible buffer overflow.
38093 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38095         [BZ #13028]
38096         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38097         address.
38099 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38101         [BZ #832]
38102         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38103         testing pipefail option.
38105 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38107         * soft-fp/double.h: Indent preprocessor directives inside #if.
38108         * soft-fp/extended.h: Likewise.
38109         * soft-fp/op-2.h: Likewise.
38110         * soft-fp/op-4.h: Likewise.
38111         * soft-fp/op-common.h: Likewise.
38112         * soft-fp/quad.h: Likewise.
38113         * soft-fp/single.h: Likewise.
38114         * soft-fp/soft-fp.h: Likewise.
38116 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38118         * iconv/iconv_prog.c: Fix typos.
38119         * stdio-common/psiginfo-data.h: Likewise.
38121 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38123         [BZ #15764]
38124         * locale/setlocale.c: Fix typo.
38126 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38128         [BZ #16036]
38129         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38130         signaling NaN arguments.
38131         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38132         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38134         [BZ #14910]
38135         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38136         unordered operands.
38137         * soft-fp/gesf2.c (__gesf2): Likewise.
38138         * soft-fp/getf2.c (__getf2): Likewise.
38139         * soft-fp/ledf2.c (__ledf2): Likewise.
38140         * soft-fp/lesf2.c (__lesf2): Likewise.
38141         * soft-fp/letf2.c (__letf2): Likewise.
38143         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38144         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38145         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38146         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38147         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38148         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38149         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38150         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38151         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38152         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38153         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38154         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38155         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38156         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38157         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38158         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38159         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38160         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38161         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38162         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38163         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38164         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38165         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38166         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38167         * soft-fp/floattidf.c (__floattidf): Likewise.
38168         * soft-fp/floattisf.c (__floattisf): Likewise.
38169         * soft-fp/floattitf.c (__floattitf): Likewise.
38170         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38171         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38172         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38173         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38174         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38175         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38176         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38177         * soft-fp/gesf2.c (__gesf2): Likewise.
38178         * soft-fp/getf2.c (__getf2): Likewise.
38179         * soft-fp/ledf2.c (__ledf2): Likewise.
38180         * soft-fp/lesf2.c (__lesf2): Likewise.
38181         * soft-fp/letf2.c (__letf2): Likewise.
38183         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38184         Undefine and redefine.
38185         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38186         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38187         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38188         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38189         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38190         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38191         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38192         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38193         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38194         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38195         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38196         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38197         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38198         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38199         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38201         [BZ #16032]
38202         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38203         without decrementing exponent if mantissa >= that for the
38204         denominator, not >.
38205         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38206         denominator, not >.  Decrement exponent in < case instead of
38207         incrementing in >= case.
38208         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38209         without decrementing exponent if mantissa >= that for the
38210         denominator, not >.
38212         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38213         computing saturated result for unsigned overflow.
38215 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38216             Jeff Law  <law@redhat.com>
38218         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38219         (atan2Mp): Add systemtap probe marker.
38220         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38221         (__ieee754_log): Add systemtap probe marker.
38222         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38223         (atanMp): Add systemtap probe marker.
38224         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38225         (tanMp): Add systemtap probe marker.
38226         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38227         (__slowexp): Add systemtap probe marker.
38228         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38229         (__slowpow): Add systemtap probe marker.
38230         * manual/probes.texi: Document probes.
38232 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
38234         [BZ #15362]
38235         * libio/fileops.c (_IO_new_file_write): Return count of bytes
38236         written.
38237         (_IO_new_file_xsputn): Don't return EOF if nothing has been
38238         written.
38239         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38240         written to buffer but not flushed.
38241         * libio/iofwrite_u.c:  Likewise.
38242         * libio/iopadn.c:  Return bytes returned even if EOF was
38243         encountered.
38244         * libio/iowpadn.c:  Likewise.
38245         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38246         if _IO_padn does not write the whole buffer.
38247         [!COMPILE_WPRINTF] (PAD): Likewise.
38249 2013-10-10  David S. Miller  <davem@davemloft.net>
38251         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38252         directory block.
38254 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38256         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
38257         instead of FSF address.
38258         * soft-fp/fixdfti.c: Likewise.
38259         * soft-fp/fixsfti.c: Likewise.
38260         * soft-fp/fixtfti.c: Likewise.
38261         * soft-fp/fixunsdfti.c: Likewise.
38262         * soft-fp/fixunssfti.c: Likewise.
38263         * soft-fp/fixunstfti.c: Likewise.
38264         * soft-fp/floattidf.c: Likewise.
38265         * soft-fp/floattisf.c: Likewise.
38266         * soft-fp/floattitf.c: Likewise.
38267         * soft-fp/floatuntidf.c: Likewise.
38268         * soft-fp/floatuntisf.c: Likewise.
38269         * soft-fp/floatuntitf.c: Likewise.
38270         * soft-fp/trunctfxf2.c: Likewise.
38272         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
38273         * soft-fp/fixdfti.c: Likewise.
38274         * soft-fp/fixsfti.c: Likewise.
38275         * soft-fp/fixtfti.c: Likewise.
38276         * soft-fp/fixunsdfti.c: Likewise.
38277         * soft-fp/fixunssfti.c: Likewise.
38278         * soft-fp/fixunstfti.c: Likewise.
38279         * soft-fp/floattidf.c: Likewise.
38280         * soft-fp/floattisf.c: Likewise.
38281         * soft-fp/floattitf.c: Likewise.
38282         * soft-fp/floatuntidf.c: Likewise.
38283         * soft-fp/floatuntisf.c: Likewise.
38284         * soft-fp/floatuntitf.c: Likewise.
38285         * soft-fp/trunctfxf2.c: Likewise.
38287 2013-10-10  David S. Miller  <davem@davemloft.net>
38289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38291 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
38293         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38294         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38295         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38296         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38297         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38298         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38299         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38301         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38302         for NaNs before doing comparisons on argument.
38303         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38304         Likewise.
38306 2013-10-10  Will Newton  <will.newton@linaro.org>
38308         * malloc/hooks.c (memalign_check): Ensure the value of bytes
38309         passed to _int_memalign does not overflow.
38311 2013-10-10  Torvald Riegel  <triegel@redhat.com>
38313         * scripts/bench.pl: Add include-sources directive.
38314         * benchtests/README: Update documentation.
38316 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
38318         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38319         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38320         instead of FP_INIT_ROUNDMODE.
38321         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38322         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38324         [BZ #16034]
38325         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
38326         copy class of input value.
38327         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
38328         not handle exceptions.
38329         * soft-fp/negsf2.c (__negsf2): Likewise.
38330         * soft-fp/negtf2.c (__negtf2): Likewise.
38331         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38333 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
38335         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38336         semicolon.  From Linux kernel.
38338 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
38340         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38342 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
38344         [BZ #156]
38345         * manual/socket.texi: Added statement about buffer
38346         for gethostbyname2_r.
38348 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
38350         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38351         Use .p2align directive instead, throughout.
38352         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38353         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38354         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38355         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38356         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38357         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38358         * sysdeps/x86_64/strchr.S: Likewise.
38359         * sysdeps/x86_64/strrchr.S: Likewise.
38361 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38363         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38365         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38367         * sysdeps/generic/math_private.h (__mpsin1): Remove
38368         declaration.
38369         (__mpcos1): Likewise.
38370         (__mpsin): New argument __range_reduce.
38371         (__mpcos): Likewise.
38372         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38373         (slow): Use __mpsin and __mpcos.
38374         (slow1): Likewise.
38375         (slow2): Likewise.
38376         (sloww): Likewise.
38377         (sloww1): Likewise.
38378         (sloww2): Likewise.
38379         (bsloww): Likewise.
38380         (bsloww1): Likewise.
38381         (bsloww2): Likewise.
38382         (cslow2): Likewise.
38383         (csloww): Likewise.
38384         (csloww1): Likewise.
38385         (csloww2): Likewise.
38386         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38387         range_reduce.  Merge in __mpsin1.
38388         (__mpcos): Likewise.
38389         (__mpsin1): Remove.
38390         (__mpcos1): Likewise.
38392 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38394         * locale/loadlocale.c (_nl_intern_locale_data): Use
38395         LOCFILE_ALIGNED_P.
38396         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38397         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38398         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38399         obstack data is appropriately aligned.
38400         (obstack_int32_grow_fast): Likewise.
38401         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38402         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38403         (add_locale_uint32_array): Likewise.
38405 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38407         * benchtests/Makefile: Remove ARGLIST and RET variables.
38408         ($(objpfx)bench-%.c): Pass only function name to the script.
38409         * benchtests/README: Update documentation.
38410         * benchtests/acos-inputs: Add new directives.
38411         * benchtests/acosh-inputs: Likewise.
38412         * benchtests/asin-inputs: Likewise.
38413         * benchtests/asinh-inputs: Likewise.
38414         * benchtests/atan-inputs: Likewise.
38415         * benchtests/atanh-inputs: Likewise.
38416         * benchtests/cos-inputs: Likewise.
38417         * benchtests/cosh-inputs: Likewise.
38418         * benchtests/exp-inputs: Likewise.
38419         * benchtests/log-inputs: Likewise.
38420         * benchtests/pow-inputs: Likewise.
38421         * benchtests/rint-inputs: Likewise.
38422         * benchtests/sin-inputs: Likewise.
38423         * benchtests/sinh-inputs: Likewise.
38424         * benchtests/tan-inputs: Likewise.
38425         * benchtests/tanh-inputs: Likewise.
38426         * scripts/bench.pl: Add support for new directives.
38428 2013-10-07  Alan Modra  <amodra@gmail.com>
38430         * README: Fix careless merge.
38432 2013-10-05  Alan Modra  <amodra@gmail.com>
38434         * NEWS: Mention powerpc64le support and bugs fixed.
38435         * README: Both big-endian and little-endian powerpc64 supported.
38437 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38439         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38440         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38441         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38442         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38444 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38446         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38447         match prototype.
38449 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38451         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38452         Move -mhard-float appending from
38453         ports/sysdeps/powerpc/powerpc32/Makefile.
38454         [$(with-fp) = yes] (ASFLAGS): Likewise.
38455         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38456         * sysdeps/powerpc/nofpu: Move directory from
38457         ports/sysdeps/powerpc/nofpu.
38458         * sysdeps/powerpc/soft-fp: Move directory from
38459         ports/sysdeps/powerpc/soft-fp.
38460         * sysdeps/powerpc/powerpc32/405: Move directory from
38461         ports/sysdeps/powerpc/powerpc32/405.
38462         * sysdeps/powerpc/powerpc32/440: Move directory from
38463         ports/sysdeps/powerpc/powerpc32/440.
38464         * sysdeps/powerpc/powerpc32/464: Move directory from
38465         ports/sysdeps/powerpc/powerpc32/464.
38466         * sysdeps/powerpc/powerpc32/476: Move directory from
38467         ports/sysdeps/powerpc/powerpc32/476.
38468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38469         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38471         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38473         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38475         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38477         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38478         * README: Update for powerpc-*-linux-gnu software floating point
38479         support in libc.
38481         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38482         case to powerpc/powerpc32*.
38483         * sysdeps/unix/sysv/linux/configure: Regenerated.
38485         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38486         (_FPU_MASK_OM): Define as 0x04.
38487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38489         0x00c10080.
38490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38491         0x0000003c.
38492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38495         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38496         getcontext_e500.
38497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38498         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38499         setcontext_e500.
38500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38501         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38502         and setcontext_e500.
38504 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38506         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38508 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38510         * manual/threads.texi (Default Thread Attributes): Fix typo.
38512 2013-10-04  Will Newton  <will.newton@linaro.org>
38514         * malloc/Makefile: Add tst-memalign.
38515         * malloc/tst-memalign.c: New file.
38517         * malloc/tst-posix_memalign.c: Add comments.
38518         (do_test): Add comments and call free on all potentially
38519         allocated pointers. Add space after cast.
38521         * malloc/tst-pvalloc.c: Add comments.
38522         (do_test): Add comments and call free on all potentially
38523         allocated pointers. Remove duplicate check for NULL pointer.
38524         Add space after cast.
38526         * malloc/tst-valloc.c: Add comments.
38527         (do_test): Add comments and call free on all potentially
38528         allocated pointers. Remove duplicate check for NULL pointer.
38529         Add space after cast.
38531 2013-10-04  Alan Modra  <amodra@gmail.com>
38533         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38534         Use stdint types in rather than __attribute__((mode())).
38535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38537 2013-10-04  Alan Modra  <amodra@gmail.com>
38539         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38540         Correct handling of unaligned relocs for little-endian.
38541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38543 2013-10-04  Alan Modra  <amodra@gmail.com>
38545         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38546         * configure: Regenerate.
38547         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38548         * shlib-versions: Likewise.
38550 2013-10-04  Alan Modra  <amodra@gmail.com>
38552         * string/tester.c (test_memrchr): Increment reported test cycle.
38554 2013-10-04  Alan Modra  <amodra@gmail.com>
38556         * string/test-memcpy.c (do_one_test): When reporting errors, print
38557         string address and don't overrun end of string.
38559 2013-10-04  Alan Modra  <amodra@gmail.com>
38561         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38562         insrdi.  Make better use of reg selection to speed exit slightly.
38563         Schedule entry path a little better.  Remove useless "are we done"
38564         checks on entry to main loop.  Handle wrapping around zero address.
38565         Correct main loop count.  Handle single left-over word from main
38566         loop inline rather than by using loop_small.  Remove extra word
38567         case in loop_small caused by wrong loop count.  Add little-endian
38568         support.
38569         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38570         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38571         cache hint.
38572         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38573         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38574         support.  Avoid rlwimi.
38575         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38577 2013-10-04  Alan Modra  <amodra@gmail.com>
38579         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38580         insrdi.  Formatting.
38581         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38582         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38583         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38584         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38585         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38586         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38588 2013-10-04  Alan Modra  <amodra@gmail.com>
38590         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38591         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38592         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38593         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38594         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38595         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38596         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38597         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38598         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38599         use of regs.  Use power7 mtocrf.  Tidy function tails.
38601 2013-10-04  Alan Modra  <amodra@gmail.com>
38603         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38604         Formatting.  Consistently use rXXX register defines or rN defines.
38605         Use early exit labels that avoid restoring unused non-volatile regs.
38606         Make cr field use more consistent with rWORDn compares.  Rename
38607         regs used as shift registers for unaligned loop, using rN defines
38608         for short lifetime/multiple use regs.
38609         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38610         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38611         addi 1,1,64 to pop stack frame.  Simplify return value code.
38612         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38614 2013-10-04  Alan Modra  <amodra@gmail.com>
38616         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38617         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38618         rather than rlwimi.
38619         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38620         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38621         little-endian support.  Correct typos.
38622         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38623         rather than rlwimi.
38624         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38625         in loop and entry code to keep "and." results.
38626         (strchr): Add little-endian support.  Comment.  Move cntlzd
38627         earlier in tail.
38628         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38630 2013-10-04  Alan Modra  <amodra@gmail.com>
38632         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38633         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38634         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38635         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38637 2013-10-04  Alan Modra  <amodra@gmail.com>
38639         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38640         (rTMP): Define as r11.
38641         (strcmp): Add little-endian support.  Optimise tail.
38642         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38643         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38644         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38645         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38646         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38647         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38648         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38650 2013-10-04  Alan Modra  <amodra@gmail.com>
38652         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38653         little-endian support.  Remove unnecessary "are we done" tests.
38654         Handle "s" wrapping around zero and extremely large "size".
38655         Correct main loop count.  Handle single left-over word from main
38656         loop inline rather than by using small_loop.  Correct comments.
38657         Delete "zero" tail, use "end_max" instead.
38658         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38660 2013-10-04  Alan Modra  <amodra@gmail.com>
38662         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38663         support.  Don't branch over align.
38664         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38665         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38666         support.  Rearrange tmp reg use to suit.  Comment.
38667         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38669 2013-10-04  Alan Modra  <amodra@gmail.com>
38671         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38673 2013-10-04  Alan Modra  <amodra@gmail.com>
38675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38676         conditional form of branch and link when obtaining pc.
38677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38679 2013-10-04  Alan Modra  <amodra@gmail.com>
38681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38682         HIWORD/LOWORD.
38683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38686 2013-10-04  Alan Modra  <amodra@gmail.com>
38688         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38689         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38690         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38691         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38692         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38693         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38694         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38695         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38696         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38697         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38699 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38700             Alistair Popple <alistair@ozlabs.au.ibm.com>
38701             Alan Modra <amodra@gmail.com>
38703         [BZ #15723]
38704         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38705         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38706         _dl_hwcap access for little-endian.
38707         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38708         destroy vmx regs when saving unaligned.
38709         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38710         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38711         destroy vmx regs when saving unaligned.
38713 2013-10-04  Alan Modra  <amodra@gmail.com>
38715         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38716         Don't use a union to pack hi/low value.
38718 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38720         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38721         for little-endian.
38722         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38723         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38724         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38725         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38726         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38728 2013-10-04  Alan Modra  <amodra@gmail.com>
38730         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38731         constants to usual value for .cst8 section, and remove redundant
38732         high address load.
38733         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38734         constant for 0x1p52.  Load little-endian words of double from
38735         correct stack offsets.
38737 2013-10-04  Alan Modra  <amodra@gmail.com>
38739         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38740         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38741         words of double from correct stack offsets.
38742         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38743         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38744         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38745         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38746         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38747         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38748         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38749         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38750         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38751         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38752         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38753         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38754         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38755         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38756         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38757         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38758         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38760 2013-10-04  Alan Modra  <amodra@gmail.com>
38762         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38763         64-bit int/double union.
38764         (_FPU_SETCW): Likewise.
38765         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38766         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38768 2013-10-04  Alan Modra  <amodra@gmail.com>
38770         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38771         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38773 2013-10-04  Alan Modra  <amodra@gmail.com>
38775         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38776         use vector int constants.
38777         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38779 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38781         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38782         array with long long.
38783         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38784         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38785         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38786         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38787         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38788         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38789         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38790         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38791         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38792         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38793         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38794         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38795         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38797 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38799         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38800         (__signbit): Likewise.  Correct for little-endian.
38801         (__signbitl): Call __signbit.
38802         (lrint): Correct for little-endian.
38803         (lrintf): Call lrint.
38805 2013-10-04  Alan Modra  <amodra@gmail.com>
38807         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38808         union 32-bit int array member with 64-bit int array.
38809         (t515, tm256): Double rather than long double.
38810         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38812 2013-10-04  Alan Modra  <amodra@gmail.com>
38814         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38815         Delete.
38816         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38817         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38818         version of math_ldbl.h.
38820 2013-10-04  Alan Modra  <amodra@gmail.com>
38822         [BZ #15734], [BZ #15735]
38823         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38824         all uses of ieee875 long double macros and unions.  Simplify test
38825         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38826         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38827         normalize after ldbl_extract_mantissa, and don't add hidden bit
38828         already handled.  Don't treat low word of ieee854 mantissa like
38829         low word of IBM long double and mask off bit when testing for
38830         zero.
38831         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38832         all uses of ieee875 long double macros and unions.  Simplify tests
38833         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38834         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38835         two1022, instead use their values.  Recognise that tests for large
38836         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38837         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38838         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38839         test for 0.0L and nan.  Correct negation.
38840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38841         ieee875 long double macros and unions.  Correct output for large
38842         magnitude x.  Correct absolute value calculation.
38843         (__erfcl): Likewise.
38844         * math/libm-test.inc: Add tests for errors discovered in IBM long
38845         double versions of fmodl, remainderl, erfl and erfcl.
38847 2013-10-04  Alan Modra  <amodra@gmail.com>
38849         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38850         all uses of ieee854 long double macros and unions.  Simplify tests
38851         for long doubles that are fully specified by the high double.
38852         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38853         Likewise.
38854         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38855         Remove dead code too.
38856         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38857         (__ieee754_ynl): Likewise.
38858         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38859         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38860         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38861         Remove dead code too.
38862         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38863         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38864         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38865         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38866         Simplify.
38867         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38868         Simplify.
38869         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38870         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38871         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38872         Comment on variable precision.
38873         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38874         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38875         Likewise.
38876         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38877         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38878         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38879         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38880         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38882 2013-10-04  Alan Modra  <amodra@gmail.com>
38884         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38885         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38886         all uses of ieee854 long double macros and unions.
38887         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38888         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38889         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38890         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38891         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38892         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38893         Likewise.
38894         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38895         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38896         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38897         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38898         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38899         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38900         Simplify sign and nan test too.
38901         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38902         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38903         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38904         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38905         Likewise.
38906         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38907         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38908         Likewise.
38909         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38910         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38911         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38912         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38913         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38914         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38916 2013-10-04  Alan Modra  <amodra@gmail.com>
38918         * stdio-common/printf_size.c (__printf_size): Don't use
38919         union ieee854_long_double in fpnum union.
38920         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38921         signbit macro to retrieve sign from long double.
38922         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38923         retrieve sign from long double.
38924         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38925         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38926         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38927         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38928         * math/test-misc.c (main): Don't use union ieee854_long_double.
38930 2013-10-04  Alan Modra  <amodra@gmail.com>
38932         [BZ #15680]
38933         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38934         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38935         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38936         calculation.  Remove unnecessary test for denormal exponent.
38937         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38938         Correct handling of denormals.  Avoid undefined shift behaviour.
38939         Correct normalisation of low mantissa when low double is denormal.
38940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38941         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38942         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38943         Correct normalisation of low mantissa.  Test for overflow of high
38944         mantissa and normalise.
38945         (ldbl_nearbyint): Use more readable constant for two52.
38946         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38947         (__mpn_construct_long_double): Fix test for overflow of high
38948         mantissa and correct normalisation.  Avoid undefined shift.
38950 2013-10-04  Alan Modra  <amodra@gmail.com>
38952         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38953         (union ibm_extended_long_double): Define as an array of ieee754_double.
38954         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38955         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38956         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38957         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38961         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38966 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38968         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38969         page size instead of calling getpagesize.
38971         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38972         (LOCFILE_ALIGN_MASK): Likewise.
38973         (LOCFILE_ALIGN_UP): Likewise.
38974         (LOCFILE_ALIGNED_P): Likewise.
38975         * locale/programs/ld-collate.c (collate_output): Use the new
38976         macros instead of __alignof__ (int32_t).
38977         * locale/weight.h (findidx): Likewise.
38979 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38981         [BZ #431]
38982         * manual/string.texi: Fix strncat and wcsncat.
38984 2013-10-03  Brooks Moses  <bmoses@google.com>
38986         [BZ #15915]
38987         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38988         * Makerules: ...here, and adjust associated comments.
38990 2013-10-02  Will Newton  <will.newton@linaro.org>
38992         * malloc/Makefile: Add tst-pvalloc.
38993         * malloc/tst-pvalloc.c: New file.
38995 2013-10-02  Will Newton  <will.newton@linaro.org>
38997         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38998         improve test coverage.
39000 2013-10-02  Will Newton  <will.newton@linaro.org>
39002         * malloc/Makefile: Add tst-posix_memalign.
39003         * malloc/tst-posix_memalign.c: New file.
39005 2013-10-01  Eric Blake  <eblake@redhat.com>
39007         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39008         Use __THROWNL rather than __THROW on static functions.
39010 2013-09-30  Petr Machata  <pmachata@redhat.com>
39012         * elf/elf.h (R_AARCH64_ABS16): New macro.
39013         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39014         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39015         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39016         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39017         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39018         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39019         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39020         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39021         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39022         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39023         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39024         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39025         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39026         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39027         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39028         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39029         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39030         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39031         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39032         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39033         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39034         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39035         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39036         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39037         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39038         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39039         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39040         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39041         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39042         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39043         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39044         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39045         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39046         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39047         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39048         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39049         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39050         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39051         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39052         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39053         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39054         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39055         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39056         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39057         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39058         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39059         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39060         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39061         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39062         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39063         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39064         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39065         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39066         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39067         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39068         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39069         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39070         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39071         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39072         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39073         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39074         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39075         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39076         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39077         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39078         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39079         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39080         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39081         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39082         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39083         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39084         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39085         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39086         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39087         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39088         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39089         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39090         (R_AARCH64_TLSDESC_LDR): Likewise.
39091         (R_AARCH64_TLSDESC_ADD): Likewise.
39092         (R_AARCH64_TLSDESC_CALL): Likewise.
39094 2013-09-30  Andreas Schwab  <schwab@suse.de>
39096         [BZ #15048]
39097         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39098         the nss database lookup.
39099         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39102 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39104         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39106 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39108         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39109         ${Bash-specific parameter/pattern/string} parameter expansion.
39110         * sysdeps/unix/make-syscalls.sh: Likewise.
39112 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39114         * sysdeps/sh/stackguard-macros.h: New file.
39116 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39120         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39121         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39122         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39123         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39125 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39127         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39128         Fix thread ID register.
39130 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39132         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39133         [POSIX || UNIX98]: Require rather than permitting all symbols from
39134         <time.h>.
39135         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39136         element of struct sched_param.
39137         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39138         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39139         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39140         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39141         constant.
39143 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39145         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39146         argument calculation.
39148 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39150         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39151         Expect macro.
39152         [POSIX] (pthread_attr_t): Do not require type.
39153         [POSIX] (pthread_cond_t): Likewise.
39154         [POSIX] (pthread_condattr_t): Likewise.
39155         [POSIX] (pthread_key_t): Likewise.
39156         [POSIX] (pthread_mutex_t): Likewise.
39157         [POSIX] (pthread_mutexattr_t): Likewise.
39158         [POSIX] (pthread_once_t): Likewise.
39159         [POSIX] (pthread_t): Likewise.
39160         [POSIX-based standards] (pthread_atfork): Expect function.
39162 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39163             Richard Sandiford  <richard@codesourcery.com>
39165         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39166         (swap_endianness_p): New extern variable.
39167         (set_big_endian): New inline function.
39168         (maybe_swap_uint32): Likewise.
39169         (maybe_swap_uint32_array): Likewise.
39170         (maybe_swap_uint32_obstack): Likewise.
39171         * locale/programs/locfile.c: Include <stdbool.h>.
39172         (swap_endianness_p): New variable.
39173         (add_locale_uint32): Call maybe_swap_uint32.
39174         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39175         (write_locale_data): Call maybe_swap_uint32_array.
39176         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39177         maybe_swap_uint32.
39178         (obstack_int32_grow_fast): Likewise.
39179         (output_weightwc): Call maybe_swap_uint32_obstack.
39180         (collate_output): Likewise.
39181         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39182         (OPT_LITTLE_ENDIAN): Likewise.
39183         (options): Add --little-endian and --big-endian options.
39184         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39185         * locale/programs/locarchive.c: Include "locfile.h".
39186         (GET): New macro.
39187         (SET): Likewise.
39188         (INC): Likewise.
39189         (create_archive): Use the new macros to access fields of
39190         structures directly mapped from or written to locale archives.
39191         (oldlocrecentcmp): Likewise.
39192         (enlarge_archive): Likewise.
39193         (insert_name): Likewise.
39194         (add_alias): Likewise.
39195         (add_locale): Likewise.
39196         (delete_locales_from_archive): Likewise.
39197         (show_archive_content): Likewise.
39198         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39199         locale data.
39201 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39203         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39204         http://www.gnu.org/doc/freemanuals.texi.
39205         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39207 2013-09-24  Will Newton  <will.newton@linaro.org>
39209         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39210         macro.
39212 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39214         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39215         unsigned char.
39217 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39219         * manual/threads.texi (POSIX Threads): Fix a typo.
39221 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39223         [BZ #14547]
39224         * string/tst-strcoll-overflow.c: New test case.
39225         * string/Makefile (xtests): Add tst-strcoll-overflow.
39226         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39227         cache if string sizes may cause integer overflow.
39229         [BZ #14547]
39230         * string/strcoll_l.c (coll_seq): New members rule, idx,
39231         save_idx and back_us.
39232         (get_next_seq_nocache): New function.
39233         (do_compare_nocache): New function.
39234         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39235         when malloc fails.
39237 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
39239         [BZ #15754]
39240         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39241         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39242         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39244         [BZ #15754]
39245         * elf/Makefile (tests): Add tst-ptrguard1.
39246         (tests-static): Add tst-ptrguard1-static.
39247         (tst-ptrguard1-ARGS): Define.
39248         (tst-ptrguard1-static-ARGS): Define.
39249         * elf/tst-ptrguard1.c: New file.
39250         * elf/tst-ptrguard1-static.c: New file.
39251         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39252         * sysdeps/i386/stackguard-macros.h: Likewise.
39253         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39254         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39255         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39256         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39257         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39258         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39260 2013-09-23  Hector Marco  <hecmargi@upv.es>
39261             Ismael Ripoll  <iripoll@disca.upv.es>
39262             Carlos O'Donell  <carlos@redhat.com>
39264         [BZ #15754]
39265         * sysdeps/generic/stackguard-macros.h: Define
39266         __pointer_chk_guard_local and POINTER_CHK_GUARD.
39267         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39268         Define __pointer_chk_guard_local.
39269         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39270         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39272 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
39274         [BZ #15859]
39275         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39277 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
39279         * include/string.h (__ffs): Declare as hidden.
39280         * string/ffs.c (__ffs): Define as hidden.
39281         * sysdeps/i386/ffs.c (__ffs): Likewise.
39282         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39283         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39284         * sysdeps/s390/ffs.c (__ffs): Likewise.
39285         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39287 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
39289         * NEWS: Mention malloc probes.
39291         * malloc/arena.c (new_heap): New memory_heap_new probe.
39292         (grow_heap): New memory_heap_more probe.
39293         (shrink_heap): New memory_heap_less probe.
39294         (heap_trim): New memory_heap_free probe.
39295         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39296         (systrim): New memory_sbrk_less probe.
39297         * manual/probes.texi: Document them.
39299         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39300         * manual/probes.texi: Document it.
39302         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39303         (__libc_realloc): Add memory_realloc_retry probe.
39304         (__libc_memalign): Add memory_memalign_retry probe.
39305         (__libc_valloc): Add memory_valloc_retry probe.
39306         (__libc_pvalloc): Add memory_pvalloc_retry probe.
39307         (__libc_calloc): Add memory_calloc_retry probe.
39308         * manual/probes.texi: Document them.
39310         * malloc/arena.c (get_free_list): Add probe
39311         memory_arena_reuse_free_list.
39312         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39313         and memory_arena_reuse.
39314         (arena_get2) [!PER_THREAD]: Likewise.
39315         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39316         memory_arena_reuse_realloc.
39317         * manual/probes.texi: Document them.
39319         * malloc/malloc.c (__libc_free): Add
39320         memory_mallopt_free_dyn_thresholds probe.
39321         (__libc_mallopt): Add multiple memory_mallopt probes.
39322         * manual/probes.texi: Document them.
39324         * malloc/malloc.c: Include stap-probe.h.
39325         (__libc_mallopt): Add memory_mallopt probe.
39326         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39327         * manual/probes.texi: New.
39328         * manual/Makefile (chapters): Add probes.
39329         * manual/threads.texi: Set next node.
39331 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
39333         [BZ #15963, #13985]
39334         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39335         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39336         Add `Chinese' to `nan' entry name.
39338 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39340         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39341         (POLYNOMIAL): Likewise.
39342         (TAYLOR_SINCOS): Likewise.
39343         (TAYLOR_SLOW): Likewise.
39344         (__sin): Use TAYLOR_SINCOS.
39345         (__cos): Likewise.
39346         (slow): Use TAYLOR_SLOW.
39347         (sloww): Likewise.
39348         (bsloww): Likewise.
39349         (csloww): Likewise.
39351 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39353         * stdlib/strtod_l.c: Fix buffer overrun.
39355 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39357         * benchtests/Makefile (bench): Add sincos.
39358         * benchtests/bench-sincos.c: New file.
39360         * math/libm-test.inc (cos_test_data): New test inputs.
39361         (sin_test_data): Likewise.
39363         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39364         macro.
39365         (__sin): Use it.
39366         (__cos): Likewise.
39367         (slow1): Likewise.
39368         (slow2): Likewise.
39369         (sloww1): Likewise.
39370         (sloww2): Likewise.
39371         (bsloww1): Likewise.
39372         (bsloww2): Likewise.
39373         (cslow2): Likewise.
39374         (csloww1): Likewise.
39375         (csloww2): Likewise.
39377         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39378         function.
39379         (__sin): Use it.
39380         (__cos): Likewise.
39382         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39383         gotos.
39384         (__cos): Likewise.
39386 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39388         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39389         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39390         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39391         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39392         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39393         * elf/cache.c (print_entry): Handle the new cache flags.
39395 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39396             Aldy Hernandez  <aldyh@redhat.com>
39398         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39399         Change condition to [_SOFT_FLOAT].
39400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39412         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39415         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39416         declaration.
39418 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39420         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39421         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39422         (__longjmp): Use LOAD_GP to load saved GPRs.
39423         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39424         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39425         (__sigsetjmp): Use SAVE_GP to save GPRs.
39427         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39428         Do not append -msoft-float.
39429         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39431 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39433         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39435 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39437         [BZ #15966]
39438         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39439         (_FPU_GETCW): Use initial "__" on variable and field names but not
39440         on macro parameter name.
39441         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39442         parentheses around reference to macro parameter.
39444 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39446         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39447         prototype.
39448         (ctype_startup): Use uint32_t in cast and sizeof for
39449         ctype->charnames.
39451 2013-09-11  Jia Liu  <proljc@gmail.com>
39453         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39454         __daddr_t_defined.
39455         [__FreeBSD__]: Likewise.
39457 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39459         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39460         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39461         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39462         (strchr): Remove __strchr_sse42 ifunc selection.
39463         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39464         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39466 2013-09-11  Will Newton  <will.newton@linaro.org>
39468         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39469         parameter to RES. Remove hardcoded 1000 value.
39470         * benchtests/bench-skeleton.c (main): Pass RES parameter
39471         to TIMING_INIT and multiply result by 1000.
39473 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39477 2013-09-11  Andreas Schwab  <schwab@suse.de>
39479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39480         if not defined.
39481         (O_TMPFILE) [__USE_GNU]: Define.
39482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39483         Define.
39485 2013-09-11  Will Newton  <will.newton@linaro.org>
39487         [BZ #15857]
39488         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39489         does not overflow.
39491 2013-09-11  Will Newton  <will.newton@linaro.org>
39493         [BZ #15856]
39494         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39495         does not overflow.
39497 2013-09-11  Will Newton  <will.newton@linaro.org>
39499         [BZ #15855]
39500         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39501         does not overflow.
39503 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39505         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39506         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39507         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39508         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39509         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39511 2013-09-10  Allan McRae  <allan@archlinux.org>
39513         [BZ #15748]
39514         * manual/arith.texi (Parsing of Floats): Clarify
39515         cross-reference.
39517         [BZ #15849]
39518         * manual/install.texi (Running make install): Mention
39519         --enable-pt-chown.
39520         * INSTALL: Regenerated.
39522 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39524         * csu/init-first.c (_init): Remove the !SHARED condition around
39525         FPU control word initialization.
39526         * elf/dl-support.c (_dl_fpu_control): New variable.
39527         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39528         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39529         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39530         * math/test-fpucw-static.c: New file.
39531         * math/test-fpucw-ieee.c: New file.
39532         * math/test-fpucw-ieee-static.c: New file.
39533         * math/Makefile (tests): Add `test-fpucw-ieee' and
39534         `$(tests-static)'.
39535         (tests-static): New variable.
39536         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39537         dependency to...
39538         [($(build-shared),yes)]
39539         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39540         ... this.
39541         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39542         New dependency.
39544 2013-09-09  Allan McRae  <allan@archlinux.org>
39546         [BZ #15939]
39547         * manual/string.texi (Collation Functions): Fix typo in
39548         strcoll example.
39549         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39551         [BZ #15893]
39552         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39554         [BZ #15892]
39555         * libio/memstream.c (open_memstream): Fix memory leak.
39556         * libio/wmemstream.c (open_wmemstream): Likewise.
39558         [BZ #15895]
39559         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39561 2013-09-09  Will Newton  <will.newton@linaro.org>
39563         * malloc/Makefile: Add tst-realloc to tests.
39564         * malloc/tst-realloc.c: New file.
39566 2013-09-09  Allan McRae  <allan@archlinux.org>
39568         [BZ #15844]
39569         * COPYING: Update from GNU website to fix FSF address.
39570         * COPYING.LIB: Likewise.
39572 2013-09-06  David S. Miller  <davem@davemloft.net>
39574         * po/zh_TW.po: Update Chinese (traditional) translation from
39575         translation project.
39577 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39578             Joseph Myers  <joseph@codesourcery.com>
39580         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39581         "localeinfo.h".
39582         (obstack_chunk_alloc): New macro.
39583         (obstack_chunk_free): Likewise.
39584         (record_offset): New function.
39585         (init_locale_data): Likewise.
39586         (align_locale_data): Likewise.
39587         (add_locale_empty): Likewise.
39588         (add_locale_raw_data): Likewise.
39589         (add_locale_raw_obstack): Likewise.
39590         (add_locale_string): Likewise.
39591         (add_locale_wstring): Likewise.
39592         (add_locale_uint32): Likewise.
39593         (add_locale_uint32_array): Likewise.
39594         (add_locale_char): Likewise.
39595         (start_locale_structure): Likewise.
39596         (end_locale_structure): Likewise.
39597         (start_locale_prelude): Likewise.
39598         (end_locale_prelude): Likewise.
39599         (write_locale_data): Take locale_file structure rather than an
39600         iovec.
39601         * locale/programs/locfile.h: Include "obstack.h".
39602         (struct locale_file): Change to store locale file contents instead
39603         of header.
39604         (init_locale_data): New prototype.
39605         (align_locale_data): Likewise.
39606         (add_locale_empty): Likewise.
39607         (add_locale_raw_data): Likewise.
39608         (add_locale_raw_obstack): Likewise.
39609         (add_locale_string): Likewise.
39610         (add_locale_wstring): Likewise.
39611         (add_locale_uint32): Likewise.
39612         (add_locale_uint32_array): Likewise.
39613         (add_locale_char): Likewise.
39614         (start_locale_structure): Likewise.
39615         (end_locale_structure): Likewise.
39616         (start_locale_prelude): Likewise.
39617         (end_locale_prelude): Likewise.
39618         (write_locale_data): Update prototype.
39619         * locale/programs/3level.h (struct TABLE): Remove result field.
39620         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39621         Use new locale_file interface.
39622         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39623         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39624         * locale/programs/ld-address.c (address_output): Use new
39625         locale_file interface.
39626         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39627         NO_ADD_LOCALE.
39628         (collate_finish): Don't call collseq_table_finalize.
39629         (collate_output): Use new locale_file interface.
39630         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39631         in file.
39632         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39633         (TABLE): Move defines earlier in file.
39634         (ELEMENT): Likewise.
39635         (DEFAULT): Likewise.
39636         (wctrans_table_add): Move macro and inline function earlier in
39637         file.
39638         (struct wctype_table): Move type earlier in file.
39639         (add_locale_wctype_table): New static prototype.
39640         (struct locale_ctype_t): Use logical types instead of struct iovec
39641         pointers for members.
39642         (ctype_output): Use new locale_file interface.
39643         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39644         new locale_file interface.
39645         (allocate_arrays): Update for use of new locale_file interface.
39646         * locale/programs/ld-identification.c (identification_output): Use
39647         new locale_file interface.
39648         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39649         * locale/programs/ld-messages.c (messages_output): Likewise.
39650         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39651         * locale/programs/ld-name.c (name_output): Likewise.
39652         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39653         * locale/programs/ld-paper.c (paper_output): Likewise.
39654         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39655         * locale/programs/ld-time.c (time_output): Likewise.
39657 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39659         * benchtests/Makefile: Add memrchr benchmark.
39660         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39661         benchmark as memrchr.
39662         * benchtests/bench-memrchr-ifunc.c: New file.
39663         * benchtests/bench-memrchr.c: New file.
39665 2013-09-06   Will Newton  <will.newton@linaro.org>
39667         * benchtests/Makefile (string-bench): Add memcpy.
39669 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39670             Cong Wang  <amwang@redhat.com>
39672         [BZ #15850]
39673         * sysdeps/unix/sysv/linux/bits/in.h
39674         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39675         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39676         before __USE_KERNEL_IPV6_DEFS uses.
39677         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39678         IPPROTO_BEETPH.
39679         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39680         sockaddr_in6, or ipv6_mreq.
39682 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39684         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39685         memory access for final bytes in some large inputs.
39686         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39688 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39690         * string/test-memrchr.c: New file.
39691         * string/test-memrchr-ifunc.c: New file.
39692         * string/Makefile: Add new memrchr testcase.
39694 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39696         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39697         fanotify_init returns EPERM.
39699 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39701         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39702         errors.
39703         (top level): Treat second token from macro or constant entries for
39704         allowed headers as allowed.
39705         * include/complex.h: Condition internal declarations on
39706         [!_ISOMAC].
39707         * include/fenv.h: Condition include of <stdbool.h> and internal
39708         declarations on [!_ISOMAC].
39710 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39712         [BZ #15923]
39713         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39715 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39717         * configure.in (--enable-versioning): Remove configure option.
39718         (libc_cv_asm_symver_directive): Remove configure test.
39719         (libc_cv_ld_version_script_option): Likewise.
39720         (VERSIONING): Remove variable and AC_SUBST.
39721         (DO_VERSIONING): Remove AC_DEFINE.
39722         * configure: Regenerated.
39723         * config.h.in (DO_VERSIONING): Remove macro.
39724         * Makerules [$(versioning) = yes]: Change conditionals to
39725         [$(build-shared) = yes].
39726         * config.make.in (versioning): Remove variable.
39727         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39728         [$(build-shared) = yes].
39729         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39730         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39731         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39732         [$(build-shared) = yes].
39733         * extra-lib.mk [$(versioning) = yes]: Likewise.
39734         * hurd/Makefile [$(versioning) = yes]: Likewise.
39735         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39736         [SHARED].
39737         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39738         [SHARED].
39739         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39740         [SHARED && !NO_HIDDEN].
39741         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39742         [SHARED].
39743         [SHARED && DO_VERSIONING]: Likewise..
39744         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39745         [$(build-shared) = yes].
39746         * manual/install.texi (--disable-versioning): Remove
39747         documentation.
39748         * INSTALL: Regenerated.
39749         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39750         to [SHARED].
39751         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39752         [$(build-shared) = yes].
39753         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39754         * sysdeps/i386/i686/multiarch/strstr-c.c
39755         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39756         [SHARED && !NO_HIDDEN].
39757         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39758         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39759         * sysdeps/powerpc/powerpc32/dl-machine.c
39760         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39761         * sysdeps/powerpc/powerpc32/sysdep.h
39762         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39763         to [SHARED && PIC && !NO_HIDDEN].
39764         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39765         conditional to [SHARED].
39767 2013-09-04   Will Newton  <will.newton@linaro.org>
39769         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39770         * benchtests/bench-string.h: Include bench-timing.h instead
39771         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39772         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39773         call to HP_TIMING_DIFF_INIT.
39774         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39775         instead of hp-timing.h macros.
39776         * benchtests/bench-memchr.c: Likewise.
39777         * benchtests/bench-memcmp.c: Likewise.
39778         * benchtests/bench-memcpy.c: Likewise.
39779         * benchtests/bench-memmem.c: Likewise.
39780         * benchtests/bench-memmove.c: Likewise.
39781         * benchtests/bench-memset.c: Likewise.
39782         * benchtests/bench-rawmemchr.c: Likewise.
39783         * benchtests/bench-strcasecmp.c: Likewise.
39784         * benchtests/bench-strcasestr.c: Likewise.
39785         * benchtests/bench-strcat.c: Likewise.
39786         * benchtests/bench-strchr.c: Likewise.
39787         * benchtests/bench-strcmp.c: Likewise.
39788         * benchtests/bench-strcpy.c: Likewise.
39789         * benchtests/bench-strcpy_chk.c: Likewise.
39790         * benchtests/bench-strlen.c: Likewise.
39791         * benchtests/bench-strncasecmp.c: Likewise.
39792         * benchtests/bench-strncat.c: Likewise.
39793         * benchtests/bench-strncmp.c: Likewise.
39794         * benchtests/bench-strncpy.c: Likewise.
39795         * benchtests/bench-strnlen.c: Likewise.
39796         * benchtests/bench-strpbrk.c: Likewise.
39797         * benchtests/bench-strrchr.c: Likewise.
39798         * benchtests/bench-strspn.c: Likewise.
39799         * benchtests/bench-strstr.c: Likewise.
39801 2013-09-04  Will Newton  <will.newton@linaro.org>
39803         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39805 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39807         [BZ #15427]
39808         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39809         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39810         * math/libm-test.inc (lgamma_test_data): Add more tests.
39811         * sysdeps/i386/fpu/libm-test-ulps: Update.
39812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39814 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39816         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39818         Add ifunc.
39819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39820         Add strcmp-sse2-unaligned
39821         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39823 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39825         * Versions.def (libc): Add GLIBC_2.19.
39827 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39829         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39830         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39832 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39834         [BZ #14155]
39835         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39836         intermediate calculations in recurrence.
39837         (__ieee754_ynf): Likewise.
39838         * math/libm-test.inc (jn_test_data): Do not allow spurious
39839         underflow exception.  Add more tests.
39840         (yn_test_data): Add more tests.
39841         * sysdeps/i386/fpu/libm-test-ulps: Update.
39842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39844 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39846         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39848 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39850         * csu/init-first.c: Fix then/than typos.
39851         * locale/programs/ld-collate.c: Likewise.
39852         * locale/programs/linereader.h: Likewise.
39853         * manual/charset.texi: Likewise.
39854         * manual/filesys.texi: Likewise.
39855         * manual/stdio.texi: Likewise.
39856         * manual/string.texi: Likewise.
39857         * stdlib/fmtmsg.c: Likewise.
39858         * sysdeps/i386/stpncpy.S: Likewise.
39859         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39860         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39861         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39862         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39864 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39866         * elf/dl-open.c: Fix typos.
39867         * iconvdata/gbbig5.c: Likewise.
39868         * iconvdata/iso-2022-jp.c: Likewise.
39869         * iconv/gconv_int.h: Likewise.
39870         * iconv/loop.c: Likewise.
39871         * nis/rpcsvc/nis.h: Likewise.
39872         * resolv/ns_name.c: Likewise.
39873         * stdio-common/vfscanf.c: Likewise.
39874         * streams/stropts.h: Likewise.
39875         * sunrpc/rpc_thread.c: Likewise.
39876         * sysdeps/i386/strpbrk.S: Likewise.
39877         * sysdeps/ieee754/k_standard.c: Likewise.
39878         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39879         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39880         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39881         * sysdeps/mach/hurd/profil.c: Likewise.
39882         * sysdeps/s390/dl-procinfo.h: Likewise.
39883         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39884         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39885         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39886         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39887         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39889 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39891         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39894 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39896         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39897         aix specific files.
39898         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39899         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39900         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39901         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39902         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39903         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39904         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39905         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39907 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39908             Roland McGrath  <roland@hack.frob.com>
39910         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39911         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39913 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39915         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39916         __executable_start symbol instead of _start.
39918 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39920         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39921         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39922         Move macros to...
39923         * sysdeps/gnu/ldsodefs.h: ... this new file.
39925         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39926         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39927         instead of ELFOSABI_LINUX.
39929         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39930         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39931         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39932         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39933         Likewise.
39934         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39935         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39936         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39937         Likewise.
39938         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39939         (ibm_extended_long_double): Add ieee_nan member.
39940         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39941         (do_test): New function.
39943         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39944         TEST_TRUNC.
39945         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39946         functions, renamed from truncdfsf_test, trunctfsf_test,
39947         trunctfdf_test.
39948         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39949         functions.
39950         (do_test): Run all these.
39952 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39954         * argp/argp-help.c: Fix typos.
39955         * argp/argp-parse.c: Likewise.
39956         * debug/backtracesyms.c: Likewise.
39957         * elf/elf.h: Likewise.
39958         * malloc/malloc.c: Likewise.
39959         * nis/nis_print.c: Likewise.
39960         * resolv/res_comp.c: Likewise.
39961         * stdlib/stdlib.h: Likewise.
39962         * sunrpc/clnt_tcp.c: Likewise.
39963         * sunrpc/clnt_udp.c: Likewise.
39964         * sunrpc/clnt_unix.c: Likewise.
39965         * sysdeps/unix/bsd/ptsname.c: Likewise.
39966         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39967         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39969         Likewise.
39970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39971         Likewise.
39972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39973         Likewise.
39974         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39976 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39978         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39981 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39983         [BZ #15897]
39984         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39985         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39986         ($(objpfx)bug-dl-leaf): New rule.
39987         ($(objpfx)bug-dl-leaf.so): Likewise.
39988         ($(objpfx)bug-dl-leaf.out): Likewise.
39989         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39990         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39991         * dlfcn/bug-dl-leaf.c: New test.
39992         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39993         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39994         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39995         (dlclose): Likewise.
39996         (dlmopen): Likewise.
39998 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40000         * include/netdb.h [!_ISOMAC]:
40001         Don't include <tls.h>.
40002         (h_errno, __libc_h_errno): Move declaration and macros out of
40003         [_LIBC_REENTRANT].
40005         * include/resolv.h [_RESOLV_H_]:
40006         Don't include <tls.h>.
40007         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40008         * resolv/res_libc.c: Don't include <tls.h>.
40009         (_res): Use __attribute__ ((nocommon)) in place of
40010         __attribute__ ((section (".bss"))).
40012         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40013         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40015         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40017         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40018         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40020         * resolv/res_mkquery.c: Include <sys/time.h>.
40022         * inet/ifreq.c: Moved to ...
40023         * sysdeps/unix/ifreq.c: ... here.
40024         * inet/ifreq.c: New file, true stub version.
40026         * socket/sa_len.c: New file.
40027         * socket/Makefile (aux): Add it.
40028         * sysdeps/unix/sysv/linux/Makefile
40029         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40030         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40031         and #include <socket/sa_len.c>.
40032         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40033         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40035         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40036         * bits/socket.h: ... here.
40038         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40039         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40040         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40042 2013-08-27  Andreas Schwab  <schwab@suse.de>
40044         [BZ #15736]
40045         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40046         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40047         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40048         * string/test-strcasecmp.c (test_main): Run tests in several
40049         locales.
40050         * string/test-strncasecmp.c (test_main): Likewise.
40052         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40053         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40054         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40055         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40056         (__strncasecmp_ssse3) [PIC]: Likewise.
40058 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40060         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40062         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40063         instead of explicitly declaring xdecrypt.
40064         * nis/nss_nis/nis-publickey.c: Likewise.
40066 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40068         [BZ #15890]
40069         * nscd/aicache.c: Include res_hconf.h.
40070         (addhstaiX): Initialize res_hconf.
40072 2013-08-26  Andreas Schwab  <schwab@suse.de>
40074         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40075         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40077 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40079         * nscd/aicache.c (addhstaiX): Fix indentation.
40081 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40083         * configure.ac: Quote $build_pt_chown test.
40084         * configure: Regenerated.
40086 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40088         [BZ #15532]
40089         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40090         * math/s_cexpf.c (__cexpf): Likewise.
40091         * math/s_cexpl.c (__cexpl): Likewise.
40092         * math/libm-test.inc (cexp_test_data): Correct expected return
40093         value for NaN + i0.  Add another test.
40095 2013-08-22  David S. Miller  <davem@davemloft.net>
40097         * po/ca.po: Update Catalan translation from translation project.
40098         * po/uk.po: Add Ukrainian translations from translation project.
40100 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40102         [BZ #15797]
40103         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40104         is infinite, not alongside NaN test.
40105         * math/s_fdimf.c (__fdimf): Likewise.
40106         * math/s_fdiml.c (__fdiml): Likewise.
40107         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40108         errno is unchanged.
40110 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40112         * argp/argp-help.c: Fix typos.
40113         * crypt/speeds.c: Likewise.
40114         * csu/check_fds.c: Likewise.
40115         * elf/dl-load.c: Likewise.
40116         * elf/dl-open.c: Likewise.
40117         * elf/reldep3.c: Likewise.
40118         * elf/reldep.c: Likewise.
40119         * elf/sprof.c: Likewise.
40120         * iconv/iconv_charmap.c: Likewise.
40121         * iconv/skeleton.c: Likewise.
40122         * iconv/strtab.c: Likewise.
40123         * io/lockf64.c: Likewise.
40124         * libio/libioP.h: Likewise.
40125         * resolv/gai_notify.c: Likewise.
40126         * resolv/ns_name.c: Likewise.
40127         * resolv/ns_samedomain.c: Likewise.
40128         * resolv/res_send.c: Likewise.
40129         * stdlib/random.c: Likewise.
40130         * sunrpc/rpc/xdr.h: Likewise.
40131         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40132         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40133         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40134         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40135         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40136         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40137         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40138         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40139         * sysdeps/mach/hurd/check_fds.c: Likewise.
40140         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40141         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40142         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40143         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40144         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40145         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40146         * sysdeps/pthread/aio_notify.c: Likewise.
40147         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40148         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40149         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40150         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40151         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40153 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40155         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40156         version if bit_Slow_SSE4_2 is set.
40157         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40158         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40160 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40162         [BZ #15867]
40163         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40164         trampoline stack frame information.
40165         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40166         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40167         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40168         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40169         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40170         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40171         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40172         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40173         sa_flags value.
40174         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40175         interrupting a syscall and set with option SA_SIGINFO.
40177 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40179         [BZ #15531]
40180         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40181         argument is infinite.
40182         * math/s_cprojf.c (__cprojf): Likewise.
40183         * math/s_cprojl.c (__cprojl): Likewise.
40184         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40185         * math/libm-test.inc (cproj_test_data): Add more tests.
40187         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40189         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40190         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40191         size.  Use __ffs to determine corresponding shift.
40193 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40194             Roland McGrath  <roland@hack.frob.com>
40196         * Makefile (INSTALL): Remove trailing blank lines from output of
40197         makeinfo.
40199 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40201         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40202         Align 32 bit compat elf_greg to 8 bytes.
40204 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40206         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40208 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40210         * string/strcoll_l.c (coll_seq): New structure.
40211         (get_next_seq_cached): New function.
40212         (get_next_seq): New function.
40213         (do_compare): New function.
40214         (STRCOLL): Use GNU style definition.  Simplify implementation
40215         by using get_next_seq, get_next_seq_cached and do_compare.
40217 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40219         [BZ #14699]
40220         CVE-2013-4237
40221         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40222         member.
40223         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40224         member.
40225         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40226         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40227         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
40228         conditional.
40229         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40230         GETDENTS_64BIT_ALIGNED.
40231         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40232         * manual/filesys.texi (Reading/Closing Directory): Document
40233         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
40234         strongly.
40235         * manual/conf.texi (Limits for Files): Add portability note to
40236         NAME_MAX, PATH_MAX.
40237         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40239 2013-08-13  Andreas Schwab  <schwab@suse.de>
40241         [BZ #15749]
40242         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40243         of fabs.
40244         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40245         LDBL_MAX_EXP >= 16384]: Add tests for it.
40247 2013-08-12  David S. Miller  <davem@davemloft.net>
40249         * version.h (RELEASE): Set to "development".
40250         (VERSION): Set to "2.18.90".
40251         * NEWS: Add 2.19 section.
40253 2013-08-03  David S. Miller  <davem@davemloft.net>
40255         * po/ko.po: Update Korean translation from translation project.
40257 2013-08-01  David S. Miller  <davem@davemloft.net>
40259         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
40260         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40261         Bilka.
40263 2013-07-30  David S. Miller  <davem@davemloft.net>
40265         * po/fr.po: Update French translation from translation project.
40267 2013-07-28  David S. Miller  <davem@davemloft.net>
40269         * po/cs.po: Update Czech translation from translation project.
40271         * po/sv.po: Update Swedish translation from translation project.
40273 2013-07-27  David S. Miller  <davem@davemloft.net>
40275         * po/eo.po: Update Esperanto translation from translation project.
40277         * po/vi.po: Update Vietnamese translation from translation project.
40279         * po/de.po: Update German translation from translation project.
40281 2013-07-26  David S. Miller  <davem@davemloft.net>
40283         * po/bg.po: Update Bulgarian translation from translation project.
40285         * po/nl.po: Update Dutch translation from translation project.
40286         * po/pl.po: Update Polish translation from translation project.
40287         * po/ru.po: Update Russian translation from translation project.
40289 2013-07-24  David S. Miller  <davem@davemloft.net>
40291         * po/libc.pot: Update.
40293 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40295         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40296         variable page size.
40297         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40298         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40299         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40301 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40303         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40305 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40306             Andreas Schwab  <schwab@suse.de>
40307             Roland McGrath  <roland@hack.frob.com>
40308             Joseph Myers  <joseph@codesourcery.com>
40309             Carlos O'Donell  <carlos@redhat.com>
40311         [BZ #15755]
40312         * config.h.in: Define HAVE_PT_CHOWN.
40313         * config.make.in (build-pt-chown): New variable.
40314         * configure.in (--enable-pt_chown): New configure option.
40315         * configure: Regenerate.
40316         * login/Makefile: Include Makeconfig.  Build pt_chown only if
40317         build-pt-chown is enabled.
40318         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40319         pt_chown to fix pty ownership.
40320         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40321         CLOSE_ALL_FDS.
40322         * manual/install.texi (Configuring and compiling): Mention
40323         --enable-pt_chown. Add @findex for grantpt.
40324         * INSTALL: Regenerate.
40326 2013-07-20  David S. Miller  <davem@davemloft.net>
40328         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40329         difference between 32-bit and 64-bit.
40331 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
40333         [BZ #15711]
40334         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40335         Avoid system header dependency with -ffreestanding.
40336         ($(objpfx)bits/syscall%d): Likewise.
40338 2013-07-13  David S. Miller  <davem@davemloft.net>
40340         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40341         underflows from atanl/atan2l due to bug 15319.
40342         (casinh_test_data): Likewise.
40344 2013-07-07  David S. Miller  <davem@davemloft.net>
40346         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40348 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
40350         * sysdeps/i386/fpu/libm-test-ulps: Update.
40351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40353 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40355         * configure.in (--enable-lock-elision): Fix message text.
40356         * INSTALL: Regenerate.
40357         * configure: Regenerate.
40359 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40363 2013-07-03  Andreas Jaeger  <aj@suse.de>
40365         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40366         define.
40367         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40368         (ptrace_peeksiginfo_args): Add.
40369         (__ptrace_peeksiginfo_flags): Add.
40370         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40371         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40372         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40374 2013-07-03  Allan McRae  <allan@archlinux.org>
40376         * sysdeps/i386/fpu/libm-test-ulps: Update.
40378 2013-07-02  David S. Miller  <davem@davemloft.net>
40380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40382 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
40384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40386 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40388         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40391 2013-07-02  Andi Kleen <ak@linux.intel.com>
40393         * config.h.in (ENABLE_LOCK_ELISION): Add.
40394         * configure.in (--enable-lock-elision): Add option.
40395         * manual/install.texi: Document --enable lock elision.
40396         * configure: Regenerate
40397         * INSTALL: Regenerate.
40399 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40401         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40402         SSE4.2 strcasecmp for libc.a.
40403         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40405 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40407         [BZ #13304]
40408         * soft-fp/op-common.h (_FP_FMA): New macro.
40409         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40410         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40411         (_FP_MUL_MEAT_1_imm): ... here.
40412         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40413         (_FP_MUL_MEAT_1_wide): ... here.
40414         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40415         (_FP_MUL_MEAT_1_hard): ... here.
40416         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40417         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40418         (_FP_MUL_MEAT_2_wide): ... here.
40419         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40420         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40421         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40422         (_FP_MUL_MEAT_2_gmp): ... here.
40423         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40424         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40425         (_FP_MUL_MEAT_4_wide): ... here.
40426         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40427         (_FP_MUL_MEAT_4_gmp): ... here.
40428         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40429         (_FP_WFRACBITS_DW_S): Likewise.
40430         (_FP_WFRACXBITS_DW_S): Likewise.
40431         (_FP_HIGHBIT_DW_S): Likewise.
40432         (FP_FMA_S): Likewise.
40433         (_FP_FRAC_HIGH_DW_S): Likewise.
40434         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40435         (_FP_WFRACBITS_DW_D): Likewise.
40436         (_FP_WFRACXBITS_DW_D): Likewise.
40437         (_FP_HIGHBIT_DW_D): Likewise.
40438         (FP_FMA_D): Likewise.
40439         (_FP_FRAC_HIGH_DW_D): Likewise.
40440         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40441         (_FP_WFRACBITS_DW_E): Likewise.
40442         (_FP_WFRACXBITS_DW_E): Likewise.
40443         (_FP_HIGHBIT_DW_E): Likewise.
40444         (FP_FMA_E): Likewise.
40445         (_FP_FRAC_HIGH_DW_E): Likewise.
40446         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40447         (_FP_WFRACBITS_DW_Q): Likewise.
40448         (_FP_WFRACXBITS_DW_Q): Likewise.
40449         (_FP_HIGHBIT_DW_Q): Likewise.
40450         (FP_FMA_Q): Likewise.
40451         (_FP_FRAC_HIGH_DW_Q): Likewise.
40452         * soft-fp/fmasf4.c: New file.
40453         * soft-fp/fmadf4.c: Likewise.
40454         * soft-fp/fmatf4.c: Likewise.
40456 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40459         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40460         Silvermont.
40461         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40462         macro.
40463         (index_Slow_SSE4_2): Likewise.
40464         (index_Prefer_PMINUB_for_stringop): Likewise.
40465         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40466         bit_Slow_SSE4_2 is set.
40467         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40468         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40470 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40472         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40473         rtld_global._dl_hwcap2.
40474         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40475         POWER8.
40476         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40477         POWER8 feature descriptions defined in _dl_hwcap2.
40478         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40479         string handling for POWER8 feature bits.
40480         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40481         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40482         _dl_powerpc_cap_flags.
40483         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40484         * sysdeps/powerpc/rtld-global-offsets.sym
40485         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40486         _dl_hwcap2 in the rtld_global_ro structure.
40488 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40490         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40491         hardware capabilities in support of AT_HWCAP2.
40492         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40493         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40494         GLRO(dl_hwcap2).
40495         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40496         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40497         explicitly the unknown a_type display mechanism is used.
40498         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40499         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40500         struct member.
40501         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40502         to macro prototype for AT_HWCAP2 support.
40503         * sysdeps/i386/dl-procinfo.h: Likewise.
40504         * sysdeps/s390/dl-procinfo.h: Likewise.
40505         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40506         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40507         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40508         return -1 for unknown a_type display fallback.
40509         * sysdeps/sparc/dl-procinfo.h: Likewise.
40510         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40511         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40513 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40515         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40516         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40518 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40520         [BZ #12492]
40521         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40522         mprotect making __stack_prot writable.
40524 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40525             Joseph Myers  <joseph@codesourcery.com>
40527         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40528         as being properly aligned.
40530 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40532         * dlfcn/modstatic5.c: New file.
40533         * dlfcn/tststatic5.c: New file.
40534         * dlfcn/Makefile (tests): Add tststatic5.
40535         (tests-static): Likewise.
40536         (modules-names): Add modstatic5.
40537         (tststatic5-ENV): New variable.
40538         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40540         [BZ #15022]
40541         * elf/dl-support.c (_dl_main_map): New variable.
40542         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40543         (_dl_nns, _dl_load_adds): Set to 1.
40544         (_dl_initial_searchlist): Refer to _dl_main_map.
40545         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40546         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40547         call to _dl_get_origin.
40548         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40549         around call_map.
40550         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40551         * dlfcn/modstatic3.c: New file.
40552         * dlfcn/tststatic3.c: New file.
40553         * dlfcn/tststatic4.c: New file.
40554         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40555         (tests-static): Likewise.
40556         (modules-names): Add modstatic3.
40557         (tststatic3-ENV, tststatic4-ENV): New variables.
40558         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40559         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40561 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40563         * configure.in (CC): Require GCC version 4.4 or later.
40564         * configure: Regenerated.
40565         * manual/install.texi (Tools for Compilation): Update GCC version
40566         requirement.
40567         * INSTALL: Regenerated.
40569 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40571         [BZ #15674]
40572         * string/test-memcmp.c (check2): New.
40573         (main): Call check2.
40575         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40577 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40579         [BZ #15022]
40580         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40581         over to...
40582         (dl_open_worker) [!SHARED]: ... here.
40584 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40586         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40588 2013-06-25  Richard Henderson  <rth@redhat.com>
40590         * locale/programs/locarchive.c: Include <libc-internal.h>
40592 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40594         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40595         trailing whitespace removed.
40597 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40599         [BZ #10283]
40600         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40601         * locale/programs/locarchive.c: Include libc-mmap.h.
40602         (prepare_address_space): Take two new outputs (the mmap base and len).
40603         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40604         values.
40605         (create_archive): Declare new mmap base and len values for
40606         prepare_address_space, and store the result in ah.
40607         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40608         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40609         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40610         Declare new mmap base and len values for
40611         prepare_address_space, and store the result in new_ah.
40612         (open_archive): Declare new mmap base and len values for
40613         prepare_address_space, and store the result in ah.
40614         (close_archive): If ah->mmap_base is not NULL, use that and
40615         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40616         * sysdeps/generic/libc-mmap.h: New file.
40618 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40620         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40621         (ALIGN_UP): Likewise.
40622         (PTR_ALIGN_DOWN): Likewise.
40623         (PTR_ALIGN_UP): Likewise.
40625 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40627         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40628         entry mapped to PPC_PLATFORM_POWER8.
40629         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40630         POWER8.
40631         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40632         (_dl_string_platform): Add case for exporting platform position for
40633         POWER8.
40634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40635         search path to sysdeps/powerpc/powerpc32/power8 directory.
40636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40637         search path to sysdeps/powerpc/powerpc64/power8 directory.
40638         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40639         power7 directories.
40640         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40641         power7 directories.
40643 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40645         * INSTALL: Regenerate.
40647         * nscd/connections.c (nscd_init): Fix comment.
40649 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40651         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40653         [BZ #15667]
40654         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40655         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40657 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40659         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40660         DL_DST_REQ_STATIC.
40661         (DL_DST_REQ_STATIC): Remove macro.
40663 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40665         [BZ #7006]
40666         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40667         with a shift of 0 bits.
40669 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40671         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40672         $(tststatic-ENV).
40674 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40676         [BZ #15655]
40677         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40679 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40681         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40682         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40683         accepts -fno-tree-loop-distribute-patterns.
40684         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40685         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40686         recursive call.
40687         * string/memset.c (memset): Likewise.
40688         * string/test-memmove.c (simple_memmove): Disable loop transformation
40689         to library calls.
40690         * string/test-memset.c (simple_memset): Likewise.
40691         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40692         * benchtests/bench-memset.c (simple_memset): Likewise.
40693         * configure: Regenerated.
40695 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40697         * math/test-misc.c (main): Ignore fesetround failure when failures
40698         of subsequent rounding tests would be ignored.
40700         [BZ #15654]
40701         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40702         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40703         * math/fegetenv.c (__fegetenv): Return 0.
40704         * math/fegetexcept.c (fegetexcept): Return 0.
40705         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40706         FE_TONEAREST.
40707         * math/feholdexcpt.c (feholdexcept): Return 0.
40708         * math/fesetenv.c (__fesetenv): Return 0.
40709         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40710         argument FE_TONEAREST.
40711         * math/feupdateenv.c (__feupdateenv): Return 0.
40712         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40714 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40716         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40717         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40718         ($(objpfx)rtld-%.os rules): Use them.
40720 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40722         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40723         fields.
40725 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40727         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40728         length of target pattern, then descending length of dependency pattern.
40729         * configure.in (AWK): Require gawk 3.1.2 or newer.
40730         * manual/install.texi (Tools for Compilation): Say that we do.
40731         * configure: Regenerated.
40733         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40734         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40735         * scripts/sysd-rules.awk: ... this new script.
40736         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40737         than a glob-style pattern.
40739 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40741         * math/test-misc.c (main): Do not treat incorrectly rounded
40742         conversions as failure unless ROUNDING_TESTS passes.
40744 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40746         [BZ #15631]
40747         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40748         restore exception state around main square root computation, then
40749         check for inexactness explicitly.
40751         * math/libm-test.inc (fma_test_data): Add another test.
40753 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40755         * manual/threads.texi (Non-POSIX Extensions): New document
40756         node.  Document pthread_getattr_default_np and
40757         pthread_setattr_default_np.
40759         * Versions.def (libpthread): Add GLIBC_2.18.
40760         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40762         Likewise.
40763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40764         Likewise.
40765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40766         Likewise.
40767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40768         Likewise.
40769         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40770         Likewise.
40771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40772         Likewise.
40773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40774         Likewise.
40775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40776         Likewise.
40777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40778         Likewise.
40780 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40783         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40785 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40786             H.J. Lu  <hjl.tools@gmail.com>
40788         [BZ #15627]
40789         * sysdeps/x86_64/rtld-memset.c: Remove file.
40790         * sysdeps/x86_64/rtld-memset.S: New file.
40792 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40794         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40795         (test_in_one_mode): Take arguments for whether the rounding mode
40796         is supported for each floating-point type.
40797         (do_test): Pass new arguments to test_in_one_mode using
40798         ROUNDING_TESTS.
40800 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40802         * posix/tst-waitid.c (do_test): Distinguish different instances of
40803         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40804         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40805         before entering the kernel for waitpid.
40807 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40809         * NEWS: Fix note on clock function precision.  Text by Roland
40810         McGrath.
40812 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40814         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40815         it into place only when and if the sanity check passes.
40817 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40819         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40820         output for whether conversion result is exact.  Take argument
40821         indicating whether type is IBM long double.
40822         (round_for_all): Change need_exact field to ibm_ld.
40823         * stdlib/tst-strtod-round.c (struct exactness): New type.
40824         (struct test): Change bool ld_ok field to struct exactness exact.
40825         (TEST): Update all definitions for change to field.
40826         (tests): Regenerate array contents.
40827         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40828         field value.  Check for IBM long double here.
40829         (do_test): Update calls to test_in_one_mode.
40831 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40833         [BZ #12515]
40834         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40835         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40837 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40839         [BZ #15605]
40840         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40841         generated by the compiler on loop optimizations.
40842         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40843         general definitions.
40845 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40847         * math/bug-nextafter.c: Include <math-tests.h>.
40848         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40849         the relevant type.
40850         * math/bug-nexttoward.c: Include <math-tests.h>.
40851         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40852         the relevant type.
40853         * math/test-misc.c: Include <math-tests.h>.
40854         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40855         the relevant type.
40857 2013-06-12  Andreas Jaeger  <aj@suse.de>
40859         * po/ia.po: Update Interlingua translation from translation
40860         project.
40862 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40864         * include/fenv.h: Include stdbool.h.
40865         (struct rm_ctx): New structure.
40866         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40867         Define macro.
40868         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40869         (SET_RESTORE_ROUNDF): Likewise.
40870         (SET_RESTORE_ROUNDL): Likewise.
40871         (SET_RESTORE_ROUND_NOEX): Likewise.
40872         (SET_RESTORE_ROUND_NOEXF): Likewise.
40873         (SET_RESTORE_ROUND_NOEXL): Likewise.
40874         (SET_RESTORE_ROUND_53BIT): Likewise.
40875         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40876         (libc_feresetround_noexf_ctx): Likewise.
40877         (libc_feresetround_noexl_ctx): Likewise.
40878         (libc_feholdsetround_53bit_ctx): Likewise.
40879         (libc_feresetround_53bit_ctx): Likewise.
40880         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40881         (libc_feholdexcept_setround_sse_ctx): New function.
40882         (libc_fesetenv_sse_ctx): Likewise.
40883         (libc_feupdateenv_sse_ctx): Likewise.
40884         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40885         (libc_feholdexcept_setround_387_ctx): Likewise.
40886         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40887         (libc_feholdsetround_387_prec_ctx): Likewise.
40888         (libc_feholdsetround_387_ctx): Likewise.
40889         (libc_feholdsetround_387_53bit_ctx): Likewise.
40890         (libc_feholdsetround_sse_ctx): Likewise.
40891         (libc_feresetround_sse_ctx): Likewise.
40892         (libc_feresetround_387_ctx): Likewise.
40893         (libc_feupdateenv_387_ctx): Likewise.
40894         (libc_feholdexcept_setroundf_ctx): Define macro.
40895         (libc_fesetenvf_ctx): Likewise.
40896         (libc_feupdateenvf_ctx): Likewise.
40897         (libc_feholdsetroundf_ctx): Likewise.
40898         (libc_feresetroundf_ctx): Likewise.
40899         (libc_feholdexcept_setround_ctx): Likewise.
40900         (libc_fesetenv_ctx): Likewise.
40901         (libc_feupdateenv_ctx): Likewise.
40902         (libc_feholdsetround_ctx): Likewise.
40903         (libc_feresetround_ctx): Likewise.
40904         (libc_feholdexcept_setroundl_ctx): Likewise.
40905         (libc_feupdateenvl_ctx): Likewise.
40906         (libc_feholdsetroundl_ctx): Likewise.
40907         (libc_feresetroundl_ctx): Likewise.
40908         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40909         (libc_feresetround_53bit_ctx): Likewise.
40911 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40913         * locale/iso-639.def: Convert to UTF-8.
40915 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40917         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40918         (EXCEPTION_TESTS_double): Likewise.
40919         (EXCEPTION_TESTS_long_double): Likewise.
40920         (EXCEPTION_TESTS): Likewise.
40921         * math/libm-test.inc (test_exceptions): Only test exceptions if
40922         EXCEPTION_TESTS (FLOAT).
40924 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40926         * benchtests/Makefile (string-bench): Add strcpy_chk and
40927         stpcpy_chk.
40928         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40929         * benchtests/bench-stpcpy_chk.c: New file.
40930         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40931         * benchtests/bench-strcpy_chk.c: New file.
40932         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40933         code.
40934         (do_test): Likewise.
40936 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40938         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40939         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40940         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40941         with tabs where appropriate.
40942         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40943         dl-procinfo.h.
40944         [PPC_PLATFORM_PPC440]: Likewise.
40945         [PPC_PLATFORM_PPC464]: Likewise.
40946         [PPC_PLATFORM_PPC476]: Likewise.
40947         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40948         ppc464, and ppc476 platform strings merging from ports/
40949         dl-procinfo.h.
40951 2013-06-11  Andreas Schwab  <schwab@suse.de>
40953         [BZ #14991]
40954         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40955         (from_ucs4_idx): Regenerate.
40956         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40957         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40958         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40959         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40960         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40961         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40962         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40963         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40964         from FROM_LOOP and TO_LOOP specific macros.
40965         (BODY): Handle combining characters.
40966         * iconvdata/BIG5HKSCS.irreversible: Update.
40967         * iconvdata/BIG5HKSCS.precomposed: New file.
40968         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40969         characters.
40970         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40972 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40974         * include/sys/time.h: Fix indentation and add copyright header.
40976         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40977         (do_test): Likewise.
40978         * string/test-memchr.c (do_one_test): Likewise.
40979         (do_test): Likewise.
40980         * string/test-memcmp.c (do_one_test): Likewise.
40981         (do_test): Likewise.
40982         * string/test-memcpy.c (do_one_test): Likewise.
40983         (do_test): Likewise.
40984         * string/test-memmem.c (do_one_test): Likewise.
40985         (do_test): Likewise.
40986         (do_random_tests): Likewise.
40987         * string/test-memmove.c (do_one_test): Likewise.
40988         (do_test): Likewise.
40989         * string/test-memset.c (do_one_test): Likewise.
40990         (do_test): Likewise.
40991         * string/test-rawmemchr.c (do_one_test): Likewise.
40992         (do_test): Likewise.
40993         * string/test-strcasecmp.c (do_one_test): Likewise.
40994         (do_test): Likewise.
40995         * string/test-strcasestr.c (do_one_test): Likewise.
40996         (do_test): Likewise.
40997         * string/test-strcat.c (do_one_test): Likewise.
40998         (do_test): Likewise.
40999         * string/test-strchr.c (do_one_test): Likewise.
41000         (do_test): Likewise.
41001         * string/test-strcmp.c (do_one_test): Likewise.
41002         (do_test): Likewise.
41003         * string/test-strcpy.c (do_one_test): Likewise.
41004         (do_test): Likewise.
41005         * string/test-string.h: Likewise.
41006         (test_init): Likewise.
41007         * string/test-strlen.c (do_one_test): Likewise.
41008         (do_test): Likewise.
41009         * string/test-strncasecmp.c (do_one_test): Likewise.
41010         (do_test): Likewise.
41011         * string/test-strncat.c (do_one_test): Likewise.
41012         (do_test): Likewise.
41013         * string/test-strncmp.c (do_one_test): Likewise.
41014         (do_test_limit): Likewise.
41015         (do_test): Likewise.
41016         * string/test-strncpy.c (do_one_test): Likewise.
41017         (do_test): Likewise.
41018         * string/test-strnlen.c (do_one_test): Likewise.
41019         (do_test): Likewise.
41020         * string/test-strpbrk.c (do_one_test): Likewise.
41021         (do_test): Likewise.
41022         * string/test-strrchr.c (do_one_test): Likewise.
41023         (do_test): Likewise.
41024         * string/test-strspn.c (do_one_test): Likewise.
41025         (do_test): Likewise.
41026         * string/test-strstr.c (do_one_test): Likewise.
41027         (do_test): Likewise.
41029         * benchtests/Makefile (string-bench): Add string benchmarks.
41030         * benchtests/bench-bcopy-ifunc.c: New file.
41031         * benchtests/bench-bcopy.c: New file.
41032         * benchtests/bench-bzero-ifunc.c: New file.
41033         * benchtests/bench-bzero.c: New file.
41034         * benchtests/bench-memccpy-ifunc.c: New file.
41035         * benchtests/bench-memccpy.c: New file.
41036         * benchtests/bench-memchr-ifunc.c: New file.
41037         * benchtests/bench-memchr.c: New file.
41038         * benchtests/bench-memcmp-ifunc.c: New file.
41039         * benchtests/bench-memcmp.c: New file.
41040         * benchtests/bench-memmem-ifunc.c: New file.
41041         * benchtests/bench-memmem.c: New file.
41042         * benchtests/bench-memmove-ifunc.c: New file.
41043         * benchtests/bench-memmove.c: New file.
41044         * benchtests/bench-mempcpy-ifunc.c: New file.
41045         * benchtests/bench-mempcpy.c: New file.
41046         * benchtests/bench-memset-ifunc.c: New file.
41047         * benchtests/bench-memset.c: New file.
41048         * benchtests/bench-rawmemchr-ifunc.c: New file.
41049         * benchtests/bench-rawmemchr.c: New file.
41050         * benchtests/bench-stpcpy-ifunc.c: New file.
41051         * benchtests/bench-stpcpy.c: New file.
41052         * benchtests/bench-stpncpy-ifunc.c: New file.
41053         * benchtests/bench-stpncpy.c: New file.
41054         * benchtests/bench-strcasecmp-ifunc.c: New file.
41055         * benchtests/bench-strcasecmp.c: New file.
41056         * benchtests/bench-strcasestr-ifunc.c: New file.
41057         * benchtests/bench-strcasestr.c: New file.
41058         * benchtests/bench-strcat-ifunc.c: New file.
41059         * benchtests/bench-strcat.c: New file.
41060         * benchtests/bench-strchr-ifunc.c: New file.
41061         * benchtests/bench-strchr.c: New file.
41062         * benchtests/bench-strchrnul-ifunc.c: New file.
41063         * benchtests/bench-strchrnul.c: New file.
41064         * benchtests/bench-strcmp-ifunc.c: New file.
41065         * benchtests/bench-strcmp.c: New file.
41066         * benchtests/bench-strcpy-ifunc.c: New file.
41067         * benchtests/bench-strcpy.c: New file.
41068         * benchtests/bench-strcspn-ifunc.c: New file.
41069         * benchtests/bench-strcspn.c: New file.
41070         * benchtests/bench-strlen-ifunc.c: New file.
41071         * benchtests/bench-strlen.c: New file.
41072         * benchtests/bench-strncasecmp-ifunc.c: New file.
41073         * benchtests/bench-strncasecmp.c: New file.
41074         * benchtests/bench-strncat-ifunc.c: New file.
41075         * benchtests/bench-strncat.c: New file.
41076         * benchtests/bench-strncmp-ifunc.c: New file.
41077         * benchtests/bench-strncmp.c: New file.
41078         * benchtests/bench-strncpy-ifunc.c: New file.
41079         * benchtests/bench-strncpy.c: New file.
41080         * benchtests/bench-strnlen-ifunc.c: New file.
41081         * benchtests/bench-strnlen.c: New file.
41082         * benchtests/bench-strpbrk-ifunc.c: New file.
41083         * benchtests/bench-strpbrk.c: New file.
41084         * benchtests/bench-strrchr-ifunc.c: New file.
41085         * benchtests/bench-strrchr.c: New file.
41086         * benchtests/bench-strspn-ifunc.c: New file.
41087         * benchtests/bench-strspn.c: New file.
41088         * benchtests/bench-strstr-ifunc.c: New file.
41089         * benchtests/bench-strstr.c: New file.
41091         * benchtests/Makefile: Disable parallel execution of targets.
41092         (string-bench): Add memcpy.
41093         (benchset): New variable to store a list of benchmark sets.
41094         (bench-func): Renamed from bench.
41095         (bench-set): New target.
41096         (bench): Depend on bench-func and bench-set.
41097         * benchtests/README: Add section on benchmark sets.
41098         * benchtests/bench-memcpy-ifunc.c: New file.
41099         * benchtests/bench-memcpy.c: New file.
41100         * benchtests/bench-string.h: New file.
41102 2013-06-11  Andreas Schwab  <schwab@suse.de>
41104         [BZ #15577]
41105         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41106         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41107         values in the triple.
41108         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41109         terminator in the group key.
41111 2013-06-11  Andreas Jaeger  <aj@suse.de>
41113         * po/zh_TW.po: Update Chinese (traditional) translation from
41114         translation project.
41116 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41118         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41119         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41120         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41121         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41122         (clock_getcpuclockid): Likewise.
41123         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41124         Add weak_alias and libc_hidden_def.
41125         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41126         * rt/clock_gettime.c (clock_gettime): Rename to
41127         __clock_gettime.  Add weak_alias and libc_hidden_def.
41128         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41129         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41130         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41131         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41132         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41133         Likewise.
41134         * rt/clock_settime.c (clock_settime): Rename to
41135         __clock_settime.  Add weak_alias and libc_hidden_def.
41136         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41138 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41140         * mach/err_boot.sub: Remove trailing whitespace.
41141         * mach/err_ipc.sub: Likewise.
41142         * mach/err_mach.sub: Likewise.
41144         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41145         (ROUNDING_TESTS_double): Likewise.
41146         (ROUNDING_TESTS_long_double): Likewise.
41147         (ROUNDING_TESTS): Likewise.
41148         * math/libm-test.inc: Include <math-tests.h>.
41149         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41150         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41151         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41152         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41154 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41156         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41157         of assigning.
41159 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41161         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41162         otherwise empty TRANS lines.
41163         * sysdeps/gnu/errlist.c: Regenerated.
41165         * catgets/gencat.c (error_print): Use (void) in function
41166         definition.
41167         * crypt/crypt_util.c (__init_des): Likewise.
41168         * crypt/speeds.c (Stop): Likewise.
41169         (main): Likewise.
41170         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41171         * inet/ruserpass.c (token): Likewise.
41172         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41173         * intl/localealias.c (extend_alias_table): Likewise.
41174         * intl/plural-exp.c (init_germanic_plural): Likewise.
41175         * libio/fcloseall.c (__fcloseall): Likewise.
41176         * libio/genops.c (_IO_flush_all): Likewise.
41177         (_IO_flush_all_linebuffered): Likewise.
41178         (_IO_cleanup): Likewise.
41179         (_IO_iter_begin): Likewise.
41180         (_IO_iter_end): Likewise.
41181         (_IO_list_lock): Likewise.
41182         (_IO_list_unlock): Likewise.
41183         (_IO_list_resetlock): Likewise.
41184         * libio/getchar.c (getchar): Likewise.
41185         * libio/getchar_u.c (getchar_unlocked): Likewise.
41186         * libio/getwchar.c (getwchar): Likewise.
41187         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41188         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41189         * login/getpt.c (__getpt): Likewise.
41190         * login/tst-utmp.c (main): Likewise.
41191         * malloc/hooks.c (__malloc_check_init): Likewise.
41192         * malloc/malloc.c (__malloc_stats): Likewise.
41193         * malloc/mtrace.c (tr_break): Likewise.
41194         (mtrace): Likewise.
41195         (muntrace): Likewise.
41196         * misc/fstab.c (endfsent): Likewise.
41197         * misc/getclktck.c (__getclktck): Likewise.
41198         * misc/getdtsz.c (__getdtablesize): Likewise.
41199         * misc/gethostid.c (gethostid): Likewise.
41200         * misc/getpagesize.c (__getpagesize): Likewise.
41201         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41202         (__get_nprocs): Likewise.
41203         (__get_phys_pages): Likewise.
41204         (__get_avphys_pages): Likewise.
41205         * misc/getttyent.c (getttyent): Likewise.
41206         (setttyent): Likewise.
41207         (endttyent): Likewise.
41208         * misc/getusershell.c (getusershell): Likewise.
41209         (endusershell): Likewise.
41210         (setusershell): Likewise.
41211         (initshells): Likewise.
41212         * misc/hsearch.c (__hdestroy): Likewise.
41213         * misc/sync.c (sync): Likewise.
41214         * misc/syslog.c (closelog_internal): Likewise.
41215         (closelog): Likewise.
41216         * misc/ttyslot.c (ttyslot): Likewise.
41217         * misc/vhangup.c (vhangup): Likewise.
41218         * posix/fork.c (__fork): Likewise.
41219         * posix/getegid.c (__getegid): Likewise.
41220         * posix/geteuid.c (__geteuid): Likewise.
41221         * posix/getgid.c (__getgid): Likewise.
41222         * posix/getpid.c (__getpid): Likewise.
41223         * posix/getppid.c (__getppid): Likewise.
41224         * posix/getuid.c (__getuid): Likewise.
41225         * posix/pause.c (pause): Likewise.
41226         * posix/setpgrp.c (setpgrp): Likewise.
41227         * posix/setsid.c (__setsid): Likewise.
41228         * posix/test-vfork.c (noop): Likewise.
41229         * resolv/gethnamaddr.c (_endhtent): Likewise.
41230         (_gethtent): Likewise.
41231         (ht_endhostent): Likewise.
41232         (gethostent): Likewise.
41233         (dns_service): Likewise.
41234         * stdlib/drand48.c (drand48): Likewise.
41235         * stdlib/lrand48.c (lrand48): Likewise.
41236         * stdlib/mrand48.c (mrand48): Likewise.
41237         * stdlib/rand.c (rand): Likewise.
41238         * stdlib/random.c (__random): Likewise.
41239         * stdlib/setenv.c (clearenv): Likewise.
41240         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41241         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41242         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41243         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41244         (__get_nprocs): Likewise.
41245         (__get_phys_pages): Likewise.
41246         (__get_avphys_pages): Likewise.
41247         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41248         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41249         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41250         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41251         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41252         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41253         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41254         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41255         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41256         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41257         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41258         * sysdeps/mach/hurd/sync.c (sync): Likewise.
41259         * sysdeps/posix/clock.c (clock): Likewise.
41260         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41261         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41262         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41263         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41264         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41265         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41266         (__get_nprocs_conf): Likewise.
41267         (__get_phys_pages): Likewise.
41268         (__get_avphys_pages): Likewise.
41269         * time/clock.c (clock): Likewise.
41270         * time/tzset.c (__tzname_max): Likewise.
41272 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
41274         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41275         (__bswap_32): Do not use "register".
41276         * crypt/crypt.c (_ufc_doit_r): Likewise.
41277         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41278         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41279         * gmon/gmon.c (__monstartup): Likewise.
41280         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41281         * hurd/hurdmalloc.c (more_memory): Likewise.
41282         (malloc): Likewise.
41283         (free): Likewise.
41284         (realloc): Likewise.
41285         (malloc_fork_prepare): Likewise.
41286         (malloc_fork_parent): Likewise.
41287         (malloc_fork_child): Likewise.
41288         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41289         (_svcauth_des): Likewise.
41290         * inet/inet_lnaof.c (inet_lnaof): Likewise.
41291         * inet/inet_net.c (inet_network): Likewise.
41292         * inet/inet_netof.c (inet_netof): Likewise.
41293         * inet/rcmd.c (__validuser2_sa): Likewise.
41294         * io/fts.c (fts_open): Likewise.
41295         (fts_load): Likewise.
41296         (fts_close): Likewise.
41297         (fts_read): Likewise.
41298         (fts_children): Likewise.
41299         (fts_build): Likewise.
41300         (fts_stat): Likewise.
41301         (fts_sort): Likewise.
41302         (fts_alloc): Likewise.
41303         (fts_lfree): Likewise.
41304         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41305         (_IO_file_xsgetn): Likewise.
41306         (_IO_file_xsgetn_mmap): Likewise.
41307         * libio/iofopncook.c (_IO_cookie_read): Likewise.
41308         (_IO_cookie_write): Likewise.
41309         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41310         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41311         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41312         * malloc/obstack.c (_obstack_begin): Likewise.
41313         (_obstack_begin_1): Likewise.
41314         (_obstack_newchunk): Likewise.
41315         (_obstack_allocated_p): Likewise.
41316         (obstack_free): Likewise.
41317         (_obstack_memory_used): Likewise.
41318         * misc/getttyent.c (getttynam): Likewise.
41319         (getttyent): Likewise.
41320         (skip): Likewise.
41321         (value): Likewise.
41322         * misc/getusershell.c (initshells): Likewise.
41323         * misc/syslog.c (__vsyslog_chk): Likewise.
41324         * misc/ttyslot.c (ttyslot): Likewise.
41325         * nis/nis_hash.c (__nis_hash): Likewise.
41326         * posix/fnmatch_loop.c (FCT): Likewise.
41327         * posix/getconf.c (print_all): Likewise.
41328         (main): Likewise.
41329         * posix/getopt.c (exchange): Likewise.
41330         * posix/glob.c (globfree): Likewise.
41331         (prefix_array): Likewise.
41332         (__glob_pattern_type): Likewise.
41333         * resolv/arpa/nameser.h (NS_GET16): Likewise.
41334         (NS_GET32): Likewise.
41335         (NS_PUT16): Likewise.
41336         (NS_PUT32): Likewise.
41337         * resolv/gethnamaddr.c (getanswer): Likewise.
41338         (gethostbyname2): Likewise.
41339         (gethostbyaddr): Likewise.
41340         (_gethtent): Likewise.
41341         (_gethtbyname2): Likewise.
41342         (_gethtbyaddr): Likewise.
41343         * resolv/ns_print.c (dst_s_get_int16): Likewise.
41344         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41345         * resolv/res_init.c (__res_vinit): Likewise.
41346         (net_mask): Likewise.
41347         * resolv/res_mkquery.c (outchar): Likewise.
41348         (PRINT): Likewise.
41349         * stdio-common/printf_fp.c (outchar): Likewise.
41350         (PRINT): Likewise.
41351         * stdio-common/printf_fphex.c (outchar): Likewise.
41352         (PRINT): Likewise.
41353         * stdio-common/printf_size.c (outchar): Likewise.
41354         (PRINT): Likewise.
41355         * stdio-common/test_rdwr.c (main): Likewise.
41356         * stdio-common/tfformat.c (matches): Likewise.
41357         * stdio-common/vfprintf.c (outchar): Likewise.
41358         (printf_unknown): Likewise.
41359         (buffered_vfprintf): Likewise.
41360         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41361         * stdio-common/xbug.c (AppendToBuffer): Likewise.
41362         (ReadFile): Likewise.
41363         * stdlib/qsort.c (SWAP): Likewise.
41364         (_quicksort): Likewise.
41365         * stdlib/setenv.c (__add_to_environ): Likewise.
41366         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41367         * stdlib/strtol_l.c (__strtol_l): Likewise.
41368         * stdlib/tst-strtod.c (main): Likewise.
41369         * stdlib/tst-strtol.c (main): Likewise.
41370         * stdlib/tst-strtoll.c (main): Likewise.
41371         * string/bits/string2.h (__strcmp_cc): Likewise.
41372         (__strcmp_cg): Likewise.
41373         (__strcspn_c1): Likewise.
41374         (__strcspn_c2): Likewise.
41375         (__strcspn_c3): Likewise.
41376         (__strspn_c1): Likewise.
41377         (__strspn_c2): Likewise.
41378         (__strspn_c3): Likewise.
41379         (__strsep_1c): Likewise.
41380         (__strsep_2c): Likewise.
41381         (__strsep_3c): Likewise.
41382         * string/memccpy.c (__memccpy): Likewise.
41383         * string/stpcpy.c (__stpcpy): Likewise.
41384         * string/strcmp.c (strcmp): Likewise.
41385         * string/strrchr.c (strrchr): Likewise.
41386         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41387         Likewise.
41388         * sysdeps/mach/hurd/getcwd.c
41389         (_hurd_canonicalize_directory_name_internal): Likewise.
41390         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41391         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41392         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41393         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41394         Likewise, in both definitions.
41395         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41396         definitions.
41397         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41398         64] (__bswap_64): Likewise.
41399         * time/test_time.c (main): Likewise.
41400         * time/tzfile.c (__tzfile_read): Likewise.
41401         (__tzfile_compute): Likewise.
41402         * time/tzset.c (__tzset_parse_tz): Likewise.
41403         (tzset_internal): Likewise.
41404         (compute_change): Likewise.
41405         * wcsmbs/wcscat.c (__wcscat): Likewise.
41406         * wcsmbs/wcschr.c (wcschr): Likewise.
41407         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41408         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41409         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41410         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41411         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41412         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41413         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41414         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41415         * wcsmbs/wmemset.c (wmemset): Likewise.
41417 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41419         * scripts/config.guess: Update to version 2013-05-16.
41420         * scripts/config.sub: Update to version 2013-04-24.
41421         * scripts/install-sh: Update to version 2011-11-20.07.
41422         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41423         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41425 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41427         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41428         * elf/sln.c: Likewise.
41429         * hurd/hurd/ioctl.h: Likewise.
41430         * hurd/hurdmalloc.c: Likewise.
41431         * hurd/xattr.c: Likewise.
41432         * include/shlib-compat.h: Likewise.
41433         * inet/ruserpass.c: Likewise.
41434         * libio/iofgets_u.c: Likewise.
41435         * libio/iofgetws_u.c: Likewise.
41436         * locale/programs/ld-identification.c: Likewise.
41437         * locale/programs/ld-time.c: Likewise.
41438         * mach/msg-destroy.c: Likewise.
41439         * nss/nss_files/files-netgrp.c: Likewise.
41440         * resolv/res_data.c: Likewise.
41441         * soft-fp/op-1.h: Likewise.
41442         * soft-fp/op-2.h: Likewise.
41443         * soft-fp/op-4.h: Likewise.
41444         * soft-fp/op-common.h: Likewise.
41445         * stdio-common/printf_fphex.c: Likewise.
41446         * stdlib/strtod_l.c: Likewise.
41447         * sunrpc/rpc/clnt.h: Likewise.
41448         * sysdeps/generic/framestate.c: Likewise.
41449         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41450         * sysdeps/i386/bsd-setjmp.S: Likewise.
41451         * sysdeps/i386/__longjmp.S: Likewise.
41452         * sysdeps/i386/setjmp.S: Likewise.
41453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41454         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41455         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41456         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41457         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41458         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41459         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41460         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41461         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41462         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41463         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41464         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41465         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41466         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41467         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41468         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41469         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41470         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41471         * sysdeps/ieee754/support.c: Likewise.
41472         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41473         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41474         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41475         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41476         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41477         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41478         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41479         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41480         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41481         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41482         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41483         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41484         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41485         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41486         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41487         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41488         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41491 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41493         * posix/transbug.c: Remove executable mode.
41495 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41497         * crypt/speeds.c: Remove trailing whitespace.
41498         * dlfcn/default.c: Likewise.
41499         * elf/ifuncdep2.c: Likewise.
41500         * elf/ifuncmain1.c: Likewise.
41501         * elf/ifuncmain1vis.c: Likewise.
41502         * elf/testobj.h: Likewise.
41503         * elf/tst-stackguard1.c: Likewise.
41504         * gmon/sys/gmon.h: Likewise.
41505         * hurd/hurdmsg.c: Likewise.
41506         * hurd/new-fd.c: Likewise.
41507         * hurd/ports-get.c: Likewise.
41508         * iconvdata/ibm1008_420.c: Likewise.
41509         * inet/tst-getni1.c: Likewise.
41510         * inet/tst-getni2.c: Likewise.
41511         * libio/ioungetc.c: Likewise.
41512         * libio/wfiledoalloc.c: Likewise.
41513         * manual/libm-err-tab.pl: Likewise.
41514         * math/w_dremf.c: Likewise.
41515         * misc/ftruncate.c: Likewise.
41516         * posix/bug-glob2.c: Likewise.
41517         * posix/tst-pcre.c: Likewise.
41518         * posix/wait4.c: Likewise.
41519         * resolv/README: Likewise.
41520         * resolv/res_debug.h: Likewise.
41521         * resolv/tst-inet_ntop.c: Likewise.
41522         * setjmp/bug269-setjmp.c: Likewise.
41523         * soft-fp/extended.h: Likewise.
41524         * soft-fp/op-1.h: Likewise.
41525         * soft-fp/op-2.h: Likewise.
41526         * soft-fp/op-4.h: Likewise.
41527         * soft-fp/op-8.h: Likewise.
41528         * soft-fp/testit.c: Likewise.
41529         * stdio-common/bug16.c: Likewise.
41530         * stdlib/random.c: Likewise.
41531         * sunrpc/rpcsvc/rquota.x: Likewise.
41532         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41533         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41534         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41535         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41536         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41537         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41538         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41539         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41540         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41541         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41542         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41543         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41544         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41545         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41546         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41547         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41548         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41549         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41550         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41551         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41552         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41553         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41554         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41555         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41556         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41557         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41558         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41560         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41561         * sysdeps/ieee754/s_lib_version.c: Likewise.
41562         * sysdeps/mach/hurd/check_fds.c: Likewise.
41563         * sysdeps/mach/hurd/getsockname.c: Likewise.
41564         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41565         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41566         * sysdeps/powerpc/bits/link.h: Likewise.
41567         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41568         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41569         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41570         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41571         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41572         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41573         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41574         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41575         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41576         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41577         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41578         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41579         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41580         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41581         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41582         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41583         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41584         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41585         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41586         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41587         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41588         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41589         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41590         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41591         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41592         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41593         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41594         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41595         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41596         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41597         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41598         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41599         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41600         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41601         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41602         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41603         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41604         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41605         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41606         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41607         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41608         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41609         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41610         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41611         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41612         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41613         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41614         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41615         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41616         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41617         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41618         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41619         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41620         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41621         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41622         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41623         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41624         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41625         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41626         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41627         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41628         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41629         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41630         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41631         * sysdeps/powerpc/sysdep.h: Likewise.
41632         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41633         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41634         * sysdeps/sh/dl-trampoline.S: Likewise.
41635         * sysdeps/sh/memset.S: Likewise.
41636         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41637         * sysdeps/sh/strlen.S: Likewise.
41638         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41639         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41640         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41641         * sysdeps/sparc/sparc32/rem.S: Likewise.
41642         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41643         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41644         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41645         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41646         * sysdeps/sparc/sparc32/urem.S: Likewise.
41647         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41648         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41649         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41650         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41651         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41652         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41653         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41654         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41655         * sysdeps/unix/bsd/times.c: Likewise.
41656         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41657         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41661         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41662         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41663         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41664         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41665         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41666         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41667         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41668         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41669         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41670         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41671         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41672         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41673         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41674         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41675         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41676         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41677         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41678         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41679         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41680         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41681         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41682         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41683         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41684         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41685         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41686         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41687         * sysdeps/x86_64/strcspn.S: Likewise.
41689 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41691         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41692         generated file.  Regenerate properly from gen-translit.pl.
41693         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41694         locale/C-translit.h.
41696 2013-06-05  Andreas Schwab  <schwab@suse.de>
41698         [BZ #15100]
41699         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41700         week as 6 instead of -1.
41701         * time/tst-strptime.c (day_tests): Add test case.
41703 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41705         * sysdeps/generic/math_private.h
41706         (libc_feholdexcept_setround_53bit): Replace with
41707         libc_feholdsetround_53bit.
41708         (libc_feupdateenv_53bit): Replace with
41709         libc_feresetround_53bit.
41710         (SET_RESTORE_ROUND_53BIT): Adjust.
41712 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41714         * string/test-strchrnul.c: Add copyright header.
41716         * posix/tst-getaddrinfo4.c: Increase test timeout.
41718 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41720         [BZ #15536]
41721         * math/libm-test.inc (MAX_EXP): Remove
41722         (MIN_EXP): Define.
41723         (ulp): Use MIN_EXP - MANT_DIG.
41724         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41726 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41728         * po/be.po: Revert last change.
41729         * po/zh_CN.po: Likewise.
41730         * po/header.pot: Likewise.
41732 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41734         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41735         link-libc-deps to empty as target-specific variable.
41736         * Makerules (link-libc-args): New variable.
41737         (libc-for-link): Likewise.
41738         (link-libc-deps): Likewise.
41739         (lib%.so): Depend on $(link-libc-deps).  Link with
41740         $(link-libc-args).
41741         (build-module): Link with $(link-libc-args).
41742         (build-module-asneeded): Likewise.
41743         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41744         list of objects.
41745         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41746         target-specific variable.
41747         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41748         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41749         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41750         libc.
41751         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41752         libc and ld.so.
41753         ($(objpfx)libpcprofile.so): Likewise.
41754         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41755         libc_nonshared.a.
41756         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41757         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41758         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41759         $(link-libc-deps).
41760         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41761         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41762         * login/Makefile ($(objpfx)libutil.so): Likewise.
41763         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41764         * math/Makefile ($(objpfx)libm.so): Likewise.
41765         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41766         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41767         variable instead of depending directly on libc.
41768         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41769         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41770         $(link-libc-deps).
41771         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41772         libc.
41773         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41774         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41775         ($(objpfx)libanl.so): Likewise.
41776         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41777         ld.so.
41778         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41779         $(link-libc-deps).
41780         * sysdeps/i386/fpu/Makefile: Remove file.
41781         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41782         ($(objpfx)libm.so): Remove dependency on ld.so.
41784 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41786         [BZ # 15553]
41787         * nis/yp_xdr.c (XDRMAXNAME): Define.
41788         (XDRMAXRECORD): Define.
41789         (xdr_domainname): Use XDRMAXNAME.
41790         (xdr_mapname): Likewise.
41791         (xdr_peername): Likewise.
41792         (xdr_keydat): Use XDRMAXRECORD.
41793         (xdr_valdat): Likewise.
41795 2013-05-30  Jeff Law  <law@redhat.com>
41797         [BZ #14256]
41798         * manual/errno.texi (ESTALE): Update to account for more than
41799         just NFS file systems.
41800         * sysdeps/gnu/errlist.c: Regenerated.
41802 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41804         [BZ #15465]
41805         * elf/Makefile (tests): Add tst-null-argv.
41806         (modules-names):  Add tst-null-argv-lib.
41807         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41808         (tst-null-argv-ENV): Set environment for tst-null-argv.
41809         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41810         (RTLD_PROGNAME): New macro.
41811         * elf/tst-null-argv.c: New test case.
41812         * elf/tst-null-argv-lib.c: Library for test case.
41813         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41814         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41815         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41816         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41817         * elf/dl-init.c (call_init): Likewise.
41818         (_dl_init): Likewise.
41819         * elf/dl-load.c (print_search_path): Likewise.
41820         (_dl_map_object): Likewise.
41821         * elf/dl-lookup.c (do_lookup_x): Likewise.
41822         (add_dependency): Likewise.
41823         (_dl_lookup_symbol_x): Likewise.
41824         (_dl_debug_bindings): Likewise.
41825         * elf/dl-open.c (_dl_show_scope): Likewise.
41826         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41827         * elf/dl-version.c (match_symbol): Likewise.
41828         (_dl_check_map_versions): Likewise.
41829         * elf/rtld.c (dl_main): Likewise.
41830         (print_unresolved): Use RTLD_PROGNAME.
41831         (print_missing_version): Likewise.
41832         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41833         (elf_machine_rela): Likewise.
41834         * sysdeps/powerpc/powerpc32/dl-machine.c
41835         (__process_machine_rela): Likewise.
41836         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41837         Likewise.
41838         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41839         Likewise.
41840         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41841         Likewise.
41842         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41843         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41844         Likewise.
41845         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41846         Likewise.
41847         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41849 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41851         * po/be.po: Add descriptive title.
41852         * po/zh_CN.po: Likewise.
41853         * po/header.pot: Likewise.
41855 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41857         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41858         error message.
41859         (enlarge_archive): Likewise.
41861 2013-05-28  Ben North  <ben@redfrontdoor.org>
41863         * manual/arith.texi (frexp): It is the magnitude of the return
41864         value which lies in [0.5, 1), not the return value itself.
41866 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41870 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41872         * stdio-common/bug26.c (main): Correct fscanf template.
41874         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41875         declare _dl_skip_args.
41877         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41878         Don't declare.
41880         * manual/platform.texi: Add missing @end deftypefun.
41882 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41884         [BZ #15529]
41885         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41886         bit of mantissa of 2^16382.
41887         * math/libm-test.inc (hypot_test_data): Add more tests.
41889         * math/libm-test.inc: Add drem and pow10 to list of tested
41890         functions.
41891         (pow10_test): New function.
41892         (drem_test): Likewise.
41893         (drem_test_tonearest): Likewise.
41894         (drem_test_towardzero): Likewise.
41895         (drem_test_downward): Likewise.
41896         (drem_test_upward): Likewise.
41897         (main): Call the new functions.
41899         * math/libm-test.inc (finite_test_data): Remove.
41900         (finite_test): Run tests from isfinite_test_data.
41901         (gamma_test_data): Remove.
41902         (gamma_test): Run tests from lgamma_test_data.
41903         * sysdeps/i386/fpu/libm-test-ulps: Update.
41904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41906 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41908         * manual/platform.texi: Add PowerPC PPR function set documentation.
41909         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41910         implementation.
41912 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41914         * math/libm-test.inc (MAX_EXP): Define.
41915         (ULPDIFF): Define.
41916         (ulp): New function.
41917         (check_float_internal): Use ULPDIFF.
41918         (cpow_test): Disable failing test.
41919         (check_ulp): Test ulp() implemetnation.
41920         (main): Call check_ulp before starting tests.
41922 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41924         * math/gen-libm-test.pl (generate_testfile): Do not handle
41925         START_DATA and END_DATA.
41926         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41927         END_DATA.
41928         (acos_tonearest_test_data): Likewise.
41929         (acos_towardzero_test_data): Likewise.
41930         (acos_downward_test_data): Likewise.
41931         (acos_upward_test_data): Likewise.
41932         (acosh_test_data): Likewise.
41933         (asin_test_data): Likewise.
41934         (asin_tonearest_test_data): Likewise.
41935         (asin_towardzero_test_data): Likewise.
41936         (asin_downward_test_data): Likewise.
41937         (asin_upward_test_data): Likewise.
41938         (asinh_test_data): Likewise.
41939         (atan_test_data): Likewise.
41940         (atanh_test_data): Likewise.
41941         (atan2_test_data): Likewise.
41942         (cabs_test_data): Likewise.
41943         (cacos_test_data): Likewise.
41944         (cacosh_test_data): Likewise.
41945         (carg_test_data): Likewise.
41946         (casin_test_data): Likewise.
41947         (casinh_test_data): Likewise.
41948         (catan_test_data): Likewise.
41949         (catanh_test_data): Likewise.
41950         (cbrt_test_data): Likewise.
41951         (ccos_test_data): Likewise.
41952         (ccosh_test_data): Likewise.
41953         (ceil_test_data): Likewise.
41954         (cexp_test_data): Likewise.
41955         (cimag_test_data): Likewise.
41956         (clog_test_data): Likewise.
41957         (clog10_test_data): Likewise.
41958         (conj_test_data): Likewise.
41959         (copysign_test_data): Likewise.
41960         (cos_test_data): Likewise.
41961         (cos_tonearest_test_data): Likewise.
41962         (cos_towardzero_test_data): Likewise.
41963         (cos_downward_test_data): Likewise.
41964         (cos_upward_test_data): Likewise.
41965         (cosh_test_data): Likewise.
41966         (cosh_tonearest_test_data): Likewise.
41967         (cosh_towardzero_test_data): Likewise.
41968         (cosh_downward_test_data): Likewise.
41969         (cosh_upward_test_data): Likewise.
41970         (cpow_test_data): Likewise.
41971         (cproj_test_data): Likewise.
41972         (creal_test_data): Likewise.
41973         (csin_test_data): Likewise.
41974         (csinh_test_data): Likewise.
41975         (csqrt_test_data): Likewise.
41976         (ctan_test_data): Likewise.
41977         (ctan_tonearest_test_data): Likewise.
41978         (ctan_towardzero_test_data): Likewise.
41979         (ctan_downward_test_data): Likewise.
41980         (ctan_upward_test_data): Likewise.
41981         (ctanh_test_data): Likewise.
41982         (ctanh_tonearest_test_data): Likewise.
41983         (ctanh_towardzero_test_data): Likewise.
41984         (ctanh_downward_test_data): Likewise.
41985         (ctanh_upward_test_data): Likewise.
41986         (erf_test_data): Likewise.
41987         (erfc_test_data): Likewise.
41988         (exp_test_data): Likewise.
41989         (exp_tonearest_test_data): Likewise.
41990         (exp_towardzero_test_data): Likewise.
41991         (exp_downward_test_data): Likewise.
41992         (exp_upward_test_data): Likewise.
41993         (exp10_test_data): Likewise.
41994         (exp2_test_data): Likewise.
41995         (expm1_test_data): Likewise.
41996         (fabs_test_data): Likewise.
41997         (fdim_test_data): Likewise.
41998         (finite_test_data): Likewise.
41999         (floor_test_data): Likewise.
42000         (fma_test_data): Likewise.
42001         (fma_towardzero_test_data): Likewise.
42002         (fma_downward_test_data): Likewise.
42003         (fma_upward_test_data): Likewise.
42004         (fmax_test_data): Likewise.
42005         (fmin_test_data): Likewise.
42006         (fmod_test_data): Likewise.
42007         (fpclassify_test_data): Likewise.
42008         (frexp_test_data): Likewise.
42009         (gamma_test_data): Likewise.
42010         (hypot_test_data): Likewise.
42011         (ilogb_test_data): Likewise.
42012         (isfinite_test_data): Likewise.
42013         (isgreater_test_data): Likewise.
42014         (isgreaterequal_test_data): Likewise.
42015         (isinf_test_data): Likewise.
42016         (isless_test_data): Likewise.
42017         (islessequal_test_data): Likewise.
42018         (islessgreater_test_data): Likewise.
42019         (isnan_test_data): Likewise.
42020         (isnormal_test_data): Likewise.
42021         (issignaling_test_data): Likewise.
42022         (isunordered_test_data): Likewise.
42023         (j0_test_data): Likewise.
42024         (j1_test_data): Likewise.
42025         (jn_test_data): Likewise.
42026         (ldexp_test_data): Likewise.
42027         (lgamma_test_data): Likewise.
42028         (lrint_test_data): Likewise.
42029         (lrint_tonearest_test_data): Likewise.
42030         (lrint_towardzero_test_data): Likewise.
42031         (lrint_downward_test_data): Likewise.
42032         (lrint_upward_test_data): Likewise.
42033         (llrint_test_data): Likewise.
42034         (llrint_tonearest_test_data): Likewise.
42035         (llrint_towardzero_test_data): Likewise.
42036         (llrint_downward_test_data): Likewise.
42037         (llrint_upward_test_data): Likewise.
42038         (log_test_data): Likewise.
42039         (log10_test_data): Likewise.
42040         (log1p_test_data): Likewise.
42041         (log2_test_data): Likewise.
42042         (logb_test_data): Likewise.
42043         (logb_downward_test_data): Likewise.
42044         (lround_test_data): Likewise.
42045         (llround_test_data): Likewise.
42046         (modf_test_data): Likewise.
42047         (nearbyint_test_data): Likewise.
42048         (nextafter_test_data): Likewise.
42049         (nexttoward_test_data): Likewise.
42050         (pow_test_data): Likewise.
42051         (pow_tonearest_test_data): Likewise.
42052         (pow_towardzero_test_data): Likewise.
42053         (pow_downward_test_data): Likewise.
42054         (pow_upward_test_data): Likewise.
42055         (remainder_test_data): Likewise.
42056         (remainder_tonearest_test_data): Likewise.
42057         (remainder_towardzero_test_data): Likewise.
42058         (remainder_downward_test_data): Likewise.
42059         (remainder_upward_test_data): Likewise.
42060         (remquo_test_data): Likewise.
42061         (rint_test_data): Likewise.
42062         (rint_tonearest_test_data): Likewise.
42063         (rint_towardzero_test_data): Likewise.
42064         (rint_downward_test_data): Likewise.
42065         (rint_upward_test_data): Likewise.
42066         (round_test_data): Likewise.
42067         (scalb_test_data): Likewise.
42068         (scalbn_test_data): Likewise.
42069         (scalbln_test_data): Likewise.
42070         (signbit_test_data): Likewise.
42071         (sin_test_data): Likewise.
42072         (sin_tonearest_test_data): Likewise.
42073         (sin_towardzero_test_data): Likewise.
42074         (sin_downward_test_data): Likewise.
42075         (sin_upward_test_data): Likewise.
42076         (sincos_test_data): Likewise.
42077         (sinh_test_data): Likewise.
42078         (sinh_tonearest_test_data): Likewise.
42079         (sinh_towardzero_test_data): Likewise.
42080         (sinh_downward_test_data): Likewise.
42081         (sinh_upward_test_data): Likewise.
42082         (sqrt_test_data): Likewise.
42083         (tan_test_data): Likewise.
42084         (tan_tonearest_test_data): Likewise.
42085         (tan_towardzero_test_data): Likewise.
42086         (tan_downward_test_data): Likewise.
42087         (tan_upward_test_data): Likewise.
42088         (tanh_test_data): Likewise.
42089         (tgamma_test_data): Likewise.
42090         (trunc_test_data): Likewise.
42091         (y0_test_data): Likewise.
42092         (y1_test_data): Likewise.
42093         (yn_test_data): Likewise.
42094         (significand_test_data): Likewise.
42096         * math/gen-libm-test.pl (@functions): Remove variable.
42097         (generate_testfile): Don't handle START and END lines.
42098         * math/libm-test.inc (START): New macro.
42099         (END): Likewise.
42100         (END_COMPLEX): Likewise.
42101         (acos_test): Use END macro without arguments.
42102         (acos_test_tonearest): Likewise.
42103         (acos_test_towardzero): Likewise.
42104         (acos_test_downward): Likewise.
42105         (acos_test_upward): Likewise.
42106         (acosh_test): Likewise.
42107         (asin_test): Likewise.
42108         (asin_test_tonearest): Likewise.
42109         (asin_test_towardzero): Likewise.
42110         (asin_test_downward): Likewise.
42111         (asin_test_upward): Likewise.
42112         (asinh_test): Likewise.
42113         (atan_test): Likewise.
42114         (atanh_test): Likewise.
42115         (atan2_test): Likewise.
42116         (cabs_test): Likewise.
42117         (cacos_test): Use END_COMPLEX macro without arguments.
42118         (cacosh_test): Likewise.
42119         (carg_test): Use END macro without arguments.
42120         (casin_test): Use END_COMPLEX macro without arguments.
42121         (casinh_test): Likewise.
42122         (catan_test): Likewise.
42123         (catanh_test): Likewise.
42124         (cbrt_test): Use END macro without arguments.
42125         (ccos_test): Use END_COMPLEX macro without arguments.
42126         (ccosh_test): Likewise.
42127         (ceil_test): Use END macro without arguments.
42128         (cexp_test): Use END_COMPLEX macro without arguments.
42129         (cimag_test): Use END macro without arguments.
42130         (clog_test): Use END_COMPLEX macro without arguments.
42131         (clog10_test): Likewise.
42132         (conj_test): Likewise.
42133         (copysign_test): Use END macro without arguments.
42134         (cos_test): Likewise.
42135         (cos_test_tonearest): Likewise.
42136         (cos_test_towardzero): Likewise.
42137         (cos_test_downward): Likewise.
42138         (cos_test_upward): Likewise.
42139         (cosh_test): Likewise.
42140         (cosh_test_tonearest): Likewise.
42141         (cosh_test_towardzero): Likewise.
42142         (cosh_test_downward): Likewise.
42143         (cosh_test_upward): Likewise.
42144         (cpow_test): Use END_COMPLEX macro without arguments.
42145         (cproj_test): Likewise.
42146         (creal_test): Use END macro without arguments.
42147         (csin_test): Use END_COMPLEX macro without arguments.
42148         (csinh_test): Likewise.
42149         (csqrt_test): Likewise.
42150         (ctan_test): Likewise.
42151         (ctan_test_tonearest): Likewise.
42152         (ctan_test_towardzero): Likewise.
42153         (ctan_test_downward): Likewise.
42154         (ctan_test_upward): Likewise.
42155         (ctanh_test): Likewise.
42156         (ctanh_test_tonearest): Likewise.
42157         (ctanh_test_towardzero): Likewise.
42158         (ctanh_test_downward): Likewise.
42159         (ctanh_test_upward): Likewise.
42160         (erf_test): Use END macro without arguments.
42161         (erfc_test): Likewise.
42162         (exp_test): Likewise.
42163         (exp_test_tonearest): Likewise.
42164         (exp_test_towardzero): Likewise.
42165         (exp_test_downward): Likewise.
42166         (exp_test_upward): Likewise.
42167         (exp10_test): Likewise.
42168         (exp2_test): Likewise.
42169         (expm1_test): Likewise.
42170         (fabs_test): Likewise.
42171         (fdim_test): Likewise.
42172         (finite_test): Likewise.
42173         (floor_test): Likewise.
42174         (fma_test): Likewise.
42175         (fma_test_towardzero): Likewise.
42176         (fma_test_downward): Likewise.
42177         (fma_test_upward): Likewise.
42178         (fmax_test): Likewise.
42179         (fmin_test): Likewise.
42180         (fmod_test): Likewise.
42181         (fpclassify_test): Likewise.
42182         (frexp_test): Likewise.
42183         (gamma_test): Likewise.
42184         (hypot_test): Likewise.
42185         (ilogb_test): Likewise.
42186         (isfinite_test): Likewise.
42187         (isgreater_test): Likewise.
42188         (isgreaterequal_test): Likewise.
42189         (isinf_test): Likewise.
42190         (isless_test): Likewise.
42191         (islessequal_test): Likewise.
42192         (islessgreater_test): Likewise.
42193         (isnan_test): Likewise.
42194         (isnormal_test): Likewise.
42195         (issignaling_test): Likewise.
42196         (isunordered_test): Likewise.
42197         (j0_test): Likewise.
42198         (j1_test): Likewise.
42199         (jn_test): Likewise.
42200         (ldexp_test): Likewise.
42201         (lgamma_test): Likewise.
42202         (lrint_test): Likewise.
42203         (lrint_test_tonearest): Likewise.
42204         (lrint_test_towardzero): Likewise.
42205         (lrint_test_downward): Likewise.
42206         (lrint_test_upward): Likewise.
42207         (llrint_test): Likewise.
42208         (llrint_test_tonearest): Likewise.
42209         (llrint_test_towardzero): Likewise.
42210         (llrint_test_downward): Likewise.
42211         (llrint_test_upward): Likewise.
42212         (log_test): Likewise.
42213         (log10_test): Likewise.
42214         (log1p_test): Likewise.
42215         (log2_test): Likewise.
42216         (logb_test): Likewise.
42217         (logb_test_downward): Likewise.
42218         (lround_test): Likewise.
42219         (llround_test): Likewise.
42220         (modf_test): Likewise.
42221         (nearbyint_test): Likewise.
42222         (nextafter_test): Likewise.
42223         (nexttoward_test): Likewise.
42224         (pow_test): Likewise.
42225         (pow_test_tonearest): Likewise.
42226         (pow_test_towardzero): Likewise.
42227         (pow_test_downward): Likewise.
42228         (pow_test_upward): Likewise.
42229         (remainder_test): Likewise.
42230         (remainder_test_tonearest): Likewise.
42231         (remainder_test_towardzero): Likewise.
42232         (remainder_test_downward): Likewise.
42233         (remainder_test_upward): Likewise.
42234         (remquo_test): Likewise.
42235         (rint_test): Likewise.
42236         (rint_test_tonearest): Likewise.
42237         (rint_test_towardzero): Likewise.
42238         (rint_test_downward): Likewise.
42239         (rint_test_upward): Likewise.
42240         (round_test): Likewise.
42241         (scalb_test): Likewise.
42242         (scalbn_test): Likewise.
42243         (scalbln_test): Likewise.
42244         (signbit_test): Likewise.
42245         (sin_test): Likewise.
42246         (sin_test_tonearest): Likewise.
42247         (sin_test_towardzero): Likewise.
42248         (sin_test_downward): Likewise.
42249         (sin_test_upward): Likewise.
42250         (sincos_test): Likewise.
42251         (sinh_test): Likewise.
42252         (sinh_test_tonearest): Likewise.
42253         (sinh_test_towardzero): Likewise.
42254         (sinh_test_downward): Likewise.
42255         (sinh_test_upward): Likewise.
42256         (sqrt_test): Likewise.
42257         (tan_test): Likewise.
42258         (tan_test_tonearest): Likewise.
42259         (tan_test_towardzero): Likewise.
42260         (tan_test_downward): Likewise.
42261         (tan_test_upward): Likewise.
42262         (tanh_test): Likewise.
42263         (tgamma_test): Likewise.
42264         (trunc_test): Likewise.
42265         (y0_test): Likewise.
42266         (y1_test): Likewise.
42267         (yn_test): Likewise.
42268         (significand_test): Likewise.
42270 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
42272         [BZ #15381]
42273         * libio/genops.c (_IO_no_init): Initialize wide struct info.
42275 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42277         [BZ #14894]
42278         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42279         __ppc_mdoio and __ppc_mdoom.
42280         * manual/platform.texi: Document new functions __ppc_yield,
42281         __ppc_mdoio and __ppc_mdoom.
42283 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
42285         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42286         (main): Mention "tls" pseudo-hwcap is legacy.
42287         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42289 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42291         * math/gen-libm-test.pl (parse_args): Output only string of
42292         arguments as text for test name, not full call or descriptions of
42293         tests for extra outputs.
42294         (generate_testfile): Do not pass function name to parse_args.
42295         Generate this_func variable from START.
42296         * math/libm-test.inc (struct test_f_f_data): Rename test_name
42297         field to arg_str.
42298         (struct test_ff_f_data): Likewise.
42299         (test_ff_f_data_nexttoward): Likewise.
42300         (struct test_fi_f_data): Likewise.
42301         (struct test_fl_f_data): Likewise.
42302         (struct test_if_f_data): Likewise.
42303         (struct test_fff_f_data): Likewise.
42304         (struct test_c_f_data): Likewise.
42305         (struct test_f_f1_data): Likewise.  Remove field extra_name.
42306         (struct test_fF_f1_data): Likewise.
42307         (struct test_ffI_f1_data): Likewise.
42308         (struct test_c_c_data): Rename test_name field to arg_str.
42309         (struct test_cc_c_data): Likewise.
42310         (struct test_f_i_data): Likewise.
42311         (struct test_ff_i_data): Likewise.
42312         (struct test_f_l_data): Likewise.
42313         (struct test_f_L_data): Likewise.
42314         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
42315         and extra2_name.
42316         (COMMON_TEST_SETUP): New macro.
42317         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42318         (COMMON_TEST_CLEANUP): Likewise.
42319         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42320         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
42321         macros.
42322         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42323         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
42324         macros.
42325         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42326         (RUN_TEST_fff_f): Take argument string.  Call new setup and
42327         cleanup macros.
42328         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42329         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
42330         macros.
42331         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42332         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
42333         macros.
42334         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42335         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
42336         cleanup macros.
42337         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42338         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
42339         cleanup macros.
42340         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42341         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
42342         cleanup macros.
42343         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42344         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
42345         macros.
42346         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42347         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
42348         macros.
42349         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42350         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
42351         macros.
42352         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42353         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
42354         cleanup macros.
42355         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42356         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
42357         cleanup macros.
42358         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42359         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
42360         macros.
42361         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42362         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
42363         cleanup macros.
42364         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42365         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
42366         macros.
42367         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42368         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
42369         macros.
42370         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42371         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
42372         cleanup macros.
42373         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42375 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
42377         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42378         to _sifields.sigfault.
42379         (si_addr_lsb): Define new macro.
42380         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42381         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42382         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42384 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42386         [BZ #15441]
42387         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42388         returns -1.
42389         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42390         null return -1.
42391         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42392         loading the domain.
42394 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42396         * math/gen-libm-test.pl (parse_args): Do not include expected
42397         result in test name.
42398         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42399         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42400         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42401         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42402         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42405 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42407         * benchtests/Makefile: Sort function entries.
42409         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42410         tanh, asinh, acosh, atanh.
42411         * benchtests/acos-inputs: New file.
42412         * benchtests/acosh-inputs: New file.
42413         * benchtests/asin-inputs: New file.
42414         * benchtests/asinh-inputs: New file.
42415         * benchtests/atanh-inputs: New file.
42416         * benchtests/cosh-inputs: New file.
42417         * benchtests/log-inputs: New file.
42418         * benchtests/sinh-inputs: New file.
42419         * benchtests/tanh-inputs: New file.
42421 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42423         [BZ #15339]
42424         * posix/tst-getaddrinfo4.c: New test.
42425         * posix/Makefile (tests): Add it.
42427 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42429         [BZ #15339]
42430         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42431         when no services were used.
42432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42433         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42435 2013-05-21  Andreas Schwab  <schwab@suse.de>
42437         [BZ #15014]
42438         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42439         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42440         successful.
42441         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42442         redundant variable declarations and reallocation of buffer when
42443         parsing as IPv6 address.  Always set NSS status when called from
42444         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42445         buffer too small.  Correct computation of needed size.
42446         * nss/Makefile (tests): Add test-digits-dots.
42447         * nss/test-digits-dots.c: New test.
42449 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42451         * benchtests/Makefile: Remove instructions for adding
42452         benchmark tests.
42453         * benchtests/README: New file to explain how to execute and
42454         enhance the benchmark tests.
42456 2013-05-21  Andreas Schwab  <schwab@suse.de>
42458         [BZ #15493]
42459         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42460         * setjmp/tst-sigsetjmp.c: New test.
42462 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42464         * sysdeps/x86_64/memset.S (memset): New implementation.
42465         (__bzero): Likewise.
42466         (__memset_tail): New function.
42468 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42470         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42471         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42472         __memcpy_sse2_unaligned ifunc selection.
42473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42474         Add memcpy-sse2-unaligned.S.
42475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42476         Add: __memcpy_sse2_unaligned.
42478 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42480         [BZ #15490]
42481         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42482         math_force_eval before restoring floating-point envrionment.
42483         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42484         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42485         Likewise.
42486         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42487         <math_private.h>.
42488         (__nearbyintl): Use math_force_eval before restoring
42489         floating-point environment.
42490         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42492         * math/gen-libm-test.pl (special_functions): Remove.
42493         (parse_args): Don't handle TEST_extra.  Handle functions with no
42494         return value.
42495         * math/libm-test.inc (struct test_sincos_data): Replace with
42496         struct test_fFF_11_data.
42497         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42498         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42499         (sincos_test_data): Change element type to struct
42500         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42501         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42502         RUN_TEST_LOOP_sincos.
42503         * math/README.libm-test: Don't mention special handling of
42504         individual functions.
42505         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42506         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42507         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42508         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42509         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42512         * math/gen-libm-test.pl (get_variable): Remove function.
42513         (parse_args): Don't show pointer parameters to call in test
42514         names.  Use "extra output N" in test names for extra outputs
42515         rather than naming variables.
42517 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42519         [BZ #15488]
42520         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42521         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42522         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42523         double tests.
42524         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42525         disable.
42526         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42527         check_long_double.
42529         * math/gen-libm-test.pl (@tests): Remove variable.
42530         ($count): Likewise.
42531         (new_test): Remove function.
42532         (show_exceptions): New function.
42533         (special_functions): Use show_exceptions instead of new_test.
42534         (parse_args): Likewise.
42535         (generate_testfile): Pass only function name in generated call to
42536         print_max_error or print_complex_max_error.
42537         (get_ulps): Do not handle complex tests specially.
42538         (output_test): Rename to ...
42539         (get_all_ulps_for_test): ... this.  Return a string rather than
42540         printing to a file.  Require ulps to be present.
42541         (output_ulps): Generate arrays rather than #defines.
42542         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42543         (struct ulp_data): New type.
42544         (BUILD_COMPLEX_ULP): Remove macro.
42545         (compare_ulp_data): New function.
42546         (find_ulps): Likewise.
42547         (find_test_ulps): Likewise.
42548         (find_function_ulps): Likewise.
42549         (find_complex_function_ulps): Likewise.
42550         (print_max_error): Determine allowed ulps using
42551         find_function_ulps.
42552         (print_complex_max_error): Determine allowed ulps using
42553         find_complex_function_ulps.
42554         (check_float_internal): Determine max ulps using find_test_ulps.
42555         (check_float): Do not take max_ulp parameter.  Update call to
42556         check_float_internal.
42557         (check_complex): Likewise.
42558         (check_int): Do not take max_ulp parameter.
42559         (check_long): Likewise.
42560         (check_bool): Likewise.
42561         (check_longlong): Likewise.
42562         (struct test_f_f_data): Remove max_ulp field.
42563         (struct test_ff_f_data): Likewise.
42564         (struct test_ff_f_data_nexttoward): Likewise.
42565         (struct test_fi_f_data): Likewise.
42566         (struct test_fl_f_data): Likewise.
42567         (struct test_if_f_data): Likewise.
42568         (struct test_fff_f_data): Likewise.
42569         (struct test_c_f_data): Likewise.
42570         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42571         (struct test_fF_f1_data): Likewise.
42572         (struct test_ffI_f1_data): Likewise.
42573         (struct test_c_c_data): Remove max_ulp field.
42574         (struct test_cc_c_data): Likewise.
42575         (struct test_f_i_data): Likewise.
42576         (struct test_ff_i_data): Likewise.
42577         (struct test_f_l_data): Likewise.
42578         (struct test_f_L_data): Likewise.
42579         (struct test_sincos_data): Likewise.
42580         (RUN_TEST_f_f): Do not handle ulps.
42581         (RUN_TEST_LOOP_f_f): Likewise.
42582         (RUN_TEST_2_f): Likewise.
42583         (RUN_TEST_LOOP_2_f): Likewise.
42584         (RUN_TEST_fff_f): Likewise.
42585         (RUN_TEST_LOOP_fff_f): Likewise.
42586         (RUN_TEST_c_f): Likewise.
42587         (RUN_TEST_LOOP_c_f): Likewise.
42588         (RUN_TEST_f_f1): Likewise.
42589         (RUN_TEST_LOOP_f_f1): Likewise.
42590         (RUN_TEST_fF_f1): Likewise.
42591         (RUN_TEST_LOOP_fF_f1): Likewise.
42592         (RUN_TEST_fI_f1): Likewise.
42593         (RUN_TEST_LOOP_fI_f1): Likewise.
42594         (RUN_TEST_ffI_f1): Likewise.
42595         (RUN_TEST_LOOP_ffI_f1): Likewise.
42596         (RUN_TEST_c_c): Likewise.
42597         (RUN_TEST_LOOP_c_c): Likewise.
42598         (RUN_TEST_cc_c): Likewise.
42599         (RUN_TEST_LOOP_cc_c): Likewise.
42600         (RUN_TEST_f_i): Likewise.
42601         (RUN_TEST_LOOP_f_i): Likewise.
42602         (RUN_TEST_f_i_tg): Likewise.
42603         (RUN_TEST_LOOP_f_i_tg): Likewise.
42604         (RUN_TEST_ff_i_tg): Likewise.
42605         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42606         (RUN_TEST_f_b): Likewise.
42607         (RUN_TEST_LOOP_f_b): Likewise.
42608         (RUN_TEST_f_b_tg): Likewise.
42609         (RUN_TEST_LOOP_f_b_tg): Likewise.
42610         (RUN_TEST_f_l): Likewise.
42611         (RUN_TEST_LOOP_f_l): Likewise.
42612         (RUN_TEST_f_L): Likewise.
42613         (RUN_TEST_LOOP_f_L): Likewise.
42614         (RUN_TEST_sincos): Likewise.
42615         (RUN_TEST_LOOP_sincos): Likewise.
42617 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42619         [BZ #15480]
42620         [BZ #15485]
42621         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42622         main case of finite arguments, set rounding mode to FE_TONEAREST
42623         and discard exceptions.
42624         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42625         exceptions.
42626         (remainder_tonearest_test_data): New variable.
42627         (remainder_test_tonearest): New function.
42628         (remainder_towardzero_test_data): New variable.
42629         (remainder_test_towardzero): New function.
42630         (remainder_downward_test_data): New variable.
42631         (remainder_test_downward): New function.
42632         (remainder_upward_test_data): New variable.
42633         (remainder_test_upward): New function.
42634         (main): Call the new test functions.
42636         * math/libm-test.inc (struct test_f_f1_data): Remove field
42637         extra_init.
42638         (struct test_fF_f1_data): Likewise.
42639         (struct test_ffI_f1_data): Likewise.
42640         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42641         based on value of EXTRA_EXPECTED.
42642         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42643         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42644         EXTRA_VAR based on value of EXTRA_EXPECTED.
42645         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42646         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42647         EXTRA_VAR based on value of EXTRA_EXPECTED.
42648         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42649         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42650         EXTRA_VAR based on value of EXTRA_EXPECTED.
42651         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42652         * math/gen-libm-test.pl (parse_args): Don't output initializers
42653         for extra output values.
42655         * math/libm-test.inc (check_int): Expect result to be exactly
42656         equal to expected value and do not handle ulps.
42657         (check_long): Likewise.
42658         (check_longlong): Likewise.
42660         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42661         exceptions.
42662         (cimag_test_data): Likewise.
42663         (conj_test_data): Likewise.
42664         (copysign_test_data): Likewise.
42665         (cproj_test_data): Likewise.
42666         (creal_test_data): Likewise.
42667         (fabs_test_data): Likewise.
42668         (fdim_test_data): Likewise.
42669         (finite_test_data): Likewise.
42670         (floor_test_data): Likewise.
42671         (fmax_test_data): Likewise.
42672         (fmin_test_data): Likewise.
42673         (fmod_test_data): Likewise.
42674         (fpclassify_test_data): Likewise.
42675         (frexp_test_data): Likewise.
42676         (ilogb_test_data): Likewise.
42677         (isfinite_test_data): Likewise.
42678         (isgreater_test_data): Likewise.
42679         (isgreaterequal_test_data): Likewise.
42680         (isinf_test_data): Likewise.
42681         (isless_test_data): Likewise.
42682         (islessequal_test_data): Likewise.
42683         (islessgreater_test_data): Likewise.
42684         (isnan_test_data): Likewise.
42685         (isnormal_test_data): Likewise.
42686         (issignaling_test_data): Likewise.
42687         (isunordered_test_data): Likewise.
42688         (ldexp_test_data): Likewise.
42689         (lrint_test_data): Likewise.
42690         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42691         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42692         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42693         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42694         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42695         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42696         test input.
42697         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42698         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42699         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42700         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42701         that test input.
42702         (lrint_downward_test_data): Test for "inexact" exceptions.
42703         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42704         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42705         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42706         test input.
42707         (lrint_upward_test_data): Test for "inexact" exceptions.
42708         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42709         test input.
42710         (llrint_test_data): Test for "inexact" exceptions.
42711         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42712         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42713         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42714         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42715         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42716         (llrint_downward_test_data): Test for "inexact" exceptions.
42717         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42718         (llrint_upward_test_data): Test for "inexact" exceptions.
42719         (logb_test_data): Likewise.
42720         (logb_downward_test_data): Likewise.
42721         (nextafter_test_data): Likewise.
42722         (nexttoward_test_data): Likewise.
42723         (remainder_test_data): Likewise.
42724         (remquo_test_data): Likewise.
42725         (scalbn_test_data): Likewise.
42726         (scalbln_test_data): Likewise.
42727         (signbit_test_data): Likewise.
42728         (sqrt_test_data): Likewise.
42729         (significand_test_data): Likewise.
42731 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42733         [BZ #15424]
42734         * benchtests/bench-modf.c (struct args): Mark arg0 as
42735         volatile.
42736         * scripts/bench.pl: Mark members of struct args as volatile.
42738 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42740         [BZ # 15497]
42741         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42742         negative infinity on POWER6 or lower.
42743         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42745 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42747         [BZ #15442]
42748         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42749         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42750         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42751         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42752         (_FP_SETQNAN): New macro.
42753         (_FP_SETQNAN_SEMIRAW): Likewise.
42754         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42755         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42756         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42757         (FP_EXTEND): Use _FP_FRAC_SNANP.
42758         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42759         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42760         into account.
42761         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42762         New macro.
42763         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42764         Likewise.
42766 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42768         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42769         with DIVIDE_BY_ZERO_EXCEPTION.
42770         (gamma_test_data): Likewise.
42771         (lgamma_test_data): Likewise.
42772         (log_test_data): Likewise.
42773         (log10_test_data): Likewise.
42774         (log2_test_data): Likewise.
42775         (tgamma_test_data): Likewise.
42777         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42778         (acos_test_tonearest): Likewise.
42779         (acos_test_towardzero): Likewise.
42780         (acos_test_downward): Likewise.
42781         (acos_test_upward): Likewise.
42782         (acosh_test): Likewise.
42783         (asin_test): Likewise.
42784         (asin_test_tonearest): Likewise.
42785         (asin_test_towardzero): Likewise.
42786         (asin_test_downward): Likewise.
42787         (asin_test_upward): Likewise.
42788         (asinh_test): Likewise.
42789         (atan_test): Likewise.
42790         (atanh_test): Likewise.
42791         (atan2_test): Likewise.
42792         (cabs_test): Likewise.
42793         (cacos_test): Likewise.
42794         (cacosh_test): Likewise.
42795         (casin_test): Likewise.
42796         (casinh_test): Likewise.
42797         (catan_test): Likewise.
42798         (catanh_test): Likewise.
42799         (cbrt_test): Likewise.
42800         (ccos_test): Likewise.
42801         (ccosh_test): Likewise.
42802         (cexp_test): Likewise.
42803         (clog_test): Likewise.
42804         (clog10_test): Likewise.
42805         (cos_test): Likewise.
42806         (cos_test_tonearest): Likewise.
42807         (cos_test_towardzero): Likewise.
42808         (cos_test_downward): Likewise.
42809         (cos_test_upward): Likewise.
42810         (cosh_test): Likewise.
42811         (cosh_test_tonearest): Likewise.
42812         (cosh_test_towardzero): Likewise.
42813         (cosh_test_downward): Likewise.
42814         (cosh_test_upward): Likewise.
42815         (cpow_test): Likewise.
42816         (csin_test): Likewise.
42817         (csinh_test): Likewise.
42818         (csqrt_test): Likewise.
42819         (ctan_test): Likewise.
42820         (ctan_test_tonearest): Likewise.
42821         (ctan_test_towardzero): Likewise.
42822         (ctan_test_downward): Likewise.
42823         (ctan_test_upward): Likewise.
42824         (ctanh_test): Likewise.
42825         (ctanh_test_tonearest): Likewise.
42826         (ctanh_test_towardzero): Likewise.
42827         (ctanh_test_downward): Likewise.
42828         (ctanh_test_upward): Likewise.
42829         (erf_test): Likewise.
42830         (erfc_test): Likewise.
42831         (exp_test): Likewise.
42832         (exp_test_tonearest): Likewise.
42833         (exp_test_towardzero): Likewise.
42834         (exp_test_downward): Likewise.
42835         (exp_test_upward): Likewise.
42836         (exp10_test): Likewise.
42837         (exp2_test): Likewise.
42838         (expm1_test): Likewise.
42839         (fmod_test): Likewise.
42840         (gamma_test): Likewise.
42841         (hypot_test): Likewise.
42842         (j0_test): Likewise.
42843         (j1_test): Likewise.
42844         (jn_test): Likewise.
42845         (lgamma_test): Likewise.
42846         (log_test): Likewise.
42847         (log10_test): Likewise.
42848         (log1p_test): Likewise.
42849         (log2_test): Likewise.
42850         (logb_test_downward): Likewise.
42851         (pow_test): Likewise.
42852         (pow_test_tonearest): Likewise.
42853         (pow_test_towardzero): Likewise.
42854         (pow_test_downward): Likewise.
42855         (pow_test_upward): Likewise.
42856         (remainder_test): Likewise.
42857         (remquo_test): Likewise.
42858         (sin_test): Likewise.
42859         (sin_test_tonearest): Likewise.
42860         (sin_test_towardzero): Likewise.
42861         (sin_test_downward): Likewise.
42862         (sin_test_upward): Likewise.
42863         (sincos_test): Likewise.
42864         (sinh_test): Likewise.
42865         (sinh_test_tonearest): Likewise.
42866         (sinh_test_towardzero): Likewise.
42867         (sinh_test_downward): Likewise.
42868         (sinh_test_upward): Likewise.
42869         (sqrt_test): Likewise.
42870         (tan_test): Likewise.
42871         (tan_test_tonearest): Likewise.
42872         (tan_test_towardzero): Likewise.
42873         (tan_test_downward): Likewise.
42874         (tan_test_upward): Likewise.
42875         (tanh_test): Likewise.
42876         (tgamma_test): Likewise.
42877         (y0_test): Likewise.
42878         (y1_test): Likewise.
42879         (yn_test): Likewise.
42881         * math/gen-libm-test.pl (adjust_arg): Remove function.
42882         (special_function): Remove argument $in_func.  Only handle
42883         generating output for tables of tests, not inside functions.
42884         (parse_args): Likewise.
42885         (generate_testfile): Remove variable $in_func.  Update call to
42886         parse_args.
42887         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42888         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42889         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42890         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42891         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42892         (MAX_VALUE_INIT): Rename macro to max_value.
42893         (MIN_VALUE_INIT): Rename macro to min_value.
42894         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42895         (plus_zero): Remove variable.
42896         (minus_zero): Likewise.
42897         (plus_infty): Likewise.
42898         (minus_infty): Likewise.
42899         (qnan_value): Likewise.
42900         (max_value): Likewise.
42901         (min_value): Likewise.
42902         (min_subnorm_value): Likewise.
42904 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42906         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42907         uint64_t or uint32_t usage.
42908         * crypt/sha256-block.c: Likewise.
42909         * crypt/sha256-crypt.c: Likewise.
42910         * crypt/sha256.c: Likewise.
42911         * crypt/sha512-block.c: Likewise.
42912         * crypt/sha512-crypt.c: Likewise.
42913         * crypt/sha512.c: Likewise.
42914         * debug/backtrace-tst.c: Likewise.
42915         * debug/pcprofiledump.c: Likewise.
42916         * elf/cache.c: Likewise.
42917         * elf/dl-cache.c: Likewise.
42918         * elf/dl-misc.c: Likewise.
42919         * elf/dl-profile.c: Likewise.
42920         * elf/dl-support.c: Likewise.
42921         * elf/ldconfig.c: Likewise.
42922         * elf/sprof.c: Likewise.
42923         * iconv/dummy-repertoire.c: Likewise.
42924         * iconv/iconv_charmap.c: Likewise.
42925         * iconv/skeleton.c: Likewise.
42926         * iconvdata/8bit-generic.c: Likewise.
42927         * iconvdata/cp737.h: Likewise.
42928         * iconvdata/cp775.h: Likewise.
42929         * iconvdata/ibm1008.h: Likewise.
42930         * iconvdata/ibm1025.h: Likewise.
42931         * iconvdata/ibm1046.h: Likewise.
42932         * iconvdata/ibm1097.h: Likewise.
42933         * iconvdata/ibm1112.h: Likewise.
42934         * iconvdata/ibm1122.h: Likewise.
42935         * iconvdata/ibm1123.h: Likewise.
42936         * iconvdata/ibm1124.h: Likewise.
42937         * iconvdata/ibm1129.h: Likewise.
42938         * iconvdata/ibm1130.h: Likewise.
42939         * iconvdata/ibm1132.h: Likewise.
42940         * iconvdata/ibm1133.h: Likewise.
42941         * iconvdata/ibm1137.h: Likewise.
42942         * iconvdata/ibm1140.h: Likewise.
42943         * iconvdata/ibm1141.h: Likewise.
42944         * iconvdata/ibm1142.h: Likewise.
42945         * iconvdata/ibm1143.h: Likewise.
42946         * iconvdata/ibm1144.h: Likewise.
42947         * iconvdata/ibm1145.h: Likewise.
42948         * iconvdata/ibm1146.h: Likewise.
42949         * iconvdata/ibm1147.h: Likewise.
42950         * iconvdata/ibm1148.h: Likewise.
42951         * iconvdata/ibm1149.h: Likewise.
42952         * iconvdata/ibm1153.h: Likewise.
42953         * iconvdata/ibm1154.h: Likewise.
42954         * iconvdata/ibm1155.h: Likewise.
42955         * iconvdata/ibm1156.h: Likewise.
42956         * iconvdata/ibm1157.h: Likewise.
42957         * iconvdata/ibm1158.h: Likewise.
42958         * iconvdata/ibm1160.h: Likewise.
42959         * iconvdata/ibm1161.h: Likewise.
42960         * iconvdata/ibm1162.h: Likewise.
42961         * iconvdata/ibm1163.h: Likewise.
42962         * iconvdata/ibm1164.h: Likewise.
42963         * iconvdata/ibm1166.h: Likewise.
42964         * iconvdata/ibm1167.h: Likewise.
42965         * iconvdata/ibm12712.h: Likewise.
42966         * iconvdata/ibm1390.h: Likewise.
42967         * iconvdata/ibm1399.h: Likewise.
42968         * iconvdata/ibm16804.h: Likewise.
42969         * iconvdata/ibm4517.h: Likewise.
42970         * iconvdata/ibm4899.h: Likewise.
42971         * iconvdata/ibm4909.h: Likewise.
42972         * iconvdata/ibm4971.h: Likewise.
42973         * iconvdata/ibm5347.h: Likewise.
42974         * iconvdata/ibm803.h: Likewise.
42975         * iconvdata/ibm856.h: Likewise.
42976         * iconvdata/ibm901.h: Likewise.
42977         * iconvdata/ibm902.h: Likewise.
42978         * iconvdata/ibm9030.h: Likewise.
42979         * iconvdata/ibm9066.h: Likewise.
42980         * iconvdata/ibm921.h: Likewise.
42981         * iconvdata/ibm922.h: Likewise.
42982         * iconvdata/ibm9448.h: Likewise.
42983         * iconvdata/isiri-3342.h: Likewise.
42984         * iconvdata/jis0201.h: Likewise.
42985         * include/link.h: Likewise.
42986         * include/netdb.h: Likewise.
42987         * inet/check_native.c: Likewise.
42988         * inet/check_pf.c: Likewise.
42989         * inet/getipv4sourcefilter.c: Likewise.
42990         * inet/getnameinfo.c: Likewise.
42991         * inet/getsourcefilter.c: Likewise.
42992         * inet/htonl.c: Likewise.
42993         * inet/setipv4sourcefilter.c: Likewise.
42994         * inet/setsourcefilter.c: Likewise.
42995         * inet/test-inet6_opt.c: Likewise.
42996         * inet/tst-network.c: Likewise.
42997         * locale/C-collate.c: Likewise.
42998         * locale/C-ctype.c: Likewise.
42999         * locale/C-time.c: Likewise.
43000         * locale/C-translit.h: Likewise.
43001         * locale/loadarchive.c: Likewise.
43002         * locale/programs/3level.h: Likewise.
43003         * locale/programs/charmap.c: Likewise.
43004         * locale/programs/charmap.h: Likewise.
43005         * locale/programs/ld-address.c: Likewise.
43006         * locale/programs/ld-collate.c: Likewise.
43007         * locale/programs/ld-ctype.c: Likewise.
43008         * locale/programs/ld-identification.c: Likewise.
43009         * locale/programs/ld-measurement.c: Likewise.
43010         * locale/programs/ld-messages.c: Likewise.
43011         * locale/programs/ld-monetary.c: Likewise.
43012         * locale/programs/ld-name.c: Likewise.
43013         * locale/programs/ld-numeric.c: Likewise.
43014         * locale/programs/ld-paper.c: Likewise.
43015         * locale/programs/ld-telephone.c: Likewise.
43016         * locale/programs/ld-time.c: Likewise.
43017         * locale/programs/linereader.c: Likewise.
43018         * locale/programs/locale.c: Likewise.
43019         * locale/programs/locarchive.c: Likewise.
43020         * locale/programs/locfile.h: Likewise.
43021         * locale/programs/repertoire.c: Likewise.
43022         * locale/programs/simple-hash.c: Likewise.
43023         * locale/programs/simple-hash.h: Likewise.
43024         * malloc/memusage.c: Likewise.
43025         * malloc/memusagestat.c: Likewise.
43026         * nis/nis_defaults.c: Likewise.
43027         * nis/nis_hash.c: Likewise.
43028         * nis/nis_print.c: Likewise.
43029         * nis/nis_xdr.c: Likewise.
43030         * nscd/connections.c: Likewise.
43031         * nscd/hstcache.c: Likewise.
43032         * nscd/nscd_gethst_r.c: Likewise.
43033         * nscd/nscd_getserv_r.c: Likewise.
43034         * nscd/nscd_helper.c: Likewise.
43035         * nscd/servicescache.c: Likewise.
43036         * nss/makedb.c: Likewise.
43037         * nss/nss_db/db-XXX.c: Likewise.
43038         * nss/nss_db/db-initgroups.c: Likewise.
43039         * nss/nss_db/db-netgrp.c: Likewise.
43040         * nss/nss_files/files-network.c: Likewise.
43041         * nss/nss_files/files-parse.c: Likewise.
43042         * posix/bug-regex5.c: Likewise.
43043         * posix/fnmatch_loop.c: Likewise.
43044         * posix/regcomp.c: Likewise.
43045         * posix/regexec.c: Likewise.
43046         * posix/tst-rfc3484-2.c: Likewise.
43047         * posix/tst-rfc3484-3.c: Likewise.
43048         * posix/tst-rfc3484.c: Likewise.
43049         * resolv/nss_dns/dns-canon.c: Likewise.
43050         * resolv/nss_dns/dns-network.c: Likewise.
43051         * resolv/res_init.c: Likewise.
43052         * resolv/res_mkquery.c: Likewise.
43053         * resolv/tst-aton.c: Likewise.
43054         * stdlib/cxa_atexit.c: Likewise.
43055         * stdlib/cxa_finalize.c: Likewise.
43056         * stdlib/gen-fpioconst.c: Likewise.
43057         * stdlib/strtol_l.c: Likewise.
43058         * string/tst-endian.c: Likewise.
43059         * sunrpc/auth_des.c: Likewise.
43060         * sunrpc/clnt_udp.c: Likewise.
43061         * sunrpc/rtime.c: Likewise.
43062         * sunrpc/svcauth_des.c: Likewise.
43063         * sunrpc/xdr.c: Likewise.
43064         * sunrpc/xdr_intXX_t.c: Likewise.
43065         * sunrpc/xdr_rec.c: Likewise.
43066         * sysdeps/generic/ldconfig.h: Likewise.
43067         * sysdeps/generic/ldsodefs.h: Likewise.
43068         * sysdeps/generic/memusage.h: Likewise.
43069         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43070         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43071         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43072         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43073         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43074         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43075         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43076         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43077         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43078         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43079         * sysdeps/posix/getaddrinfo.c: Likewise.
43080         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43081         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43082         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43083         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43084         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43085         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43086         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43087         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43088         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43089         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43090         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43091         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43092         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43093         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43094         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43095         * sysdeps/x86_64/dl-tls.h: Likewise.
43096         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43097         * time/alt_digit.c: Likewise.
43098         * time/era.c: Likewise.
43099         * wcsmbs/tst-c16c32-1.c: Likewise.
43101 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43103         * math/libm-test.inc (struct test_sincos_data): New type.
43104         (RUN_TEST_LOOP_sincos): New macro.
43105         (sincos_test_data): New variable.
43106         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43108 2013-05-16  Richard Henderson  <rth@redhat.com>
43110         * math/atest-exp2.c (LIMB64): New macro.
43111         (CONSTSZ): New macro.
43112         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43113         (hexdig): Move ...
43114         (print_mpn_fp): ... to function scope.
43115         (read_mpn_hex): Remove.
43116         (get_log2): Remove.
43117         (exp2_mpn): Use mp_log2.
43118         (main): Use mp_exp1.
43120 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43122         * math/libm-test.inc: Remove comment about not testing "inexact"
43123         exceptions.
43124         (INEXACT_EXCEPTION): New macro.
43125         (NO_INEXACT_EXCEPTION): Likewise.
43126         (INVALID_EXCEPTION_OK): Update value.
43127         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43128         (OVERFLOW_EXCEPTION_OK): Likewise.
43129         (UNDERFLOW_EXCEPTION_OK): Likewise.
43130         (IGNORE_ZERO_INF_SIGN): Likewise.
43131         (ERRNO_UNCHANGED): Likewise.
43132         (ERRNO_EDOM): Likewise.
43133         (ERRNO_ERANGE): Likewise.
43134         (test_exceptions): Handle testing "inexact" exceptions.
43135         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43136         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43137         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43138         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43139         INEXACT_EXCEPTION.
43140         (rint_towardzero_test_data): Likewise.
43141         (rint_downward_test_data): Likewise.
43142         (rint_upward_test_data): Likewise.
43144         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43145         with OVERFLOW_EXCEPTION.
43146         (exp10_test_data): Likewise.
43147         (exp2_test_data): Likewise.
43148         (expm1_test_data): Likewise.
43149         (lgamma_test_data): Likewise.
43150         (pow_test_data): Likewise.
43151         (tgamma_test_data): Likewise.
43152         (yn_test_data): Remove duplicate test of overflow.
43154         * math/libm-test.inc (struct test_cc_c_data): New type.
43155         (RUN_TEST_LOOP_cc_c): New macro.
43156         (cpow_test_data): New variable.
43157         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43159         * math/libm-test.inc (struct test_f_L_data): New type.
43160         (RUN_TEST_LOOP_f_L): New macro.
43161         (llrint_test_data): New variable.
43162         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43163         (llrint_tonearest_test_data): New variable.
43164         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43165         (llrint_towardzero_test_data): New variable.
43166         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43167         (llrint_downward_test_data): New variable.
43168         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43169         (llrint_upward_test_data): New variable.
43170         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43171         (llround_test_data): New variable.
43172         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43174 2013-05-13  Peter Collingbourne  <pcc@google.com>
43176         * math/atest-exp2.c (get_log2): Remove const attribute.
43178 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43180         * math/libm-test.inc (struct test_f_l_data): New type.
43181         (RUN_TEST_LOOP_f_l): New macro.
43182         (lrint_test_data): New variable.
43183         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43184         (lrint_tonearest_test_data): New variable.
43185         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43186         (lrint_towardzero_test_data): New variable.
43187         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43188         (lrint_downward_test_data): New variable.
43189         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43190         (lrint_upward_test_data): New variable.
43191         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43192         (lround_test_data): New variable.
43193         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43195 2013-05-15  Peter Collingbourne  <pcc@google.com>
43197         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43198         (EXTRACT_WORDS64) Use where appropriate.
43199         (INSERT_WORDS64) Likewise.
43201         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43202         constraints with x constraints.
43203         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43205         * malloc/obstack.c (_obstack_compat): Add initializer.
43207 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43209         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43210         si_trapno and add si_addr_lsb to _sifields.sigfault.
43211         (si_trapno): Remove macro.
43212         (si_addr_lsb): Define new macro.
43213         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43215 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43217         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43218         instead of TEST_f_l.
43219         (llrint_test_tonearest): Likewise.
43220         (llrint_test_towardzero): Likewise.
43221         (llrint_test_downward): Likewise.
43222         (llrint_test_upward): Likewise.
43223         (llround_test): Likewise.
43225         * math/libm-test.inc (struct test_f_i_data): Add comment.
43226         (RUN_TEST_LOOP_f_b): New macro.
43227         (RUN_TEST_LOOP_f_b_tg): Likewise.
43228         (finite_test_data): New variable.
43229         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43230         (isfinite_test_data): New variable.
43231         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43232         (isinf_test_data): New variable.
43233         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43234         (isnan_test_data): New variable.
43235         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43236         (isnormal_test_data): New variable.
43237         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43238         (issignaling_test_data): New variable.
43239         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43240         (signbit_test_data): New variable.
43241         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43243         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43244         with INVALID_EXCEPTION.
43245         (acosh_test_data): Likewise.
43246         (asin_test_data): Likewise.
43247         (atanh_test_data): Likewise.
43248         (fmod_test_data): Likewise.
43249         (log_test_data): Likewise.
43250         (log10_test_data): Likewise.
43251         (log2_test_data): Likewise.
43252         (pow_test_data): Likewise.
43253         (sqrt_test_data): Likewise.
43254         (y0_test_data): Likewise.
43255         (y1_test_data): Likewise.
43256         (yn_test_data): Likewise.
43258         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43259         function contents.
43261         * math/libm-test.inc (struct test_ff_i_data): New type.
43262         (RUN_TEST_LOOP_ff_i_tg): New macro.
43263         (isgreater_test_data): New variable.
43264         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43265         (isgreaterequal_test_data): New variable.
43266         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43267         (isless_test_data): New variable.
43268         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43269         (islessequal_test_data): New variable.
43270         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43271         (islessgreater_test_data): New variable.
43272         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43273         (isunordered_test_data): New variable.
43274         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43276 2013-05-14  David S. Miller  <davem@davemloft.net>
43278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43280 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
43282         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43284         * math/libm-test.inc (struct test_fF_f1_data): Change type of
43285         extra_test to int.
43286         (struct test_f_i_data): Change type of max_ulp to int.
43288         * math/libm-test.inc (test_ffI_f1_data): New type.
43289         (RUN_TEST_LOOP_ffI_f1): New macro.
43290         (remquo_test_data): New variable.
43291         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43293         * setjmp/tst-setjmp-fp.c: New file.
43294         * setjmp/Makefile (tests): Add tst-setjmp-fp.
43295         (link-libm): New variable.
43296         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43298         * math/libm-test.inc (struct test_f_i_data): New type.
43299         (RUN_TEST_LOOP_f_i): New macro.
43300         (RUN_TEST_LOOP_f_i_tg): Likewise.
43301         (fpclassify_test_data): New variable.
43302         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43303         (ilogb_test_data): New variable.
43304         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43306         * math/libm-test.inc (scalbln_test): Correct function name in END
43307         call.
43309         * math/libm-test.inc (struct test_f_f1_data): Add comment.
43310         (RUN_TEST_LOOP_fI_f1): New macro.
43311         (frexp_test_data): New variable.
43312         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43314         * math/libm-test.inc (struct test_fF_f1_data): New type.
43315         (RUN_TEST_LOOP_fF_f1): New macro.
43316         (modf_test_data): New variable.
43317         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43319         * math/libm-test.inc (struct test_f_f1_data): New type.
43320         (RUN_TEST_LOOP_f_f1): New macro.
43321         (gamma_test_data): New variable.
43322         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43323         (lgamma_test_data): New variable.
43324         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43326 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
43328         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43329         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43330         (main): Comment "tls" pseudo-hwcap.
43332 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
43334         * math/libm-test.inc (struct test_fl_f_data): New type.
43335         (RUN_TEST_LOOP_fl_f): New variable.
43336         (scalbln_test_data): New variable.
43337         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43339         * math/libm-test.inc (struct test_fi_f_data): New type.
43340         (RUN_TEST_LOOP_fi_f): New macro.
43341         (ldexp_test_data): New variable.
43342         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43343         (scalbn_test_data): New variable.
43344         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43346         * math/libm-test.inc (struct test_c_f_data): New type.
43347         (RUN_TEST_LOOP_c_f): New macro.
43348         (cabs_test_data): New variable.
43349         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43350         (carg_test_data): New variable.
43351         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43352         (cimag_test_data): New variable.
43353         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43354         (creal_test_data): New variable.
43355         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43357         * math/libm-test.inc (struct test_if_f_data): New type.
43358         (RUN_TEST_LOOP_if_f): New macro.
43359         (jn_test_data): New variable.
43360         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43361         (yn_test_data): New variable.
43362         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43364         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43366 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43368         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43369         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43371 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43373         * benchtests/Makefile (CPPFLAGS-nonlib): Add
43374         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43375         (bench-deps): Add bench-timing.h.
43376         * benchtests-bench-skeleton.c: Include bench-timing.h.
43377         (main): Use TIMING_* macros instead of clock_gettime.
43378         * benchtests/bench-timing.h: New file.
43380         [BZ #14582]
43381         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43382         Renamed from _LIB_VERSION.
43383         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43385 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43387         * math/libm-test.inc (struct test_fff_f_data): New type.
43388         (RUN_TEST_LOOP_fff_f): New macro.
43389         (fma_test_data): New variable.
43390         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43391         (fma_towardzero_test_data): New variable.
43392         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43393         (fma_downward_test_data): New variable.
43394         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43395         (fma_upward_test_data): New variable.
43396         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43398         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43399         (struct test_c_c_data): New type.
43400         (RUN_TEST_LOOP_c_c): New macro.
43401         (cacos_test_data): New variable.
43402         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43403         (cacosh_test_data): New variable.
43404         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43405         (casin_test_data): New variable.
43406         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43407         (casinh_test_data): New variable.
43408         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43409         (catan_test_data): New variable.
43410         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43411         (catanh_test_data): New variable.
43412         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43413         (ccos_test_data): New variable.
43414         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43415         (ccosh_test_data): New variable.
43416         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43417         (cexp_test_data): New variable.
43418         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43419         (clog_test_data): New variable.
43420         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43421         (clog10_test_data): New variable.
43422         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43423         (conj_test_data): New variable.
43424         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43425         (cproj_test_data): New variable.
43426         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43427         (csin_test_data): New variable.
43428         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43429         (csinh_test_data): New variable.
43430         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43431         (csqrt_test_data): New variable.
43432         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43433         (ctan_test_data): New variable.
43434         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43435         (ctan_tonearest_test_data): New variable.
43436         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43437         (ctan_towardzero_test_data): New variable.
43438         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43439         (ctan_downward_test_data): New variable.
43440         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43441         (ctan_upward_test_data): New variable.
43442         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43443         (ctanh_test_data): New variable.
43444         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43445         (ctanh_tonearest_test_data): New variable.
43446         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43447         (ctanh_towardzero_test_data): New variable.
43448         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43449         (ctanh_downward_test_data): New variable.
43450         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43451         (ctanh_upward_test_data): New variable.
43452         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43453         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43454         of BUILD_COMPLEX.
43456         * math/libm-test.inc (struct test_ff_f_data): New type.
43457         (struct test_ff_f_data_nexttoward): Likewise.
43458         (RUN_TEST_LOOP_2_f): New macro.
43459         (RUN_TEST_LOOP_ff_f): Likewise.
43460         (atan2_test_data): New variable.
43461         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43462         (copysign_test_data): New variable.
43463         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43464         (fdim_test_data): New variable.
43465         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43466         (fmax_test_data): New variable.
43467         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43468         (fmin_test_data): New variable.
43469         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43470         (fmod_test_data): New variable.
43471         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43472         (hypot_test_data): New variable.
43473         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43474         (nextafter_test_data): New variable.
43475         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43476         (nexttoward_test_data): New variable.
43477         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43478         (pow_test_data): New variable.
43479         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43480         (pow_tonearest_test_data): New variable.
43481         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43482         (pow_towardzero_test_data): New variable.
43483         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43484         (pow_downward_test_data): New variable.
43485         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43486         (pow_upward_test_data): New variable.
43487         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43488         (remainder_test_data): New variable.
43489         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43490         (scalb_test_data): New variable.
43491         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43492         * sysdeps/i386/fpu/libm-test-ulps: Update.
43494 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43496         * math/libm-test.inc (fma_test): Use max_value instead of local
43497         variable fltmax.
43498         (nextafter_test): Likewise.
43500         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43501         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43502         (acos_downward_test_data): New variable.
43503         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43504         (acos_upward_test_data): New variable.
43505         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43506         (acosh_test_data): New variable.
43507         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43508         (asin_test_data): New variable.
43509         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43510         (asin_tonearest_test_data): New variable.
43511         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43512         (asin_towardzero_test_data): New variable.
43513         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43514         (asin_downward_test_data): New variable.
43515         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43516         (asin_upward_test_data): New variable.
43517         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43518         (asinh_test_data): New variable.
43519         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43520         (atan_test_data): New variable.
43521         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43522         (atanh_test_data): New variable.
43523         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43524         (cbrt_test_data): New variable.
43525         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43526         (ceil_test_data): New variable.
43527         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43528         (cos_test_data): New variable.
43529         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43530         (cos_tonearest_test_data): New variable.
43531         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43532         (cos_towardzero_test_data): New variable.
43533         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43534         (cos_downward_test_data): New variable.
43535         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43536         (cos_upward_test_data): New variable.
43537         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43538         (cosh_test_data): New variable.
43539         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43540         (cosh_tonearest_test_data): New variable.
43541         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43542         (cosh_towardzero_test_data): New variable.
43543         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43544         (cosh_downward_test_data): New variable.
43545         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43546         (cosh_upward_test_data): New variable.
43547         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43548         (erf_test_data): New variable.
43549         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43550         (erfc_test_data): New variable.
43551         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43552         (exp_test_data): New variable.
43553         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43554         (exp_tonearest_test_data): New variable.
43555         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43556         (exp_towardzero_test_data): New variable.
43557         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43558         (exp_downward_test_data): New variable.
43559         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43560         (exp_upward_test_data): New variable.
43561         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43562         (exp10_test_data): New variable.
43563         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43564         (exp2_test_data): New variable.
43565         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43566         (expm1_test_data): New variable.
43567         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43568         (fabs_test_data): New variable.
43569         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43570         (floor_test_data): New variable.
43571         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43572         (j0_test_data): New variable.
43573         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43574         (j1_test_data): New variable.
43575         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43576         (log_test_data): New variable.
43577         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43578         (log10_test_data): New variable.
43579         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43580         (log1p_test_data): New variable.
43581         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43582         (log2_test_data): New variable.
43583         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43584         (logb_test_data): New variable.
43585         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43586         (logb_downward_test_data): New variable.
43587         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43588         (nearbyint_test_data): New variable.
43589         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43590         (rint_test_data): New variable.
43591         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43592         (rint_tonearest_test_data): New variable.
43593         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43594         (rint_towardzero_test_data): New variable.
43595         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43596         (rint_downward_test_data): New variable.
43597         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43598         (rint_upward_test_data): New variable.
43599         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43600         (round_test_data): New variable.
43601         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43602         (sin_test_data): New variable.
43603         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43604         (sin_tonearest_test_data): New variable.
43605         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43606         (sin_towardzero_test_data): New variable.
43607         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43608         (sin_downward_test_data): New variable.
43609         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43610         (sin_upward_test_data): New variable.
43611         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43612         (sinh_test_data): New variable.
43613         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43614         (sinh_tonearest_test_data): New variable.
43615         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43616         (sinh_towardzero_test_data): New variable.
43617         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43618         (sinh_downward_test_data): New variable.
43619         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43620         (sinh_upward_test_data): New variable.
43621         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43622         (sqrt_test_data): New variable.
43623         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43624         (tan_test_data): New variable.
43625         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43626         (tan_tonearest_test_data): New variable.
43627         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43628         (tan_towardzero_test_data): New variable.
43629         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43630         (tan_downward_test_data): New variable.
43631         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43632         (tan_upward_test_data): New variable.
43633         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43634         (tanh_test_data): New variable.
43635         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43636         (tgamma_test_data): New variable.
43637         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43638         (trunc_test_data): New variable.
43639         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43640         (y0_test_data): New variable.
43641         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43642         (y1_test_data): New variable.
43643         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43644         (significand_test_data): New variable.
43645         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43647 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43649         [BZ #12387]
43650         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43652 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43654         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43656 2013-05-10  Andreas Jaeger  <aj@suse.de>
43658         [BZ #15448]
43659         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43660         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43662 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43664         * math/gen-libm-test.pl (adjust_arg): New function.
43665         (special_functions): Handle generating output in both functions
43666         and arrays.
43667         (parse_args): Likewise.
43668         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43669         $in_func argument to parse_args.
43670         * math/libm-test.inc (struct test_f_f_data): New type.
43671         (IF_ROUND_INIT_): New macro.
43672         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43673         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43674         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43675         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43676         (ROUND_RESTORE_): Likewise.
43677         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43678         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43679         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43680         (ROUND_RESTORE_FE_UPWARD): Likewise.
43681         (RUN_TEST_LOOP_f_f): New macro.
43682         (acos_test_data): New variable.
43683         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43684         (acos_tonearest_test_data): New variable.
43685         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43687 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43689         * benchtests/bench-skeleton.c (startup): Fix coding style.
43691 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43693         [BZ #6809]
43694         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43695         negative infinity argument.
43696         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43697         negative infinity argument.
43698         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43699         negative infinity argument.
43700         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43701         domain errors.
43703 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43705         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43706         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43707         * iconv/iconv_prog.c (main): Likewise.
43708         * locale/programs/charmap-dir.c (charmap_readdir)
43709         (fopen_uncompressed): Likewise.
43710         * locale/programs/locfile.c (siblings_uncached)
43711         (write_locale_data): Use lstat64 instead of lstat.
43712         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43713         stat.
43715 2013-05-10  Andreas Jaeger  <aj@suse.de>
43717         [BZ #15395]
43718         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43719         localization.
43720         Include <locale.h>.
43722 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43724         * elf/dl-close.c (_dl_close_worker): Add comments.
43726 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43728         [BZ #15359]
43729         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43730         high part of pi/2.
43731         (__ieee754_rem_pio2l): Update comments.
43733         [BZ #15429]
43734         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43735         high part of pi/2.
43736         (__ieee754_rem_pio2l): Update comments.
43738         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43739         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43741         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43742         M_PI_4l.
43744         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43745         (M_PI_34_LOG10El): Likewise.
43746         (M_PI2_LOG10El): Likewise.
43747         (M_PI4_LOG10El): Likewise.
43748         (M_PI_LOG10El): Likewise.
43750 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43754 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43756         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43757         (MINUS_ZERO_INIT): Likewise.
43758         (PLUS_INFTY_INIT): Likewise.
43759         (MINUS_INFTY_INIT): Likewise.
43760         (QNAN_VALUE_INIT): Likewise.
43761         (MAX_VALUE_INIT): Likewise.
43762         (MIN_VALUE_INIT): Likewise.
43763         (MIN_SUBNORM_VALUE_INIT): Likewise.
43764         (plus_zero): Initialize with PLUS_ZERO_INIT.
43765         (minus_zero): Initialize with MINUS_ZERO_INIT.
43766         (plus_infty): Initialize with PLUS_INFTY_INIT.
43767         (minus_infty): Initialize with MINUS_INFTY_INIT.
43768         (qnan_value): Initialize with QNAN_VALUE_INIT.
43769         (max_value): Initialize with MAX_VALUE_INIT.
43770         (min_value): Initialize with MIN_VALUE_INIT.
43771         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43773         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43774         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43775         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43776         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43778         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43779         (RUN_TEST_2_f): Likewise.
43780         (RUN_TEST_ff_f): Likewise.
43781         (RUN_TEST_fi_f): Likewise.
43782         (RUN_TEST_fl_f): Likewise.
43783         (RUN_TEST_fff_f): Likewise.
43784         (RUN_TEST_c_f): Likewise.
43785         (RUN_TEST_f_f1): Likewise.
43786         (RUN_TEST_fF_f1): Likewise.
43787         (RUN_TEST_fI_f1): Likewise.
43788         (RUN_TEST_ffI_f1): Likewise.
43789         (RUN_TEST_c_c): Likewise.
43790         (RUN_TEST_cc_c): Likewise.
43791         (RUN_TEST_f_i): Likewise.
43792         (RUN_TEST_f_i_tg): Likewise.
43793         (RUN_TEST_ff_i_tg): Likewise.
43794         (RUN_TEST_f_b): Likewise.
43795         (RUN_TEST_f_b_tg): Likewise.
43796         (RUN_TEST_f_l): Likewise.
43797         (RUN_TEST_f_L): Likewise.
43798         (RUN_TEST_sincos): Likewise.
43799         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43800         whether to show exceptions.  Do not include ");\n" in return
43801         value.
43802         (special_functions): Output call to RUN_TEST_sincos instead of
43803         check_float calls.  Update calls to new_test.
43804         (parse_args): Output call to single RUN_TEST_* macro instead of
43805         check_* calls and other assignments.  Update calls to new_test.
43807         [BZ #2546]
43808         [BZ #2560]
43809         [BZ #5159]
43810         [BZ #15426]
43811         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43812         input to result for tgamma overflow.
43813         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43814         (gamma_coeff): New variable.
43815         (NCOEFF): New macro.
43816         (gamma_positive): New function.
43817         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43818         underflow here.  Use gamma_positive instead of exp (lgamma) for
43819         other arguments.
43820         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43821         (gamma_coeff): New variable.
43822         (NCOEFF): New macro.
43823         (gammaf_positive): New function.
43824         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43825         underflow here.  Use gamma_positive instead of exp (lgamma) for
43826         other arguments.
43827         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43828         (gamma_coeff): New variable.
43829         (NCOEFF): New macro.
43830         (gammal_positive): New function.
43831         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43832         underflow here.  Use gamma_positive instead of exp (lgamma) for
43833         other arguments.
43834         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43835         (gamma_coeff): New variable.
43836         (NCOEFF): New macro.
43837         (gammal_positive): New function.
43838         (__ieee754_gammal_r): Handle positive infinity, overflow and
43839         underflow here.  Handle NaN the same as positive infinity.  Remove
43840         check x < 0xffffffff for negative integers.  Use gamma_positive
43841         instead of exp (lgamma) for other arguments.
43842         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43843         (gamma_coeff): New variable.
43844         (NCOEFF): New macro.
43845         (gammal_positive): New function.
43846         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43847         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43848         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43851         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43852         * sysdeps/generic/math_private.h (__gamma_productf): New
43853         prototype.
43854         (__gamma_product): Likewise.
43855         (__gamma_productl): Likewise.
43856         * math/Makefile (libm-calls): Add gamma_product.
43857         * math/libm-test.inc (tgamma_test): Add more tests.
43858         * sysdeps/i386/fpu/libm-test-ulps: Update.
43859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43861 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43863         * benchtests/bench-skeleton.c (main): Preheat CPU.
43865 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43867         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43869 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43871         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43872         and _dl_skip_args_internal.
43874 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43876         * manual/message.texi (Message Translation): Talk about users.
43877         Message to key mapping impacts design.
43879 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43881         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43883         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43885         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43886         * sysdeps/wordsize-64/glob64.c: ... here.
43888         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43889         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43890         New macros.
43892         * debug/getlogin_r_chk.c: Moved to ...
43893         * login/getlogin_r_chk.c: ... here.
43894         * debug/Makefile (routines): Move getlogin_r_chk to ...
43895         * login/Makefile (routines): ... here.
43896         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43897         * login/Versions (libc: GLIBC_2.4): ... here.
43899         * io/poll.c (__poll): Renamed from poll.
43900         Add libc_hidden_def.
43901         (poll): Define as weak alias.
43903         * debug/ptsname_r_chk.c: Moved to ...
43904         * login/ptsname_r_chk.c: ... here.
43905         * debug/Makefile (routines): Move ptsname_r_chk to ...
43906         * login/Makefile (routines): ... here.
43907         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43908         * login/Versions (libc: GLIBC_2.4): ... here.
43910         * posix/getlogin.c: Moved to ...
43911         * login/getlogin.c: ... here.
43912         * posix/getlogin_r.c: Moved to ...
43913         * login/getlogin_r.c: ... here.
43914         * posix/getlogin_r.c: Moved to ...
43915         * login/getlogin_r.c: ... here.
43916         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43917         * login/Makefile (routines): ... here.
43918         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43919         * login/Versions (libc: GLIBC_2.0): ... here.
43921         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43922         (setrlimit): Define as weak alias.
43924         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43925         Call __ names for open, ftruncate, and close.
43926         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43927         (truncate): Define as weak alias.
43929 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43931         * math/gen-libm-test.pl (parse_args): Initialize x before each
43932         test of frexp, modf and remquo.
43934         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43935         test signgam value.
43937 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43939         [BZ #15418]
43940         [BZ #15419]
43941         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43942         internal tests.
43943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43945 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43947         * elf/dl-writev.h: New file.
43948         * elf/dl-misc.c: Include it.
43949         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43950         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43952 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43954         * math/libm-test.inc (noXFails): Remove variable.
43955         (noXPasses): Likewise.
43956         (BUILD_COMPLEX_INT): Remove macro.
43957         (print_screen): Remove xfail argument.
43958         (print_screen_max_error): Likewise.
43959         (update_stats): Likewise.
43960         (print_max_error): Likewise.  Update calls to other affected
43961         functions.
43962         (print_complex_max_error): Likewise.
43963         (test_single_exception): Update calls to print_screen.
43964         (test_single_errno): Likewise.
43965         (check_float_internal): Remove xfail argument.  Update calls to
43966         other affected functions.
43967         (check_float): Likewise.
43968         (check_complex): Likewise.
43969         (check_int): Likewise.
43970         (check_long): Likewise.
43971         (check_bool): Likewise.
43972         (check_longlong): Likewise.
43973         (main): Don't print noXFails and noXPasses.
43974         * math/gen-libm-test.pl (top level): Don't mention expected
43975         failure handling in comment.
43976         (new_test): Don't handle expected failures.
43977         (parse_args): Don't mention expected failure handling in comment.
43978         (generate_testfile): Don't handle expected failures.
43979         (parse_ulps): Likewise.
43980         (print_ulps_file): Likewise.
43981         (get_failure): Remove function.
43982         (output_test): Don't handle expected failures.
43983         * make/README.libm-test: Don't mention expected failure handling.
43985         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43986         (minus_zero): Likewise.
43987         (plus_infty): Likewise.
43988         (minus_infty): Likewise.
43989         (qnan_value): Likewise.
43990         (max_value): Likewise.
43991         (min_value): Likewise.
43992         (min_subnorm_value): Likewise.
43993         (initialize): Do not initialize those variables dynamically.
43995 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43997         * io/open.c (__open_2): Moved to ...
43998         * io/open_2.c: ... this new file.
43999         * io/open64.c (__open64_2): Moved to ...
44000         * io/open64_2.c: ... this new file.
44001         * io/openat.c (__openat_2): Moved to ...
44002         * io/openat_2.c: ... this new file.
44003         * io/openat64.c (__openat64_2): Moved to ...
44004         * io/openat64_2.c: ... this new file.
44005         * io/Makefile (routines): Add them.
44006         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44007         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44008         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44009         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44010         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44011         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44012         (__openat64): Add hidden_ver.
44013         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44014         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44016         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44017         Separately conditionalize setting of GLRO(dl_sysinfo) so
44018         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44019         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44021 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44023         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44024         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44025         definition.
44026         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44027         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44028         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44029         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44030         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44032 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44034         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44035         test signgam value.
44037         * math/libm-test.inc (hypot_test): Do not use
44038         IGNORE_ZERO_INF_SIGN.
44040 2013-05-03  Andreas Jaeger  <aj@suse.de>
44042         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44043         Linux 3.9.
44044         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44045         (PF_MAX): Adjust for VSOCK change.
44047 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44051 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44053         [BZ #15264]
44054         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44055         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44056         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44058 2013-05-02  David S. Miller  <davem@davemloft.net>
44060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44062 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44064         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44066 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44068         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44070 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44072         [BZ #14952]
44073         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44074         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44075         Use __attribute__ ((__gnu_inline__)).
44076         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44077         Don't use __attribute__ ((__gnu_inline__)).
44079 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44081         [BZ #15423]
44082         * math/s_catan.c (__catan): Handle small real or imaginary part of
44083         input specially to avoid spurious underflow.
44084         * math/s_catanf.c (__catanf): Likewise.
44085         * math/s_catanh.c (__catanh): Likewise.
44086         * math/s_catanhf.c (__catanhf): Likewise.
44087         * math/s_catanhl.c (__catanhl): Likewise.
44088         * math/s_catanl.c (__catanl): Likewise.
44089         * math/libm-test.inc (catan_test): Add more tests.
44090         (catanh_test): Likewise.
44091         * sysdeps/i386/fpu/libm-test-ulps: Update.
44092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44094 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44098 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44100         [BZ #15416]
44101         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44102         accurately for denominator in atan2.
44103         * math/s_catanf.c (__catanf): Likewise.
44104         * math/s_catanh.c (__catanh): Likewise.
44105         * math/s_catanhf.c (__catanhf): Likewise.
44106         * math/s_catanhl.c (__catanhl): Likewise.
44107         * math/s_catanl.c (__catanl): Likewise.
44108         * math/libm-test.inc (catan_test): Add more tests.
44109         (catanh_test): Likewise.
44110         * sysdeps/i386/fpu/libm-test-ulps: Update.
44111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44113 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44115         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44117         * benchtests/Makefile (bench): Remove slow benchmarks.
44118         * benchtests/atan-inputs: Add slow benchmark inputs.
44119         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44120         (BENCH_FUNC): Accept variant offset.
44121         (VARIANT): Define.
44122         * benchtests/bench-skeleton.c (main): Run benchmark for each
44123         variant.
44124         * benchtests/cos-inputs: Add slow benchmark inputs.
44125         * benchtests/exp-inputs: Likewise.
44126         * benchtests/pow-inputs: Likewise.
44127         * benchtests/sin-inputs: Likewise.
44128         * benchtests/slowatan-inputs: Remove.
44129         * benchtests/slowatan.c: Remove.
44130         * benchtests/slowcos-inputs: Remove.
44131         * benchtests/slowcos.c: Remove.
44132         * benchtests/slowexp-inputs: Remove.
44133         * benchtests/slowexp.c: Remove.
44134         * benchtests/slowpow-inputs: Remove.
44135         * benchtests/slowpow.c: Remove.
44136         * benchtests/slowsin-inputs: Remove.
44137         * benchtests/slowsin.c: Remove.
44138         * benchtests/slowtan-inputs: Remove.
44139         * benchtests/slowtan.c: Remove.
44140         * benchtests/tan-inputs: Add slow benchmark inputs.
44141         * scripts/bench.pl: Parse comments and directives.
44143         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44144         in CPPFLAGS.
44145         ($(objpfx)bench-%.c): Remove *-ITER.
44146         * benchtests/bench-modf.c: Remove definition of ITER.
44147         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44148         (main): Loop for DURATION seconds instead of fixed number of
44149         iterations.
44150         * scripts/bench.pl: Don't expect iterations in parameters.
44152 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44154         * io/fchdir.c (__fchdir): Renamed from fchdir.
44155         (fchdir): Define as weak alias.
44157 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44159         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44160         (ERRNO_EDOM): Likewise.
44161         (ERRNO_ERANGE): Likewise.
44162         (noErrnoTests): New variable.
44163         (init_max_error): Set errno to 0.
44164         (test_single_errno): New function.
44165         (test_errno): Likewise.
44166         (check_float_internal): Call test_errno.  Set errno to 0.
44167         (check_complex): Refer to errno tests in comment.
44168         (check_int): Call test_errno.  Set errno to 0.
44169         (check_long): Likewise.
44170         (check_bool): Likewise.
44171         (check_longlong): Likewise.
44172         (cos_test): Use ERRNO_* flags for errno tests instead of
44173         check_int.
44174         (expm1_test): Likewise.
44175         (fmod_test): Likewise.
44176         (ilogb_test): Likewise.
44177         (lgamma_test): Likewise.
44178         (pow_test): Likewise.
44179         (remainder_test): Likewise.
44180         (sin_test): Likewise.
44181         (tan_test): Likewise.
44182         (yn_test): Likewise.
44183         (initialize): Set errno to 0.
44184         (main): Print number of errno tests.
44185         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44187 2013-04-29  Andreas Jaeger  <aj@suse.de>
44189         [BZ #15084]
44190         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44191         and RES_USEVC.
44193         [BZ #15085]
44194         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44195         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44196         unimplemented.
44198         [BZ #15380]
44199         * stdlib/random.c (__initstate): Return NULL if
44200         __initstate fails.
44202         [BZ #15086]
44203         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44204         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44205         RES_SNGLKUPREOP.
44207 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44211 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44213         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44214         of individual tests.
44215         (casin_test): Likewise.
44216         (casinh_test): Likewise.
44218 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44220         [BZ #15409]
44221         * math/s_catan.c (__catan): Handle arguments with large real or
44222         imaginary part separately without squaring.
44223         * math/s_catanf.c (__catanf): Likewise.
44224         * math/s_catanh.c (__catanh): Likewise.
44225         * math/s_catanhf.c (__catanhf): Likewise.
44226         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44227         and redefine.
44228         (__catanhl): Handle arguments with large real or imaginary part
44229         separately without squaring.
44230         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44231         and redefine.
44232         (__catanl): Handle arguments with large real or imaginary part
44233         separately without squaring.
44234         * math/libm-test.inc (catan_test): Add more tests.
44235         (catanh_test): Likewise.
44236         * sysdeps/i386/fpu/libm-test-ulps: Update.
44237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44239 2013-04-27  Andreas Jaeger  <aj@suse.de>
44241         [BZ #15007]
44242         * stdlib/stdlib.h: Update guards for qecvt.
44243         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44244         <stdlib.h>.
44246 2013-04-27  Allan McRae  <allan@archlinux.org>
44248         * sysdeps/i386/fpu/libm-test-ulps: Update.
44250 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
44252         [BZ #15406]
44253         * math/s_catan.c: Include <float.h>.
44254         (__catan): Ensure underflow exception occurs for underflowed
44255         result.
44256         * math/s_catanf.c: Include <float.h>.
44257         (__catanf): Ensure underflow exception occurs for underflowed
44258         result.
44259         * math/s_catanh.c: Include <float.h>.
44260         (__catanh): Ensure underflow exception occurs for underflowed
44261         result.
44262         * math/s_catanhf.c: Include <float.h>.
44263         (__catanhf): Ensure underflow exception occurs for underflowed
44264         result.
44265         * math/s_catanhl.c: Include <float.h>.
44266         (__catanhl): Ensure underflow exception occurs for underflowed
44267         result.
44268         * math/s_catanl.c: Include <float.h>.
44269         (__catanl): Ensure underflow exception occurs for underflowed
44270         result.
44271         * math/libm-test.inc (catan_test): Add more tests.
44272         (catanh_test): Likewise.
44274         [BZ #15405]
44275         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44276         underflowed result.
44277         * math/s_ccoshf.c (__ccoshf): Likewise.
44278         * math/s_ccoshl.c (__ccoshl): Likewise.
44279         * math/s_csin.c (__csin): Likewise.
44280         * math/s_csinf.c (__csinf): Likewise.
44281         * math/s_csinh.c (__csinh): Likewise.
44282         * math/s_csinhf.c (__csinhf): Likewise.
44283         * math/s_csinhl.c (__csinhl): Likewise.
44284         * math/s_csinl.c (__csinl): Likewise.
44285         * math/libm-test.inc (ccos_test): Add more tests.
44286         (ccosh_test): Likewise.
44287         (csin_test): Likewise.
44288         (csinh_test): Likewise.
44290 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44292         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44293         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44294         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44295         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44296         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44297         powerpc/power5+/fpu folders.
44298         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44301 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44305 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
44307         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44308         additions to variable.
44309         [$(config-machine) = x86_64] (modules-names): Likewise.
44310         ($(objpfx)tst-audit3): Remove dependency.
44311         ($(objpfx)tst-audit3.out): Likewise.
44312         ($(objpfx)tst-audit4): Likewise.
44313         ($(objpfx)tst-audit4.out): Likewise.
44314         ($(objpfx)tst-audit5): Likewise.
44315         ($(objpfx)tst-audit5.out): Likewise.
44316         ($(objpfx)tst-audit6): Likewise.
44317         ($(objpfx)tst-audit6.out): Likewise.
44318         ($(objpfx)tst-audit7): Likewise.
44319         ($(objpfx)tst-audit7.out): Likewise.
44320         (tst-audit3-ENV): Remove variable.
44321         (tst-audit4-ENV): Likewise.
44322         (tst-audit5-ENV): Likewise.
44323         (tst-audit6-ENV): Likewise.
44324         (tst-audit7-ENV): Likewise.
44325         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44326         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44327         addition to variable.
44328         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44329         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44330         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44331         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44332         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44333         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44334         tst-audit3, tst-audit4 and tst-audit5.
44335         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44336         tst-audit6 and tst-audit7.
44337         [$(subdir) = elf] (modules-names): Add audit modules for those
44338         tests.
44339         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44340         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44341         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44342         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44343         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44344         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44345         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44346         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44347         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44348         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44349         [$(subdir) = elf] (tst-audit3-ENV): New variable.
44350         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44351         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44352         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44353         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44354         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44355         Likewise.
44356         [$(subdir) = elf && $(config-cflags-avx) = yes]
44357         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44358         [$(subdir) = elf && $(config-cflags-avx) = yes]
44359         (CFLAGS-tst-auditmod4a.c): Likewise.
44360         [$(subdir) = elf && $(config-cflags-avx) = yes]
44361         (CFLAGS-tst-auditmod4b.c): Likewise.
44362         [$(subdir) = elf && $(config-cflags-avx) = yes]
44363         (CFLAGS-tst-auditmod6b.c): Likewise.
44364         [$(subdir) = elf && $(config-cflags-avx) = yes]
44365         (CFLAGS-tst-auditmod6c.c): Likewise.
44366         [$(subdir) = elf && $(config-cflags-avx) = yes]
44367         (CFLAGS-tst-auditmod7b.c): Likewise.
44368         * elf/tst-audit3.c: Move to ...
44369         * sysdeps/x86_64/tst-audit3.c: ... here.
44370         * elf/tst-audit4.c: Move to ...
44371         * sysdeps/x86_64/tst-audit4.c: ... here.
44372         * elf/tst-audit5.c: Move to ...
44373         * sysdeps/x86_64/tst-audit5.c: ... here.
44374         * elf/tst-audit6.c: Move to ...
44375         * sysdeps/x86_64/tst-audit6.c: ... here.
44376         * elf/tst-audit7.c: Move to ...
44377         * sysdeps/x86_64/tst-audit7.c: ... here.
44378         * elf/tst-auditmod3a.c: Move to ...
44379         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44380         * elf/tst-auditmod3b.c: Move to ...
44381         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44382         * elf/tst-auditmod4a.c: Move to ...
44383         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44384         * elf/tst-auditmod4b.c: Move to ...
44385         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44386         * elf/tst-auditmod5a.c: Move to ...
44387         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44388         * elf/tst-auditmod5b.c: Move to ...
44389         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44390         * elf/tst-auditmod6a.c: Move to ...
44391         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44392         * elf/tst-auditmod6b.c: Move to ...
44393         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44394         * elf/tst-auditmod6c.c: Move to ...
44395         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44396         * elf/tst-auditmod7a.c: Move to ...
44397         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44398         * elf/tst-auditmod7b.c: Move to ...
44399         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44401 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44403         [BZ #15366]
44404         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44405         define unconditionally.
44406         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44407         define unconditionally.
44408         (INT8_C, INT16_C, etc.): Likewise.
44410 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44412         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44413         __ehdr_start with hidden visibility.
44415         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44417 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44419         * math/libm-test.inc (cos_test): Use accurate hex constants.
44420         (sincost_test): Likewise.
44422 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44424         * math/libm-test.inc (catan_test): Add more tests.
44425         (catanh_test): Likewise.
44427         * math/s_catanf.c (__catanf): Use suffixed floating-point
44428         constants.
44429         * math/s_catanhf.c (__catanhf): Likewise.
44430         * math/s_catanhl.c (__catanhl): Likewise.
44431         * math/s_catanl.c (__catanl): Likewise.
44433         [BZ #15394]
44434         * math/s_catan.c (__catan): Calculate imaginary part of result
44435         with log1p not log unless computing log of number close to 0.
44436         * math/s_catanf.c (__catanf): Likewise.
44437         * math/s_catanl.c (__catanl): Likewise.
44438         * math/s_catanh.c (__catanh): Calculate real part of result with
44439         log1p not log unless computing log of number close to 0.
44440         * math/s_catanhf.c (__catanhf): Likewise.
44441         * math/s_catanhl.c (__catanhl): Likewise.
44442         * math/libm-test.inc (catan_test): Add more tests.
44443         (catanh_test): Likewise.
44444         * sysdeps/i386/fpu/libm-test-ulps: Update.
44445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44447 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44449         * benchtests/Makefile: Mention files in which fast and slow
44450         paths of math functions are implemented.
44452 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44454         * sysdeps/posix/timespec_get.c: New file.
44456 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44458         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44459         POWER.
44460         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44461         for POWER.
44462         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44463         powerpc/power5/fpu folders.
44464         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44465         * benchtests/Makefile: Add modf testcase.
44466         * benchtests/bench-modf.c: New file: Benchmark test for mo
44468 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44470         [BZ #14888]
44471         * time/Makefile (tests): Add tst-strptime-whitespace.
44472         * time/strptime_l.c (get_number): Use ISSPACE.
44473         (__strptime_internal): Likewise.
44474         * time/tst-strptime-whitespace.c: New test case.
44476 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44478         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44479         member.
44480         (_nss_files_init): Set it here.
44482 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44484         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44485         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44486         unsigned.
44488 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44490         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44492 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44494         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44495         size just once.
44497 2013-04-21  David S. Miller  <davem@davemloft.net>
44499         * po/ru.po: Update Russion translation from translation project.
44501 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44503         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44504         and setfsgid.
44506 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44508         * configure.in: Remove i386 configure warning. Remove i386 case.
44509         * configure: Regenerate.
44510         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44511         Add example to error message.
44512         * sysdeps/i386/configure: Regenerate.
44514 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44516         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44517         slowtan.
44518         * benchtests/cos-inputs: New file.
44519         * benchtests/slowcos-inputs: New file.
44520         * benchtests/slowcos.c: New file.
44521         * benchtests/slowtan-inputs: New file.
44522         * benchtests/slowtan.c: New file.
44523         * benchtests/tan-inputs: New file.
44525 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44527         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44528         considered kosher.
44530 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44532         * benchtests/Makefile: Include cppflags-iterator.mk to add
44533         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44535         * Makefile.in (bench-clean): New target.
44536         * benchtests/Makefile (bench-clean): Likewise.
44538 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44540         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44542 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44544         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44546 2013-04-15  Andreas Schwab  <schwab@suse.de>
44548         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44549         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44550         * nscd/pwdcache.c (cache_addpw): Likewise.
44551         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44552         more than recsize.
44554 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44556         * benchtests/Makefile (bench): Write all output to
44557         bench-out.tmp together.
44559 2013-04-15  Andreas Schwab  <schwab@suse.de>
44561         * nscd/nscd.c (main): Don't fork again after closing files.
44563 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44565         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44567         * benchtests/Rules (bench-deps): Collect dependencies into a
44568         single variable.  Add Makefile to dependencies.
44569         ($(objpfx)bench-%.c): Depend on bench-deps.
44571 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44572             Xavier Roche  <roche+kml2@exalead.com>
44574         [BZ #15361]
44575         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44576         just that it's a file descriptor.
44577         * manual/llio.texi (Synchronizing AIO Operations): Update description
44578         for EBADF error from aio_fsync.
44580 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582         * Rules (bench): Move target definition...
44583         * benchtests/Makefile: ... here.
44585 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44587         * math/libm-test.inc (cos_test): Fix PI/2 test.
44588         (sincos_test): Likewise.
44589         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44590         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44592 2013-04-11  Andreas Schwab  <schwab@suse.de>
44594         [BZ #13988]
44595         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44596         accept exponent character only when digits were seen.
44597         * stdio-common/Makefile (tests): Add bug26.
44598         * stdio-common/bug26.c: New file.
44600         [BZ #14293]
44601         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44602         non-freeable.
44604 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44606         * Makeconfig (rtld-prefix): Define built linker prefix.
44607         * Rules (run-bench): Use it.
44608         * math/Makefile (run-regen-ulps): Likewise.
44610         * Rules (bench): Remove eval.
44612 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44613             Roland McGrath  <roland@hack.frob.com>
44614             Ondrej Bilka  <neleai@seznam.cz>
44616         [BZ #15346]
44617         * time/getdate.c: Include ctype.h and alloca.h.
44618         (__getdate_r): Trim leading and trailing spaces of input.
44619         * time/tst-getdate.c (tests): Add tests with leading and
44620         trailing spaces.
44622 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44624         [BZ #14280]
44625         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44626         when computing value.
44628 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44630         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44631         Use testrun.sh to run libm tests.
44633         [BZ #15309]
44634         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44636 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44638         [BZ #15264]
44639         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44641 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44643         * Makefile.in (regen-ulps): New target.
44644         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44645         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44646         [ifneq (no,$(PERL)] (regen-ulps): New target.
44647         [ifeq (no,$(PERL)] (regen-ulps): New target.
44648         * math/libm-test.inc (ulps_file_name): Define.
44649         (output_dir): New variable.
44650         (options): Add "output-dir" option.
44651         (parse_opt): Handle 'o' case.
44652         (main): If output_dir is non-NULL use it as a prefix
44653         otherwise use "".
44654         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44656 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44658         [BZ #10060, #10062]
44659         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44660         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44661         fail configure if __sync_val_compare_and_swap is not inlined.
44662         * sysdeps/i386/configure: Regenerate.
44663         * configure.in: Build for i686 when configured for i386.
44664         * configure: Regenerate.
44665         * README: Remove i386 reference.
44667 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44669         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44670         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44672 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44674         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44675         (lmsnanval): New variables.
44676         (F): Add conversion tests.
44677         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44678         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44680         * stdio-common/tstdiomisc.c (F): Properly collect individual
44681         tests' results.
44683         [BZ #14686, #15336]
44684         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44685         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44686         Instead, use input NaN values or generate a qNaN by arithmetic
44687         operation.  Also fix bugs to comply with the standard.
44688         * math/libm-test.inc (remainder_test): Add more tests.
44690         [BZ #15335, #15342]
44691         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44692         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44693         input NaN values or generate a qNaN by arithmetic operation.
44695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44696         unreachable code.
44698         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44699         definitions.
44701 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44703         [BZ #14478]
44704         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44705         underflowed result.
44706         * math/s_cexpf.c (__cexpf): Likewise.
44707         * math/s_cexpl.c (__cexpl): Likewise.
44708         * math/libm-test.inc (cexp_test): Add more tests.
44710 2013-04-03  Andreas Schwab  <schwab@suse.de>
44712         [BZ #15330]
44713         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44714         order arrays from heap if bigger than alloca cutoff.
44716 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44718         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44719         (SNAN_TESTS_double): Refer to GCC PR56831.
44720         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44721         GCC PR56828.
44723 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44725         * Rules (bench): Move bench.out after the run is complete.
44727         * Rules (bench): Echo currently running benchmark.
44729         * benchtests/Makefile (bench): Add atan and slowatan.
44730         * benchtests/atan-inputs: New file.
44731         * benchtests/slowatan-inputs: New file.
44732         * benchtests/slowatan.c: New file.
44734         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44736         its value.
44738         [BZ #15305]
44739         * sysdeps/unix/sysv/linux/kernel-features.h
44740         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44741         __ASSUME_XFS_RESTRICTED_CHOWN.
44742         * sysdeps/unix/sysv/linux/pathconf.c
44743         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44744         Save and restore errno.
44746 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44748         [BZ #15327]
44749         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44750         arguments using __kernel_casinh.
44751         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44752         arguments using __kernel_casinhf.
44753         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44754         arguments using __kernel_casinhl.
44755         * math/libm-test.inc (cacosh_test): Add more tests.
44756         * sysdeps/i386/fpu/libm-test-ulps: Update.
44757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44759 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44761         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44764         * bench/Makefile (bench): Add sin and slowsin.
44765         * benchtests/sin-inputs: New file.
44766         * benchtests/slowsin-inputs: New file.
44767         * benchtests/slowsin.c: New file.
44769         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44770         (bench): Add slowexp and slowpow.
44771         (exp-ITER): Increase iterations.
44772         (pow-ITER): Likewise.
44773         * benchtests/exp-inputs: Change input.
44774         * benchtests/pow-inputs: Likewise.
44775         * benchtests/slowexp-inputs: New file.
44776         * benchtests/slowexp.c: New file.
44777         * benchtests/slowpow-inputs: New file.
44778         * benchtests/slowpow.c: New file.
44780 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44782         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44783         instructions.
44784         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44785         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44786         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44787         * benchtests/Makefile: Add rint benchtest.
44788         * benchtests/rint-inputs: Input for rint benchtest.
44790 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44792         * Versions.def (libm): Add GLIBC_2.18.
44793         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44794         hidden libm prototypes.
44795         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44796         * math/Makefile (libm-calls): Add s_issignaling.
44797         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44798         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44799         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44800         declaration.
44801         * math/math.h [__USE_GNU] (issignaling): New macro.
44802         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44803         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44805         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44806         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44807         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44808         * manual/arith.texi (issignaling): New section.
44809         * manual/libm-err-tab.pl (@all_functions): Update comment.
44810         * math/gen-libm-test.pl (parse_args): Apply special handling for
44811         issignaling.
44812         * math/libm-test.inc (print_float, issignaling_test): New
44813         functions.
44814         (check_float_internal): Add issignaling checks.
44815         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44816         default definition.
44817         * sysdeps/powerpc/math-tests.h: New file.
44818         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44819         tests.
44820         * math/test-snan.c (TEST_FUNC): Likewise.
44822 2013-03-30  David S. Miller  <davem@davemloft.net>
44824         * po/de.po: Update from translation team.
44826 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44828         [BZ #10357]
44829         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44830         imaginary part less than 1.0 and real part less than 0.5
44831         specially.
44832         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44833         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44834         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44835         (cacos_test): Add more tests.
44836         (casin_test): Likewise.
44837         (casinh_test): Likewise.
44838         * sysdeps/i386/fpu/libm-test-ulps: Update.
44839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44841 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44843         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44844         ONE with its value.
44846         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44847         (__pow_mp): Replace ONE and MONE with their values.
44848         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44849         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44850         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44851         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44852         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44853         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44855         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44857         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44858         (__pow_mp): Replace ZERO and MZERO with their values.
44859         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44861         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44862         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44863         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44864         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44865         (__sqr): Likewise.
44867         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44869         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44871 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44873         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44874         Declare with __attribute__ ((weak)).
44875         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44876         Call __call_tls_dtors only if it's not NULL.
44878 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44880         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44881         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44882         magic __ehdr_start linker symbol if it's defined.
44883         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44884         them up here if it was already done.
44886         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44887         (_dl_aux_init): Use const in cast when setting it.
44888         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44889         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44890         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44892         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44893         Declare them here.
44894         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44895         * csu/libc-tls.c: Nor here.
44896         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44898         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44899         (__libc_message): Never call vsyslog.
44901 2013-03-28  Alan Modra  <amodra@gmail.com>
44903         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44904         Define as empty.
44905         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44906         Likewise.
44908 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44910         [BZ #15214]
44911         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44912         underflow.
44913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44915 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44917         [BZ #15304]
44918         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44919         Don't add gid passed as argument.
44921         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44923 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44925         [BZ #15307]
44926         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44927         imaginary part between 1.0 and 1.5 and real part less than 0.5
44928         specially.
44929         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44930         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44931         * math/libm-test.inc (cacos_test): Add more tests.
44932         (casin_test): Likewise.
44933         (casinh_test): Likewise.
44934         * sysdeps/i386/fpu/libm-test-ulps: Update.
44935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44937 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44939         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44940         constants.
44941         (norm): Likewise.
44942         (denorm): Likewise.
44943         (__dbl_mp): Likewise.
44944         (add_magnitudes): Likewise.
44945         (sub_magnitudes): Likewise.
44946         (__add): Likewise.
44947         (__sub): Likewise.
44948         (__mul): Likewise.
44949         (__sqr): Likewise.
44950         (__inv): Likewise.
44951         (__dvd): Likewise.
44953         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44954         commented code.
44955         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44956         (__dubcos): Likewise.
44957         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44958         (__ieee754_acos): Likewise.
44959         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44960         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44961         (__exp1): Likewise.
44962         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44963         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44964         (log1): Likewise.
44965         (my_log2): Likewise.
44966         (checkint): Likewise.
44967         * sysdeps/ieee754/dbl-64/e_remainder.c
44968         (__ieee754_remainder): Likewise.
44969         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44970         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44971         (bsloww): Likewise.
44972         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44974         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44975         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44976         MANTISSA_STORE_T to store computations on mantissa.  Use
44977         macros for rounding and division.
44978         (denorm): Likewise.
44979         (__dbl_mp): Likewise.
44980         (add_magnitudes): Likewise.
44981         (sub_magnitudes): Likewise.
44982         (__mul): Likewise.
44983         (__sqr): Likewise.
44984         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44985         powers of two in terms of TWOPOW macro.
44986         (mp_no): Make type of mantissa as MANTISSA_T.
44987         [!RADIXI]: Define RADIXI.
44988         [!TWO52]: Define TWO52.
44989         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44991 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44993         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44994         llroundl symbol when building for PPC32.
44996 2013-03-24  Mark H Weaver  <mhw@netris.org>
44998         * manual/arith.texi (Normalization Functions): Fix prototypes for
44999         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45001 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45003         [BZ #13889]
45004         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45005         high value to check if expl overflow.
45006         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45007         to check for underflow and overflow.
45008         * math/libm-test.inc: Add exp test.
45010 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45012         [BZ #11120]
45013         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45014         with NOT_IN_libc.
45016 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45018         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45019         symbol.
45021 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45023         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45024         wrap blocks consisting of several statements.
45026         * sysdeps/generic/math-tests.h: New file.
45027         * sysdeps/i386/fpu/math-tests.h: Likewise.
45028         * math/test-snan.c: Include it.
45029         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45031 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45033         [BZ #15285]
45034         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45035         (__ieee754_j0l): Do not improve calculations using cos of twice
45036         input for inputs above LDBL_MAX / 2.0L.
45037         (__ieee754_y0l): Likewise.
45038         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45039         (__ieee754_j1l): Do not improve calculations using cos of twice
45040         input for inputs above LDBL_MAX / 2.0L.
45041         (__ieee754_y1l): Likewise.
45042         * math/libm-test.inc (j0_test): Add another test.
45043         (j1_test): Likewise.
45044         (y0_test): Likewise.
45045         (y1_test): Likewise.
45046         * sysdeps/i386/fpu/libm-test-ulps: Update.
45048 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45050         * Rules ($(objpfx)bench-%.c): Include code from a C source
45051         file.
45053 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45055         [BZ #15287]
45056         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45057         imaginary part 1.0 and real part less than 0.5 specially.
45058         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45059         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45060         * math/libm-test.inc (cacos_test): Add more tests.
45061         (casin_test): Likewise.
45062         (casinh_test): Likewise.
45063         * sysdeps/i386/fpu/libm-test-ulps: Update.
45064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45066 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45068         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45069         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45071 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45073         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45074         * config.make.in (config-cflags-sse4): Remove variable.
45075         (config-cflags-avx): Likewise.
45076         (config-cflags-sse2avx): Likewise.
45077         (config-cflags-novzeroupper): Likewise.
45078         (config-asflags-i686): Likewise.
45079         (have-mfma4): Likewise.
45080         (have-as-vis3): Likewise.
45081         (MIG): Likewise.
45082         * configure.in (MIG): Do not AC_SUBST.
45083         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45084         (libc_cv_cc_sse4): Do not AC_SUBST.
45085         (libc_cv_cc_avx): Likewise.
45086         (libc_cv_cc_sse2avx): Likewise.
45087         (libc_cv_cc_novzeroupper): Likewise.
45088         (libc_cv_cc_fma4): Likewise.
45089         (libc_cv_as_i686): Likewise.
45090         (libc_cv_sparc_as_vis3): Likewise.
45091         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45092         LIBC_CONFIG_VAR.
45093         (config-asflags-i686): Likewise.
45094         (config-cflags-avx): Likewise.
45095         (config-cflags-sse2avx): Likewise.
45096         (have-mfma4): Likewise.
45097         (config-cflags-novzeroupper): Likewise.
45098         * sysdeps/mach/configure.in (MIG): Likewise.
45099         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45100         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45101         LIBC_CONFIG_VAR.
45102         (config-cflags-avx): Likewise.
45103         (config-cflags-sse2avx): Likewise.
45104         (have-mfma4): Likewise.
45105         (config-cflags-novzeroupper): Likewise.
45106         * configure: Regenerated.
45107         * sysdeps/i386/configure: Likewise.
45108         * sysdeps/mach/configure: Likewise.
45109         * sysdeps/sparc/configure: Likewise.
45110         * sysdeps/x86_64/configure: Likewise.
45112 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45114         [BZ #14812]
45115         * locale/programs/localedef.c (options): Put N_ translation marker
45116         on argument names, not just descriptions.
45118 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45120         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45122 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45124         [BZ #14176]
45125         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45127 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45129         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45130         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45131         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45132         [!BEFORE_ABORT] (before_abort): New function.
45133         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45134         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45135         (writev_for_fatal): New function.
45136         (WRITEV_FOR_FATAL): New macro; call that.
45137         (backtrace_and_maps): New function.
45138         (BEFORE_ABORT): New macro; call that.
45139         (struct str_list): Type removed.
45140         (__libc_message, __libc_fatal): Functions removed.
45141         Include <sysdeps/posix/libc_fatal.c> instead.
45143 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45145         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45146         constants.
45147         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45148         double constants.
45150 2013-03-19  Andreas Schwab  <schwab@suse.de>
45152         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45153         * sysdeps/gnu/configure: Regenerate.
45155         * configure.in: Substitute libc_cv_rtlddir.
45156         * configure: Regenerate.
45157         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45158         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45159         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45160         * elf/Makefile (install-others, CFLAGS-interp.c)
45161         (ldso_install, common-ldd-rewrite): Likewise.
45162         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45163         $(inst_slibdir)/$(rtld-installed-name).
45164         * scripts/rellns-sh: Add -p option.
45165         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45166         for source.
45168 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45170         * manual/nptl.texi: Renamed to ...
45171         * manual/threads.texi: ... this.
45172         * manual/Makefile (chapters): Update.
45174 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45176         [BZ #14812]
45177         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45178         on argument names, not just descriptions.
45179         * malloc/memusagestat.c (options): Likewise.
45180         * nss/getent.c (options): Likewise.
45182 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45184         [BZ #14812]
45185         * iconv/iconv_prog.c (options): Put N_ translation marker
45186         on argument names, not just descriptions.
45187         * iconv/iconvconfig.c (options): Likewise.
45189 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45191         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45192         implementation which is faster on all x86_64 architectures.
45193         Tested on AMD, Intel Nehalem, SNB, IVB.
45194         * sysdeps/x86_64/strnlen.S: Likewise.
45196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45197         Remove all multiarch strlen and strnlen versions.
45198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45199         Remove strlen and strnlen related parts.
45201         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45202         Inline strlen part.
45203         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45205         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45206         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45207         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45208         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45209         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45210         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45212 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45214         * manual/memory.texi (Malloc Tunable Parameters):
45215         Sort parameters alphabetically. Add comments for missing entries.
45217 2013-03-17  David S. Miller  <davem@davemloft.net>
45219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45221 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45223         [BZ #15283]
45224         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45225         for arguments at most half maximum finite value.
45226         * math/libm-test.inc (j0_test): Add more tests.
45227         (j1_test): Likewise.
45228         (y0_test): Likewise.
45229         (y1_test): Likewise.
45230         * sysdeps/i386/fpu/libm-test-ulps: Update.
45231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45233         [BZ #14155]
45234         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45235         1 / x and functions P and Q for arguments above 0x1p256L.
45236         (__ieee754_y0l): Likewise.
45237         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45238         (__ieee754_y1l): Likewise.
45239         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45240         (j1_test): Likewise.
45241         (y0_test): Likewise.
45242         (y1_test): Likewise.
45244 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
45246         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45247         variable.
45249 2013-03-15  Roland McGrath  <roland@hack.frob.com>
45251         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45252         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45253         zero since it's initialized to EXEC_PAGESIZE.
45255         * sysdeps/unix/sysv/linux/ldsodefs.h
45256         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45257         * sysdeps/generic/ldsodefs.h: ... here.
45259 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
45261         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45263         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45264         math/test-snan.c.
45265         * math/test-snan.c: Renamed from
45266         sysdeps/powerpc/fpu/test-powerpc-snan.c.
45267         * math/Makefile (tests): Add test-snan.
45268         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45269         test-powerpc-snan.
45271         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45272         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
45273         functions.
45274         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
45275         __builtin_nan family of functions.
45276         * math/libm-test.inc (initialize): Initialize qnan_value with
45277         __builtin_nan family of functions.
45278         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45279         Remove variables.
45280         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45281         Remove functions.
45282         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
45283         storage class.  Initialize qNaN_var and sNaN_var with
45284         __builtin_nan and __builtin_nans families of functions,
45285         respectively.
45287         * math/libm-test.inc (acosh_test): Also test with qNaN input.
45288         (sqrt_test): Remove duplicate test with qNaN input.
45289         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45290         (round_test, signbit_test, significand_test): Note missing +/-Inf
45291         as well as qNaN tests.
45293         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45294         qNaN_var.  Fix a few strings, too.
45295         * math/libm-test.inc (nan_value): Rename to qnan_value.
45296         * math/gen-libm-test.pl (%beautify): Adjust to that.
45297         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45298         * math/test-misc.c (main): Likewise.
45299         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45300         to __qnan_bytes, and __qnan_union, respectively.
45301         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45302         Likewise.
45303         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45304         and lqnanval, respectively.
45305         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45306         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45307         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45308         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45310         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45311         * math/test-misc.c (main) [__x86_64__]: Enable test for long
45312         doubles.
45314         * math/test-misc.c (main): Fix copy'n'pastos.
45315         * misc/tst-efgcvt.c (special): Likewise.
45317         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45318         Remove declarations.
45320 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45322         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45323         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45324         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45325         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45327 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45329         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45330         macro to return vdso values correctly in IFUNC implementations.
45331         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45332         Optimization by using IFUNC.
45334 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45335             Richard Henderson  <rth@redhat.com>
45336             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45338         * Makefile.in (bench): New target.
45339         * NEWS: Mention the benchmark framework.
45340         * Rules (bench): Likewise.
45341         (binaries-bench): Generate binaries for functions to
45342         benchmark.
45343         * benchtests/Makefile: New makefile for benchmark tests.
45344         * benchtests/bench-skeleton.c: New skeleton file for benchmark
45345         programs.
45346         * benchtests/exp-inputs: New input file for EXP function.
45347         * benchtests/pow-inputs: New input file for POW function.
45348         * scripts/bench.pl: New script to generate source files for
45349         benchmark programs.
45351 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45353         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45354         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45355         computations on mantissa.  Use macros for rounding and
45356         division.
45357         (denorm): Likewise.
45358         (__dbl_mp): Likewise.
45359         (add_magnitudes): Likewise.
45360         (sub_magnitudes): Likewise.
45361         (__mul): Likewise.
45362         (__sqr): Likewise.
45363         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45364         powers of two in terms of TWOPOW macro.
45365         (mp_no): Make type of mantissa as MANTISSA_T.
45366         [!RADIXI]: Define RADIXI.
45367         [!TWO52]: Define TWO52.
45368         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45370         * manual/nptl.texi (cindex): Modify threads to pthreads.
45372 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
45374         * sysdeps/x86_64/preconfigure: Regenerated.
45376 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
45378         [BZ #14155]
45379         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45380         0x1p28 and above.
45381         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45382         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45383         0x1p28 and above.
45384         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45385         * math/libm-test.inc (j0_test): Do not allow one spurious
45386         underflow exception.
45387         (y1_test): Likewise.
45389 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45391         * manual/Makefile (chapters): Add nptl.
45392         * manual/debug.texi (Debugging Support): Add link to Threads
45393         chapter.
45394         * manual/nptl.texi: New file.
45396         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45398 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45400         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45401         for non-NULL pointer before the memory validity test. Pointed
45402         out by Holger Brunck <holger.brunck@keymile.com>.
45404 2013-03-13  Andreas Schwab  <schwab@suse.de>
45406         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45407         instead of .os.
45409 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45411         * timezone/zic.c: Update from tzcode 2013b.
45413 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45415         * manual/install.texi (Configuring and compiling):
45416         Mention i686 and i586.
45417         * INSTALL: Regenerate.
45419 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45421         * sysdeps/init_array/elf-init.c: New file.
45422         * csu/elf-init.c
45423         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45424         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45426         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45427         __gmon_start__ as global, but as static with a .preinit_array pointer.
45428         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45429         * sysdeps/init_array/crti.S: New file, empty except for comments.
45430         * sysdeps/init_array/crtn.S: Likewise.
45432 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45434         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45435         definining bcopy.
45436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45437         Remove Prefer_SSE_for_memop.
45438         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45439         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45440         HAS_PREFER_SSE_FOR_MEMOP.
45441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45442         memset-x86-64.
45443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45444         Remove bzero, memset ifunc support.
45445         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45446         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45447         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45448         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45450 2013-03-11  Andreas Schwab  <schwab@suse.de>
45452         [BZ #15234]
45453         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45454         by SHLIB_COMPAT.
45455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45456         (GLIBC_2.16): Remove pthread_atfork.
45458 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45460         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45461         (ptestcases.h): Likewise.
45463 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45465         * Makeconfig ($(common-objpfx)config.status): Depend on
45466         sysdeps/*/preconfigure{,.in} too.
45468 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45470         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45471         (__free_hook): Use void * instead of __malloc_ptr_t.
45472         (__malloc_hook): Likewise.
45473         (__realloc_hook): Likewise.
45474         (__memalign_hook): Likewise.
45475         (__after_morecore_hook): Likewise.
45476         * malloc/arena.c (save_malloc_hook): Likewise.
45477         (save_free_hook): Likewise.
45478         * malloc/hooks.c (malloc_hook_ini): Likewise.
45479         (realloc_hook_ini): Likewise.
45480         (memalign_hook_ini): Likewise.
45481         * malloc/malloc.c (malloc_hook_ini): Likewise.
45482         (realloc_hook_ini): Likewise.
45483         (memalign_hook_ini): Likewise.
45484         (__free_hook): Likewise.
45485         (__malloc_hook): Likewise.
45486         (__realloc_hook): Likewise.
45487         (__memalign_hook): Likewise.
45488         (__libc_malloc): Likewise.
45489         (__libc_free): Likewise.
45490         (__libc_realloc): Likewise.
45491         (__libc_memalign): Likewise.
45492         (__libc_valloc): Likewise.
45493         (__libc_pvalloc): Likewise.
45494         (__libc_calloc): Likewise.
45495         (__posix_memalign): Likewise.
45496         * malloc/morecore.c (__sbrk): Likewise.
45497         (__default_morecore): Likewise.
45499         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45501         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45502         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45503         __malloc_ptrdiff_t.
45505         * malloc/malloc.h (__malloc_size_t): Remove macro.
45506         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45507         __malloc_size_t.
45508         (old_memalign_hook): Likewise.
45509         (old_realloc_hook): Likewise.
45510         (struct hdr): Likewise.
45511         (flood): Likewise.
45512         (mallochook): Likewise.
45513         (memalignhook): Likewise.
45514         (reallochook): Likewise.
45515         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45516         (tr_old_realloc_hook): Likewise.
45517         (tr_old_memalign_hook): Likewise.
45518         (tr_mallochook): Likewise.
45519         (tr_reallochook): Likewise.
45520         (tr_memalignhook): Likewise.
45522 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45524         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45525         default_ldbl_pack and using as default implementation.
45526         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45527         implementation.
45528         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45529         redundant definition.
45530         (ldbl_insert_mantissa): Likewise.
45531         (ldbl_canonicalize): Likewise.
45532         (ldbl_nearbyint): Likewise.
45533         (ldbl_pack): Rename to ldbl_pack_ppc.
45534         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45535         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45536         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45538 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45541         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45542         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45543         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45545         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45546         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45547         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45549 2013-03-07  Andreas Jaeger  <aj@suse.de>
45551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45552         bits/mman-linux.h.
45554 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45556         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45557         Include mpa.h and declare __MPEXP.
45558         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45559         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45560         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45561         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45562         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45563         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45564         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45566         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45567         (__slowpow): Use long double EXPL and LOGL functions to
45568         compute POW.
45569         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45570         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45571         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45572         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45573         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45574         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45577         intermediate variable to calculate exponent.
45578         (__sqr): Likewise.
45579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45580         Likewise.
45581         (__sqr): Likewise.
45583         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45584         [!NO__SQR]: Define __sqr.
45585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45586         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45587         sysdeps/ieee754/dbl-64/mpa.c.
45588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45590         [BZ #12723]
45591         * posix/Makefile (tests): Add tst-pathconf.
45592         * posix/tst-pathconf.c: New test case.
45593         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45594         _PC_PIPE_BUF.
45595         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45597 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45599         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45601 2013-03-06  Andreas Jaeger  <aj@suse.de>
45603         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45604         definition via __MAP_ANONYMOUS.
45606         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45607         it's not part of Linux headers.
45609         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45610         (MAP_HUGE_MASK): Define.
45612         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45613         Define.
45614         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45616         Define.
45617         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45618         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45619         Define.
45620         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45621         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45622         Define.
45623         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45625         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45626         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45627         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45628         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45629         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45630         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45632         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45633         Handle f2fs.
45635         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45636         Handle f2fs and efivarfs.
45638         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45639         f2fs.
45641         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45642         (EFIVARFS_MAGIC): Add.
45643         (F2FS_LINK_MAX): Add.
45645 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45647         * stdio-common/vfprintf.c: Replace __builtin_expect with
45648         __glibc_unlikely.
45650 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45652         [BZ #13550]
45653         * sysdeps/generic/bp-sym.h: Remove file.
45654         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45655         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45656         <bp-sym.h> and <bp-asm.h>.
45657         (__longjmp): Don't use BP_SYM.
45658         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45659         and <bp-asm.h>.
45660         (memcpy): Don't use BP_SYM.
45661         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45662         <bp-sym.h> and <bp-asm.h>.
45663         (memcpy): Don't use BP_SYM.
45664         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45665         <bp-asm.h>.
45666         (memcpy): Don't use BP_SYM.
45667         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45668         <bp-asm.h>.
45669         (memset): Don't use BP_SYM.
45670         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45671         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45672         (__bzero): Don't use BP_SYM.
45673         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45674         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45675         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45676         <bp-sym.h> and <bp-asm.h>.
45677         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45678         pointers.
45679         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45680         <bp-sym.h> and <bp-asm.h>.
45681         (memcpy): Don't use BP_SYM.
45682         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45683         <bp-sym.h> and <bp-asm.h>.
45684         (memset): Don't use BP_SYM.
45685         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45686         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45687         (__bzero): Don't use BP_SYM.
45688         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45689         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45690         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45691         <bp-sym.h> and <bp-asm.h>.
45692         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45693         pointers.
45694         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45695         <bp-sym.h> and <bp-asm.h>.
45696         (memcpy): Don't use BP_SYM.
45697         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45698         <bp-sym.h> and <bp-asm.h>.
45699         (memset): Don't use BP_SYM.
45700         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45701         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45702         (__bzero): Don't use BP_SYM.
45703         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45704         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45706         <bp-sym.h> and <bp-asm.h>.
45707         (__memchr): Don't use BP_SYM.
45708         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45709         <bp-sym.h> and <bp-asm.h>.
45710         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45711         pointers.
45712         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45713         <bp-sym.h> and <bp-asm.h>.
45714         (memcpy): Don't use BP_SYM.
45715         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45716         <bp-sym.h> and <bp-asm.h>.
45717         (__mempcpy): Don't use BP_SYM.
45718         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45719         <bp-sym.h> and <bp-asm.h>.
45720         (__memrchr): Don't use BP_SYM.
45721         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45722         <bp-sym.h> and <bp-asm.h>.
45723         (memset): Don't use BP_SYM.
45724         (__bzero): Likewise.
45725         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45726         <bp-sym.h> and <bp-asm.h>.
45727         (__rawmemchr): Don't use BP_SYM.
45728         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45729         <bp-sym.h> and <bp-asm.h>.
45730         (__STRCMP): Don't use BP_SYM.
45731         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45732         <bp-sym.h> and <bp-asm.h>.
45733         (strchr): Don't use BP_SYM.
45734         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45735         <bp-sym.h> and <bp-asm.h>.
45736         (__strchrnul): Don't use BP_SYM.
45737         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45738         <bp-sym.h> and <bp-asm.h>.
45739         (strlen): Don't use BP_SYM.
45740         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45741         <bp-sym.h> and <bp-asm.h>.
45742         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45743         pointers.
45744         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45745         <bp-sym.h> and <bp-asm.h>.
45746         (__strnlen): Don't use BP_SYM.
45747         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45748         <bp-sym.h> and <bp-asm.h>.
45749         (__GI__setjmp): Don't use BP_SYM.
45750         (_setjmp): Likewise.
45751         (__sigsetjmp): Likewise.
45752         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45753         (L(start_addresses)): Don't use BP_SYM.
45754         (_start): Likewise.
45755         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45756         <bp-asm.h>.
45757         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45758         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45759         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45760         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45761         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45762         <bp-asm.h>.
45763         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45764         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45765         about bounded pointers.
45766         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45767         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45768         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45769         <bp-asm.h>.
45770         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45771         about bounded pointers.  Remove GKM FIXME comments.
45772         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45773         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45774         <bp-asm.h>.
45775         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45776         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45777         Remove GKM FIXME comments.
45778         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45779         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45780         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45781         <bp-asm.h>.
45782         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45783         about bounded pointers.  Remove GKM FIXME comment.
45784         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45785         and <bp-asm.h>.
45786         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45787         pointers.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45789         <bp-sym.h> and <bp-asm.h>.
45790         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45792         <bp-sym.h> and <bp-asm.h>.
45793         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45794         comment.
45796 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45798         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45799         call free(NULL).
45801 2013-03-05  David S. Miller  <davem@davemloft.net>
45803         * po/es.po: Update from translation team.
45805 2013-03-05  Andreas Jaeger  <aj@suse.de>
45807         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45808         <bits/mman-linux.h>.
45809         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45810         is fine.
45811         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45812         <bits/mman-linux.h> to end of file.
45813         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45814         is fine.
45815         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45816         <bits/mman-linux.h> to end of file.
45817         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45818         is fine.
45819         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45820         <bits/mman-linux.h> to end of file.
45822         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45823         (MCL_CURRENT, MCL_FUTURE): Define here.
45825 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45827         [BZ #15232]
45828         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45829         attribute_hidden.
45830         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45832 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45834         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45835         fourth parameter needed for rt_sigprocmask syscall.
45836         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45837         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45838         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45839         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45840         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45841         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45843 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45845         [BZ #13550]
45846         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45847         comment about bounded pointers.
45848         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45849         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45851 2013-03-04  Andreas Jaeger  <aj@suse.de>
45853         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45854         common definitions.
45856         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45857         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45858         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45859         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45860         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45861         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45863 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45865         [BZ #15055]
45866         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45867         __ieee754_sqrl instead of __sqrl.
45869 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45871         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45872         * sysdeps/powerpc/fpu_control.h: ... here.
45873         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45874         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45875         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45876         * sysdeps/powerpc/bits/mathinline.h: ... here.
45878 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45880         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45881         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45882         to just [NEED_DL_SYSINFO_DSO].
45883         * elf/dl-support.c: Likewise.
45884         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45885         * elf/rtld.c (dl_main): Likewise.
45886         * elf/setup-vdso.h (setup_vdso): Likewise.
45887         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45888         * sysdeps/unix/sysv/linux/dl-sysdep.c
45889         (_dl_discover_osversion): Likewise.
45891 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45893         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45894         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45896 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45898         * NEWS: Mention libm performance improvements and non-x86 PI
45899         futex support.
45901         * csu/libc-start.c (__pthread_initialize_minimal): Change
45902         function arguments.
45903         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45905 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45907         [BZ #13550]
45908         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45909         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45910         <bp-sym.h> and <bp-asm.h>.
45911         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45912         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45913         and <bp-asm.h>.
45914         (memcpy): Don't use BP_SYM.
45915         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45916         <bp-asm.h>.
45917         (__mpn_add_n): Don't use BP_SYM.
45918         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45919         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45920         and <bp-asm.h>.
45921         (__mpn_addmul_1): Don't use BP_SYM.
45922         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45923         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45924         <bp-sym.h>.
45925         (_setjmp): Don't use BP_SYM.
45926         (__novmx_setjmp): Likewise.
45927         (__GI__setjmp): Likewise.
45928         (__vmx_setjmp): Likewise.
45929         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45930         <bp-sym.h>.
45931         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45932         (__bzero): Don't use BP_SYM.
45933         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45934         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45935         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45936         <bp-sym.h> and <bp-asm.h>.
45937         (memcpy): Don't use BP_SYM.
45938         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45939         <bp-sym.h> and <bp-asm.h>.
45940         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45941         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45942         <bp-sym.h> and <bp-asm.h>.
45943         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45944         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45945         <bp-asm.h>.
45946         (__mpn_lshift): Don't use BP_SYM.
45947         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45948         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45949         <bp-asm.h>.
45950         (memset): Don't use BP_SYM.
45951         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45952         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45953         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45954         <bp-asm.h>.
45955         (__mpn_mul_1): Don't use BP_SYM.
45956         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45957         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45958         <bp-sym.h> and <bp-asm.h>.
45959         (memcmp): Don't use BP_SYM.
45960         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45961         <bp-sym.h> and <bp-asm.h>.
45962         (memcpy): Don't use BP_SYM.
45963         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45964         <bp-sym.h> and <bp-asm.h>.
45965         (memset): Don't use BP_SYM.
45966         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45967         <bp-sym.h> and <bp-asm.h>.
45968         (strncmp): Don't use BP_SYM.
45969         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45970         <bp-sym.h> and <bp-asm.h>.
45971         (memcpy): Don't use BP_SYM.
45972         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45973         <bp-sym.h> and <bp-asm.h>.
45974         (memset): Don't use BP_SYM.
45975         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45976         <bp-sym.h> and <bp-asm.h>.
45977         (__memchr): Don't use BP_SYM.
45978         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45979         <bp-sym.h> and <bp-asm.h>.
45980         (memcmp): Don't use BP_SYM.
45981         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45982         <bp-sym.h> and <bp-asm.h>.
45983         (memcpy): Don't use BP_SYM.
45984         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45985         <bp-sym.h> and <bp-asm.h>.
45986         (__mempcpy): Don't use BP_SYM.
45987         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45988         <bp-sym.h> and <bp-asm.h>.
45989         (__memrchr): Don't use BP_SYM.
45990         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45991         <bp-sym.h> and <bp-asm.h>.
45992         (memset): Don't use BP_SYM.
45993         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45994         <bp-sym.h> and <bp-asm.h>.
45995         (__rawmemchr): Don't use BP_SYM.
45996         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45997         <bp-sym.h> and <bp-asm.h>.
45998         (__STRCMP): Don't use BP_SYM.
45999         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46000         <bp-sym.h> and <bp-asm.h>.
46001         (strchr): Don't use BP_SYM.
46002         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46003         <bp-sym.h> and <bp-asm.h>.
46004         (__strchrnul): Don't use BP_SYM.
46005         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46006         <bp-sym.h> and <bp-asm.h>.
46007         (strlen): Don't use BP_SYM.
46008         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46009         <bp-sym.h> and <bp-asm.h>.
46010         (strncmp): Don't use BP_SYM.
46011         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46012         <bp-sym.h> and <bp-asm.h>.
46013         (__strnlen): Don't use BP_SYM.
46014         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46015         <bp-asm.h>.
46016         (__mpn_rshift): Don't use BP_SYM.
46017         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46018         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46019         <bp-sym.h> and <bp-asm.h>.
46020         (__sigsetjmp): Don't use BP_SYM.
46021         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46022         (L(start_addresses)): Don't use BP_SYM.
46023         (_start): Likewise.
46024         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46025         <bp-asm.h>.
46026         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46027         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46028         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46029         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46030         <bp-asm.h>.
46031         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46032         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46033         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46034         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46035         <bp-asm.h>.
46036         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46037         comments.
46038         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46039         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46040         <bp-asm.h>.
46041         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46042         FIXME comments.
46043         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46044         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46045         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46046         <bp-asm.h>.
46047         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46048         comment.
46049         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46050         and <bp-asm.h>.
46051         (strncmp): Don't use BP_SYM,
46052         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46053         <bp-asm.h>.
46054         (__mpn_sub_n): Don't use BP_SYM.
46055         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46056         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46057         and <bp-asm.h>.
46058         (__mpn_submul_1): Don't use BP_SYM.
46059         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46061         <bp-sym.h> and <bp-asm.h>.
46062         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46064         <bp-sym.h> and <bp-asm.h>.
46065         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46066         comment.
46068 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46070         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46071         Use ZK to minimize writes to Z.
46072         (sub_magnitudes): Simplify code a bit.
46073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46074         Use ZK to minimize writes to Z.
46075         (sub_magnitudes): Simplify code a bit.
46077 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46079         * csu/gmon-start.c: Add special exception to license text.
46081 2013-02-27  Richard Henderson  <rth@redhat.com>
46083         * scripts/config.guess: Update from config.git.
46084         * scripts/config.sub: Likewise.
46086 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46088         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46090         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46092         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46094         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46096         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46098 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46100         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46101         [$(build-shared = yes].
46103 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46105         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46106         (__mul): Reduce iterations for calculating mantissa.
46108         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46109         MPTWO.
46110         (__mpranred): Likewise.
46112         [BZ #15160]
46113         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46114         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46116 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46118         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46119         Define __attribute__.
46121 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46123         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46124         unused.
46125         * posix/regex_internal.h (__attribute): Remove.
46126         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46127         (re_string_context_at): Likewise.
46128         (bitset_not): Use __attribute__ and mark function as possibly
46129         unused.
46130         (bitset_merge): Likewise.
46131         (bitset_mask): Likewise.
46132         (re_string_char_size_at): Likewise.
46133         (re_string_wchar_at): Likewise.
46134         (re_string_elem_size_at): Likewise.
46136 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46138         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46139         code.
46140         (cc32): Likewise.
46142         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46143         (__acr): Likewise.
46144         (__cpy): Likewise.
46145         (norm): Likewise.
46146         (denorm): Likewise.
46147         (__dbl_mp): Likewise.
46148         (add_magnitudes): Likewise.
46149         (sub_magnitudes): Likewise.
46150         (__mul): Likewise.
46151         (__inv): Likewise.
46153         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46154         style.
46156         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46157         style.
46159         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46160         code.
46162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46163         up changes with default code.
46164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46165         Likewise.
46167 2013-02-24  Allan McRae  <allan@archlinux.org>
46169         * manual/socket.texi (The Internet Namespace): Order menu items
46170         to match that in the file.
46172         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46173         node listing of the info page menu.
46175 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46177         [BZ #13550]
46178         * sysdeps/i386/bp-asm.h: Remove file.
46179         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46180         (PARMS): Do not use macros from bp-asm.h.
46181         (S1): Likewise.
46182         (S2): Likewise.
46183         (SIZE): Likewise.
46184         (__mpn_add_n): Do not use BP_SYM
46185         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46186         "bp-asm.h".
46187         (PARMS): Do not use macros from bp-asm.h.
46188         (S1): Likewise.
46189         (SIZE): Likewise.
46190         (__mpn_addmul_1): Do not use BP_SYM
46191         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46192         "bp-asm.h".
46193         (PARMS): Do not use macros from bp-asm.h.
46194         (SIGMSK): Likewise.
46195         (_setjmp): Likewise.  Do not use BP_SYM.
46196         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46197         "bp-asm.h".
46198         (PARMS): Do not use macros from bp-asm.h.
46199         (SIGMSK): Likewise.
46200         (setjmp): Likewise.  Do not use BP_SYM.
46201         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46202         "bp-asm.h".
46203         (PARMS): Do not use macros from bp-asm.h.
46204         (__frexp): Do not use BP_SYM.
46205         (frexp): Likewise.
46206         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46207         "bp-asm.h".
46208         (PARMS): Do not use macros from bp-asm.h.
46209         (__frexpf): Do not use BP_SYM.
46210         (frexpf): Likewise.
46211         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46212         "bp-asm.h".
46213         (PARMS): Do not use macros from bp-asm.h.
46214         (__frexpl): Do not use BP_SYM.
46215         (frexpl): Likewise.
46216         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46217         "bp-asm.h".
46218         (PARMS): Do not use macros from bp-asm.h.
46219         (__remquo): Do not use BP_SYM.
46220         (remquo): Likewise.
46221         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46222         "bp-asm.h".
46223         (PARMS): Do not use macros from bp-asm.h.
46224         (__remquof): Do not use BP_SYM.
46225         (remquof): Likewise.
46226         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46227         "bp-asm.h".
46228         (PARMS): Do not use macros from bp-asm.h.
46229         (__remquol): Do not use BP_SYM.
46230         (remquol): Likewise.
46231         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46232         "bp-asm.h".
46233         (PARMS): Do not use macros from bp-asm.h.
46234         (DEST): Likewise.
46235         (SRC): Likewise.
46236         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
46237         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46238         "bp-asm.h".
46239         (PARMS): Do not use macros from bp-asm.h.
46240         (strlen): Do not use BP_SYM.
46241         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46242         "bp-asm.h".
46243         (PARMS): Do not use macros from bp-asm.h.
46244         (S1): Likewise.
46245         (S2): Likewise.
46246         (SIZE): Likewise.
46247         (__mpn_add_n): Do not use BP_SYM.
46248         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46249         "bp-asm.h".
46250         (PARMS): Do not use macros from bp-asm.h.
46251         (S1): Likewise.
46252         (SIZE): Likewise.
46253         (__mpn_addmul_1): Do not use BP_SYM.
46254         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46255         weak_alias.
46256         (bzero): Likewise.
46257         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46258         "bp-asm.h".
46259         (PARMS): Do not use macros from bp-asm.h.
46260         (S): Likewise.
46261         (SIZE): Likewise.
46262         (__mpn_lshift): Do not use BP_SYM.
46263         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46264         "bp-asm.h".
46265         (PARMS): Do not use macros from bp-asm.h.
46266         (DEST): Likewise.
46267         (SRC): Likewise.
46268         (LEN): Likewise.
46269         (memcpy): Likewise.  Do not use BP_SYM.
46270         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46271         libc_hidden_def and weak_alias.
46272         (mempcpy): Do not use BP_SYM in weak_alias.
46273         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46274         "bp-asm.h".
46275         (PARMS): Do not use macros from bp-asm.h.
46276         (DEST): Likewise.
46277         (LEN): Likewise.
46278         [!BZERO_P] (CHR): Likewise.
46279         (memset): Likewise.  Do not use BP_SYM.
46280         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46281         "bp-asm.h".
46282         (PARMS): Do not use macros from bp-asm.h.
46283         (S1): Likewise.
46284         (SIZE): Likewise.
46285         (__mpn_mul_1): Do not use BP_SYM.
46286         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46287         "bp-asm.h".
46288         (PARMS): Do not use macros from bp-asm.h.
46289         (S): Likewise.
46290         (SIZE): Likewise.
46291         (__mpn_rshift): Do not use BP_SYM.
46292         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46293         "bp-asm.h".
46294         (PARMS): Do not use macros from bp-asm.h.
46295         (STR): Likewise.
46296         (CHR): Likewise.
46297         (strchr): Likewise.  Do not use BP_SYM.
46298         (index): Do not use BP_SYM in weak_alias.
46299         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46300         "bp-asm.h".
46301         (PARMS): Do not use macros from bp-asm.h.
46302         (DEST): Likewise.
46303         (SRC): Likewise.
46304         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
46305         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46306         "bp-asm.h".
46307         (PARMS): Do not use macros from bp-asm.h.
46308         (strlen): Do not use BP_SYM.
46309         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46310         "bp-asm.h".
46311         (PARMS): Do not use macros from bp-asm.h.
46312         (S1): Likewise.
46313         (S2): Likewise.
46314         (SIZE): Likewise.
46315         (__mpn_sub_n): Do not use BP_SYM.
46316         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46317         "bp-asm.h".
46318         (PARMS): Do not use macros from bp-asm.h.
46319         (S1): Likewise.
46320         (SIZE): Likewise.
46321         (__mpn_submul_1): Do not use BP_SYM.
46322         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46323         "bp-asm.h".
46324         (PARMS): Do not use macros from bp-asm.h.
46325         (S1): Likewise.
46326         (S2): Likewise.
46327         (SIZE): Likewise.
46328         (__mpn_add_n): Do not use BP_SYM.
46329         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46330         weak_alias.
46331         (bzero): Likewise.
46332         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46333         "bp-asm.h".
46334         (PARMS): Do not use macros from bp-asm.h.
46335         (BLK2): Likewise.
46336         (LEN): Likewise.
46337         (memcmp): Do not use BP_SYM.
46338         (bcmp): Do not use BP_SYM in weak_alias.
46339         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46340         "bp-asm.h".
46341         (PARMS): Do not use macros from bp-asm.h.
46342         (DEST): Likewise.
46343         (SRC): Likewise.
46344         (LEN): Likewise.
46345         (memcpy): Likewise.  Do not use BP_SYM.
46346         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46347         "bp-asm.h".
46348         (PARMS): Do not use macros from bp-asm.h.
46349         (DEST): Likewise.
46350         (SRC): Likewise.
46351         (LEN): Likewise.
46352         (memmove): Likewise.  Do not use BP_SYM.
46353         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46354         "bp-asm.h".
46355         (PARMS): Do not use macros from bp-asm.h.
46356         (DEST): Likewise.
46357         (SRC): Likewise.
46358         (LEN): Likewise.
46359         (__mempcpy): Likewise.  Do not use BP_SYM.
46360         (mempcpy): Do not use BP_SYM in weak_alias.
46361         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46362         "bp-asm.h".
46363         (PARMS): Do not use macros from bp-asm.h.
46364         (DEST): Likewise.
46365         (LEN): Likewise.
46366         [!BZERO_P] (CHR): Likewise.
46367         (memset): Likewise.  Do not use BP_SYM.
46368         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46369         "bp-asm.h".
46370         (PARMS): Do not use macros from bp-asm.h.
46371         (STR2): Likewise.
46372         (strcmp): Do not use BP_SYM.
46373         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46374         "bp-asm.h".
46375         (PARMS): Do not use macros from bp-asm.h.
46376         (STR): Likewise.
46377         (DELIM): Likewise.
46378         [USE_AS_STRTOK_R] (SAVE): Likewise.
46379         (FUNCTION): Likewise.  Do not use BP_SYM.
46380         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46381         aliases.
46382         (strtok_r): Likewise.
46383         (__GI___strtok_r): Likewise.
46384         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46385         (PARMS): Do not use macros from bp-asm.h.
46386         (S): Likewise.
46387         (SIZE): Likewise.
46388         (__mpn_lshift): Do not use BP_SYM.
46389         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46390         (PARMS): Do not use macros from bp-asm.h.
46391         (STR): Likewise.
46392         (CHR): Likewise.
46393         (__memchr): Do not use BP_SYM.
46394         (memchr): Do not use BP_SYM in weak_alias.
46395         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46396         (PARMS): Do not use macros from bp-asm.h.
46397         (BLK2): Likewise.
46398         (LEN): Likewise.
46399         (memcmp): Do not use BP_SYM.
46400         (bcmp): Do not use BP_SYM in weak_alias.
46401         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46402         (PARMS): Do not use macros from bp-asm.h.
46403         (S1): Likewise.
46404         (SIZE): Likewise.
46405         (__mpn_mul_1): Do not use BP_SYM.
46406         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46407         "bp-asm.h".
46408         (PARMS): Do not use macros from bp-asm.h.
46409         (STR): Likewise.
46410         (CHR): Likewise.
46411         (__rawmemchr): Do not use BP_SYM.
46412         (rawmemchr): Do not use BP_SYM in weak_alias.
46413         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46414         (PARMS): Do not use macros from bp-asm.h.
46415         (S): Likewise.
46416         (SIZE): Likewise.
46417         (__mpn_rshift): Do not use BP_SYM.
46418         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46419         (PARMS): Do not use macros from bp-asm.h.
46420         (SIGMSK): Likewise.
46421         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46422         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46423         (_start): Do not use BP_SYM.
46424         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46425         (PARMS): Do not use macros from bp-asm.h.
46426         (DEST): Likewise.
46427         (SRC): Likewise.
46428         (__stpcpy): Likewise.  Do not use BP_SYM.
46429         (stpcpy): Do not use BP_SYM in weak_alias.
46430         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46431         "bp-asm.h".
46432         (PARMS): Do not use macros from bp-asm.h.
46433         (DEST): Likewise.
46434         (SRC): Likewise.
46435         (LEN): Likewise.
46436         (__stpncpy): Likewise.  Do not use BP_SYM.
46437         (stpncpy): Do not use BP_SYM in weak_alias.
46438         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46439         (PARMS): Do not use macros from bp-asm.h.
46440         (STR): Likewise.
46441         (CHR): Likewise.
46442         (strchr): Likewise.  Do not use BP_SYM.
46443         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46444         "bp-asm.h".
46445         (PARMS): Do not use macros from bp-asm.h.
46446         (STR): Likewise.
46447         (CHR): Likewise.
46448         (__strchrnul): Likewise.  Do not use BP_SYM.
46449         (strchrnul): Do not use BP_SYM in weak_alias.
46450         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46451         "bp-asm.h".
46452         (PARMS): Do not use macros from bp-asm.h.
46453         (STOP): Likewise.
46454         (strcspn): Do not use BP_SYM.
46455         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46456         "bp-asm.h".
46457         (PARMS): Do not use macros from bp-asm.h.
46458         (STR): Likewise.
46459         (STOP): Likewise.
46460         (strpbrk): Likewise.  Do not use BP_SYM.
46461         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46462         "bp-asm.h".
46463         (PARMS): Do not use macros from bp-asm.h.
46464         (STR): Likewise.
46465         (CHR): Likewise.
46466         (strrchr): Likewise.  Do not use BP_SYM.
46467         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46468         (PARMS): Do not use macros from bp-asm.h.
46469         (SKIP): Likewise.
46470         (strspn): Do not use BP_SYM.
46471         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46472         (PARMS): Do not use macros from bp-asm.h.
46473         (STR): Likewise.
46474         (DELIM): Likewise.
46475         (SAVE): Likewise.
46476         (FUNCTION): Likewise.  Do not use BP_SYM.
46477         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46478         aliases.
46479         (strtok_r): Likewise.
46480         (__GI___strtok_r): Likewise.
46481         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46482         (PARMS): Do not use macros from bp-asm.h.
46483         (S1): Likewise.
46484         (S2): Likewise.
46485         (SIZE): Likewise.
46486         (__mpn_sub_n): Do not use BP_SYM.
46487         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46488         "bp-asm.h".
46489         (PARMS): Do not use macros from bp-asm.h.
46490         (S1): Likewise.
46491         (SIZE): Likewise.
46492         (__mpn_submul_1): Do not use BP_SYM.
46493         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46494         <bp-sym.h>.
46495         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46496         and <bp-asm.h>.
46497         (PARMS): Do not use macros from bp-asm.h.
46498         (FLAGS): Likewise.
46499         (PTID): Likewise.
46500         (TLS): Likewise.
46501         (CTID): Likewise.
46502         (__clone): Do not use BP_SYM.
46503         (clone): Do not use BP_SYM in weak_alias.
46504         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46505         and <bp-asm.h>.
46506         (PARMS): Do not use macros from bp-asm.h.
46507         (LEN): Likewise.
46508         (__mmap64): Do not use BP_SYM.
46509         (mmap64): Do not use BP_SYM in weak_alias.
46510         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46511         <bp-sym.h> and <bp-asm.h>.
46512         (PARMS): Do not use macros from bp-asm.h.
46513         (__posix_fadvise64_l64): Do not use BP_SYM.
46514         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46515         (PARMS): Do not use macros from bp-asm.h.
46516         (NSOPS): Likewise.
46517         (semtimedop): Do not use BP_SYM.
46518         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46519         and <bp-asm.h>.
46521 2013-02-21  Allan McRae  <allan@archlinux.org>
46523         * manual/message.texi (Charset conversion in gettext):
46524         Move @end statement to beginning of line.
46526 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46529         static.
46530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46531         Likewise.
46533         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46534         (denorm): Likewise.
46535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46536         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46538 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46540         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46541         tail-call to the resolved function if pltexit isn't needed.
46543 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46546         or Y being zero as being unlikely.
46547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46548         Likewise.
46550 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46552         * manual/nss.texi (System Databases and Name Service Switch):
46553         Remove frobnicate @pxref.
46555 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46557         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46558         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46560 2013-02-20  Petr Machata  <pmachata@redhat.com>
46562         * elf/elf.h (R_ARM_TARGET1): New macro.
46563         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46564         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46565         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46566         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46567         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46568         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46569         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46570         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46571         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46572         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46573         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46574         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46575         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46576         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46577         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46578         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46579         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46580         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46581         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46582         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46583         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46584         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46585         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46586         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46587         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46588         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46589         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46590         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46591         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46592         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46593         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46594         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46595         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46596         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46597         (R_ARM_THM_GOT_BREL12): Likewise.
46598         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46599         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46600         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46601         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46602         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46603         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46604         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46605         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46606         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46608 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46610         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46611         __attribute_used__ to __attribute__ ((unused)).
46613 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46615         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46616         powerpc mpa.c.
46617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46618         comment formatting.
46619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46621 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46623         [BZ #13550]
46624         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46625         Remove macro.
46626         (ENTER): Remove both macro definitions.
46627         (LEAVE): Likewise.
46628         (CHECK_BOUNDS_LOW): Likewise.
46629         (CHECK_BOUNDS_HIGH): Likewise.
46630         (CHECK_BOUNDS_BOTH): Likewise.
46631         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46632         (RETURN_BOUNDED_POINTER): Likewise.
46633         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46634         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46635         (POP_ERRNO_LOCATION_RETURN): Likewise.
46636         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46637         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46638         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46639         macros.
46640         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46641         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46642         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46643         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46644         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46645         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46646         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46647         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46648         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46649         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46650         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46651         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46652         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46653         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46654         removed macros.
46655         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46656         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46657         macros.
46658         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46659         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46660         * sysdeps/i386/i586/memset.S (memset): Likewise.
46661         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46662         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46663         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46664         macros.
46665         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46666         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46667         Change uses of L(2) to L(out).
46668         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46669         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46670         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46671         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46672         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46673         removed macros.
46674         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46675         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46676         macros.
46677         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46678         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46679         (RETURN): Do not use macro LEAVE.
46680         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46681         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46682         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46683         * sysdeps/i386/i686/memset.S (memset): Likewise.
46684         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46685         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46686         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46687         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46688         Likewise.
46689         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46690         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46691         L(1_2) and L(1_3) into L(1).
46692         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46693         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46694         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46695         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46696         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46697         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46698         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46699         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46700         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46701         macros.
46702         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46703         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46704         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46705         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46706         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46707         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46708         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46709         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46710         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46711         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46712         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46713         * sysdeps/i386/strspn.S (strspn): Likewise.
46714         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46715         conditional code.
46716         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46717         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46718         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46719         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46720         L(1_3) into L(1_1).
46721         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46722         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46723         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46724         macros.
46725         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46727 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46729         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46730         macro.
46732 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46734         * math/atest-exp.c (exp_mpn): Remove ROUND.
46735         * math/atest-exp2.c (exp_mpn): Likewise.
46736         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46738         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46739         * stdlib/tst-tls-atexit-lib.c: Likewise.
46740         * stdlib/tst-tls-atexit.c: Likewise.
46742 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46744         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46745         and __attribute_alloc_size__.
46747 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46749         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46750         __attribute_alloc_size__.
46751         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46752         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46754 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46756         * include/programs/xmalloc.h: New file.
46757         * catgets/gencat.c: Include it.
46758         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46759         * elf/pldd.c: Likewise.
46760         * iconv/iconv_charmap.c: Likewise.
46761         * iconv/iconvconfig.c: Likewise.
46762         * iconv/strtab.c: Likewise.
46763         * locale/programs/locale.c: Likewise.
46764         * locale/programs/localedef.h: Likewise.
46765         * locale/programs/simple-hash.c: Likewise.
46766         * nscd/nscd.h: Likewise.
46767         * nss/makedb.c: Likewise.
46768         * sysdeps/generic/ldconfig.h: Likewise.
46770 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46772         * Versions.def: Add GLIBC_2.18.
46773         * include/link.h (struct link_map): New member l_tls_dtor_count.
46774         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46775         (__call_tls_dtors): Likewise.
46776         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46777         __cxa_thread_atexit_impl.
46778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46779         Likewise.
46780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46781         Likewise.
46782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46783         Likewise.
46784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46785         Likewise.
46786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46788         Likewise.
46789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46790         Likewise.
46791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46793         Likewise.
46794         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46795         (tests): Add test case tst-tls-atexit.
46796         (modules-names): Add shared library for tst-tls-atexit.
46797         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46798         (GLIBC_PRIVATE): Add __call_tls_dtors.
46799         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46800         for libstdc++.
46801         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46802         * stdlib/tst-tls-atexit.c: New test case.
46803         * stdlib/tst-tls-atexit-lib.c: New test case.
46805         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46807         * elf/Versions (ld): Add _dl_find_dso_for_object.
46808         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46809         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46810         (dl_open_worker): Use _dl_find_dso_for_object.
46811         * elf/dl-sym.c (do_sym): Likewise.
46812         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46814 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46816         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46817         Syntactic changes only.
46818         (_dl_runtime_profile): Do a tail-call to the resolved function.
46820 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46822         [BZ #13550]
46823         * sysdeps/x86_64/bp-asm.h: Remove file.
46824         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46825         <bp-sym.h> and <bp-asm.h>.
46826         (__clone): Do not use BP_SYM.
46827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46828         <bp-sym.h> and <bp-asm.h>.
46829         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46830         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46831         "bp-asm.h".
46832         (_setjmp): Do not use BP_SYM.
46833         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46834         "bp-asm.h".
46835         (setjmp): Do not use BP_SYM.
46836         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46837         libc_hidden_def.
46838         (mempcpy): Do not use BP_SYM in weak_alias.
46839         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46840         "bp-asm.h".
46841         (strchr): Do not use BP_SYM.
46842         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46843         "bp-asm.h".
46844         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46845         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46846         (_start): Do not use BP_SYM.
46847         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46848         "bp-asm.h".
46849         (strcat): Do not use BP_SYM.
46850         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46851         "bp-asm.h".
46852         (STRCMP): Do not use BP_SYM.
46853         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46854         "bp-asm.h".
46855         (STRCPY): Do not use BP_SYM.
46856         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46857         "bp-asm.h".
46858         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46859         "bp-asm.h".
46860         (FUNCTION): Do not use BP_SYM.
46861         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46862         weak_alias.
46863         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46865 2013-02-17  Andreas Jaeger  <aj@suse.de>
46867         * time/Versions: Sort entries.
46868         * string/Versions: Likewise.
46869         * resolv/Versions: Likewise.
46870         * posix/Versions: Likewise.
46871         * iconv/Versions: Likewise.
46872         * elf/Versions: Likewise.
46873         * wcsmbs/Versions: Likewise.
46875 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46877         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46878         loop termination condition.
46880         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46881         variable to calculate EZ.
46882         (__sqr): Likewise.
46884         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46885         the lower precision input.
46887 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46889         [BZ #13550]
46890         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46891         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46892         (run-via-rtld-prefix): Do not handle %-bp tests.
46893         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46894         (all-object-suffixes): Remove .ob.
46895         (bppfx): Remove variable.
46896         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46897         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46898         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46899         [$(build-bounded) = yes] (libtype.ob): Likewise.
46900         * Makerules (elide-routines.ob): Remove variable.
46901         (do-tests-clean): Do not handle *-bp.out.
46902         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46903         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46904         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46905         (tests): Do not include $(tests-bp.out).
46906         (xtests): Do not include $(xtests-bp.out).
46907         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46908         [$(build-bounded) = yes] ($(addprefix
46909         $(objpfx),$(binaries-bounded))): Remove rule.
46910         ($(objpfx)%-bp.out): Remove rule.
46911         * config.make.in (build-bounded): Remove variable.
46912         * crypt/Makefile [$(build-bounded) = yes]
46913         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46914         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46915         append to variable.
46916         [$(build-bounded) = yes] (install-lib): Likewise.
46917         [$(build-bounded) = yes] (generated): Likewise.
46918         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46919         Remove rule.
46920         * intl/Makefile [$(build-bounded) = yes]
46921         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46922         * math/Makefile [$(build-bounded) = yes]
46923         ($(tests:%=$(objpfx)%-bp): Likewise.
46924         * misc/Makefile [$(build-bounded) = yes]
46925         ($(objpfx)tst-tsearch-bp): Likewise.
46926         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46927         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46928         Remove dependency.
46929         * string/Makefile (o-objects.ob): Remove variable.
46930         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46931         (CFLAGS-.ob): Remove variable.
46932         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46933         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46934         both definitions of variable.
46935         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46936         (ASFLAGS-.ob): Remove variable.
46938 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46940         [BZ #13550]
46941         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46942         Remove __BOUNDED_POINTERS__ from condition.
46943         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46944         * string/bits/string2.h [!__NO_STRING_INLINES &&
46945         !__BOUNDED_POINTERS__]: Likewise.
46946         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46947         Likewise.
46948         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46949         Remove conditional code.
46950         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46951         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46952         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46953         condition.
46955         [BZ #13550]
46956         * csu/libc-start.c: Do not include <bp-sym.h>.
46957         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46958         * elf/dl-open.c: Do not include <bp-sym.h>.
46959         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46960         * math/fegetenv.c: Do not include <bp-sym.h>.
46961         (fegetenv): Do not use BP_SYM in versioned symbols.
46962         * nptl/sysdeps/pthread/bits/libc-lockP.h
46963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46964         <bp-sym.h>.
46965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46966         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46968         (__pthread_mutex_destroy): Likewise.
46969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46970         (__pthread_mutex_lock): Likewise.
46971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46972         (__pthread_mutex_trylock): Likewise.
46973         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46974         (__pthread_mutex_unlock): Likewise.
46975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46976         (__pthread_mutexattr_init): Likewise.
46977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46978         (__pthread_mutexattr_destroy): Likewise.
46979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46980         (__pthread_mutexattr_settype): Likewise.
46981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46982         (__pthread_rwlock_init): Likewise.
46983         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46984         (__pthread_rwlock_destroy): Likewise.
46985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46986         (__pthread_rwlock_rdlock): Likewise.
46987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46988         (__pthread_rwlock_tryrdlock): Likewise.
46989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46990         (__pthread_rwlock_wrlock): Likewise.
46991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46992         (__pthread_rwlock_trywrlock): Likewise.
46993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46994         (__pthread_rwlock_unlock): Likewise.
46995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46996         (__pthread_key_create): Likewise.
46997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46998         (__pthread_setspecific): Likewise.
46999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47000         (__pthread_getspecific): Likewise.
47001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47002         Likewise.
47003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47004         (_pthread_cleanup_push_defer): Likewise.
47005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47006         (_pthread_cleanup_pop_restore): Likewise.
47007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47008         (pthread_setcancelstate): Likewise.
47009         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47010         <bp-sym.h>.
47011         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47012         (memchr): Do not use BP_SYM in weak_alias.
47013         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47014         (fegetenv): Do not use BP_SYM in versioned symbols.
47015         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47016         (fesetenv): Do not use BP_SYM in versioned symbols.
47017         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47018         (feupdateenv): Do not use BP_SYM in versioned symbols.
47019         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47020         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47021         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47022         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47023         (open64): Do not use BP_SYM in weak_alias.
47024         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47025         (fegetenv): Do not use BP_SYM in versioned symbols.
47026         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47027         (fesetenv): Do not use BP_SYM in versioned symbols.
47028         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47029         (feupdateenv): Do not use BP_SYM in versioned symbols.
47030         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47031         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47032         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47033         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47034         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47035         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47036         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47037         <bp-sym.h>.
47038         (__libc_start_main): Do not use BP_SYM.
47040 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47043         redundant return line.
47044         (norm): Likewise.
47045         (denorm): Likewise.
47046         (dbl_mp): Likewise.
47047         (sub_magnitudes): Likewise.
47048         (__add): Likewise.
47049         (__sub): Likewise.
47050         (__mul): Likewise.
47051         (__inv): Likewise.
47052         (__dvd): Likewise.
47053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47054         (norm): Likewise.
47055         (denorm): Likewise.
47056         (dbl_mp): Likewise.
47057         (sub_magnitudes): Likewise.
47058         (__add): Likewise.
47059         (__sub): Likewise.
47060         (__mul): Likewise.
47061         (__inv): Likewise.
47062         (__dvd): Likewise.
47064         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47065         instead of __mul.
47066         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47067         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47068         (cc32): Likewise.
47070         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47071         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47072         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47073         of __mul for squares.
47074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47075         function
47076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47077         Likewise.
47078         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47079         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47081 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47083         [BZ #13550]
47084         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47085         code.
47086         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47087         prototype or function definition.  Rename ubp_* variables and
47088         parameters.  Remove argv definitions conditional on
47089         [__BOUNDED_POINTERS__].
47090         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47091         * elf/dl-runtime.c (_dl_fixup): Likewise.
47092         * include/set-hooks.h (RUN_HOOK): Likewise.
47093         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47094         definition.
47095         * string/strcpy.c (strcpy): Do not use __unbounded.
47096         * sysdeps/generic/frame.h (struct layout): Likewise.
47097         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47098         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47099         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47100         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47101         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47102         (__backtrace): Likewise.
47103         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47104         use __ptrvalue.
47105         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47106         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47107         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47108         Likewise.
47109         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47110         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47111         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47112         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47113         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47114         Do not use __unbounded.
47115         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47116         Rename __unboundedrlimits parameter to rlimits in prototype.
47117         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47118         Do not use __unbounded.
47119         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47120         not use __ptrvalue.
47121         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47122         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47123         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47124         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47125         __ptrvalue or __unbounded.
47126         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47127         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47128         use __unbounded.
47129         (__new_msgctl): Do not use __ptrvalue.
47130         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47131         __unbounded.
47132         (__libc_msgrcv): Do not use __ptrvalue.
47133         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47134         startup_info): Do not use __unbounded.
47135         (__libc_start_main): Likewise.  Rename ubp_* variables and
47136         parameters.  Remove argv definitions conditional on
47137         [__BOUNDED_POINTERS__].
47138         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47139         __ptrvalue.
47140         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47141         use __unbounded.
47142         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47143         or __ptrvalue.
47144         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47145         use __unbounded.
47146         (__new_shmctl): Do not use __ptrvalue.
47147         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47148         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47149         Likewise.
47150         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47151         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47152         (__libc_sigaction): Likewise.
47153         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47154         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47155         Likewise.
47156         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47158 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47160         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47162         * string/mempcpy.c: Implement by calling memcpy.
47164 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47166         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47169         evaluation.
47171         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47172         values in the mantissa.
47174         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47175         minimize writes to Z.
47176         (sub_magnitudes): Simplify code a bit.
47178 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47180         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47181         from the message.  The linker prefixes all warnings with that already.
47183 2013-02-12  Andreas Schwab  <schwab@suse.de>
47185         [BZ #15078]
47186         * posix/regexec.c (extend_buffers): Add parameter min_len.
47187         (check_matching): Pass minimum needed length.
47188         (clean_state_log_if_needed): Likewise.
47189         (get_subexp): Likewise.
47190         * posix/Makefile (tests): Add bug-regex34.
47191         (bug-regex34-ENV): Define.
47192         * posix/bug-regex34.c: New file.
47194         [BZ #11561]
47195         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47196         elements compare against the byte sequence of it, not its name.
47197         * posix/Makefile (tests): Add bug-regex35.
47198         (bug-regex35-ENV): Define.
47199         * posix/bug-regex35.c: New file.
47201 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47203         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47204         comment.
47205         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47206         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47207         (CHECK_EOL): Add undef.
47209 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47211         * bits/stdlib-bsearch.h: New file.
47212         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47213         * stdlib/stdlib.h: Likewise.
47215 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47217         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47218         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47219         declaration.
47220         * manual/search.texi (Array Search Function): Add missing const in
47221         lfind prototype.
47222         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47223         declaration to use rlim_t.
47224         (Basic Scheduling Functions): Remove erroneous const from
47225         sched_getparam prototype.  Remove erroneous * from
47226         sched_get_priority_max and sched_get_priority_min prototypes.
47227         (Resource Usage): Fix summary @comment on vtimes to refer to
47228         sys/vtimes.h rather than vtimes.h.
47229         Add missing *s in vtimes prototype.
47230         (Limits on Resources): Fix ulimit prototype to return long int.
47231         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47232         prototypes to use long int rather than double.
47233         (BSD Random): Fix initstate and setstate to use char *, not void *.
47234         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47235         prototype to make second argument 'struct aiocb64 *const[]'.
47236         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47237         (Status of AIO Operations): Remove erroneous const in aio_return and
47238         aio_return64 prototypes.
47239         (Synchronizing I/O): Fix sync prototype to return void.
47240         * manual/startup.texi (Suboptions): Remove an erroneous const in
47241         getsubopt prototype.
47242         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47243         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47244         use size_t rather than int.
47245         (Scanning All Users): Likewise for getpwent_r.
47246         (Setting Groups): Add missing const to setgroups prototype.
47247         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47248         * manual/socket.texi (Host Names): Fix gethostbyaddr and
47249         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47250         'const void *' rather than 'const char *'.
47251         (Host Address Functions): Likewise for inet_ntop.
47252         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47253         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47254         ssize_t for return value.
47255         (Sending Data): Likewise for send, sendto, sendmsg.
47256         (Socket Option Functions): Add a missing const in setsockopt prototype.
47257         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47258         use wchar_t for the argument.
47259         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47260         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47261         take no arguments.
47262         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47263         double/float/long double for second argument.
47264         Fix return types of significand, significandf, significandl.
47265         * manual/filesys.texi (Setting Permissions): Use mode_t for second
47266         argument in fchmod prototype.
47267         (File Owner): Use uid_t and gid_t in fchown prototype.
47268         (File Times): Add const to utimes, futimes, and lutimes prototypes.
47269         (Making Special Files): Use mode_t and dev_t in mknod prototype.
47270         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47271         use 'const struct dirent **' as argument types to CMP function pointer
47272         argument.
47273         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47274         (File Times): Fix summary magic @comment for struct utimbuf and utime
47275         to refer to utime.h, not time.h.
47276         * manual/string.texi (Argz Functions): Add missing const in
47277         argz_extract and argz_next prototypes.
47278         (Finding Tokens in a String): Likewise for basename.
47279         (String/Array Comparison): Fix typo in wcscasecmp prototype.
47280         (Copying and Concatenation): Fix typo in wmemmove prototype.
47281         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47282         (Signal Stack): Remove erroneous const in sigstack prototype.
47283         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47284         prototype.
47285         (Simple Calendar Time): Likewise for stime.
47286         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47287         prototype.
47288         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47289         say sys/sysctl.h instead.
47290         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47291         and vsyslog prototypes.
47293 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47295         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47296         Remove.
47298 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47300         * misc/sys/mman.h: Fix typo in mremap comment.
47302 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47304         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47305         the '\0' terminator.
47307 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47309         [BZ #13550]
47310         * debug/segfault.c: Don't include <bp-checks.h>.
47311         * sysdeps/generic/bp-checks.h: Remove file.
47312         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47313         (__GETDENTS): Don't use CHECK_N.
47314         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47315         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47316         (__getgroups): Don't use CHECK_N.
47317         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47318         (setgroups): Don't use CHECK_N.
47319         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47320         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47321         (__libc_msgrcv): Don't use CHECK_N.
47322         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47323         (__libc_msgsnd): Don't use CHECK_N.
47324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47325         <bp-checks.h>.
47326         (__libc_pread): Don't use CHECK_N.
47327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47328         include <bp-checks.h>.
47329         (__libc_pread64): Don't use CHECK_N.
47330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47331         include <bp-checks.h>.
47332         (__libc_pwrite): Don't use CHECK_N.
47333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47334         include <bp-checks.h>.
47335         (__libc_pwrite64): Don't use CHECK_N.
47336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47337         <bp-checks.h>.
47338         (__libc_pread): Don't use CHECK_N.
47339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47340         include <bp-checks.h>.
47341         (__libc_pread64): Don't use CHECK_N.
47342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47343         include <bp-checks.h>.
47344         (__libc_pwrite): Don't use CHECK_N.
47345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47346         include <bp-checks.h>.
47347         (__libc_pwrite64): Don't use CHECK_N.
47348         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47349         (do_pread): Don't use CHECK_N.
47350         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47351         (do_pread64): Don't use CHECK_N.
47352         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47353         (do_pwrite): Don't use CHECK_N.
47354         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47355         (do_pwrite64): Don't use CHECK_N.
47356         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47357         (__libc_readv): Don't use CHECK_N.
47358         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47359         (semop): Don't use CHECK_N.
47360         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47361         <bp-checks.h>.
47362         (semtimedop): Don't use CHECK_N.
47363         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47364         (__libc_pread): Don't use CHECK_N.
47365         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47366         <bp-checks.h>.
47367         (__libc_pread64): Don't use CHECK_N.
47368         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47369         <bp-checks.h>.
47370         (__libc_pwrite): Don't use CHECK_N.
47371         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47372         <bp-checks.h>.
47373         (__libc_pwrite64): Don't use CHECK_N.
47374         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47375         <bp-checks.h>.
47376         (__libc_msgrcv): Don't use CHECK_N.
47377         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47378         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
47379         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47380         (__libc_writev): Don't use CHECK_N.
47382 2013-02-08  Roland McGrath  <roland@hack.frob.com>
47384         * string/strcpy.c: Removed unused variable.
47386         * Makeconfig (+sysdep-includes): Define with := rather than =.
47387         Use an existing include/ subdir of each sysdeps dir before it.
47389 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47391         * nscd/connection.c (register_traced_file): Comment function.
47392         [HAVE_INOTIFY] (union __inev): Define.
47393         [HAVE_INOTIFY] (inotify_check_files): New function.
47394         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47395         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47396         clear_db_cache.
47397         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47399 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47401         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47402         loaded if not already and that a failure is permanent.
47404 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47406         [BZ #15006]
47407         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47408         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47410 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47412         [BZ #13550]
47413         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47414         (CHECK_1_NULL_OK): Likewise.
47415         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47416         (__fxstat): Do not use CHECK_1.
47417         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47418         <bp-checks.h>.
47419         (___fxstat64): Do not use CHECK_1.
47420         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47421         <bp-checks.h>.
47422         (__fxstatat): Do not use CHECK_1.
47423         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47424         <bp-checks.h>.
47425         (__fxstatat64): Do not use CHECK_1.
47426         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47427         <bp-checks.h>.
47428         (__fxstat): Do not use CHECK_1.
47429         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47430         <bp-checks.h>.
47431         (__fxstatat): Do not use CHECK_1.
47432         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47433         <bp-checks.h>.
47434         (__getresgid): Do not use CHECK_1.
47435         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47436         <bp-checks.h>.
47437         (__getresuid): Do not use CHECK_1.
47438         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47439         <bp-checks.h>.
47440         (__lxstat): Do not use CHECK_1.
47441         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47442         <bp-checks.h>.
47443         (__old_msgctl): Do not use CHECK_1.
47444         (__new_msgctl): Likewise.
47445         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47446         <bp-checks.h>.
47447         (__new_setrlimit): Do not use CHECK_1.
47448         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47449         <bp-checks.h>.
47450         (__old_shmctl): Do not use CHECK_1.
47451         (__new_shmctl): Likewise.
47452         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47453         <bp-checks.h>.
47454         (__xstat): Do not use CHECK_1.
47455         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47456         (__lxstat): Do not use CHECK_1.
47457         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47458         <bp-checks.h>.
47459         (___lxstat64): Do not use CHECK_1.
47460         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47461         (__old_msgctl): Do not use CHECK_1.
47462         (__new_msgctl): Likewise.
47463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47464         <bp-checks.h>.
47465         (__gettimeofday): Do not use CHECK_1.
47466         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47467         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47468         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47469         <bp-checks.h>.
47470         (__gettimeofday): Do not use CHECK_1.
47471         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47472         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47473         (__new_shmctl): Do not use CHECK_1.
47474         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47475         <bp-checks.h>.
47476         (do_sigtimedwait): Do not use CHECK_1.
47477         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47478         <bp-checks.h>.
47479         (do_sigwaitinfo): Do not use CHECK_1.
47480         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47481         <bp-checks.h>.
47482         (msgctl): Do not use CHECK_1.
47483         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47484         <bp-checks.h>.
47485         (shmctl): Do not use CHECK_1.
47486         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47487         (ustat): Do not use CHECK_1.
47488         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47489         <bp-checks.h>.
47490         (__fxstat): Do not use CHECK_1.
47491         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47492         <bp-checks.h>.
47493         (__fxstatat): Do not use CHECK_1.
47494         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47495         <bp-checks.h>.
47496         (__lxstat): Do not use CHECK_1.
47497         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47498         <bp-checks.h>.
47499         (__xstat): Do not use CHECK_1.
47500         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47501         (__xstat): Do not use CHECK_1.
47502         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47503         (___xstat64): Do not use CHECK_1.
47505         [BZ #13550]
47506         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47507         definitions.
47508         (CHECK_BOUNDS_HIGH): Likewise.
47509         * string/strcpy.c: Do not include <bp-checks.h>.
47510         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47512 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47514         * nscd/nscd-client.h (__nscd_drop_map_ref):
47515         Add __attribute__ ((unused)).
47516         * nis/nss-nisplus.h (niserr2nss): Likewise.
47518         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47519         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47521         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47522         Remove inline keyword.
47523         * include/rounding-mode.h (round_away): Likewise.
47524         * libio/wfileops.c (adjust_wide_data): Likewise.
47525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47526         (__m128i_strloadu_tolower): Likewise.
47527         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47528         (__m128i_strloadu_tolower): Likewise.
47529         * time/mktime.c (ydhms_diff): Likewise.
47530         * locale/elem-hash.h (elem_hash): Likewise.
47531         * locale/setlocale.c (setdata): Likewise.
47532         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47533         (re_string_wchar_at): Likewise.
47534         (bitset_not, bitset_merge, bitset_mask): Likewise.
47535         [!(__GNUC__ > 3)] (inline): Remove macro.
47536         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47537         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47538         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47539         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47540         * string/memcmp.c (memcmp_bytes): Likewise.
47541         * locale/programs/locarchive.c (compute_hashval): Likewise.
47542         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47543         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47544         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47545         * nss/getent.c (print_rpc, print_protocols): Likewise.
47546         (print_passwd, print_group, print_aliases): Likewise.
47547         * nis/nss-nisplus.h (niserr2nss): Likewise.
47548         * nscd/connections.c (restart_p): Likewise.
47549         Change return type to bool.
47551 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47553         * Makeconfig (all-Depend-files): Add existing
47554         $(sorted-subdirs:=/Depend) files.
47555         (all-subdirs): Remove nss.
47556         * sysdeps/unix/inet/Subdirs: Add it here instead.
47557         * hesiod/Depend: New file.
47559         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47560         instead of calling alloca.
47562         * io/lseek.c (__lseek): Rename to __libc_lseek.
47563         Define __lseek as an alias.
47565         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47567 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47569         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47570         else clause and remove check for non-standard endianness.
47572 2013-02-04  David S. Miller  <davem@davemloft.net>
47574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47576 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47578         [BZ #13550]
47579         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47580         (__ubp_memchr): Remove prototype.
47581         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47582         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47583         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47584         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47585         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47586         Remove alias.
47587         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47588         (__ubp_memchr): Likewise.
47589         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47590         (__ubp_memchr): Likewise.
47591         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47592         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47593         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47594         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47595         CHECK_STRING.
47596         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47597         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47598         (__getcwd): Do not use CHECK_STRING.
47599         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47600         <bp-checks.h>.
47601         (__real_chown): Do not use CHECK_STRING.
47602         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47603         <bp-checks.h>.
47604         (fchownat): Do not use CHECK_STRING.
47605         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47606         CHECK_STRING.
47607         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47608         <bp-checks.h>.
47609         (__lchown): Do not use CHECK_STRING.
47610         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47611         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47612         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47613         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47615         include <bp-checks.h>.
47616         (truncate64): Do not use CHECK_STRING.
47617         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47618         <bp-checks.h>.
47619         (__real_chown): Do not use CHECK_STRING.
47620         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47621         <bp-checks.h>.
47622         (__lchown): Do not use CHECK_STRING.
47623         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47624         <bp-checks.h>.
47625         (__chown): Do not use CHECK_STRING.
47626         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47627         <bp-checks.h>.
47628         (truncate64): Do not use CHECK_STRING.
47629         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47630         Likewise.
47631         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47632         (__xmknod): Do not use CHECK_STRING.
47633         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47634         <bp-checks.h>.
47635         (__xmknodat): Do not use CHECK_STRING.
47636         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47637         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47639 2013-02-04  Andreas Schwab  <schwab@suse.de>
47641         [BZ #14142]
47642         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47643         * include/netdb.h: Likewise for h_errno.
47644         * elf/tst-stackguard1.c: Include <tls.h>.
47646 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47648         * elf/link.h (struct link_map): Extend the l_addr comment.
47649         * include/link.h (struct link_map): Likewise.
47651 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47653         [BZ #13550]
47654         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47655         (BOUNDED_1): Remove macro.
47656         * debug/backtrace.c: Don't include <bp-checks.h>.
47657         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47658         (__backtrace): Likewise.
47659         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47660         <bp-checks.h>.
47661         (__backtrace): Don't use BOUNDED_1.
47662         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47663         <bp-checks.h>.
47664         (__backtrace): Don't use BOUNDED_1.
47665         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47666         (__backtrace): Don't use BOUNDED_1.
47667         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47668         (shmat): Don't use BOUNDED_N.
47670 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47672         [BZ #13550]
47673         * sysdeps/generic/bp-start.h: Remove file.
47674         * csu/libc-start.c: Don't include <bp-start.h>.
47675         (LIBC_START_MAIN): Set up __environ directly instead of using
47676         INIT_ARGV_and_ENVIRON.
47677         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47678         <bp-start.h>.
47680         [BZ #13550]
47681         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47682         definitions.
47683         (CHECK_FCNTL): Likewise.
47684         (CHECK_N_PAGES): Likewise.
47686         [BZ #13550]
47687         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47688         definitions.
47689         (CHECK_SIGSET_NULL_OK): Likewise.
47690         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47691         <bp-checks.h>.
47692         (sigpending): Don't use CHECK_SIGSET.
47693         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47694         <bp-checks.h>.
47695         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47696         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47697         <bp-checks.h>.
47698         (do_sigsuspend): Don't use CHECK_SIGSET.
47699         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47700         use CHECK_SIGSET.
47701         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47702         (do_sigwait): Don't use CHECK_SIGSET.
47703         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47704         use CHECK_SIGSET.
47705         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47706         include <bp-checks.h>.
47707         (sigpending): Don't use CHECK_SIGSET.
47708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47709         include <bp-checks.h>.
47710         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47711         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47712         <bp-checks.h>.
47713         (sigpending): Don't use CHECK_SIGSET.
47714         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47715         <bp-checks.h>.
47716         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47718         [BZ #13550]
47719         * sysdeps/generic/bp-semctl.h: Remove file.
47720         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47721         <bp-checks.h> and <bp-semctl.h>.
47722         (__old_semctl): Don't use CHECK_SEMCTL.
47723         (__new_semctl): Likewise.
47724         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47725         and <bp-semctl.h>.
47726         (__old_semctl): Don't use CHECK_SEMCTL.
47727         (__new_semctl): Likewise.
47728         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47729         <bp-checks.h> and <bp-semctl.h>.
47730         (__old_semctl): Don't use CHECK_SEMCTL.
47731         (__new_semctl): Likewise.
47732         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47733         <bp-checks.h> and <bp-semctl.h>.
47734         (semctl): Don't use CHECK_SEMCTL.
47736         [BZ #13550]
47737         * Makerules (elide-bp-thunks): Remove variable.
47738         (elide-routines.oS): Don't use $(elide-bp-thunks).
47739         (elide-routines.os): Likewise.
47740         (elide-routines.o): Likewise.
47741         (elide-routines.op): Likewise.
47742         (elide-routines.og): Likewise.
47743         (objects): Don't use $(bp-thunks).
47744         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47745         include.
47746         (common-generated): Do not add s-proto-bp.d.
47747         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47748         (int): Likewise.
47749         (typ): Likewise.
47750         Do not generate makefile rules for bounded-pointer thunks.
47751         * sysdeps/generic/bp-thunks.h: Remove file.
47752         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47753         * sysdeps/unix/s-proto-bp.S: Likewise.
47755         [BZ #15062]
47756         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47757         parts of result separately when argument is not close to line from
47758         -i to i and one part of argument is small.
47759         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47760         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47761         * math/libm-test.inc (cacos_test): Add more tests.
47762         (casin_test): Likewise.
47763         (casinh_test): Likewise.
47764         * sysdeps/i386/fpu/libm-test-ulps: Update.
47765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47767 2013-01-31  David S. Miller  <davem@davemloft.net>
47769         * po/de.po: Update from translation team.
47771 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47773         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47775 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47777         * configure.in (_AC_PROG_CC_C89): New definition.
47778         * configure: Regenerate.
47780         * configure.in (AC_PROG_CPP): New definition.
47781         * configure: Regenerate.
47783 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47785         * debug/tst-backtrace.h: New file.
47786         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47787         (ret): Remove variable.
47788         (x): Likewise.
47789         (FAIL): Remove macro.
47790         (NO_INLINE): Likewise.
47791         (fn1): Use match function instead of strstr.
47792         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47793         (ret): Remove variable.
47794         (x): Likewise.
47795         (FAIL): Remove macro.
47796         (NO_INLINE): Likewise.
47797         (fn): Use match function instead of strstr.
47798         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47799         (ret): Remove variable.
47800         (x): Likewise.
47801         (FAIL): Remove macro.
47802         (NO_INLINE): Likewise.
47803         (handle_signal): Use match function instead of strstr.
47804         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47805         (ret): Remove variable.
47806         (x): Likewise.
47807         (FAIL): Remove macro.
47808         (NO_INLINE): Likewise.
47809         (handle_signal): Use match function instead of strstr.
47811 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47813         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47815 2013-01-23  David S. Miller  <davem@davemloft.net>
47817         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47818         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47819         argument of CAS if possible.
47820         * sysdeps/sparc/sparc64/bits/atomic.h
47821         (__arch_compare_and_exchange_val_32_acq): Likewise.
47822         (__arch_compare_and_exchange_val_64_acq): Likewise.
47824 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47826         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47827         * sysdeps/posix/ulimit.c: ... this.
47828         Include <limits.h>.
47829         * sysdeps/unix/bsd/ulimit.c: Remove file.
47831 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47833         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47834         (LDFLAGS-tst-array5): Likewise.
47836 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47838         [BZ #15036]
47839         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47840         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47841         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47842         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47844 2013-01-21  David S. Miller  <davem@davemloft.net>
47846         * sysdeps/sparc/backtrace.c: New file.
47847         * sysdeps/sparc/sparc32/backtrace.h: New file.
47848         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47849         * sysdeps/sparc/sparc64/backtrace.h: New file.
47850         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47851         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47852         -funwind-tables.
47854 2013-01-21  Andreas Schwab  <schwab@suse.de>
47856         [BZ #15020]
47857         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47858         closed its stdout.
47860 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47863         "mpa2.h".
47864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47866 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47867             Mark Mitchell  <mark@codesourcery.com>
47868             Tom de Vries  <tom@codesourcery.com>
47869             Paul Pluzhnikov  <ppluzhnikov@google.com>
47871         * debug/tst-backtrace2.c: New file.
47872         * debug/tst-backtrace3.c: Likewise.
47873         * debug/tst-backtrace4.c: Likewise.
47874         * debug/tst-backtrace5.c: Likewise.
47875         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47876         (CFLAGS-tst-backtrace3.c): Likewise.
47877         (CFLAGS-tst-backtrace4.c): Likewise.
47878         (CFLAGS-tst-backtrace5.c): Likewise.
47879         (LDFLAGS-tst-backtrace2): Likewise.
47880         (LDFLAGS-tst-backtrace3): Likewise.
47881         (LDFLAGS-tst-backtrace4): Likewise.
47882         (LDFLAGS-tst-backtrace5): Likewise.
47883         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47884         tst-backtrace4 and tst-backtrace5.
47886 2013-01-18  Anton Blanchard  <anton@samba.org>
47887             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47889         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47890         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47891         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47892         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47894         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47895         "+r" and remove output regs list as redundant.  Add explicit inline
47896         asm to specify register of return val to work around compiler codegen
47897         bug.  Remove (int) cast on return value.  Add return type parameter to
47898         use in macro so that this macro does not truncate return value for
47899         64-bit values.
47900         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47901         pass to INTERNAL_VSYSCALL_NCS.
47902         (INLINE_VSYSCALL): Add 'long int' as return type to
47903         INTERNAL_VSYSCALL_NCS macro invocation.
47904         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47905         INTERNAL_VSYSCALL_NCS macro invocation.
47906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47908 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47910         [BZ #14496]
47911         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47912         Fix application of SIMD FP exception mask.
47914         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47915         mp_no from a power of two.
47916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47917         __mpexp_twomm1.  Use __pow_mp.
47919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47920         multiplication.
47922 2013-01-17  David S. Miller  <davem@davemloft.net>
47924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47926 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47928         [BZ #15023]
47929         * include/complex.h: Condition contents on [!_COMPLEX_H].
47930         (__kernel_casinhf): New prototype.
47931         (__kernel_casinh): Likewise.
47932         (__kernel_casinhl): Likewise.
47933         * math/Makefile (libm_calls): Add k_casinh.
47934         * math/k_casinh.c: New file.
47935         * math/k_casinhf.c: Likewise.
47936         * math/k_casinhl.c: Likewise.
47937         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47938         finite nonzero arguments.
47939         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47940         finite nonzero arguments.
47941         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47942         finite nonzero arguments.
47943         * math/s_casinh.c: Do not include <float.h>.
47944         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47945         * math/s_casinhf.c: Do not include <float.h>.
47946         (__casinhf): Move code for finite nonzero arguments to
47947         k_casinhf.c.
47948         * math/s_casinhl.c: Do not include <float.h>.
47949         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47950         redefine.
47951         (__casinhl): Move code for finite nonzero arguments to
47952         k_casinhl.c.
47953         * math/libm-test.inc (cacos_test): Add more tests.
47954         * sysdeps/i386/fpu/libm-test-ulps: Update.
47955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47957 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47959         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47960         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47961         [!HAVE_MREMAP]: Remove [defined linux] case.
47962         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47964 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47966         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47968 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47970         * elf/elf.h (R_386_SIZE32): New relocation.
47971         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47972         R_386_SIZE32.
47973         (elf_machine_rela): Likewise.
47974         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47975         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47977 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47979         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47980         (FP_FAST_FMA): Do not define.
47981         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47982         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47983         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47984         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47985         !_SOFT_FLOAT]: Likewise.
47986         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47987         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47988         value.
47989         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47990         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47991         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47992         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47993         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47994         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47995         file.
47997 2013-01-16  Andreas Schwab  <schwab@suse.de>
47999         [BZ #14327]
48000         * include/stdlib.h (__mktemp): Add declaration.
48001         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48002         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48004 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48006         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48007         definitions.
48008         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48009         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48010         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48011         definitions here.
48012         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48013         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48014         definitions.
48015         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48016         and ONE.
48017         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48018         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48019         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48020         definitions.
48021         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48022         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48023         definitions.
48024         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48026         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48028 2013-01-15  David S. Miller  <davem@davemloft.net>
48030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48031         trunc{,f} to libm-sysdep_routes.
48032         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48034         file.
48035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48037         file.
48038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48039         file.
48040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48042         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48043         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48044         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48045         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48046         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48047         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48050         nearbyint{,f} to libm-sysdep_routes.
48051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48053         New file.
48054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48055         file.
48056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48057         New file.
48058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48059         file.
48060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48062         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48063         file.
48064         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48065         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48066         file.
48067         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48068         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48069         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48071         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48072         libc_feholdexcept and libc_fesetenv.
48074 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48076         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48078 2013-01-14  David S. Miller  <davem@davemloft.net>
48080         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48081         (SPARC_ASM_VIS2_IFUNC): Likewise.
48082         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48084         use of 'siam' instruction.
48085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48086         Likewise.
48087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48088         Likewise.
48089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48090         Likewise.
48091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48096         file.
48097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48098         file.
48099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48100         file.
48101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48102         file.
48103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48108         new VIS2 routines.
48109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48112         Likewise.
48113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48116         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48118         routines to libm-sysdep_routines.
48119         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48122         fdim/fdimf to libm-sysdep_routines.
48123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48124         file.
48125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48127         file.
48128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48131         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48132         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48133         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48134         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48136 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48138         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48139         to optimize copies.
48141         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48142         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48146         local variable MPTWO.
48147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48148         Likewise.
48150 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48152         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48153         GLOB_NOESCAPE.
48155 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48157         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48159 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48161         * manual/pattern.texi (glob_t): Document gl_flags.
48162         (glob64_t): Likewise.
48164 2013-01-11  David S. Miller  <davem@davemloft.net>
48166         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48167         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48168         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48169         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48170         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48171         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48172         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48173         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48174         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48175         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48176         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48177         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48178         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48180         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48181         sparc V9 rather than using V8 code.
48182         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48183         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48185         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48186         Move to...
48187         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48188         Here.
48190 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48192         [BZ #14941]
48193         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48194         not in the main loop.
48195         * configure: Regenerated.
48197 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48199         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48200         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48201         to just #else.
48202         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48203         [!__GLIBC_HAVE_LONG_LONG] case.
48204         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48205         condition to just #else.
48206         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48207         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48208         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48209         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48210         unconditional.
48211         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48212         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48213         #elif condition to just #else.
48214         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48215         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48216         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48217         #elif condition to just #else.
48219 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48221         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48222         (EF_MIPS_ARCH_64): Fix value.
48223         (EF_MIPS_ARCH_32R2): New.
48224         (EF_MIPS_ARCH_64R2): New.
48226 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
48228         * Makeconfig (+link-pie-before-libc): New.
48229         (+link-pie-after-libc): Likewise.
48230         (+link-pie-tests): Likewise.
48231         (+link-pie): Rewritten.
48232         (link-before-libc): Remove $(config-LDFLAGS).
48233         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48234         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48235         (config-LDFLAGS): Renamed to ...
48236         (rtld-LDFLAGS): This.
48237         (rtld-tests-LDFLAGS): New macro.
48238         (link-libc-rpath-link): Likewise.
48239         (link-libc-tests-rpath-link): Likewise.
48240         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48241         (link-libc): Prepand $(link-libc-rpath-link).
48242         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48243         (test-program-prefix): New macro.
48244         (test-via-rtld-prefix): Likewise.
48245         (test-program-cmd): Likewise.
48246         (host-test-program-cmd): Likewise.
48247         * Makefile ($(common-objpfx)testrun.sh): Replace
48248         $(run-program-prefix) with $(test-program-prefix).
48249         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48250         $(rtld-LDFLAGS).
48251         ($(common-objpfx)shlib.lds): Likewise.
48252         (build-module-helper): Likewise.
48253         ($(common-objpfx)format.lds): Likewise.
48254         * Rules (binaries-pie-tests): New.
48255         (binaries-pie-notests): Likewise.
48256         (binaries-pie): Rewritten.
48257         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48258         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48259         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48260         (make-test-out): Replace $(host-built-program-cmd) with
48261         $(host-test-program-cmd).
48262         * config.make.in (build-hardcoded-path-in-tests): New variable.
48263         * configure.in (--enable-hardcoded-path-in-tests): New configure
48264         option.
48265         (hardcoded_path_in_tests): New AC_SUBST.
48266         * configure: Regenerated.
48267         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48268         $(built-program-cmd) with $(test-program-cmd).
48269         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48270         (test_program_cmd): This.
48271         * elf/Makefile ($(objpfx)order.out): Run test with
48272         $(test-program-prefix).
48273         ($(objpfx)order2.out): Likewise.
48274         ($(objpfx)tst-initorder.out): Likewise.
48275         ($(objpfx)tst-initorder2.out): Likewise.
48276         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48277         $(test-program-cmd).
48278         ($(objpfx)tst-array1-static.out): Likewise.
48279         ($(objpfx)tst-array2.out): Likewise.
48280         ($(objpfx)tst-array3.out): Likewise.
48281         ($(objpfx)tst-array4.out): Likewise.
48282         ($(objpfx)tst-array5.out): Likewise.
48283         ($(objpfx)tst-array5-static.out): Likewise.
48284         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48285         $(test-program-cmd).
48286         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48287         $(run-program-prefix) with $(test-program-prefix).
48288         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48289         (test_program_prefix): This.
48290         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48291         $(run-program-prefix) with $(test-program-prefix).
48292         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48293         (test_program_prefix): This.
48294         * iconvdata/tst-tables.sh: Likewise.
48295         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48296         $(run-program-prefix) with $(test-program-prefix).
48297         ($(objpfx)tst-translit.out): Likewise.
48298         ($(objpfx)tst-gettext2.out): Likewise.
48299         ($(objpfx)tst-gettext4.out): Likewise.
48300         ($(objpfx)tst-gettext6.out): Likewise.
48301         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48302         (test_program_prefix): This.
48303         * intl/tst-gettext2.sh: Likewise.
48304         * intl/tst-gettext4.sh  Likewise.
48305         * intl/tst-gettext6.sh: Likewise.
48306         * intl/tst-translit.sh: Likewise.
48307         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48308         with $(test-program-cmd).
48309         * libio/Makefile ($(objpfx)test-freopen.out): Replace
48310         $(run-program-prefix) with $(test-program-prefix).
48311         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48312         (test_program_prefix): This.
48313         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48314         $(run-program-prefix) with $(test-program-prefix).
48315         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48316         (test_program_prefix): This.
48317         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48318         * posix/Makefile ($(objpfx)globtest.out): Replace
48319         $(run-via-rtld-prefix) and $(test-wrapper) with
48320         $(test-program-prefix) and $(test-via-rtld-prefix).
48321         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48322         $(test-program-prefix).
48323         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48324         $(host-test-program-cmd).
48325         (tst-spawn-ARGS): Likewise.
48326         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48327         $(test-program-prefix).
48328         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48329         (test_via_rtld_prefix): This.
48330         (test_wrapper): Renamed to ...
48331         (test_program_prefix): This.
48332         (run_program_prefix): Replaced by test_program_prefix.
48333         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48334         (test_program_prefix): This.
48335         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48336         with $(host-test-program-cmd).
48337         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48338         $(run-program-prefix) with $(test-program-prefix).
48339         ($(objpfx)tst-printf.out): Likewise.
48340         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48341         $(test-program-cmd).
48342         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48343         (test_program_prefix): This.
48344         * stdio-common/tst-unbputc.sh: Likewise.
48345         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48346         $(run-program-prefix) with $(test-program-prefix).
48347         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48348         (test_program_prefix): This.
48349         * string/Makefile ($(objpfx)tst-svc.out):  Replace
48350         $(built-program-cmd) with $(test-program-cmd).
48352 2013-01-11  Andreas Jaeger  <aj@suse.de>
48354         [BZ #15003]
48355         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48356         value. Sync with Linux 3.7.
48358 2013-01-10  David S. Miller  <davem@davemloft.net>
48360         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48361         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48362         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48364 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48366         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48367         never set.
48368         * configure: Regenerated.
48370 2013-01-10  David S. Miller  <davem@davemloft.net>
48372         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48373         sparc V9 rather than using V8 code.
48374         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48375         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48377 2013-01-10  Roland McGrath  <roland@hack.frob.com>
48379         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48380         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48381         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48382         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48383         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48384         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48385         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48386         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48387         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48388         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48389         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48390         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48391         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48392         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48393         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48394         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48395         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48396         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48397         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48398         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48399         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48400         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48401         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48402         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48403         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48404         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48405         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48407 2013-01-10  David S. Miller  <davem@davemloft.net>
48409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48411 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48413         * posix/Makefile (tests-static): New variable.
48414         (tests): Add $(tests-static).
48415         (tst-exec-static-ARGS): New variable.
48416         (tst-spawn-static-ARGS): Likewise.
48417         * posix/tst-exec-static.c: New file.
48418         * posix/tst-spawn-static.c: Likewise.
48419         * posix/tst-exec.c: Support run directly.
48420         * posix/tst-spawn.c: Likewise.
48422 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48424         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48425         long.
48426         * math/bits/mathcalls.h (llrint): Likewise.
48427         (llround): Likewise.
48428         * stdlib/stdlib.h (struct drand48_data): Likewise.
48429         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48430         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48431         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48432         Likewise.
48433         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48434         Likewise.
48435         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48436         (elf_greg_t): Likewise.
48437         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48438         (__jmp_buf): Likewise.
48439         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48440         definitions.
48441         (llrint): Likewise, for all definitions.
48442         (llrintl): Likewise.
48444         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48445         Remove [__GNUC__] condition.
48446         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48447         condition to just [__USE_ISOC99].
48448         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48450 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48452         [BZ #14200]
48453         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48454         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48455         defined.
48456         (_POSIX_V6_ILP32_OFF32): Likewise.
48457         (_XBS5_ILP32_OFF32): Likewise.
48458         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48459         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48461 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48463         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48465         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48466         doubles __mpexp_twomm1.  Adjust usage.
48467         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48468         Remove.
48470 2013-01-10  Andreas Schwab  <schwab@suse.de>
48472         [BZ #14964]
48473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48474         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48476 2013-01-09  David S. Miller  <davem@davemloft.net>
48478         [BZ #15003]
48479         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48480         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48481         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48482         (TCP_FASTOPEN): Define.
48483         (tcp_repair_opt): New structure.
48484         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48485         enum values.
48486         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48487         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48488         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48489         (tcp_cookie_transactions): New structure.
48491 2013-01-09  Anton Blanchard  <anton@samba.org>
48493         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48494         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48495         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48496         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48498 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48500         * include/features.h (__USE_ANSI): Remove.
48502 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48504         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48506         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48508 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48510         * sysdeps/s390/fpu/libm-test-ulps: Update.
48512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48514         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48515         (__acr): Likewise.
48516         (__cpy): Likewise.
48517         (norm): Likewise.
48518         (denorm): Likewise.
48519         (__mp_dbl): Likewise.
48520         (__dbl_mp): Likewise.
48521         (add_magnitudes): Likewise.
48522         (sub_magnitudes): Likewise.
48523         (__add): Likewise.
48524         (__sub): Likewise.
48525         (__mul): Likewise.
48526         (__inv): Likewise.
48527         (__dvd): Likewise.
48528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48529         (__acr): Likewise.
48530         (__cpy): Likewise.
48531         (norm): Likewise.
48532         (denorm): Likewise.
48533         (__mp_dbl): Likewise.
48534         (__dbl_mp): Likewise.
48535         (add_magnitudes): Likewise.
48536         (sub_magnitudes): Likewise.
48537         (__add): Likewise.
48538         (__sub): Likewise.
48539         (__mul): Likewise.
48540         (__inv): Likewise.
48541         (__dvd): Likewise.
48542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48543         (__acr): Likewise.
48544         (__cpy): Likewise.
48545         (norm): Likewise.
48546         (denorm): Likewise.
48547         (__mp_dbl): Likewise.
48548         (__dbl_mp): Likewise.
48549         (add_magnitudes): Likewise.
48550         (sub_magnitudes): Likewise.
48551         (__add): Likewise.
48552         (__sub): Likewise.
48553         (__mul): Likewise.
48554         (__inv): Likewise.
48555         (__dvd): Likewise.
48557 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48559         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48560         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48561         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48562         2 && __USE_EXTERN_INLINES]: Likewise.
48564 2013-01-08  Andreas Jaeger  <aj@suse.de>
48566         [BZ# 14985]
48567         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48568         Remove.
48569         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48570         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48572 2013-01-07  Anton Blanchard  <anton@samba.org>
48574         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48575         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48576         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48577         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48578         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48579         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48580         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48581         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48583         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48584         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48585         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48587         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48588         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48589         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48590         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48591         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48592         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48593         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48594         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48595         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48596         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48597         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48598         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48599         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48600         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48601         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48603         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48604         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48606         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48607         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48608         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48609         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48610         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48611         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48612         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48613         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48614         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48615         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48616         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48618 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48620         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48621         (__MALLOC_PMT): Likewise.
48622         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48623         [__GNUC__], only on [_LIBC].
48624         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48625         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48626         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48627         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48628         forward declaration.
48629         (realloc_hook_ini): Likewise.
48630         (memalign_hook_ini): Likewise.
48631         (__libc_memalign): Do not use __MALLOC_PMT in variable
48632         declaration.
48633         (__libc_valloc): Likewise.
48634         (__libc_pvalloc): Likewise.
48635         (__libc_calloc): Likewise.
48636         (__posix_memalign): Likewise.
48638         [BZ #14996]
48639         * math/s_casinh.c: Include <float.h>.
48640         (__casinh): Do not do computation with squaring and square root
48641         for large arguments.
48642         * math/s_casinhf.c: Include <float.h>.
48643         (__casinhf): Do not do computation with squaring and square root
48644         for large arguments.
48645         * math/s_casinhl.c: Include <float.h>.
48646         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48647         (__casinhl): Do not do computation with squaring and square root
48648         for large arguments.
48649         * math/libm-test.inc (casin_test): Add more tests.
48650         (casinh_test): Likewise.
48651         * sysdeps/i386/fpu/libm-test-ulps: Update.
48652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48654 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48656         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48657         (__x86_64_raw_data_cache_size): Likewise.
48658         (__x86_64_data_cache_size_half): Likewise.
48659         (__x86_64_raw_data_cache_size_half): Likewise.
48660         (__x86_64_shared_cache_size): Likewise.
48661         (__x86_64_raw_shared_cache_size): Likewise.
48662         (__x86_64_shared_cache_size_half): Likewise.
48663         (__x86_64_raw_shared_cache_size_half): Likewise.
48664         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48665         to ...
48666         (__x86_data_cache_size): This.
48667         (__x86_64_raw_data_cache_size): Renamed to ...
48668         (__x86_raw_data_cache_size): This.
48669         (__x86_64_data_cache_size_half): Renamed to ...
48670         (__x86_data_cache_size_half): This.
48671         (__x86_64_raw_data_cache_size_half): Renamed to ...
48672         (__x86_raw_data_cache_size_half): This.
48673         (__x86_64_shared_cache_size): Renamed to ...
48674         (__x86_shared_cache_size): This.
48675         (__x86_64_raw_shared_cache_size): Renamed to ...
48676         (__x86_raw_shared_cache_size): This.
48677         (__x86_64_shared_cache_size_half): Renamed to ...
48678         (__x86_shared_cache_size_half): This.
48679         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48680         (__x86_raw_shared_cache_size_half): This.
48681         * sysdeps/x86_64/memcpy.S: Updated.
48682         * sysdeps/x86_64/memset.S: Likewise.
48683         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48684         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48685         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48687 2013-01-04  David S. Miller  <davem@davemloft.net>
48689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48691 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48693         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48694         1 to avoid redefinition warning.
48695         (__USE_GNU): Don't define.
48696         (init_signaling_nan): Protoize.
48698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48700 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48702         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48704         (__cpymn): Likewise.
48705         (norm): Remove commented code.
48706         (denorm): Likewise.
48707         (__mp_dbl): Likewise.
48708         (__inv): Likewise.
48709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48710         (__cpymn): Likewise.
48711         (norm): Remove commented code.
48712         (denorm): Likewise.
48713         (__mp_dbl): Likewise.
48714         (__inv): Likewise.
48716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48717         mp_no value for 1.0 and 2.0.
48718         (norm): Use RADIXI instead of radixi.d.
48719         (denorm): Likewise.
48720         (__mul): Use 0.0 instead of zero.d.
48721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48722         mp_no value for 1.0 and 2.0.
48723         (norm): Use RADIXI instead of radixi.d.
48724         (denorm): Likewise.
48725         (__mul): Use 0.0 instead of zero.d.
48727 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48729         [BZ #14994]
48730         * math/s_casinh.c (__casinh): Reduce finite argument to first
48731         quadrant then set signs of results at the end.
48732         * math/s_casinhf.c (__casinhf): Likewise.
48733         * math/s_casinhl.c (__casinhl): Likewise.
48734         * math/libm-test.inc (casin_test): Add more tests.
48735         (casinh_test): Likewise.
48736         * sysdeps/i386/fpu/libm-test-ulps: Update.
48737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48739 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48741         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48743         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48745         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48746         declarations.
48747         (denorm): Likewise.
48748         (__mp_dbl): Likewise.
48749         (__inv): Likewise.
48751         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48752         and adjust the header comment.
48754         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48755         variable name from declaration.
48757 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48760         Initialize COMMON_CPUID_INDEX_7 element.
48761         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48762         (CPUID_RTM): Likewise.
48763         (HAS_RTM): Likewise.
48764         (COMMON_CPUID_INDEX_7): New enum.
48766 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48768         [BZ #14981]
48769         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48770         size is zero, record memory as freed.
48772 2013-01-03  Andreas Jaeger  <aj@suse.de>
48774         * po/ia.po: Add new Interlingua translation.
48776 2012-01-03  Allan McRae  <allan@archlinux.org>
48778         * locale/programs/localedef.c: Fix description of '--posix' flag.
48780 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48782         * NEWS: Update dates in second copyright notice.
48783         * README: Update copyright dates in example.
48784         * manual/libc.texinfo: Update copyright dates.
48785         * scripts/test-installation.pl: Update copyright date in --version
48786         output.
48788         * hurd/ctty-input.c: Fix copyright notice formatting.
48789         * hurd/ctty-output.c: Likewise.
48790         * hurd/dtable.c: Likewise.
48791         * hurd/hurd-raise.c: Likewise.
48792         * hurd/hurdprio.c: Likewise.
48793         * hurd/msgportdemux.c: Likewise.
48794         * misc/sys/file.h: Likewise.
48795         * misc/sys/ioctl.h: Likewise.
48796         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48797         * sysdeps/mach/hurd/chdir.c: Likewise.
48798         * sysdeps/mach/hurd/fchdir.c: Likewise.
48799         * sysdeps/mach/hurd/rename.c: Likewise.
48800         * sysdeps/mach/hurd/rmdir.c: Likewise.
48801         * sysdeps/mach/hurd/seekdir.c: Likewise.
48802         * sysdeps/mach/hurd/setsid.c: Likewise.
48803         * sysdeps/posix/wait3.c: Likewise.
48805         * All files with FSF copyright notices: Update copyright dates
48806         using scripts/update-copyrights.
48807         * intl/plural.c: Regenerated.
48808         * locale/programs/charmap-kw.h: Likewise.
48809         * locale/programs/locfile-kw.h: Likewise.
48811 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48813         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48814         four values.
48816         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48817         calculation loop and add branch prediction.
48819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48820         check access beyond bounds of m1np.
48822         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48823         MPTWO.
48824         (__inv): Remove local variable MPTWO to use the global
48825         constant.
48826         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48827         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48828         variable MPTWO.
48829         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48830         MP3HALFS static const.
48832 2013-01-01  David S. Miller  <davem@davemloft.net>
48834         * po/ca.po: Update from translation team.
48836 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48838         * scripts/update-copyrights: New file.
48839         * Makeconfig: Reformat copyright notice.
48840         * ctype/ctype.h: Likewise.
48841         * debug/swprintf_chk.c: Likewise.
48842         * elf/dl-cache.c: Likewise.
48843         * elf/dl-debug.c: Likewise.
48844         * elf/dl-object.c: Likewise.
48845         * grp/initgroups.c: Likewise.
48846         * hurd/Makefile: Likewise.
48847         * hurd/hurd/signal.h: Likewise.
48848         * hurd/hurdfault.c: Likewise.
48849         * hurd/hurdioctl.c: Likewise.
48850         * hurd/hurdlookup.c: Likewise.
48851         * hurd/intr-msg.c: Likewise.
48852         * iconv/gconv_open.c: Likewise.
48853         * libio/swprintf.c: Likewise.
48854         * locale/lc-ctype.c: Likewise.
48855         * locale/nl_langinfo.c: Likewise.
48856         * mach/Machrules: Likewise.
48857         * mach/Makefile: Likewise.
48858         * malloc/obstack.h: Likewise.
48859         * manual/Makefile: Likewise.
48860         * manual/tsort.awk: Likewise.
48861         * misc/bits/stab.def: Likewise.
48862         * nis/nis_print_group_entry.c: Likewise.
48863         * nis/nis_table.c: Likewise.
48864         * nis/nss_compat/compat-pwd.c: Likewise.
48865         * nis/nss_compat/compat-spwd.c: Likewise.
48866         * po/Makefile: Likewise.
48867         * posix/fnmatch.c: Likewise.
48868         * posix/regex.h: Likewise.
48869         * resolv/Makefile: Likewise.
48870         * resolv/nss_dns/dns-network.c: Likewise.
48871         * resolv/res_hconf.c: Likewise.
48872         * scripts/gen-sorted.awk: Likewise.
48873         * soft-fp/soft-fp.h: Likewise.
48874         * stdio-common/printf.h: Likewise.
48875         * stdlib/monetary.h: Likewise.
48876         * stdlib/random.c: Likewise.
48877         * stdlib/random_r.c: Likewise.
48878         * sysdeps/generic/Makefile: Likewise.
48879         * sysdeps/gnu/Makefile: Likewise.
48880         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48881         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48882         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48883         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48884         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48885         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48887         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48888         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48889         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48890         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48891         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48892         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48893         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48894         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48895         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48896         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48897         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48898         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48899         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48900         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48901         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48902         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48903         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48904         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48905         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48906         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48907         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48908         * sysdeps/mach/hurd/errnos.awk: Likewise.
48909         * sysdeps/mach/hurd/fork.c: Likewise.
48910         * sysdeps/mach/hurd/getcwd.c: Likewise.
48911         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48912         * sysdeps/mach/hurd/mmap.c: Likewise.
48913         * sysdeps/mach/hurd/utimes.c: Likewise.
48914         * sysdeps/mach/hurd/xmknod.c: Likewise.
48915         * sysdeps/posix/profil.c: Likewise.
48916         * sysdeps/posix/readdir_r.c: Likewise.
48917         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48918         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48919         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48920         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48922         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48923         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48924         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48926         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48927         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48928         * sysdeps/pthread/lio_listio.c: Likewise.
48929         * sysdeps/sparc/dl-procinfo.h: Likewise.
48930         * sysdeps/unix/i386/sysdep.S: Likewise.
48931         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48932         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48933         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48934         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48936         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48937         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48938         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48939         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48940         * sysdeps/wordsize-32/divdi3.c: Likewise.
48941         * time/sys/time.h: Likewise.
48942         * wcsmbs/Makefile: Likewise.
48944 2013-01-01  David S. Miller  <davem@davemloft.net>
48946         * po/fr.po: Update from translation team.
48948         * catgets/gencat.c: Update copyright year.
48949         * csu/version.c: Likewise.
48950         * debug/catchsegv.sh: Likewise.
48951         * debug/pcprofiledump.c: Likewise.
48952         * debug/xtrace.sh: Likewise.
48953         * elf/ldconfig.c: Likewise.
48954         * elf/ldd.bash.in: Likewise.
48955         * elf/pldd.c: Likewise.
48956         * elf/sotruss.ksh: Likewise.
48957         * elf/sprof.c: Likewise.
48958         * iconv/iconv_prog.c: Likewise.
48959         * iconv/iconvconfig.c: Likewise.
48960         * locale/programs/locale.c: Likewise.
48961         * locale/programs/localedef.c: Likewise.
48962         * login/programs/pt_chown.c: Likewise.
48963         * malloc/memusage.sh: Likewise.
48964         * malloc/memusagestat.c: Likewise.
48965         * malloc/mtrace.pl: Likewise.
48966         * nscd/nscd.c: Likewise.
48967         * nss/getent.c: Likewise.
48968         * nss/makedb.c: Likewise.
48969         * posix/getconf.c: Likewise.
48971 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48973         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48974         numbers.
48976 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48978         * math/bits/mathcalls.h (modf): Use __nonnull.
48980 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48982         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48983         (split): Use macro CN instead of the bare value.
48984         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48985         could be used.
48986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48987         instead of the bare value.
48988         (power1): Likewise.
48990 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48992         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48993         __ATAN_TWOM.
48994         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48996         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48997         their values.
48998         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48999         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49000         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49001         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49003 2012-12-28  Andreas Jaeger  <aj@suse.de>
49005         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49006         values are from Linux 3.7.
49008         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49009         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49011 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49013         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49014         TRUE case.
49016         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49017         (norm): Likewise.
49018         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49019         variables with preprocessor constants.
49020         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49021         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49022         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49024 2012-12-27  Bruno Haible  <bruno@clisp.org>
49026         [BZ #14317]
49027         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49028         only if needed.
49030 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49032         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49033         and use variable directly.
49034         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49036         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49037         MPONE.
49038         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49040         variable MPONE.
49041         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49043         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49044         include directive.  Remove local variable MPONE.
49045         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49046         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49047         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49049 2012-12-25  David S. Miller  <davem@davemloft.net>
49051         * version.h (RELEASE): Set to "development".
49052         (VERSION): Set to "2.17.90".
49053         * NEWS: Add 2.18 section.
49055 2012-12-21  David S. Miller  <davem@davemloft.net>
49057         * po/hr.po: Update from translation team.
49059 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49061         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49063 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49065         * NEWS:  Mention new memcpy for MIPS.
49067 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49069         * manual/contrib.texi (Contributors): Spelling correction.
49071 2012-12-15  David S. Miller  <davem@davemloft.net>
49073         * po/ru.po: Update from translation team.
49075 2012-12-13  David S. Miller  <davem@davemloft.net>
49077         * NEWS: Mention IFUNC testsuite enhancements.
49079         * po/pl.po: Update from translation team.
49080         * po/bg.po: Likewise.
49082         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49083         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49085 2012-12-11  David S. Miller  <davem@davemloft.net>
49087         * po/sv.po: Update from translation team.
49089         * po/vi.po: Update from translation team.
49091         * po/cs.po: Update from translation team.
49093         * po/de.po: Update from translation team.
49094         * po/eo.po: Likewise.
49095         * po/nl.po: Likewise.
49097 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49099         [BZ #14246]
49100         * manual/argp.texi (Argp Helper Functions): Move node to follow
49101         Argp Parsing State.
49103         [BZ #14872]
49104         * manual/conf.texi (Limits on File System Capacity): Mention if
49105         terminating null is included in the max size.
49107 2012-12-10  Andreas Jaeger  <aj@suse.de>
49109         * po/cs.po: Update from translation team.
49111 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49113         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49114         void pointer and cast to uintptr_t.
49115         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49116         path.
49117         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49118         * sysdeps/s390/s390-64/memset.S: Likewise.
49120 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49122         [BZ #14833]
49123         * menual/message.texi (Message Translation): Fix typos.
49124         (Helper programs for gettext): Likewise.
49126 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49128         [BZ #14898]
49129         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49130         Change to -1.
49132 2012-12-07  David S. Miller  <davem@davemloft.net>
49134         * po/libc.pot: Update.
49136 2012-12-07  Richard Henderson  <rth@redhat.com>
49138         [BZ #10114]
49139         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49140         normal/normal case to before the switch.
49141         (_FP_DIV): Likewise.
49143 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49144             Mike Frysinger  <vapier@gentoo.org>
49146         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49147         check for __NR_fadvise64_64.
49149 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49151         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49152         0, not just to plain "0" as a statement.
49153         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49154         with cw.
49156 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49158         * NEWS: Use sourceware.org in Bugzilla URL.
49160 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49163         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49165         * stdio-common/tst-put-error.c (do_test): Add newline to the
49166         padded test to ensure flush.
49168 2012-12-05  Jeff Law  <law@redhat.com>
49170         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49172 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49174         * README: Don't refer to ports add-on as distributed separately.
49175         Mention AArch64 in list of systems supported in the ports add-on.
49177         * LICENSES: Add more non-FSF copyright and license notices.
49179         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49180         ((unused)).
49182         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49184         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49185         10000 as width of padded output.
49187 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49189         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49191         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49192         variable LX with __attribute__ ((unused)).
49193         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49194         Likewise.
49195         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49196         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49198         with __attribute__ ((unused)).
49200 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49202         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49204 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49206         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49207         (CFLAGS-nldbl-acos.c): New variable.
49208         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49209         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49210         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49211         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49212         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49213         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49214         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49215         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49216         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49217         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49218         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49219         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49220         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49221         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49222         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49223         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49224         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49225         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49226         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49227         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49228         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49229         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49230         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49231         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49232         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49233         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49234         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49235         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49236         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49237         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49238         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49239         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49240         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49241         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49242         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49243         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49244         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49245         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49246         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49247         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49248         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49249         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49250         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49251         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49252         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49253         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49254         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49255         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49256         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49257         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49258         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49259         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49260         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49261         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49262         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49263         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49264         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49265         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49266         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49267         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49268         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49269         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49270         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49271         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49272         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49273         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49274         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49275         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49276         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49277         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49278         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49279         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49280         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49281         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49282         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49283         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49284         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49285         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49286         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49287         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49288         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49289         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49290         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49291         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49292         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49293         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49294         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49295         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49296         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49297         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49298         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49299         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49300         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49301         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49302         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49303         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49304         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49307         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49309         [BZ #14914]
49310         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49311         whole low double instead of just low 47 bits when splitting values
49312         into two parts.
49314 2012-12-03  Allan McRae  <allan@archlinux.org>
49316         * manual/stdio.texi (Predefined Printf Handlers): Remove
49317         @hsep and @vsep usage.
49319 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
49321         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49322         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49324 2012-12-03  Jeff Law  <law@redhat.com>
49326         * time/sys/time.h (settimeofday): Do not mark TV argument
49327         as __nonnull.
49329 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
49331         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49332         when currently writing and seek to current position when not.
49333         * libio/Makefile (tests): Remove bug-fclose1.
49334         * libio/bug-fclose1.c: Delete.
49336 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
49338         * manual/arith.texi (feenableexcept): Fix typo.
49339         (fedisableexcept): Likewise.
49341 2012-11-30  Roland McGrath  <roland@hack.frob.com>
49343         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49344         second, differently-typed declaration, rather than a cast.
49346 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49348         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49349         * include/rpc/svc.h: ... here.
49351 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
49353         [BZ #13013]
49354         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49355         depending n and resplen2 to catch cases where answer
49356         equals answerp2.
49358 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
49360         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49361         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49363 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
49365         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49367 2012-11-29  Roland McGrath  <roland@hack.frob.com>
49369         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49371 2012-11-28  Jeff Law  <law@redhat.com>
49373         [BZ #13761]
49374         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49375         dataset_temporary.  Track alloca usage into alloca_used.
49376         If dataset is large allocate and release it via malloc/free.
49378 2012-06-04  Florian Weimer  <fweimer@redhat.com>
49380         [BZ #14197]
49381         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49383 2012-11-28  David S. Miller  <davem@davemloft.net>
49385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49387 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49389         [BZ #14803]
49390         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49391         of pi/2 rounded to nearest to 64 bits.
49392         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49393         nearest to 64 bits.
49394         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49395         bits.
49397 2012-11-28  Jeff Law <law@redhat.com>
49398             Martin Osvald <mosvald@redhat.com>
49400         [BZ #14889]
49401         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49402         * sunrpc/svc.c: Include time.h.
49403         (__svc_accept_failed): New function.
49404         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49405         any reason other than EINTR, call __svc_accept_failed.
49406         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49407         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49409 2012-11-28  Andreas Schwab  <schwab@suse.de>
49411         * scripts/abilist.awk: Also handle indirect functions in .opd
49412         section.
49414 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49416         [BZ #13881]
49417         * sysdeps/x86/fpu/powl_helper.c: New file.
49418         * sysdeps/x86/fpu/Makefile: Likewise.
49419         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49420         (p3): New object.
49421         (__ieee754_powl): Use __powl_helper for finite arguments except
49422         integer exponents below 8.
49423         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49424         (p3): New object.
49425         (__ieee754_powl): Use __powl_helper for finite arguments except
49426         integer exponents below 8.
49427         * math/libm-test.inc (pow_test): Add more tests and enable some
49428         previously disabled tests.
49429         * sysdeps/i386/fpu/libm-test-ulps: Update.
49430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49432 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49433             Carlos O'Donell  <carlos_odonell@mentor.com>
49435         * nss/makedb.c (is_prime): Assert that input is odd and greater
49436         than 4.  Note that fact in a comment too.
49437         (next_prime): Add 4 to input.
49439 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49441         [BZ #11741]
49442         * libio/Makefile (tests): Add test case tst-fwrite-error.
49443         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49444         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49445         * libio/tst-fwrite-error.c: New test case.
49447 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49449         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49450         before casting to void *.
49451         * include/libc-internal.h (__pointer_type): New macro.
49452         (__integer_if_pointer_type_sub): Likewise.
49453         (__integer_if_pointer_type): Likewise.
49454         (cast_to_integer): Likewise.
49455         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49456         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49457         before casting to atomic64_t.
49458         (atomic_exchange_acq): Likewise.
49459         (__arch_exchange_and_add_body): Likewise.
49460         (__arch_add_body): Likewise.
49461         (atomic_add_negative): Likewise.
49462         (atomic_add_zero): Likewise.
49464 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49466         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49467         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49468         (add_fdes): Likewise.
49469         (linear_search_fdes): Likewise.
49470         (binary_search_unencoded_fdes): Likewise.
49472 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49474         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49476 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49478         * configure.in: Autodetect C++ header directories.
49479         * configure: Regenerated.
49481 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49483         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49485 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49489 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49491         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49492         LDBL_MANT_DIG == 106]: Disable some tests.
49493         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49494         Likewise.
49495         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49496         Likewise.
49498         [BZ #14871]
49499         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49500         input for small inputs.  Return +/- pi/2 for large inputs.
49501         * math/libm-test.inc (atan_test): Add more tests.
49503         * sysdeps/generic/unwind-dw2-fde-glibc.c
49504         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49505         __attribute__ ((unused)).
49507         [BZ #14645]
49508         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49509         x * y if x and y are nonzero and z is zero.
49511         [BZ #14811]
49512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49513         nonzero exponents with absolute value below 0x1p-117 to +/-
49514         0x1p-117.
49516         [BZ #14869]
49517         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49518         up arguments below 2**-450, not just those below 2**-500.
49519         * math/libm-test.inc (hypot_test): Add another test.
49521         [BZ #14868]
49522         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49523         Return a+b for ratio over 2**120, not 2**60.
49524         * math/libm-test.inc (hypot_test): Add another test.
49526         * math/libm-test.inc (clog_test): Use
49527         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49528         (clog10_test): Likewise.
49530         [BZ #6778]
49531         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49533 2012-11-22  Andreas Schwab  <schwab@suse.de>
49535         * sysdeps/i386/fpu/libm-test-ulps: Update.
49537 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49539         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49540         printf output with newline.
49542 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49544         [BZ #14865]
49545         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49546         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49547         -z nodlopen, -z initfirst and -z execstack support.
49548         * configure: Regenerated.
49550         * elf/elf.h (DF_1_NODIRECT): New macro.
49551         (DF_1_IGNMULDEF): Likewise.
49552         (DF_1_NOKSYMS): Likewise.
49553         (DF_1_NOHDR): Likewise.
49554         (DF_1_EDITED): Likewise.
49555         (DF_1_NORELOC): Likewise.
49556         (DF_1_SYMINTPOSE): Likewise.
49557         (DF_1_GLOBAUDIT): Likewise.
49558         (DF_1_SINGLETON): Likewise.
49559         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49560         DT_1_SUPPORTED_MASK bits.
49561         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49563 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49565         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49567 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49569         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49570         macro.
49572         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49573         (sendmmsg): Move declarations...
49574         * socket/sys/socket.h: ... here.
49575         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49576         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49577         include it from...
49578         * socket/recvmmsg.c: ... this new file.
49579         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49580         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49581         definition of __sendmmsg hidden.
49582         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49583         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49584         Move ENOSYS stub into and include it from...
49585         * socket/sendmmsg.c: ... this new file.
49586         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49587         (sysdep_routines): Move recvmmsg and sendmmsg...
49588         * socket/Makefile (routines): ... here.
49589         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49590         (GLIBC_PRIVATE): Add __sendmmsg.
49591         * include/sys/socket.h (__sendmmsg): Add declarations.
49592         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49593         sendmmsg.
49595 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49598         variable I1 with __attribute__ ((unused)).
49599         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49601 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49603         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49604         DUMMY variables with __attribute__ ((unused)).
49606         * bits/byteswap.h: Include <bits/types.h>.
49607         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49609 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49611         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49612         string_t.  Do not manually set errno.
49613         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49614         length with __strnlen.  Make sure to both set errno and return it on
49615         failure.
49617 2012-11-19  David S. Miller  <davem@davemloft.net>
49619         With help from Joseph Myers.
49620         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49621         very large arguments properly.
49622         * math/libm-test.inc (atan_test): New tests.
49623         (atan2_test): New tests.
49624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49627 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49629         [BZ #14856]
49630         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49631         Define to 3.
49633         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49634         [POSIX] (EADDRNOTAVAIL): Likewise.
49635         [POSIX] (EAFNOSUPPORT): Likewise.
49636         [POSIX] (EALREADY): Likewise.
49637         [POSIX] (ECONNABORTED): Likewise.
49638         [POSIX] (ECONNREFUSED): Likewise.
49639         [POSIX] (ECONNRESET): Likewise.
49640         [POSIX] (EDESTADDRREQ): Likewise.
49641         [POSIX] (EDQUOT): Likewise.
49642         [POSIX] (EHOSTUNREACH): Likewise.
49643         [POSIX] (EIDRM): Likewise.
49644         [POSIX] (EISCONN): Likewise.
49645         [POSIX] (ELOOP): Likewise.
49646         [POSIX] (EMULTIHOP): Likewise.
49647         [POSIX] (ENETDOWN): Likewise.
49648         [POSIX] (ENETUNREACH): Likewise.
49649         [POSIX] (ENOBUFS): Likewise.
49650         [POSIX] (ENODATA): Likewise.
49651         [POSIX] (ENOLINK): Likewise.
49652         [POSIX] (ENOMSG): Likewise.
49653         [POSIX] (ENOPROTOOPT): Likewise.
49654         [POSIX] (ENOSR): Likewise.
49655         [POSIX] (ENOSTR): Likewise.
49656         [POSIX] (ENOTCONN): Likewise.
49657         [POSIX] (ENOTSOCK): Likewise.
49658         [POSIX] (EOPNOTSUPP): Likewise.
49659         [POSIX] (EOVERFLOW): Likewise.
49660         [POSIX] (EPROTO): Likewise.
49661         [POSIX] (EPROTONOSUPPORT): Likewise.
49662         [POSIX] (EPROTOTYPE): Likewise.
49663         [POSIX] (ESTALE): Likewise.
49664         [POSIX] (ETIME): Likewise.
49665         [POSIX] (ETXTBSY): Likewise.
49666         [POSIX] (EWOULDBLOCK): Likewise.
49667         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49668         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49669         [POSIX] (SEEK_CUR): Likewise.
49670         [POSIX] (SEEK_END): Likewise.
49671         [POSIX || UNIX98] (mode_t): Do not require.
49672         [POSIX] (off_t): Likewise.
49673         [POSIX] (pid_t): Likewise.
49674         [POSIX] (sys/stat.h): Do not allow header.
49675         [POSIX] (unistd.h): Likewise.
49676         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49677         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49678         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49679         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49680         require.
49681         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49682         sigevent): Specify elements.
49683         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49684         entry.
49685         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49686         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49688         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49689         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49690         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49691         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49692         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49693         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49694         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49695         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49696         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49697         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49698         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49699         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49700         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49701         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49702         Likewise.
49703         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49704         Likewise.
49705         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49706         Likewise.
49707         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49708         Likewise.
49709         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49710         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49711         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49712         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49713         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49714         Specify lower bound on value.
49715         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49716         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49717         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49718         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49719         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49720         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49721         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49722         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49723         value.
49724         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49725         as optional.
49726         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49727         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49728         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49729         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49730         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49731         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49732         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49733         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49734         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49735         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49736         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49737         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49738         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49739         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49740         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49741         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49742         entry.
49743         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49744         optional.
49745         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49746         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49747         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49748         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49749         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49750         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49751         Likewise.
49752         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49753         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49754         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49755         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49756         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49757         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49758         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49759         as optional.
49760         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49761         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49762         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49763         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49764         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49765         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49766         specify as optional.
49767         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49768         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49769         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49770         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49771         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49772         [XPG3] (NL_LANGMAX): Likewise.
49773         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49774         [POSIX || XPG3] (NL_NMAX): Likewise.
49775         [POSIX || XPG3] (NL_SETMAX): Likewise.
49776         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49777         [XPG3] (NZERO): Likewise.
49778         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49779         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49780         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49781         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49782         (REG_ERANGE): Expect.
49783         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49784         optional-constant.
49785         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49786         Use (void) in prototype.
49787         [POSIX] (*_t): Allow.
49788         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49789         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49790         (WRDE_BADVAL): Expect.
49792         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49793         expect.
49794         [XPG3 || XPG4] (O_RSYNC): Likewise.
49795         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49796         Likewise.
49797         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49798         [XPG3 || XPG4] (sigqueue): Likewise.
49799         [XPG3 || XPG4] (sigtimedwait): Likewise.
49800         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49801         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49802         [XPG3 || XPG4] (vsnprintf): Likewise.
49803         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49804         Likewise.
49805         [XPG3 || XPG4] (blksize_t): Likewise.
49806         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49807         Likewise.
49808         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49809         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49810         [XPG3 || XPG4] (struct itimerspec): Likewise.
49811         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49812         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49813         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49814         [XPG3 || XPG4] (clockid_t): Likewise.
49815         [XPG3 || XPG4] (timer_t): Likewise.
49816         [XPG3 || XPG4] (clock_getres): Likewise.
49817         [XPG3 || XPG4] (clock_gettime): Likewise.
49818         [XPG3 || XPG4] (clock_settime): Likewise.
49819         [XPG3 || XPG4] (nanosleep): Likewise.
49820         [XPG3 || XPG4] (timer_create): Likewise.
49821         [XPG3 || XPG4] (timer_delete): Likewise.
49822         [XPG3 || XPG4] (timer_gettime): Likewise.
49823         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49824         [XPG3 || XPG4] (timer_settime): Likewise.
49825         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49826         [XPG3 || XPG4] (getlogin_r): Likewise.
49827         [XPG3 || XPG4] (pread): Likewise.
49828         [XPG3 || XPG4] (pthread_atfork): Likewise.
49829         [XPG3 || XPG4] (pwrite): Likewise.
49831         [BZ #14835]
49832         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49833         <bits/siginfo.h>.
49835 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49837         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49838         finalizing MALLSTREAM.
49840         * sysdeps/mach/hurd/syncfs.c: New file.
49842 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49844         [BZ #14719]
49845         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49846         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49847         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49848         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49849         (_nss_dns_gethostbyname4_r): Likewise.
49850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49851         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49853 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49855         [BZ #13763]
49856         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49858 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49860         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49861         * elf/cache.c (print_entry): Print ",AArch64" for
49862         FLAG_AARCH64_LIB64
49864         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49865         * elf/cache.c (print_entry): Print ",hard-float" for
49866         FLAG_ARM_LIBHF.
49868 2012-11-18  David S. Miller  <davem@davemloft.net>
49870         With help from Joseph Myers.
49871         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49872         cutoff to 2**-13.
49873         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49874         cutoff to 2**-25.
49875         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49876         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49877         small.
49878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49879         * math/libm-test.inc (y0_test): New tests.
49880         (y1_test): New tests.
49881         * sysdeps/i386/fpu/libm-test-ulps: Update.
49882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49885 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49887         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49888         64-bit targets.
49889         * configure: Regenerated.
49891 2012-11-17  David S. Miller  <davem@davemloft.net>
49893         [BZ #14811]
49894         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49895         nonzero exponents with absolute value below 0x1p-128 to +/-
49896         0x1p-128.
49898 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49900         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49902         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49904         * posix/getconf-speclist.c: New file.
49905         * posix/posix-envs.def: Likewise.
49906         * posix/confstr.c (START_ENV_GROUP): New macro.
49907         (END_ENV_GROUP): Likewise.
49908         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49909         (KNOWN_PRESENT_ENV_STRING): Likewise.
49910         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49911         (UNKNOWN_ENVIRONMENT): Likewise.
49912         (confstr): Include posix-envs.def instead of handling
49913         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49914         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49915         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49916         (END_ENV_GROUP): Likewise.
49917         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49918         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49919         (UNKNOWN_ENVIRONMENT): Likewise.
49920         (__sysconf): Include posix-envs.def instead of handling associated
49921         cases directly here.
49922         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49923         preprocessing getconf-speclist.c rather than running getconf or
49924         generating empty file.
49926 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49928         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49930 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49932         [BZ #14672]
49933         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49935 2012-11-16  David S. Miller  <davem@davemloft.net>
49937         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49938         smaller than LDBL_EPSILON/2.0L, just return xm1.
49940 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49942         * elf/tst-array1.c (init): Set constructor priority to 1000.
49943         (fini): Set destructor priority to 1000.
49944         * elf/tst-array2dep.c: Likewise.
49946 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49948         [BZ #11741]
49949         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49950         (_IO_new_file_xsputn): Also return EOF if none of the input
49951         data was written when overflow failed.
49952         * libio/iopadn.c (_IO_padn): Likewise.
49953         * libio/iowpadn.c (_IO_wpadn): Likewise.
49954         * stdio-common/tst-put-error.c: Add copyright notice.
49955         (do_test): Add case for printing padded string.
49956         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49957         _IO_padn returned error.
49958         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49959         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49960         return EOF.
49962 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49964         * libio/libioP.h: Add comment note that the references to C++
49965         bits are now obsolete.
49967 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49969         * math/libm-test.inc (check_complex): Use asprintf.
49971 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49973         * debug/pcprofiledump.c (print_version): Update copyright year.
49974         * malloc/memusagestat.c (print_version): Likewise.
49976 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49978         [BZ #14831]
49979         * elf/Makefile (tests): Add tst-audit8.
49980         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49981         ($(objpfx)tst-audit8.out): New target.
49982         (tst-audit8-ENV): New variable.
49983         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49984         audit if l_reloc_result is NULL.
49985         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49986         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49987         * elf/tst-audit8.c: New file.
49989 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49991         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49992         * misc/Makefile (CFLAGS-select.c): Define.
49993         * posix/Makefile (CFLAGS-pause.c): Define.
49995 2012-11-13  David S. Miller  <davem@davemloft.net>
49997         * crypt/Makefile: Move test targets after toplevel Rules
49998         inclusion.  Grab any necessary sysdep routines when linking.
49999         * crypt/md5.c (md5_process_block): Remove define, we will always
50000         name it __md5_process_block.
50001         (md5_finish_ctx): Update md5_process_block call.
50002         (md5_stream): Likewise.
50003         (md5_process_bytes): Likewise.
50004         (md5_process_block): Rename to __md5_process_block and move to ...
50005         * crypt/md5-block.c: ... here.
50006         * crypt/sha256.c (sha256_process_block): Move to ...
50007         * crypt/sha256-block.c: ... here.
50008         * crypt/sha512.c (sha512_process_block): Move to ...
50009         * crypt/sha512-block.c: ... here.
50010         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50011         path.
50012         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50013         * sysdeps/sparc/sparc64/multiarch/Makefile
50014         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50015         crypt subdir.
50016         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50017         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50018         multiarch changes.
50019         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50020         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50021         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50022         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50023         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50024         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50025         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50026         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50027         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50028         file.
50029         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50030         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50031         file.
50032         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50034 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50036         * timezone/tzselect.ksh: Update from tzcode git revision
50037         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50038         * timezone/zdump.c: Likewise.
50039         * timezone/zic.c: Likewise.
50040         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50041         in TZVERSION setting, not $(PKGVERSION).
50042         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50043         REPORT_BUGS_TO settings.
50045         [BZ #14838]
50046         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50047         macro.
50049 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50051         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50052         detection to immediately after _FP_ROUND().
50053         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50054         bits are 0.
50056 2012-11-11  David S. Miller  <davem@davemloft.net>
50058         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50059         inttypes.h
50060         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50061         __close rather than their public counterparts.
50063 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50065         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50066         file.
50067         [UNIX98] (sem_timedwait): Do not expect.
50068         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50069         [XPG4 || UNIX98] (sockatmark): Do not expect.
50070         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50071         (clock_getcpuclockid): Do not expect.
50072         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50073         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50074         Do not expect.
50075         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50076         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50077         [UNIX98] (vwscanf): Likewise.
50078         [UNIX98] (vswscanf): Likewise.
50080 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50082         * timezone/version.h: Remove file.
50083         * timezone/README: Do not refer to version.h.
50084         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50085         $(objpfx)version.h.
50086         ($(objpfx)zdump.o): Likewise.
50087         ($(objpfx)version.h): New target.
50089         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50090         2012i.
50091         * timezone/README: Don't mention modification to tzselect.ksh.
50092         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50093         work on unmodified tzselect.ksh.  Substitute version numbers in
50094         tzselect.ksh.
50096         * Makefile (format-me): Remove.
50097         (INSTALL): Adjust indentation.  Use commands directly instead of
50098         using $(format-me).
50100         * aclocal.m4 (ACX_PKGVERSION): New macro.
50101         (ACX_BUGURL): Likewise.
50102         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50103         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50104         (REPORT_BUGS_TO): Likewise.
50105         * configure: Regenerated.
50106         * config.h.in (PKGVERSION): New macro.
50107         (REPORT_BUGS_TO): Likewise.
50108         * config.make.in (PKGVERSION): New variable.
50109         (PKGVERSION_TEXI): Likewise.
50110         (REPORT_BUGS_TO): Likewise.
50111         (REPORT_BUGS_TEXI): Likewise.
50112         * Makefile (format-me): Use -I$(common-objpfx)manual.
50113         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50114         ($(common-objpfx)manual/%): New target.
50115         (manual/%): Remove target.
50116         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50117         (print_version): Use PKGVERSION.
50118         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50119         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50120         and REPORT_BUGS_TO.
50121         ($(objpfx)xtrace): Likewise.
50122         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50123         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50124         (print_version): Use PKGVERSION.
50125         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50126         (do_version): Use PKGVERSION.
50127         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50128         REPORT_BUGS_TO.
50129         (common-ldd-rewrite): Likewise.
50130         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50131         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50132         (print_version): Use PKGVERSION.
50133         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50134         * elf/pldd.c (argp_program_bug_address): Remove variable.
50135         (more_help): New function.
50136         (argp): Use more_help.
50137         (print_version): Use PKGVERSION.
50138         * elf/sln.c (main): Use PKGVERSION.
50139         (usage): Use REPORT_BUGS_TO.
50140         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50141         (top level): Use PKGVERSION.
50142         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50143         (print_version): Use PKGVERSION.
50144         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50145         (print_version): Use PKGVERSION.
50146         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50147         (print_version): Use PKGVERSION.
50148         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50149         (print_version): Use PKGVERSION.
50150         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50151         (print_version): Use PKGVERSION.
50152         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50153         (print_version): Use PKGVERSION.
50154         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50155         and BUGURL.
50156         ($(objpfx)memusage): Likewise.
50157         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50158         (do_version): Use PKGVERSION.
50159         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50160         (print_version): Use PKGVERSION.
50161         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50162         ($PKGVERSION): New variable.
50163         ($REPORT_BUGS_TO): Likewise.
50164         (usage): Use $REPORT_BUGS_TO.
50165         (top level): Use $PKGVERSION.
50166         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50167         ($(objpfx)pkgvers.texi): New rule.
50168         ($(objpfx)stamp-pkgvers): Likewise.
50169         * manual/install.texi: Include pkgvers.texi.
50170         (--with-pkgversion): Document new configure option.
50171         (--with-bugurl): Likewise.
50172         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50173         than necessarily for this particular distribution.  Use
50174         REPORT_BUGS_TO for where to report bugs.
50175         * INSTALL: Regenerated.
50176         * manual/libc.texinfo: Include pkgvers.texi.
50177         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50178         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50179         (print_version): Use PKGVERSION.
50180         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50181         (print_version): Use PKGVERSION.
50182         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50183         (print_version): Use PKGVERSION.
50184         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50185         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50186         macro.
50187         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50188         (print_version): Use PKGVERSION.
50189         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50190         (print_version): Use PKGVERSION.
50191         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50192         and PKGVERSION.
50194         * timezone/checktab.awk: Update from tzcode 2012i.
50195         * timezone/ialloc.c: Likewise.
50196         * timezone/private.h: Likewise.
50197         * timezone/scheck.c: Likewise.
50198         * timezone/tzfile.h: Likewise.
50199         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50200         (TZVERSION): Hardcode tzcode version number.
50201         * timezone/zdump.c: Update from tzcode 2012i.
50202         * timezone/zic.c: Likewise.
50203         * timezone/version.h: New file.
50204         * timezone/README: Describe version.h.  Update upstream location.
50206         [BZ #14824]
50207         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50208         (mktemp): Enable declaration.
50209         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50210         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50211         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50212         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50213         Likewise.
50214         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50215         Likewise.
50216         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50217         Likewise.
50218         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50219         Likewise.
50220         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50221         Likewise.
50222         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50223         Likewise.
50225         [BZ #14821]
50226         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50227         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
50228         for copies of such integer values.
50229         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50230         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50232 2012-11-09  Andreas Jaeger  <aj@suse.de>
50234         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50235         definitions and declarations that are provided by
50236         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50238 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50240         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50241         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50242         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50243         definition.
50245 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50247         * elf/elf.h: Update comment before AArch64 relocations.
50249 2012-11-07  David S. Miller  <davem@davemloft.net>
50251         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50252         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50253         (__start_context): Declare.
50254         (__makecontext_ret): Delete.
50255         (__makecontext): Hook up __start_context instead of
50256         __makecontext_ret.
50257         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50258         (sysdep_routines): Add __start_context when in stdlib.
50260 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50262         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50263         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50264         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
50265         hardcoded "nm".
50266         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
50267         (READELF): New variable.  Use it instead of hardcoded "readelf".
50269 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50271         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50272         * sysdeps/x86/Makefile: Here.
50273         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50274         * sysdeps/x86/tst-xmmymm.sh: This.
50276 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50278         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50279         expectations.
50280         [UNIX98] (pthread_barrier_t): Do not expect.
50281         [UNIX98] (pthread_barrierattr_t): Likewise.
50282         [UNIX98] (pthread_spinlock_t): Likewise.
50283         [UNIX98] (pthread_barrier_destroy): Likewise.
50284         [UNIX98] (pthread_barrier_init): Likewise.
50285         [UNIX98] (pthread_barrier_wait): Likewise.
50286         [UNIX98] (pthread_barrierattr_destroy): Likewise.
50287         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50288         [UNIX98] (pthread_barrierattr_init): Likewise.
50289         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50290         [UNIX98] (pthread_getcpuclockid): Likewise.
50291         [UNIX98] (pthread_mutex_timedlock): Likewise.
50292         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50293         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50294         [UNIX98] (pthread_sigmask): Likewise.
50295         [UNIX98] (pthread_spin_destroy): Likewise.
50296         [UNIX98] (pthread_spin_init): Likewise.
50297         [UNIX98] (pthread_spin_lock): Likewise.
50298         [UNIX98] (pthread_spin_trylock): Likewise.
50299         [UNIX98] (pthread_spin_unlock): Likewise.
50300         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50301         Do not expect.
50302         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50303         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50304         [XPG3 || XPG4] (pthread_cond_t): Likewise.
50305         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50306         [XPG3 || XPG4] (pthread_key_t): Likewise.
50307         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50308         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50309         [XPG3 || XPG4] (pthread_once_t): Likewise.
50310         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50311         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50312         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50313         [XPG3 || XPG4] (pthread_t): Likewise.
50315         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50316         not expect.
50317         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50319         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50320         Change function return type to int.
50322         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50323         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50324         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50325         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50326         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50327         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50328         [!POSIX] (posix_madvise): Likewise.
50329         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50330         && !UNIX98].
50331         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50332         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50333         (mode_t): Likewise.
50334         (posix_mem_offset): Likewise.
50335         (posix_typed_mem_get_info): Likewise.
50336         (posix_typed_mem_open): Likewise.
50338         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50339         Change condition to [XOPEN2K8].
50341         * conform/conformtest.pl: Preprocess allow-header data with -x c
50342         instead of from stdin.
50343         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50344         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50345         [C99-based standards] (cerfc): Likewise.
50346         [C99-based standards] (cexp2): Likewise.
50347         [C99-based standards] (cexpm1): Likewise.
50348         [C99-based standards] (clog10): Likewise.
50349         [C99-based standards] (clog1p): Likewise.
50350         [C99-based standards] (clog2): Likewise.
50351         [C99-based standards] (clgamma): Likewise.
50352         [C99-based standards] (ctgamma): Likewise.
50353         [C99-based standards] (cerff): Likewise.
50354         [C99-based standards] (cerfcf): Likewise.
50355         [C99-based standards] (cexp2f): Likewise.
50356         [C99-based standards] (cexpm1f): Likewise.
50357         [C99-based standards] (clog10f): Likewise.
50358         [C99-based standards] (clog1pf): Likewise.
50359         [C99-based standards] (clog2f): Likewise.
50360         [C99-based standards] (clgammaf): Likewise.
50361         [C99-based standards] (ctgammaf): Likewise.
50362         [C99-based standards] (cerfl): Likewise.
50363         [C99-based standards] (cerfcl): Likewise.
50364         [C99-based standards] (cexp2l): Likewise.
50365         [C99-based standards] (cexpm1l): Likewise.
50366         [C99-based standards] (clog10l): Likewise.
50367         [C99-based standards] (clog1pl): Likewise.
50368         [C99-based standards] (clog2l): Likewise.
50369         [C99-based standards] (clgammal): Likewise.
50370         [C99-based standards] (ctgammal): Likewise.
50371         * conform/data/inttypes.h-data [C99-based standards]: Include
50372         stdint.h-data.  Remove all expectations for stdint.h contents.
50373         [C99-based standards] (PRI*): Do not allow.
50374         [C99-based standards] (SCN*): Likewise.
50375         [C99-based standards] (*_t): Likewise.
50376         [C99-based-standards] (PRId8): Expect macro.
50377         [C99-based-standards] (PRIi8): Likewise.
50378         [C99-based-standards] (PRIo8): Likewise.
50379         [C99-based-standards] (PRIu8): Likewise.
50380         [C99-based-standards] (PRIx8): Likewise.
50381         [C99-based-standards] (PRIX8): Likewise.
50382         [C99-based-standards] (SCNd8): Likewise.
50383         [C99-based-standards] (SCNi8): Likewise.
50384         [C99-based-standards] (SCNo8): Likewise.
50385         [C99-based-standards] (SCNu8): Likewise.
50386         [C99-based-standards] (SCNx8): Likewise.
50387         [C99-based-standards] (PRIdLEAST8): Likewise.
50388         [C99-based-standards] (PRIiLEAST8): Likewise.
50389         [C99-based-standards] (PRIoLEAST8): Likewise.
50390         [C99-based-standards] (PRIuLEAST8): Likewise.
50391         [C99-based-standards] (PRIxLEAST8): Likewise.
50392         [C99-based-standards] (PRIXLEAST8): Likewise.
50393         [C99-based-standards] (SCNdLEAST8): Likewise.
50394         [C99-based-standards] (SCNiLEAST8): Likewise.
50395         [C99-based-standards] (SCNoLEAST8): Likewise.
50396         [C99-based-standards] (SCNuLEAST8): Likewise.
50397         [C99-based-standards] (SCNxLEAST8): Likewise.
50398         [C99-based-standards] (PRIdFAST8): Likewise.
50399         [C99-based-standards] (PRIiFAST8): Likewise.
50400         [C99-based-standards] (PRIoFAST8): Likewise.
50401         [C99-based-standards] (PRIuFAST8): Likewise.
50402         [C99-based-standards] (PRIxFAST8): Likewise.
50403         [C99-based-standards] (PRIXFAST8): Likewise.
50404         [C99-based-standards] (SCNdFAST8): Likewise.
50405         [C99-based-standards] (SCNiFAST8): Likewise.
50406         [C99-based-standards] (SCNoFAST8): Likewise.
50407         [C99-based-standards] (SCNuFAST8): Likewise.
50408         [C99-based-standards] (SCNxFAST8): Likewise.
50409         [C99-based-standards] (PRId16): Likewise.
50410         [C99-based-standards] (PRIi16): Likewise.
50411         [C99-based-standards] (PRIo16): Likewise.
50412         [C99-based-standards] (PRIu16): Likewise.
50413         [C99-based-standards] (PRIx16): Likewise.
50414         [C99-based-standards] (PRIX16): Likewise.
50415         [C99-based-standards] (SCNd16): Likewise.
50416         [C99-based-standards] (SCNi16): Likewise.
50417         [C99-based-standards] (SCNo16): Likewise.
50418         [C99-based-standards] (SCNu16): Likewise.
50419         [C99-based-standards] (SCNx16): Likewise.
50420         [C99-based-standards] (PRIdLEAST16): Likewise.
50421         [C99-based-standards] (PRIiLEAST16): Likewise.
50422         [C99-based-standards] (PRIoLEAST16): Likewise.
50423         [C99-based-standards] (PRIuLEAST16): Likewise.
50424         [C99-based-standards] (PRIxLEAST16): Likewise.
50425         [C99-based-standards] (PRIXLEAST16): Likewise.
50426         [C99-based-standards] (SCNdLEAST16): Likewise.
50427         [C99-based-standards] (SCNiLEAST16): Likewise.
50428         [C99-based-standards] (SCNoLEAST16): Likewise.
50429         [C99-based-standards] (SCNuLEAST16): Likewise.
50430         [C99-based-standards] (SCNxLEAST16): Likewise.
50431         [C99-based-standards] (PRIdFAST16): Likewise.
50432         [C99-based-standards] (PRIiFAST16): Likewise.
50433         [C99-based-standards] (PRIoFAST16): Likewise.
50434         [C99-based-standards] (PRIuFAST16): Likewise.
50435         [C99-based-standards] (PRIxFAST16): Likewise.
50436         [C99-based-standards] (PRIXFAST16): Likewise.
50437         [C99-based-standards] (SCNdFAST16): Likewise.
50438         [C99-based-standards] (SCNiFAST16): Likewise.
50439         [C99-based-standards] (SCNoFAST16): Likewise.
50440         [C99-based-standards] (SCNuFAST16): Likewise.
50441         [C99-based-standards] (SCNxFAST16): Likewise.
50442         [C99-based-standards] (PRId32): Likewise.
50443         [C99-based-standards] (PRIi32): Likewise.
50444         [C99-based-standards] (PRIo32): Likewise.
50445         [C99-based-standards] (PRIu32): Likewise.
50446         [C99-based-standards] (PRIx32): Likewise.
50447         [C99-based-standards] (PRIX32): Likewise.
50448         [C99-based-standards] (SCNd32): Likewise.
50449         [C99-based-standards] (SCNi32): Likewise.
50450         [C99-based-standards] (SCNo32): Likewise.
50451         [C99-based-standards] (SCNu32): Likewise.
50452         [C99-based-standards] (SCNx32): Likewise.
50453         [C99-based-standards] (PRIdLEAST32): Likewise.
50454         [C99-based-standards] (PRIiLEAST32): Likewise.
50455         [C99-based-standards] (PRIoLEAST32): Likewise.
50456         [C99-based-standards] (PRIuLEAST32): Likewise.
50457         [C99-based-standards] (PRIxLEAST32): Likewise.
50458         [C99-based-standards] (PRIXLEAST32): Likewise.
50459         [C99-based-standards] (SCNdLEAST32): Likewise.
50460         [C99-based-standards] (SCNiLEAST32): Likewise.
50461         [C99-based-standards] (SCNoLEAST32): Likewise.
50462         [C99-based-standards] (SCNuLEAST32): Likewise.
50463         [C99-based-standards] (SCNxLEAST32): Likewise.
50464         [C99-based-standards] (PRIdFAST32): Likewise.
50465         [C99-based-standards] (PRIiFAST32): Likewise.
50466         [C99-based-standards] (PRIoFAST32): Likewise.
50467         [C99-based-standards] (PRIuFAST32): Likewise.
50468         [C99-based-standards] (PRIxFAST32): Likewise.
50469         [C99-based-standards] (PRIXFAST32): Likewise.
50470         [C99-based-standards] (SCNdFAST32): Likewise.
50471         [C99-based-standards] (SCNiFAST32): Likewise.
50472         [C99-based-standards] (SCNoFAST32): Likewise.
50473         [C99-based-standards] (SCNuFAST32): Likewise.
50474         [C99-based-standards] (SCNxFAST32): Likewise.
50475         [C99-based-standards] (PRId64): Likewise.
50476         [C99-based-standards] (PRIi64): Likewise.
50477         [C99-based-standards] (PRIo64): Likewise.
50478         [C99-based-standards] (PRIu64): Likewise.
50479         [C99-based-standards] (PRIx64): Likewise.
50480         [C99-based-standards] (PRIX64): Likewise.
50481         [C99-based-standards] (SCNd64): Likewise.
50482         [C99-based-standards] (SCNi64): Likewise.
50483         [C99-based-standards] (SCNo64): Likewise.
50484         [C99-based-standards] (SCNu64): Likewise.
50485         [C99-based-standards] (SCNx64): Likewise.
50486         [C99-based-standards] (PRIdLEAST64): Likewise.
50487         [C99-based-standards] (PRIiLEAST64): Likewise.
50488         [C99-based-standards] (PRIoLEAST64): Likewise.
50489         [C99-based-standards] (PRIuLEAST64): Likewise.
50490         [C99-based-standards] (PRIxLEAST64): Likewise.
50491         [C99-based-standards] (PRIXLEAST64): Likewise.
50492         [C99-based-standards] (SCNdLEAST64): Likewise.
50493         [C99-based-standards] (SCNiLEAST64): Likewise.
50494         [C99-based-standards] (SCNoLEAST64): Likewise.
50495         [C99-based-standards] (SCNuLEAST64): Likewise.
50496         [C99-based-standards] (SCNxLEAST64): Likewise.
50497         [C99-based-standards] (PRIdFAST64): Likewise.
50498         [C99-based-standards] (PRIiFAST64): Likewise.
50499         [C99-based-standards] (PRIoFAST64): Likewise.
50500         [C99-based-standards] (PRIuFAST64): Likewise.
50501         [C99-based-standards] (PRIxFAST64): Likewise.
50502         [C99-based-standards] (PRIXFAST64): Likewise.
50503         [C99-based-standards] (SCNdFAST64): Likewise.
50504         [C99-based-standards] (SCNiFAST64): Likewise.
50505         [C99-based-standards] (SCNoFAST64): Likewise.
50506         [C99-based-standards] (SCNuFAST64): Likewise.
50507         [C99-based-standards] (SCNxFAST64): Likewise.
50508         [C99-based-standards] (PRIdMAX): Likewise.
50509         [C99-based-standards] (PRIiMAX): Likewise.
50510         [C99-based-standards] (PRIoMAX): Likewise.
50511         [C99-based-standards] (PRIuMAX): Likewise.
50512         [C99-based-standards] (PRIxMAX): Likewise.
50513         [C99-based-standards] (PRIXMAX): Likewise.
50514         [C99-based-standards] (SCNdMAX): Likewise.
50515         [C99-based-standards] (SCNiMAX): Likewise.
50516         [C99-based-standards] (SCNoMAX): Likewise.
50517         [C99-based-standards] (SCNuMAX): Likewise.
50518         [C99-based-standards] (SCNxMAX): Likewise.
50519         [C99-based-standards] (PRIdPTR): Likewise.
50520         [C99-based-standards] (PRIiPTR): Likewise.
50521         [C99-based-standards] (PRIoPTR): Likewise.
50522         [C99-based-standards] (PRIuPTR): Likewise.
50523         [C99-based-standards] (PRIxPTR): Likewise.
50524         [C99-based-standards] (PRIXPTR): Likewise.
50525         [C99-based-standards] (SCNdPTR): Likewise.
50526         [C99-based-standards] (SCNiPTR): Likewise.
50527         [C99-based-standards] (SCNoPTR): Likewise.
50528         [C99-based-standards] (SCNuPTR): Likewise.
50529         [C99-based-standards] (SCNxPTR): Likewise.
50530         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50531         allow.
50532         * conform/data/stdint.h-data: Update comments to clarify
50533         requirements.
50534         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50535         type.
50536         [C99-based standards] (INT8_MAX): Likewise.
50537         [C99-based standards] (INT16_MIN): Likewise.
50538         [C99-based standards] (INT16_MAX): Likewise.
50539         [C99-based standards] (INT32_MIN): Likewise.
50540         [C99-based standards] (INT32_MAX): Likewise.
50541         [C99-based standards] (INT64_MIN): Likewise.
50542         [C99-based standards] (INT64_MAX): Likewise.
50543         [C99-based standards] (UINT8_MAX): Likewise.
50544         [C99-based standards] (UINT16_MAX): Likewise.
50545         [C99-based standards] (UINT32_MAX): Likewise.
50546         [C99-based standards] (UINT64_MAX): Likewise.
50547         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50548         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50549         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50550         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50551         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50552         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50553         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50554         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50555         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50556         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50557         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50558         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50559         [C99-based standards] (INT_FAST8_MIN): Likewise.
50560         [C99-based standards] (INT_FAST8_MAX): Likewise.
50561         [C99-based standards] (INT_FAST16_MIN): Likewise.
50562         [C99-based standards] (INT_FAST16_MAX): Likewise.
50563         [C99-based standards] (INT_FAST32_MIN): Likewise.
50564         [C99-based standards] (INT_FAST32_MAX): Likewise.
50565         [C99-based standards] (INT_FAST64_MIN): Likewise.
50566         [C99-based standards] (INT_FAST64_MAX): Likewise.
50567         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50568         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50569         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50570         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50571         [C99-based standards] (INTPTR_MIN): Likewise.
50572         [C99-based standards] (INTPTR_MAX): Likewise.
50573         [C99-based standards] (UINTPTR_MAX): Likewise.
50574         [C99-based standards] (INTMAX_MIN): Likewise.
50575         [C99-based standards] (INTMAX_MAX): Likewise.
50576         [C99-based standards] (UINTMAX_MAX): Likewise.
50577         [C99-based standards] (PTRDIFF_MIN): Likewise.
50578         [C99-based standards] (PTRDIFF_MAX): Likewise.
50579         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50580         [C99-based standards] (SIZE_MAX): Likewise.
50581         [C99-based standards] (WCHAR_MAX): Likewise.
50582         [C99-based standards] (WINT_MAX): Likewise.
50583         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50584         constraint on value.
50585         [C99-based standards] (WCHAR_MIN): Likewise.
50586         [C99-based standards] (WINT_MIN): Likewise.
50587         [C99-based standards] (*_t): Allow.
50588         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50589         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50590         Include math.h-data and complex.h-data.  Remove all expectations
50591         of math.h and complex.h contents.
50592         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50593         at end of line.
50594         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50595         (struct tm): Expect tag.
50596         [C99-based-standards] (wcstof): Expect function.
50597         [C99-based-standards] (wcstold): Likewise.
50598         [C99-based-standards] (wcstoll): Likewise.
50599         [C99-based-standards] (wcstoull): Likewise.
50600         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50601         macro-int-constant.  Specify type.
50602         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50603         constraint on value.
50604         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50605         Specify type.
50606         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50607         Specify value.
50608         [ISO C standards]: Do not allow headers.
50609         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50610         wcs[abcdefghijklmnopqrstuvwxyz]*.
50611         [ISO C standards] (*_t): Do not allow.
50612         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50613         Expect function.
50614         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50615         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50616         Specify type.
50617         [ISO C standards]: Do not allow headers.
50618         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50619         is[abcdefghijklmnopqrstuvwxyz]*.
50620         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50621         to[abcdefghijklmnopqrstuvwxyz]*.
50622         [ISO C standards] (*_t): Do not allow.
50623         * conform/data/stdalign.h-data: New file.
50624         * conform/data/stdbool.h-data: Likewise.
50625         * conform/data/stdnoreturn.h-data: Likewise.
50627 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50629         [BZ #14815]
50630         * manual/filesys.texi (Directory Entries): Typo fix.
50631         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50633 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50635         * elf/elf.h (EM_AARCH64): New macro.
50636         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50637         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50638         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50639         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50640         (R_AARCH64_TLSDESC): Likewise.
50641         (NT_ARM_TLS): Likewise.
50642         (NT_ARM_HW_BREAK): Likewise.
50643         (NT_ARM_HW_WATCH): Likewise.
50645 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50647         [BZ #14811]
50648         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50649         (__ieee754_powl): Saturate nonzero exponents with absolute value
50650         below 0x1p-79 to +/- 0x1p-79.
50651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50652         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50653         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50654         nonzero exponents with absolute value below 0x1p-32 to +/-
50655         0x1p-32.
50656         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50657         (__ieee754_powl): Saturate nonzero exponents with absolute value
50658         below 0x1p-79 to +/- 0x1p-79.
50659         * math/libm-test.inc (pow_test): Add more tests.
50661 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50663         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50664         _dl_s390_cap_flags with kernel. Increase string length.
50665         (_dl_s390_platforms): Add z196 and zEC12.
50667 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50669         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50670         Change XOPEN21K to XOPEN2K.
50672 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50674         * string/memmove.c: Use memcpy when possible.
50676 2012-11-06  Andreas Jaeger  <aj@suse.de>
50678         * po/eo.po: Update from translation team.
50680 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50682         [BZ #14793]
50683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50684         exponent and small x and y exponents, scale x or y up.  Increase
50685         by 2 the exponent used in scaling up.
50686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50688         * math/libm-test.inc (fma_test): Add more tests.
50689         (fma_test_towardzero): Likewise.
50690         (fma_test_downward): Likewise.
50691         (fma_test_upward): Likewise.
50693 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50695         [BZ #14805]
50696         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50697         fenv_t *.
50699         [BZ #14801]
50700         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50701         namespace for names of struct fields.
50702         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50703         fenv_t fields.
50704         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50705         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50707 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50709         [BZ #3665]
50710         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50712 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50714         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50715         PTR_DEMANGLE.
50717         [BZ #5246]
50718         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50719         PTR_DEMANGLE.
50721 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50723         [BZ #14797]
50724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50725         definitely overflow as x * y not x * y + z.
50726         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50727         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50728         * math/libm-test.inc (fma_test): Add more tests.
50729         (fma_test_towardzero): Likewise.
50730         (fma_test_downward): Likewise.
50731         (fma_test_upward): Likewise.
50733 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50735         [BZ #157]
50737         * include/stub-tag.h: Remove file.
50738         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50739         '#include' of it.
50740         * manual/maint.texi (Porting): Don't reference it.
50741         * Makerules ($(objpfx)stubs): Likewise.
50742         * dirent/closedir.c: Don't include <stub-tag.h>.
50743         * dirent/dirfd.c: Likewise.
50744         * dirent/fdopendir.c: Likewise.
50745         * dirent/getdents.c: Likewise.
50746         * dirent/getdents64.c: Likewise.
50747         * dirent/opendir.c: Likewise.
50748         * dirent/readdir.c: Likewise.
50749         * dirent/readdir64.c: Likewise.
50750         * dirent/readdir64_r.c: Likewise.
50751         * dirent/readdir_r.c: Likewise.
50752         * dirent/rewinddir.c: Likewise.
50753         * dirent/seekdir.c: Likewise.
50754         * dirent/telldir.c: Likewise.
50755         * gmon/profil.c: Likewise.
50756         * grp/setgroups.c: Likewise.
50757         * inet/if_index.c: Likewise.
50758         * io/access.c: Likewise.
50759         * io/chdir.c: Likewise.
50760         * io/chmod.c: Likewise.
50761         * io/chown.c: Likewise.
50762         * io/close.c: Likewise.
50763         * io/dup.c: Likewise.
50764         * io/dup2.c: Likewise.
50765         * io/dup3.c: Likewise.
50766         * io/euidaccess.c: Likewise.
50767         * io/faccessat.c: Likewise.
50768         * io/fchdir.c: Likewise.
50769         * io/fchmod.c: Likewise.
50770         * io/fchmodat.c: Likewise.
50771         * io/fchown.c: Likewise.
50772         * io/fchownat.c: Likewise.
50773         * io/fcntl.c: Likewise.
50774         * io/flock.c: Likewise.
50775         * io/fstatfs.c: Likewise.
50776         * io/fstatfs64.c: Likewise.
50777         * io/fstatvfs.c: Likewise.
50778         * io/fstatvfs64.c: Likewise.
50779         * io/futimens.c: Likewise.
50780         * io/fxstat.c: Likewise.
50781         * io/fxstat64.c: Likewise.
50782         * io/fxstatat.c: Likewise.
50783         * io/fxstatat64.c: Likewise.
50784         * io/getcwd.c: Likewise.
50785         * io/isatty.c: Likewise.
50786         * io/lchmod.c: Likewise.
50787         * io/lchown.c: Likewise.
50788         * io/link.c: Likewise.
50789         * io/linkat.c: Likewise.
50790         * io/lseek.c: Likewise.
50791         * io/lseek64.c: Likewise.
50792         * io/lxstat64.c: Likewise.
50793         * io/mkdir.c: Likewise.
50794         * io/mkdirat.c: Likewise.
50795         * io/mkfifo.c: Likewise.
50796         * io/mkfifoat.c: Likewise.
50797         * io/open.c: Likewise.
50798         * io/open64.c: Likewise.
50799         * io/openat.c: Likewise.
50800         * io/openat64.c: Likewise.
50801         * io/pipe.c: Likewise.
50802         * io/pipe2.c: Likewise.
50803         * io/poll.c: Likewise.
50804         * io/posix_fadvise.c: Likewise.
50805         * io/posix_fadvise64.c: Likewise.
50806         * io/posix_fallocate.c: Likewise.
50807         * io/posix_fallocate64.c: Likewise.
50808         * io/read.c: Likewise.
50809         * io/readlink.c: Likewise.
50810         * io/readlinkat.c: Likewise.
50811         * io/rmdir.c: Likewise.
50812         * io/sendfile.c: Likewise.
50813         * io/sendfile64.c: Likewise.
50814         * io/statfs.c: Likewise.
50815         * io/statfs64.c: Likewise.
50816         * io/statvfs.c: Likewise.
50817         * io/statvfs64.c: Likewise.
50818         * io/symlink.c: Likewise.
50819         * io/symlinkat.c: Likewise.
50820         * io/ttyname.c: Likewise.
50821         * io/ttyname_r.c: Likewise.
50822         * io/umask.c: Likewise.
50823         * io/unlink.c: Likewise.
50824         * io/unlinkat.c: Likewise.
50825         * io/utime.c: Likewise.
50826         * io/utimensat.c: Likewise.
50827         * io/write.c: Likewise.
50828         * io/xmknod.c: Likewise.
50829         * io/xmknodat.c: Likewise.
50830         * io/xstat.c: Likewise.
50831         * io/xstat64.c: Likewise.
50832         * login/getpt.c: Likewise.
50833         * login/grantpt.c: Likewise.
50834         * login/unlockpt.c: Likewise.
50835         * math/e_acoshl.c: Likewise.
50836         * math/e_acosl.c: Likewise.
50837         * math/e_asinl.c: Likewise.
50838         * math/e_atan2l.c: Likewise.
50839         * math/e_atanhl.c: Likewise.
50840         * math/e_coshl.c: Likewise.
50841         * math/e_expl.c: Likewise.
50842         * math/e_fmodl.c: Likewise.
50843         * math/e_gammal_r.c: Likewise.
50844         * math/e_hypotl.c: Likewise.
50845         * math/e_j0l.c: Likewise.
50846         * math/e_j1l.c: Likewise.
50847         * math/e_jnl.c: Likewise.
50848         * math/e_lgammal_r.c: Likewise.
50849         * math/e_log10l.c: Likewise.
50850         * math/e_log2l.c: Likewise.
50851         * math/e_logl.c: Likewise.
50852         * math/e_powl.c: Likewise.
50853         * math/e_rem_pio2l.c: Likewise.
50854         * math/e_sinhl.c: Likewise.
50855         * math/e_sqrtl.c: Likewise.
50856         * math/fclrexcpt.c: Likewise.
50857         * math/fedisblxcpt.c: Likewise.
50858         * math/feenablxcpt.c: Likewise.
50859         * math/fegetenv.c: Likewise.
50860         * math/fegetexcept.c: Likewise.
50861         * math/fegetround.c: Likewise.
50862         * math/feholdexcpt.c: Likewise.
50863         * math/fesetenv.c: Likewise.
50864         * math/fesetround.c: Likewise.
50865         * math/feupdateenv.c: Likewise.
50866         * math/fgetexcptflg.c: Likewise.
50867         * math/fraiseexcpt.c: Likewise.
50868         * math/fsetexcptflg.c: Likewise.
50869         * math/ftestexcept.c: Likewise.
50870         * math/k_cosl.c: Likewise.
50871         * math/k_rem_pio2l.c: Likewise.
50872         * math/k_sinl.c: Likewise.
50873         * math/k_tanl.c: Likewise.
50874         * math/s_asinhl.c: Likewise.
50875         * math/s_atanl.c: Likewise.
50876         * math/s_cbrtl.c: Likewise.
50877         * math/s_erfl.c: Likewise.
50878         * math/s_expm1l.c: Likewise.
50879         * math/s_log1pl.c: Likewise.
50880         * math/s_tanhl.c: Likewise.
50881         * misc/acct.c: Likewise.
50882         * misc/brk.c: Likewise.
50883         * misc/chflags.c: Likewise.
50884         * misc/chroot.c: Likewise.
50885         * misc/fchflags.c: Likewise.
50886         * misc/fgetxattr.c: Likewise.
50887         * misc/flistxattr.c: Likewise.
50888         * misc/fremovexattr.c: Likewise.
50889         * misc/fsetxattr.c: Likewise.
50890         * misc/fsync.c: Likewise.
50891         * misc/ftruncate.c: Likewise.
50892         * misc/futimes.c: Likewise.
50893         * misc/futimesat.c: Likewise.
50894         * misc/getdomain.c: Likewise.
50895         * misc/getdtsz.c: Likewise.
50896         * misc/gethostid.c: Likewise.
50897         * misc/gethostname.c: Likewise.
50898         * misc/getloadavg.c: Likewise.
50899         * misc/getpagesize.c: Likewise.
50900         * misc/getsysstats.c: Likewise.
50901         * misc/getxattr.c: Likewise.
50902         * misc/gtty.c: Likewise.
50903         * misc/ioctl.c: Likewise.
50904         * misc/lgetxattr.c: Likewise.
50905         * misc/listxattr.c: Likewise.
50906         * misc/llistxattr.c: Likewise.
50907         * misc/lremovexattr.c: Likewise.
50908         * misc/lsetxattr.c: Likewise.
50909         * misc/lutimes.c: Likewise.
50910         * misc/madvise.c: Likewise.
50911         * misc/mincore.c: Likewise.
50912         * misc/mlock.c: Likewise.
50913         * misc/mlockall.c: Likewise.
50914         * misc/mmap.c: Likewise.
50915         * misc/mprotect.c: Likewise.
50916         * misc/msync.c: Likewise.
50917         * misc/munlock.c: Likewise.
50918         * misc/munlockall.c: Likewise.
50919         * misc/munmap.c: Likewise.
50920         * misc/preadv.c: Likewise.
50921         * misc/preadv64.c: Likewise.
50922         * misc/ptrace.c: Likewise.
50923         * misc/pwritev.c: Likewise.
50924         * misc/pwritev64.c: Likewise.
50925         * misc/readv.c: Likewise.
50926         * misc/reboot.c: Likewise.
50927         * misc/remap_file_pages.c: Likewise.
50928         * misc/removexattr.c: Likewise.
50929         * misc/revoke.c: Likewise.
50930         * misc/select.c: Likewise.
50931         * misc/setdomain.c: Likewise.
50932         * misc/setegid.c: Likewise.
50933         * misc/seteuid.c: Likewise.
50934         * misc/sethostid.c: Likewise.
50935         * misc/sethostname.c: Likewise.
50936         * misc/setregid.c: Likewise.
50937         * misc/setreuid.c: Likewise.
50938         * misc/setxattr.c: Likewise.
50939         * misc/sstk.c: Likewise.
50940         * misc/stty.c: Likewise.
50941         * misc/swapoff.c: Likewise.
50942         * misc/swapon.c: Likewise.
50943         * misc/sync.c: Likewise.
50944         * misc/syncfs.c: Likewise.
50945         * misc/syscall.c: Likewise.
50946         * misc/truncate.c: Likewise.
50947         * misc/ualarm.c: Likewise.
50948         * misc/usleep.c: Likewise.
50949         * misc/ustat.c: Likewise.
50950         * misc/utimes.c: Likewise.
50951         * misc/vhangup.c: Likewise.
50952         * misc/writev.c: Likewise.
50953         * posix/_exit.c: Likewise.
50954         * posix/alarm.c: Likewise.
50955         * posix/execve.c: Likewise.
50956         * posix/fexecve.c: Likewise.
50957         * posix/fork.c: Likewise.
50958         * posix/fpathconf.c: Likewise.
50959         * posix/getaddrinfo.c: Likewise.
50960         * posix/getegid.c: Likewise.
50961         * posix/geteuid.c: Likewise.
50962         * posix/getgid.c: Likewise.
50963         * posix/getgroups.c: Likewise.
50964         * posix/getlogin.c: Likewise.
50965         * posix/getlogin_r.c: Likewise.
50966         * posix/getpgid.c: Likewise.
50967         * posix/getpid.c: Likewise.
50968         * posix/getppid.c: Likewise.
50969         * posix/getresgid.c: Likewise.
50970         * posix/getresuid.c: Likewise.
50971         * posix/getsid.c: Likewise.
50972         * posix/getuid.c: Likewise.
50973         * posix/glob64.c: Likewise.
50974         * posix/nanosleep.c: Likewise.
50975         * posix/pathconf.c: Likewise.
50976         * posix/pause.c: Likewise.
50977         * posix/posix_madvise.c: Likewise.
50978         * posix/pread.c: Likewise.
50979         * posix/pread64.c: Likewise.
50980         * posix/pwrite.c: Likewise.
50981         * posix/pwrite64.c: Likewise.
50982         * posix/sched_getaffinity.c: Likewise.
50983         * posix/sched_getp.c: Likewise.
50984         * posix/sched_gets.c: Likewise.
50985         * posix/sched_primax.c: Likewise.
50986         * posix/sched_primin.c: Likewise.
50987         * posix/sched_rr_gi.c: Likewise.
50988         * posix/sched_setaffinity.c: Likewise.
50989         * posix/sched_setp.c: Likewise.
50990         * posix/sched_sets.c: Likewise.
50991         * posix/sched_yield.c: Likewise.
50992         * posix/setgid.c: Likewise.
50993         * posix/setlogin.c: Likewise.
50994         * posix/setpgid.c: Likewise.
50995         * posix/setresgid.c: Likewise.
50996         * posix/setresuid.c: Likewise.
50997         * posix/setsid.c: Likewise.
50998         * posix/setuid.c: Likewise.
50999         * posix/sleep.c: Likewise.
51000         * posix/spawni.c: Likewise.
51001         * posix/sysconf.c: Likewise.
51002         * posix/times.c: Likewise.
51003         * posix/wait.c: Likewise.
51004         * posix/wait3.c: Likewise.
51005         * posix/wait4.c: Likewise.
51006         * posix/waitpid.c: Likewise.
51007         * resolv/gai_sigqueue.c: Likewise.
51008         * resource/getpriority.c: Likewise.
51009         * resource/getrlimit.c: Likewise.
51010         * resource/getrusage.c: Likewise.
51011         * resource/nice.c: Likewise.
51012         * resource/setpriority.c: Likewise.
51013         * resource/setrlimit.c: Likewise.
51014         * resource/ulimit.c: Likewise.
51015         * rt/aio_cancel.c: Likewise.
51016         * rt/aio_fsync.c: Likewise.
51017         * rt/aio_read.c: Likewise.
51018         * rt/aio_sigqueue.c: Likewise.
51019         * rt/aio_suspend.c: Likewise.
51020         * rt/aio_write.c: Likewise.
51021         * rt/clock_getres.c: Likewise.
51022         * rt/clock_gettime.c: Likewise.
51023         * rt/clock_nanosleep.c: Likewise.
51024         * rt/clock_settime.c: Likewise.
51025         * rt/lio_listio.c: Likewise.
51026         * rt/mq_close.c: Likewise.
51027         * rt/mq_getattr.c: Likewise.
51028         * rt/mq_notify.c: Likewise.
51029         * rt/mq_open.c: Likewise.
51030         * rt/mq_receive.c: Likewise.
51031         * rt/mq_send.c: Likewise.
51032         * rt/mq_setattr.c: Likewise.
51033         * rt/mq_timedreceive.c: Likewise.
51034         * rt/mq_timedsend.c: Likewise.
51035         * rt/mq_unlink.c: Likewise.
51036         * rt/shm_open.c: Likewise.
51037         * rt/shm_unlink.c: Likewise.
51038         * rt/timer_create.c: Likewise.
51039         * rt/timer_delete.c: Likewise.
51040         * rt/timer_getoverr.c: Likewise.
51041         * rt/timer_gettime.c: Likewise.
51042         * rt/timer_settime.c: Likewise.
51043         * setjmp/__longjmp.c: Likewise.
51044         * setjmp/setjmp.c: Likewise.
51045         * signal/kill.c: Likewise.
51046         * signal/killpg.c: Likewise.
51047         * signal/raise.c: Likewise.
51048         * signal/sigaction.c: Likewise.
51049         * signal/sigaltstack.c: Likewise.
51050         * signal/sigblock.c: Likewise.
51051         * signal/sigignore.c: Likewise.
51052         * signal/sigintr.c: Likewise.
51053         * signal/signal.c: Likewise.
51054         * signal/sigpause.c: Likewise.
51055         * signal/sigpending.c: Likewise.
51056         * signal/sigqueue.c: Likewise.
51057         * signal/sigreturn.c: Likewise.
51058         * signal/sigset.c: Likewise.
51059         * signal/sigsetmask.c: Likewise.
51060         * signal/sigstack.c: Likewise.
51061         * signal/sigsuspend.c: Likewise.
51062         * signal/sigtimedwait.c: Likewise.
51063         * signal/sigvec.c: Likewise.
51064         * signal/sigwait.c: Likewise.
51065         * signal/sigwaitinfo.c: Likewise.
51066         * signal/sysv_signal.c: Likewise.
51067         * socket/accept.c: Likewise.
51068         * socket/accept4.c: Likewise.
51069         * socket/bind.c: Likewise.
51070         * socket/connect.c: Likewise.
51071         * socket/getpeername.c: Likewise.
51072         * socket/getsockname.c: Likewise.
51073         * socket/getsockopt.c: Likewise.
51074         * socket/isfdtype.c: Likewise.
51075         * socket/listen.c: Likewise.
51076         * socket/recv.c: Likewise.
51077         * socket/recvfrom.c: Likewise.
51078         * socket/recvmsg.c: Likewise.
51079         * socket/send.c: Likewise.
51080         * socket/sendmsg.c: Likewise.
51081         * socket/sendto.c: Likewise.
51082         * socket/setsockopt.c: Likewise.
51083         * socket/shutdown.c: Likewise.
51084         * socket/sockatmark.c: Likewise.
51085         * socket/socket.c: Likewise.
51086         * socket/socketpair.c: Likewise.
51087         * stdio-common/ctermid.c: Likewise.
51088         * stdio-common/cuserid.c: Likewise.
51089         * stdio-common/remove.c: Likewise.
51090         * stdio-common/rename.c: Likewise.
51091         * stdio-common/renameat.c: Likewise.
51092         * stdio-common/tempname.c: Likewise.
51093         * stdlib/getcontext.c: Likewise.
51094         * stdlib/makecontext.c: Likewise.
51095         * stdlib/setcontext.c: Likewise.
51096         * stdlib/swapcontext.c: Likewise.
51097         * stdlib/system.c: Likewise.
51098         * streams/fattach.c: Likewise.
51099         * streams/fdetach.c: Likewise.
51100         * streams/getmsg.c: Likewise.
51101         * streams/getpmsg.c: Likewise.
51102         * streams/putmsg.c: Likewise.
51103         * streams/putpmsg.c: Likewise.
51104         * sysdeps/unix/bsd/getpt.c: Likewise.
51105         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51106         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51107         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51109         Likewise.
51110         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51111         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51112         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51113         * sysvipc/msgctl.c: Likewise.
51114         * sysvipc/msgget.c: Likewise.
51115         * sysvipc/msgrcv.c: Likewise.
51116         * sysvipc/msgsnd.c: Likewise.
51117         * sysvipc/semctl.c: Likewise.
51118         * sysvipc/semget.c: Likewise.
51119         * sysvipc/semop.c: Likewise.
51120         * sysvipc/semtimedop.c: Likewise.
51121         * sysvipc/shmat.c: Likewise.
51122         * sysvipc/shmctl.c: Likewise.
51123         * sysvipc/shmdt.c: Likewise.
51124         * sysvipc/shmget.c: Likewise.
51125         * termios/tcdrain.c: Likewise.
51126         * termios/tcflow.c: Likewise.
51127         * termios/tcflush.c: Likewise.
51128         * termios/tcgetattr.c: Likewise.
51129         * termios/tcgetpgrp.c: Likewise.
51130         * termios/tcsendbrk.c: Likewise.
51131         * termios/tcsetattr.c: Likewise.
51132         * termios/tcsetpgrp.c: Likewise.
51133         * time/adjtime.c: Likewise.
51134         * time/clock.c: Likewise.
51135         * time/getitimer.c: Likewise.
51136         * time/gettimeofday.c: Likewise.
51137         * time/setitimer.c: Likewise.
51138         * time/settimeofday.c: Likewise.
51139         * time/stime.c: Likewise.
51140         * time/time.c: Likewise.
51142 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51144         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51145         /usr/old/bin.
51147         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51148         instead of spaces.
51149         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51151 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51153         [BZ #14796]
51154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51155         FE_TONEAREST before applying Dekker multiplication and Knuth
51156         addition.  Clear inexact exceptions and check for exact zero
51157         results afterwards.
51158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51159         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51161         * math/libm-test.inc (fma_test): Add more tests.
51162         (fma_test_towardzero): Likewise.
51163         (fma_test_downward): Likewise.
51164         (fma_test_upward): Likewise.
51165         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51166         function.
51167         (libc_fesetround): New macro.
51168         (libc_fesetroundf): Likewise.
51169         (libc_fesetroundl): Likewise.
51170         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51171         function.
51172         (libc_fesetround_387): Likewise.
51173         (libc_fesetroundf): New macro.
51174         (libc_fesetround): Likewise.
51175         (libc_fesetroundl): Likewise.
51176         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51177         function.
51178         (libc_fesetroundf): New macro.
51179         (libc_fesetround): Likewise.
51180         (libc_fesetroundl): Likewise.
51181         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51182         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51183         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51184         libm_hidden_ver.
51185         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51186         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51187         libm_hidden_def.
51188         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51189         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51190         libm_hidden_ver.
51191         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51192         libm_hidden_def.
51194         [BZ #3439]
51195         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51196         integer constant usable in #if and use that to give value to enum
51197         constant.
51198         (FE_DIVBYZERO): Likewise.
51199         (FE_UNDERFLOW): Likewise.
51200         (FE_OVERFLOW): Likewise.
51201         (FE_INVALID): Likewise.
51202         (FE_INVALID_SNAN): Likewise.
51203         (FE_INVALID_ISI): Likewise.
51204         (FE_INVALID_IDI): Likewise.
51205         (FE_INVALID_ZDZ): Likewise.
51206         (FE_INVALID_IMZ): Likewise.
51207         (FE_INVALID_COMPARE): Likewise.
51208         (FE_INVALID_SOFTWARE): Likewise.
51209         (FE_INVALID_SQRT): Likewise.
51210         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51211         (FE_TONEAREST): Likewise.
51212         (FE_TOWARDZERO): Likewise.
51213         (FE_UPWARD): Likewise.
51214         (FE_DOWNWARD): Likewise.
51215         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51216         (FE_DIVBYZERO): Likewise.
51217         (FE_OVERFLOW): Likewise.
51218         (FE_UNDERFLOW): Likewise.
51219         (FE_INEXACT): Likewise.
51220         (FE_TONEAREST): Likewise.
51221         (FE_DOWNWARD): Likewise.
51222         (FE_UPWARD): Likewise.
51223         (FE_TOWARDZERO): Likewise.
51224         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51225         (FE_UNDERFLOW): Likewise.
51226         (FE_OVERFLOW): Likewise.
51227         (FE_DIVBYZERO): Likewise.
51228         (FE_INVALID): Likewise.
51229         (FE_TONEAREST): Likewise.
51230         (FE_TOWARDZERO): Likewise.
51231         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51232         (FE_OVERFLOW): Likewise.
51233         (FE_UNDERFLOW): Likewise.
51234         (FE_DIVBYZERO): Likewise.
51235         (FE_INEXACT): Likewise.
51236         (FE_TONEAREST): Likewise.
51237         (FE_TOWARDZERO): Likewise.
51238         (FE_UPWARD): Likewise.
51239         (FE_DOWNWARD): Likewise.
51240         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51241         (FE_DIVBYZERO): Likewise.
51242         (FE_OVERFLOW): Likewise.
51243         (FE_UNDERFLOW): Likewise.
51244         (FE_INEXACT): Likewise.
51245         (FE_TONEAREST): Likewise.
51246         (FE_DOWNWARD): Likewise.
51247         (FE_UPWARD): Likewise.
51248         (FE_TOWARDZERO): Likewise.
51250 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
51252         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51254 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
51256         * scripts/cross-test-ssh.sh (command): Use newlines to separate
51257         commands.  Quote $PWD.
51258         (blacklist_exports): Don't use remove_newlines.  Replace "declare
51259         -x" by "export".
51260         (remove_newlines): Remove.
51262 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
51264         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51265         * stdlib/stdlib.h (atof): Moved to ...
51266         * include/bits/stdlib-float.h: Here.  New file.
51267         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51268         * stdlib/bits/stdlib-float.h: New file.
51269         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51270         -mno-sse -mno-mmx.
51271         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51272         <xmmintrin.h>.
51274 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51276         * conform/conformtest.pl (@headers): Add fenv.h.
51277         * conform/data/fenv.h-data: New file.
51278         * include/fenv.h [_ISOMAC]: Disable all contents of file except
51279         include of <math/fenv.h>.
51281         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51282         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51283         && !UNIX98].  Enables tests for XOPEN2K8.
51284         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51285         POSIX2008]: Likewise.
51287         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51288         (struct rusage): Do not expect type or its members.
51290         [BZ #3439]
51291         * math/math.h (FP_NAN): Define macro to integer constant usable in
51292         #if and use that to give value to enum constant.
51293         (FP_INFINITE): Likewise.
51294         (FP_ZERO): Likewise.
51295         (FP_SUBNORMAL): Likewise.
51296         (FP_NORMAL): Likewise.
51298 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
51300         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51301         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51302         arguments.
51304 2012-11-02  Roland McGrath  <roland@hack.frob.com>
51306         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51307         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51308         autoconf-time if not.
51309         * configure.in: Remove AC_PREREQ.
51311 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51313         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51314         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51315         of the internal implementation.
51317 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
51319         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51320         except include of <misc/sys/syslog.h>.
51322 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51325         function returns with a NULL context exit with zero.
51327 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51329         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51331 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
51333         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51334         (run_program_cmd): This.
51335         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51336         (tst_langinfo): New variable.  Use it.
51338 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
51340         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51341         floating point opcodes.
51343 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51345         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51346         variable.
51348         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51350         * sysdeps/mach/hurd/powerpc: Remove directory.
51351         * sysdeps/mach/powerpc: Likewise.
51353 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51355         * scripts/check-local-headers.sh: Ignore c++ headers.
51357 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51359         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51360         __libc_cleanup_region_start argument.
51362 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
51364         [BZ #14784]
51365         [BZ #14785]
51366         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51367         x * y using scaling, not as x * y + z.
51368         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51369         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51370         * math/libm-test.inc (fma_test): Add more tests.
51371         (fma_test_towardzero): Likewise.
51372         (fma_test_downward): Likewise.
51373         (fma_test_upward): Likewise.
51375 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
51377         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51379 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51381         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51382         New variable.
51384 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51386         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51388 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51391         Fix sort order.
51392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51393         Likewise.
51395 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51398         Fix the order of the list for glibc 2.17.
51399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51400         Likewise.
51402 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51406 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51408         [BZ #14610]
51409         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51410         for low part of x being zero before using __atanl (y).
51411         * math/libm-test.inc (atan2_test): Add another test.
51413         * manual/install.texi (Configuring and compiling): Document
51414         general use of test-wrapper and test-wrapper-env.
51415         * INSTALL: Regenerated.
51417         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51418         (__fma): Do not extract and scale down low bits on after-rounding
51419         systems when result rounded to normal precision would have normal
51420         exponent.
51421         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51422         (__fmal): Do not extract and scale down low bits on after-rounding
51423         systems when result rounded to normal precision would have normal
51424         exponent.
51425         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51426         (__fmal): Do not extract and scale down low bits on after-rounding
51427         systems when result rounded to normal precision would have normal
51428         exponent.
51429         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51430         macro.
51431         (fma_test): Add more tests.
51432         (fma_test_towardzero): Likewise.
51433         (fma_test_downward): Likewise.
51434         (fma_test_upward): Likewise.
51436 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51438         * sysdeps/i386/tininess.h: Renamed to ...
51439         * sysdeps/x86/tininess.h: This.
51440         * sysdeps/x86_64/tininess.h: Removed.
51442 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51444         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51445         input.  Use $(build-program-cmd).
51446         ($(objpfx)tst-array1-static.out): Likewise.
51447         ($(objpfx)tst-array2.out): Likewise.
51448         ($(objpfx)tst-array3.out): Likewise.
51449         ($(objpfx)tst-array4.out): Likewise.
51450         ($(objpfx)tst-array5.out): Likewise.
51451         ($(objpfx)tst-array5-static.out): Likewise.
51453 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51455         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51456         if defined.
51458         * nss/nsswitch.h (nss_interface_function): Provide new
51459         macro for use with NSS functions.
51460         * grp/initgroups.c: Use new macro.
51461         * nss/getXXbyYY.c: Likewise.
51462         * nss/getXXbyYY_r.c: Likewise.
51463         * nss/getXXent.c: Likewise.
51464         * nss/getXXent_r.c: Likewise.
51465         * sysdeps/posix/getaddrinfo.c: Likewise.
51467 2012-10-30  Andreas Jaeger  <aj@suse.de>
51469         * po/ru.po: Update Russion translation from translation project.
51471 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51473         [BZ #14152]
51474         [BZ #14783]
51475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51476         result and shift together with sticky bit instead of replicating
51477         round-to-nearest rounding.
51478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51480         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51481         missing underflow exceptions.
51482         (fma_test_towardzero): Add more tests.
51483         (fma_test_downward): Likewise.
51484         (fma_test_upward): Likewise.
51486         [BZ #14047]
51487         * sysdeps/generic/tininess.h: New file.
51488         * sysdeps/i386/tininess.h: Likewise.
51489         * sysdeps/sh/tininess.h: Likewise.
51490         * sysdeps/x86_64/tininess.h: Likewise.
51491         * stdlib/tst-strtod-underflow.c: Likewise.
51492         * stdlib/tst-tininess.c: Likewise.
51493         * stdlib/strtod_l.c: Include <tininess.h>.
51494         (round_and_return): Do not set errno for exact underflow cases.
51495         Force an underflow exception when setting errno for underflow.
51496         Determine underflow based on rounding to normal precision if
51497         TININESS_AFTER_ROUNDING.
51498         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51499         ERANGE for exact underflow cases.
51500         * stdlib/Makefile (tests): Add tst-tininess and
51501         tst-strtod-underflow.
51502         ($(objpfx)tst-tininess): Use $(link-libm).
51503         ($(objpfx)tst-strtod-underflow): Likewise.
51505 2012-10-30  Andreas Jaeger  <aj@suse.de>
51507         [BZ#14767]
51508         * elf/Makefile (tests): Remove conditional for have-initfini-array
51509         since this is now always required and the variable does not exist
51510         anymore.
51511         (tests-static): Likewise.
51512         (modules-names): Likewise.
51514         * po/eo.po: Add Esperanto translation from translation project.
51516         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51517         merged with constructor/destructor.
51518         (init_array): Likewise.
51519         * elf/tst-array2dep.c (fini_array): Likewise.
51520         (init_array): Likewise.
51522 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51524         * manual/message.texi: Delete @cartouche tags.
51526 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51528         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51529         EOPNOTSUPP.
51530         * sysdeps/mach/hurd/fsync.c: Likewise.
51532         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51533         [_POSIX_REALTIME_SIGNALS]: Change condition to
51534         [_POSIX_REALTIME_SIGNALS > 0].
51536 2012-10-27  Andreas Jaeger  <aj@suse.de>
51538         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51539         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51541         [__WORDSIZE != 64]: Likewise.
51543 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51545         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51546         *  iconvdata/tst-tables.sh: Likewise.
51548 2012-10-25  David S. Miller  <davem@davemloft.net>
51550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51551         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51552         of strtoull.
51554         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51555         ifunc-impl-list.c
51556         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51557         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51558         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51559         file.
51561 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51563         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51564         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51565         __getdirentries.
51567 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51568             Jim Blandy  <jimb@codesourcery.com>
51570         * scripts/cross-test-ssh.sh: New file.
51571         * manual/install.texi (Configuring and compiling): Document use of
51572         cross-test-ssh.sh.
51573         * INSTALL: Regenerated.
51575 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51577         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51578         EOPNOTSUPP.
51580 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51582         * Makeconfig (run-program-prefix): Fix comment.
51584 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51585             Jim Blandy  <jimb@codesourcery.com>
51587         * Makeconfig (test-wrapper): New variable,
51588         (test-wrapper-env): Likewise.
51589         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51590         (run-built-tests): Define to yes.
51591         (run-program-prefix): Use $(test-wrapper).
51592         (built-program-cmd): Likewise.
51593         * Rules (make-test-out): Use $(test-wrapper-env) and
51594         $(host-built-program-cmd).
51595         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51596         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51597         tst-pathopt.sh.
51598         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51599         $(test-wrapper-env) to tst-rtld-load-self.sh.
51600         ($(objpfx)order2.out): Use $(test-wrapper).
51601         ($(objpfx)tst-initorder.out): Likewise.
51602         ($(objpfx)tst-initorder2.out): Likewise.
51603         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51604         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51605         (test_wrapper_env): New variable.  Use it to run ld.so.
51606         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51607         Use it to run ld.so.
51608         (test_wrapper_env): Likewise.
51609         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51610         $(test-wrapper) to run-iconv-test.sh.
51611         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51612         (ICONV): Use $test_wrapper.
51613         * posix/Makefile ($(objpfx)globtest.out): Pass
51614         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51615         globtest.sh, not $(run-program-prefix).
51616         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51617         (test_wrapper): Likewise.
51618         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51619         set together with run_via_rtld_prefix.
51620         (run_program_prefix): Define in terms of test_wrapper and
51621         run_via_rtld_prefix.
51623 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51625         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51626         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51627         Targets removed.
51629         [BZ #14743]
51630         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51631         Declare __clock_getres, __clock_gettime, __clock_settime,
51632         __clock_nanosleep, and __clock_getcpuclockid.
51633         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51634         Remove librt_hidden_def (clock_gettime).
51635         * sysdeps/unix/clock_gettime.c: Likewise.
51636         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51637         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51638         * rt/clock_getres.c: Define __clock_getres as an alias.
51639         * sysdeps/posix/clock_getres.c: Likewise.
51640         * rt/clock_settime.c: Define __clock_settime as an alias.
51641         * sysdeps/unix/clock_settime.c: Likewise.
51642         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51643         * sysdeps/unix/clock_nanosleep.c: Likewise.
51644         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51645         * rt/clock-compat.c: New file.
51646         * rt/Makefile (librt-routines): Add clock-compat and move
51647         $(clock-routines) to ...
51648         (routines): ... here, new variable.
51649         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51650         Don't add get_clockfreq here.
51651         * rt/Versions (libc: GLIBC_2.17): New version set.
51652         Add clock_* symbols here.
51653         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51654         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51655         (GLIBC_2.17): Add clock_* symbols.
51656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51658         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51660         Likewise.
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51662         Likewise.
51663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51667         * NEWS: Mention the move.
51669         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51670         Use __open, __read, __close rather than their public counterparts.
51671         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51672         (__get_clockfreq_via_cpuinfo): Likewise.
51673         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51674         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51676         * config.h.in (HAVE_IFUNC): New #undef.
51677         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51678         was successful.
51679         * configure: Regenerated.
51681 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51683         * configure.in: Move READELF check to start of file.
51684         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51685         libc_cv_asm_gnu_indirect_function in the process.
51686         * configure: Regenerated.
51688 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51690         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51691         send the output to /dev/null.
51692         (libc_cv_cc_with_libunwind): Likewise.
51693         (libc_cv_as_noexecstack): Likewise.
51694         * configure: Regenerate.
51696 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51698         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51700         * posix/globtest.sh (TMPDIR): Do not set.
51701         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51702         (testout): Likewise.
51704 2012-10-24  Andreas Jaeger  <aj@suse.de>
51706         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51707         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51708         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51709         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51710         posix_fadvise64, posix_fallocate64.
51712         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51713         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51714         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51715         Likewise.
51716         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51717         Likewise.
51718         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51721         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51722         <bits/fcntl-linux.h>.
51723         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51725         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51726         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51727         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51728         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51729         [__WORDSIZE != 64]: Likewise.
51731 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51733         * Makeconfig (run-built-tests): New variable.
51734         * Rules [$(cross-compiling) = yes]: Change condition to
51735         [$(run-built-tests) = no].
51736         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51737         to [$(run-built-tests) = yes].
51738         * elf/Makefile [$(cross-compiling) = no]: Likewise
51739         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51740         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51741         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51742         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51743         * io/Makefile [$(cross-compiling) = no]: Likewise.
51744         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51745         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51746         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51747         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51748         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51749         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51750         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51751         * string/Makefile [$(cross-compiling) = no]: Likewise.
51753         * posix/Makefile ($(objpfx)globtest.out): Pass
51754         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51755         $(rtld-installed-name).
51756         * posix/globtest.sh (elf_objpfx): Remove variable.
51757         (rtld_installed_name): Likewise.
51758         (library_path): Likewise.
51759         (run_program_prefix): New variable.  Use for running globtest
51760         binary.
51762 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51763             Joseph Myers  <joseph@codesourcery.com>
51765         * Makeconfig (host-built-program-cmd): New variable.
51766         * elf/Makefile (tst-stackguard1-ARGS): Use
51767         $(host-built-program-cmd).
51768         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51769         (tst-spawn-ARGS): Likewise.
51770         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51772 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51773             Jim Blandy  <jimb@codesourcery.com>
51775         * Makeconfig (run-via-rtld-prefix): New variable.
51776         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51777         (built-program-cmd): Likewise.
51779 2012-10-22  Andreas Jaeger  <aj@suse.de>
51781         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51782         __O_RSYNC if it exists, otherwise to O_SYNC.
51784 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51785             Joseph Myers  <joseph@codesourcery.com>
51787         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51788         /dev/null.
51789         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51790         from /dev/null
51791         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51792         /dev/null.
51794 2012-10-22  Andreas Jaeger  <aj@suse.de>
51796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51797         Define always.
51798         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51801         bits/fcntl-linux.h.
51803         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51804         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51806         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51807         to __O_LARGEFILE.
51808         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51809         to __O_LARGEFILE.
51811 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51812             Joseph Myers  <joseph@codesourcery.com>
51814         * config.make.in (NM): New variable.
51816 2012-10-21  Andreas Jaeger  <aj@suse.de>
51818         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51819         definitions and declarations that are provided by
51820         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51822 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51824         [BZ #14683]
51825         * elf/Makefile (tests-static): Add tst-leaks1-static.
51826         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51827         ($(objpfx)tst-leaks1-static): New rule.
51828         ($(objpfx)tst-leaks1-static-mem): Likewise.
51829         (tst-leaks1-static-ENV): New macro.
51830         * elf/dl-open.c (dl_open_worker): Check the main application
51831         only if SHARED is defined.
51832         * elf/tst-leaks1-static.c: New file.
51834 2012-10-20  Andreas Jaeger  <aj@suse.de>
51836         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51837         generic values for Linux.
51838         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51839         and declarations that are provided by <bits/fcntl-linux.h> and
51840         include <bits/fcntl-linux.h>.
51841         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51844 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51846         * io/fcntl.h: Move include of <bits/types.h> to the top and
51847         include it unconditionally.
51849 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51851         * wcsmbs/Makefile (tests-ifunc): New variable.
51852         (tests): Add $(tests-ifunc).
51853         * wcsmbs/test-wcschr-ifunc.c: New file.
51854         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51855         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51856         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51857         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51858         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51860         * string/Makefile (tests-ifunc): New variable.
51861         (tests): Add $(tests-ifunc).
51862         * string/test-memccpy.c (TEST_NAME): New macro.
51863         * string/test-memchr.c (TEST_NAME): Likewise.
51864         * string/test-memcmp.c (TEST_NAME): Likewise.
51865         * string/test-memcpy.c (TEST_NAME): Likewise.
51866         * string/test-memmem.c (TEST_NAME): Likewise.
51867         * string/test-memmove.c (TEST_NAME): Likewise.
51868         * string/test-memset.c (TEST_NAME): Likewise.
51869         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51870         * string/test-stpcpy.c (TEST_NAME): Likewise.
51871         * string/test-stpncpy.c (TEST_NAME): Likewise.
51872         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51873         * string/test-strcasestr.c (TEST_NAME): Likewise.
51874         * string/test-strcat.c (TEST_NAME): Likewise.
51875         * string/test-strchr.c (TEST_NAME): Likewise.
51876         * string/test-strcmp.c(TEST_NAME): Likewise.
51877         * string/test-strcpy.c (TEST_NAME): Likewise.
51878         * string/test-strcspn.c (TEST_NAME): Likewise.
51879         * string/test-strlen.c (TEST_NAME): Likewise.
51880         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51881         * string/test-strncmp.c (TEST_NAME): Likewise.
51882         * string/test-strncpy.c (TEST_NAME): Likewise.
51883         * string/test-strnlen.c (TEST_NAME): Likewise.
51884         * string/test-strpbrk.c (TEST_NAME): Likewise.
51885         * string/test-strrchr.c (TEST_NAME): Likewise.
51886         * string/test-strspn.c (TEST_NAME): Likewise.
51887         * string/test-strstr.c (TEST_NAME): Likewise.
51888         * string/test-bcopy-ifunc.c: New file.
51889         * string/test-bzero-ifunc.c: Likewise.
51890         * string/test-memccpy-ifunc.c: Likewise.
51891         * string/test-memchr-ifunc.c: Likewise.
51892         * string/test-memcmp-ifunc.c: Likewise.
51893         * string/test-memcpy-ifunc.c: Likewise.
51894         * string/test-memmem-ifunc.c: Likewise.
51895         * string/test-memmove-ifunc.c: Likewise.
51896         * string/test-mempcpy-ifunc.c: Likewise.
51897         * string/test-memset-ifunc.c: Likewise.
51898         * string/test-rawmemchr-ifunc.c: Likewise.
51899         * string/test-stpcpy-ifunc.c: Likewise.
51900         * string/test-stpncpy-ifunc.c: Likewise.
51901         * string/test-strcasecmp-ifunc.c: Likewise.
51902         * string/test-strcasestr-ifunc.c: Likewise.
51903         * string/test-strcat-ifunc.c: Likewise.
51904         * string/test-strchr-ifunc.c: Likewise.
51905         * string/test-strchrnul-ifunc.c: Likewise.
51906         * string/test-strcmp-ifunc.c: Likewise.
51907         * string/test-strcpy-ifunc.c: Likewise.
51908         * string/test-strcspn-ifunc.c: Likewise.
51909         * string/test-strlen-ifunc.c: Likewise.
51910         * string/test-strncasecmp-ifunc.c: Likewise.
51911         * string/test-strncat-ifunc.c: Likewise.
51912         * string/test-strncmp-ifunc.c: Likewise.
51913         * string/test-strncpy-ifunc.c: Likewise.
51914         * string/test-strnlen-ifunc.c: Likewise.
51915         * string/test-strpbrk-ifunc.c: Likewise.
51916         * string/test-strrchr-ifunc.c: Likewise.
51917         * string/test-strspn-ifunc.c: Likewise.
51918         * string/test-strstr-ifunc.c: Likewise.
51920         * debug/Makefile (tests-ifunc): New variable.
51921         (tests): Add $(tests-ifunc).
51922         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51923         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51924         * debug/test-stpcpy_chk-ifunc.c: New file.
51925         * debug/test-strcpy_chk-ifunc.c: Likewise.
51927 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51929         [BZ #13601]
51930         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51931         header is not read in.
51933 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51935         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51936         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51937         directly.  Pass built executable to script as
51938         $(built-program-cmd).
51939         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51940         $testprogram without using LD_LIBRARY_PATH and $ldso.
51942         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51943         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51944         $(rtld-installed-name).
51945         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51946         (rtld_installed_name): Likewise.
51947         (library_path): Likewise.
51948         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51949         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51950         $(run-program-prefix) to tst-tables.sh.
51951         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51952         it to run tst-table-from and tst-table-to.
51953         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51954         Pass it to tst-table.sh.
51955         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51956         $(run-program-prefix) to tst-gettext.sh.
51957         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51958         tst-translit.sh.
51959         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51960         tst-gettext2.sh.
51961         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51962         to run tst-gettext.
51963         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51964         to run tst-gettext2.
51965         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51966         to run tst-translit.
51967         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51968         $(run-program-prefix) to tst-mtrace.sh.
51969         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51970         to run tst-mtrace.
51971         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51972         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51973         $(rtld-installed-name).
51974         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51975         (rtld_installed_name): Likewise.
51976         (run_program_prefix): New variable.  Use it to run wordexp-test.
51978         * Makeconfig (ARCH): Remove all definitions.
51979         (machine): Likewise.
51980         [ARCH]: Remove conditional code.
51981         [!objdir]: Give error.
51982         [!objdir] (objpfx): Remove.
51983         [!objdir] (common-objpfx): Likewise.
51984         [!objdir] (common-objdir): Likewise.
51985         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51986         AC_CONFIG_FILES call.
51987         * configure: Regenerated.
51989         [BZ #13888]
51990         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51991         or TMPDIR.
51992         (testout): Likewise.
51994         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51995         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51996         $(rtld-installed-name).
51997         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51998         (rtld_installed_name): Likwise.
51999         (runit): Remove function.
52000         (run_getconf): New variable,  Use it for running getconf binary.
52002 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52004         [BZ #14716]
52005         * string/test-memmem.c (check_result): New function.
52006         (do_one_test): Use it.
52007         (check1): New function.
52008         (test_main): Use it.
52010 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52012         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52014 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52016         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52017         (_G_LSEEK64): Likewise.
52018         (_G_MMAP64): Likewise.
52019         (_G_FSTAT64): Likewise.
52020         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52021         (_G_LSEEK64): Likewise.
52022         (_G_MMAP64): Likewise.
52023         (_G_FSTAT64): Likewise.
52024         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52025         unconditional.  Call __mmap64 directly.
52026         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52027         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52028         __lseek64 directly.
52029         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52030         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52031         __mmap64 directly.
52032         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52033         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52034         __lseek64 directly.
52035         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52036         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52037         __lseek64 directly.
52038         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52039         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52040         __lseek64 directly.
52041         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52042         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52043         __fxstat64 directly.
52044         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52045         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52046         unconditional.
52047         (freopen64) [!_G_OPEN64]: Remove conditional code.
52048         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52049         unconditional.
52050         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52051         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52052         unconditional.
52053         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52054         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52055         unconditional.
52056         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52057         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52058         unconditional.
52059         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52060         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52061         unconditional.
52062         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52063         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52064         unconditional.
52065         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52066         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52067         unconditional.
52068         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52070 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52072         [BZ #12140]
52073         * manual/memory.texi (Malloc Tunable Parameters): Add note
52074         about free list pointers overwriting some perturb bytes.
52075         Wording suggested by Roland McGrath.
52077 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52079         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52080         (lgamma_test): Likewise.
52081         (tgamma_test): Likewise.
52083 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52085         [BZ #14700]
52086         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52087         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52089 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52091         * NEWS: Mention BZ #14716.
52092         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52093         when removing AVAILABLE1_USES_J macro.
52095 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52097         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52098         (__bswap_64): __uint64_t for unsigned 64-bit int.
52100 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52102         * include/string.h (memmem): Declare libc hidden alias.
52103         * string/memmem.c (memmem): Define libc hidden alias.
52104         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52105         __read, __close instead of open, read, close.
52107 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52110         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52111         global and hidden.
52112         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52113         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52114         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52115         Likewise.
52116         (__rawmemchr_sse2): Likewise.
52117         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52118         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52119         (__strchr_sse2): Likewise.
52120         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52121         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52122         (__strcasecmp_sse2): Likewise.
52123         (__strncasecmp_sse2): Likewise.
52124         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52125         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52126         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52127         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52128         (__strrchr_sse2): Likewise.
52129         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52130         ifunc-impl-list.c.
52131         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52132         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52133         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52134         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52135         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52136         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52137         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52138         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52139         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52140         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52141         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52142         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52143         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52144         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52145         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52146         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52147         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52148         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52149         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52150         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52151         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52152         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52153         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52154         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52155         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52156         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52157         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52158         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52159         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52160         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52162         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52163         global and hidden.
52164         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52165         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52166         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52167         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52168         Likewise.
52169         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52170         Likewise.
52171         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52172         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52173         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52174         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52175         ifunc-impl-list.c.
52176         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52177         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52178         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52179         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52180         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52181         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52182         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52183         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52184         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52185         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52186         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52187         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52188         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52189         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52190         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52191         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52192         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52193         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52194         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52195         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52196         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52197         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52198         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52199         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52200         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52201         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52202         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52203         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52204         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52205         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52206         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52207         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52208         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52209         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52210         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52211         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52212         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52213         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52214         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52215         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52216         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52218         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52219         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52220         * include/ifunc-impl-list.h: New file.
52221         * misc/ifunc-impl-list.c: Likewise.
52222         * misc/Makefile (routines): Add ifunc-impl-list.
52223         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52224         * string/test-string.h: Include <ifunc-impl-list.h>.
52225         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52226         TEST_NAME]: New variables.
52227         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52228         are defined.
52229         (test_init): Call __libc_ifunc_impl_list to initialize
52230         func_list if TEST_IFUNC and TEST_NAME are defined.
52232         * string/Makefile (strop-tests): Add bcopy and bzero.
52233         * string/test-bcopy.c: New file.
52234         * string/test-bzero.c: Likewise.
52235         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52236         defined.
52237         * string/test-memset.c: Support bzero test if TEST_BZERO is
52238         defined.
52239         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52240         __libc_memmove.
52241         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52242         __libc_memset.
52243         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52244         of memset.
52246 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
52248         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52249         * configure: Regenerated.
52251         * Makeconfig (+link-static-before-libc): Don't include
52252         $(link-static-libc).
52254         * libio/libio.h (_IO_pos_t): Remove.
52256 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52258         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
52259         McGrath.
52261 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52263         * crypt/crypt-entry.c: Include fips-private.h.
52264         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52265         * crypt/md5c-test.c (main): Tolerate disabled MD5.
52266         * sysdeps/unix/sysv/linux/fips-private.h: New file.
52267         * sysdeps/generic/fips-private.h: New file, dummy fallback.
52269 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
52271         * crypt/crypt-private.h: Include stdbool.h.
52272         (_ufc_setup_salt_r): Return bool.
52273         * crypt/crypt-entry.c: Include errno.h.
52274         (__crypt_r): Return NULL with EINVAL for bad salt.
52275         * crypt/crypt_util.c (bad_for_salt): New.
52276         (_ufc_setup_salt_r): Check that salt is long enough and within
52277         the specified alphabet.
52278         * crypt/badsalttest.c: New file.
52279         * crypt/Makefile (tests): Add it.
52280         ($(objpfx)badsalttest): New.
52282 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
52284         * NEWS: Add entry for BZ #14602.
52286 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52288         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52289         type-generic.
52290         * math/libm-test.inc: Update comment listing what functions and
52291         macros are tested.
52292         (isgreater_test): New function.
52293         (isgreaterequal_test): Likewise.
52294         (isless_test): Likewise.
52295         (islessequal_test): Likewise.
52296         (islessgreater_test): Likewise.
52297         (isunordered_test): Likewise.
52298         (main): Call the new functions.
52300 2012-10-09  Roland McGrath  <roland@hack.frob.com>
52302         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52303         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52304         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52305         * sysdeps/i386/configure: Regenerated.
52306         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52307         * sysdeps/mach/configure: Regenerated.
52308         * sysdeps/mach/hurd/configure: Regenerated.
52309         * sysdeps/powerpc/configure: Regenerated.
52310         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52311         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52312         * sysdeps/s390/s390-32/configure: Regenerated.
52313         * sysdeps/s390/s390-64/configure: Regenerated.
52314         * sysdeps/sh/configure: Regenerated.
52315         * sysdeps/sparc/configure: Regenerated.
52316         * sysdeps/unix/sysv/linux/configure: Regenerated.
52317         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52318         * sysdeps/x86_64/configure: Regenerated.
52320         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52321         defined.  Don't check if MAP is NULL.
52323 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
52325         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52326         (_G_stat64): Likewise.
52327         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52328         (_G_stat64): Likewise.
52329         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52330         instead of struct _G_stat64.
52331         * libio/fileops.c (mmap_remap_check): Likewise.
52332         (decide_maybe_mmap): Likewise.
52333         (_IO_new_file_seekoff): Likewise.
52334         (_IO_file_stat): Likewise.
52335         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52336         _G_off64_t.
52337         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52338         instead of struct _G_stat64.
52339         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52341 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
52343         [BZ #14602]
52344         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52345         Replace with ...
52346         (CHECK_EOL): New macro.
52347         (two_way_short_needle): Check beginning of haystack for EOL.  Use
52348         CHECK_EOL.
52349         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52350         Replace with CHECK_EOL.
52351         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52352         Replace with CHECK_EOL.
52354 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
52356         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52357         type-generic.
52358         * math/libm-test.inc: Update comment listing what functions and
52359         macros are tested.
52360         (finite_test): New function.
52361         (isinf_test): Likewise.
52362         (isnan_test): Likewise.
52363         (fpclassify_test): Test subnormal input.
52364         (isfinite_test): Likewise.
52365         (isnormal_test): Likewise.
52366         (main): Call the new functions.
52368 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
52370         [BZ #14660]
52371         * Makerules (%.dynsym): Force C locale when running
52372         $(OBJDUMP) --dynamic-syms.
52374 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
52376         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52377         <stdint.h>.
52379 2012-10-06  David S. Miller  <davem@davemloft.net>
52381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52382         upper 32-bits of the length value in %o2 since we use branch-on-register
52383         tests which consider the entire 64-bit register.
52385 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52387         * string/test-strstr.c (check2): Add a test for page boundary.
52389 2012-10-05  David S. Miller  <davem@davemloft.net>
52391         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52392         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52393         file.
52394         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52395         sysdep_routines.
52396         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52397         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52398         and bzero when HWCAP_SPARC_CRYPTO is present.
52400 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52402         [BZ #14602]
52403         * string/test-strstr.c (check2): New function.
52404         (test_main): Call check2.
52406         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52407         and bug-strchr1.
52408         * string/bug-strcasestr1.c (do_test): Moved to ...
52409         * string/test-strcasestr.c (check1): Here.  New function.
52410         (do_one_test): Break out result checking code into ...
52411         (check_result): This.  New function.
52412         (do_one_test): Call check_result.
52413         (test_main): Call check1.
52414         * string/bug-strchr1.c (do_test): Moved to ...
52415         * string/test-strchr.c (check1): Here.  New function.
52416         (do_one_test): Break out result checking code into ...
52417         (check_result): This.  New function.
52418         (do_one_test): Call check_result.
52419         (test_main): Call check1.
52420         * string/bug-strstr1.c (main): Moved to ...
52421         * string/test-strstr.c (check1): Here.  New function.
52422         (do_one_test): Break out result checking code into ...
52423         (check_result): This.  New function.
52424         (do_one_test): Call check_result.
52425         (test_main): Call check1.
52426         * string/bug-strcasestr1.c: Removed.
52427         * string/bug-strchr1.c: Likewise.
52428         * string/bug-strstr1.c: Likewise.
52430         * elf/Makefile (dl-routines): Add hwcaps.
52431         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52432         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52433         (_dl_important_hwcaps): Moved to ...
52434         * elf/dl-hwcaps.c: Here.  New file.
52435         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52437         [BZ #14557]
52438         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52439         if IS_IN_rtld isn't defined.
52441         * elf/dl-support.c (_dl_sysinfo_map): New.
52442         Include "get-dynamic-info.h" and "setup-vdso.h".
52443         (_dl_non_dynamic_init): Call setup_vdso.
52444         * elf/dynamic-link.h: Don't include <assert.h>.
52445         (elf_get_dynamic_info): Moved to ...
52446         * elf/get-dynamic-info.h: Here.  New file.
52447         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52448         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52449         * elf/setup-vdso.h: Here.  New file.
52450         * elf/rtld.c: Include "setup-vdso.h".
52451         (dl_main): Call setup_vdso.
52453 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52455         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52456         creal in comment listing functions tested.  List finite, isinf,
52457         isnan, isless, islessequal, isgreater, isgreaterequal,
52458         islessgreater, isunordered, lgamma_r and pow10 as functions and
52459         macros not tested.  Mention which functions not tested are aliases
52460         for other functions.  Fix typo.  Note that signs of NaNs are not
52461         tested.
52463         * scripts/config.guess: Update from config.git.
52464         * scripts/config.sub: Likewise.
52466 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52468         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52469         * misc/madvise.c (madvise): Renamed to __madvise.
52470         Make madvise a weak alias.
52471         * include/sys/mman.h: Declare __madvise.
52472         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52473         * sysdeps/unix/syscalls.list
52474         (madvise): Make __madvise the strong name, and madvise a weak alias.
52475         * sysdeps/unix/sysv/linux/syscalls.list
52476         (madvise, mmap): Remove redundant entries.
52477         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52478         * malloc/malloc.c (mtrim): Likewise.
52479         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52481 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52483         * sysdeps/mach/hurd/dl-cache.c: File removed.
52484         * config.h.in (USE_LDCONFIG): New #undef.
52485         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52486         * configure: Regenerated.
52487         * elf/Makefile (dl-routines): Add dl-cache only under
52488         [$(use-ldconfig) = yes].
52489         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52490         cache on [USE_LDCONFIG].
52491         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52492         [USE_LDCONFIG].
52493         * elf/rtld.c (dl_main): Likewise.
52495 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52497         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52498         _SC_LEVEL4_CACHE_LINESIZE.
52500 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52502         * sysdeps/unix/bsd/confstr.h: File removed.
52504 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52506         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52507         sys/sdt-config.h.
52509 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52511         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52512         Make 'mapoff' field ElfW(Off) rather than off_t.
52514 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52516         * nscd/Makefile: Remove nscd-cflags and all its users.
52517         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52518         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52520         [BZ #10631]
52521         * malloc.c (malloc_printerr): Clarify error message.
52523 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52525         [BZ #14648]
52526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52527         Set bit_FMA_Usable if FMA is supported.
52528         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52529         macro.
52530         (bit_FMA4_Usable): Updated.
52531         (index_FMA_Usable): New macro.
52532         (CPUID_FMA): Likewise
52533         (HAS_FMA): Defined with bit_FMA_Usable.
52535 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52537         * bits/types.h (__swblk_t): Type removed.
52538         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52539         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52540         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52541         (__SWBLK_T_TYPE): Likewise.
52542         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52543         (__SWBLK_T_TYPE): Likewise.
52544         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52545         (__SWBLK_T_TYPE): Likewise.
52546         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52547         (__SWBLK_T_TYPE): Likewise.
52549 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52550             Honza Horak <hhorak@redhat.com>
52552         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52553         (xdr_mapname): Use YPMAXMAP as maxsize.
52554         (xdr_peername): Use YPMAXPEER as maxsize.
52555         (xdr_keydat): Use YPAXRECORD as maxsize.
52556         (xdr_valdat): Use YPMAXRECORD as maxsize.
52558 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52560         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52562         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52563         * csu/init-first.c: ... here.
52564         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52565         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52566         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52567         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52568         * sysdeps/i386/init-first.c: File removed.
52569         * sysdeps/sh/init-first.c: File removed.
52571 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52573         [BZ #14645]
52574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52575         if x * y might underflow to zero and z is zero.
52576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52577         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52578         * math/libm-test.inc (min_subnorm_value): New variable.
52579         (fma_test): Add more tests.
52580         (fma_test_towardzero): Likewise.
52581         (fma_test_downward): Likewise
52582         (fma_test_upward): Likewise.
52583         (initialize): Set min_subnorm_value.
52585 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52587         [BZ #14638]
52588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52589         0 + 0.
52590         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52591         mode for addition resulting in exact zero.
52592         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52593         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52594         exact 0 + 0.
52595         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52596         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52597         * math/libm-test.inc (fma_test): Add more tests.
52598         (fma_test_towardzero): New function.
52599         (fma_test_downward): Likewise.
52600         (fma_test_upward): Likewise.
52601         (main): Call the new functions.
52603 2012-09-28  David S. Miller  <davem@davemloft.net>
52605         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52607 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52609         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52610         instead of SIGALRM.
52612         * sysdeps/gnu/_G_config.h: Moved to ...
52613         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52614         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52615         * sysdeps/generic/_G_config.h: ... here.
52617         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52619         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52621         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52622         Conditionalize target on [libnss_test1.so-version].
52624         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52626         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52627         (elfobjdir): Move out of conditionals.
52629         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52630         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52631         (__nss_lookup_function): Conditionalize label remove_from_tree on
52632         [!DO_STATIC_NSS || SHARED], matching its only use.
52634 2012-09-28  David S. Miller  <davem@davemloft.net>
52636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52637         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52638         file.
52639         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52640         sysdep_routines.
52641         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52642         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52643         when HWCAP_SPARC_CRYPTO is present.
52645 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52647         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52649 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52651         [BZ #6530]
52652         * stdio-common/vfprintf.c (process_string_arg): Revert
52653         2000-07-22 change.
52655 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52657         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52658         for testcase.
52659         * stdio-common/tst-sprintf.c: Include <locale.h>
52660         (main): Test sprintf's handling of incomplete multibyte
52661         characters.
52663 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52665         * elf/dl-runtime.c (VERSYMIDX): Removed.
52666         * elf/dl-version.c (VERSYMIDX): Likewise.
52667         * elf/do-rel.h (VERSYMIDX): Likewise.
52668         (VALIDX): Likewise.
52669         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52670         * elf/rtld.c (VALIDX): Likewise.
52671         (ADDRIDX): Likewise.
52672         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52673         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52674         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52675         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52676         (VALIDX): Likewise.
52677         (ADDRIDX): Likewise.
52679 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52681         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52683 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52685         [BZ #11438]
52686         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52687         to global scope.
52688         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52689         addresses are in the same scope as 192.0.2/24.
52690         * posix/gai.conf: Document new scope table defaults.
52692 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52694         [BZ #5298]
52695         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52696         for ftell.  Compute offsets from write pointers instead.
52697         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52699 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52701         [BZ #14543]
52702         * libio/Makefile (tests): New test case tst-fseek.
52703         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52704         combination works in wide mode.
52705         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52706         state when the external buffer state changes.
52708 2012-09-27  David S. Miller  <davem@davemloft.net>
52710         [BZ #14376]
52711         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52712         pass reloc->r_addend in as the 'high' argument to
52713         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52717 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52719         * rt/tst-aio2.c: Include <pthread.h>.
52720         * rt/tst-aio3.c: Likewise.
52722 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52724         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52726 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52728         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52729         contents on [SHARED].
52731 2012-09-26  Marek Polacek  <polacek@redhat.com>
52733         [BZ #14530]
52734         [BZ #13741]
52735         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52736         for C++ and GCC <4.3 as well as for non GCC compilers.
52738 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52742 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52744         * Makefile.in (all, install): Declare with .PHONY.
52745         Reported by Michael Hope <michael.hope@linaro.org>.
52747 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52749         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52750         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52751         system header.
52752         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52753         Likewise.
52754         (sydep_routines): Add the new and the internal functions.
52755         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52756         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52758         (GLIBC_2.17): Add the new function.
52759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52760         (GLIBC_2.17): Likewise.
52761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52762         (GLIBC_2.17): Likewise.
52763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52764         (GLIBC_2.17): Likewise.
52765         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52767 2012-09-25  Alan Modra  <amodra@gmail.com>
52769         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52770         Add release barrier before setting once_control to say
52771         initialisation is done.  Add hints on lwarx.  Use macro in
52772         place of isync.
52773         (clear_once_control): Add release barrier.
52775 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52777         [BZ #13629]
52778         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52779         specially.
52780         * math/s_clog10.c (__clog10): Likewise.
52781         * math/s_clog10f.c (__clog10f): Likewise.
52782         * math/s_clog10l.c (__clog10l): Likewise.
52783         * math/s_clogf.c (__clogf): Likewise.
52784         * math/s_clogl.c (__clogl): Likewise.
52785         * math/Makefile (libm-calls): Add x2y2m1.
52786         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52787         (__x2y2m1): Likewise.
52788         (__x2y2m1l): Likewise.
52789         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52790         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52791         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52792         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52793         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52794         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52795         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52796         * sysdeps/i386/fpu/libm-test-ulps: Update.
52797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52799         [BZ #14621]
52800         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52801         int as type of variable DEPTH.
52802         (glob): Use size_t instead of int as type of variables NEWCOUNT
52803         and OLD_PATHC.
52805 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52807         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52808         Add s_sincosf-sse2.
52809         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52810         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52811         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52812         macros for using routine as __sincosf_ia32.
52813         Use macro for function declaration and weak_alias.
52814         * sysdeps/i386/fpu/libm-test-ulps: Update.
52816         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52819         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52820         subnormal argument.
52821         * math/s_cexpf.c (__cexpf): Likewise.
52822         * math/s_csinf.c (__csinf): Likewise.
52823         * math/s_csinhf.c (__csinhf): Likewise.
52824         * math/s_ctanf.c (__ctanf): Likewise.
52825         * math/s_ctanhf.c (__ctanhf): Likewise.
52826         * math/s_ccosh.c (__ccoshf): Likewise.
52827         * math/s_cexp.c (__cexpl): Likewise.
52828         * math/s_csin.c (__csin): Likewise.
52829         * math/s_csinh.c (__csinh): Likewise.
52830         * math/s_ctan.c (__ctan): Likewise.
52831         * math/s_ctanh.c (ctanh): Likewise.
52832         * math/s_ccoshl.c (__ccoshl): Likewise.
52833         * math/s_cexpl.c (__cexpl): Likewise.
52834         * math/s_csinl.c (__csinl): Likewise.
52835         * math/s_csinhl.c (__csinhl): Likewise.
52836         * math/s_ctanl.c (__ctanl): Likewise.
52837         * math/s_ctanhl.c (__ctanhl): Likewise.
52839 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52841         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52842         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52843         (_IO_off_t): Define to __off_t, not _G_off_t.
52844         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52845         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52846         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52847         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52848         type of __dummy and __dummy2 fields.
52849         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52850         (_G_ssize_t): Likewise.
52851         (_G_off_t): Likewise.
52852         (_G_pid_t): Likewise.
52853         (_G_uid_t): Likewise.
52854         (_G_wchar_t): Likewise.
52855         (_G_wint_t): Likewise.
52856         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52857         (_G_ssize_t): Likewise.
52858         (_G_off_t): Likewise.
52859         (_G_pid_t): Likewise.
52860         (_G_uid_t): Likewise.
52861         (_G_wchar_t): Likewise.
52862         (_G_wint_t): Likewise.
52863         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52864         (_G_ssize_t): Likewise.
52865         (_G_off_t): Likewise.
52866         (_G_pid_t): Likewise.
52867         (_G_uid_t): Likewise.
52868         (_G_wchar_t): Likewise.
52869         (_G_wint_t): Likewise.
52871 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52873         * malloc/arena.c: Include malloc-sysdep.h.
52874         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52875         is sufficient to shrink the heap or an unmap is needed.
52876         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52877         new function check_may_shrink_heap.
52878         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52879         new function check_may_shrink_heap.
52881 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52883         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52884         comments.
52886 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52888         * catgets/test-gencat.sh: Add "set -e".
52889         * elf/tst-pathopt.sh: Likewise.
52890         * grp/tst_fgetgrent.sh: Likewise.
52891         * iconvdata/run-iconv-test.sh: Likewise.
52892         * intl/tst-gettext.sh: Likewise.
52893         * intl/tst-gettext2.sh: Likewise.
52894         * intl/tst-gettext4.sh: Likewise.
52895         * intl/tst-gettext6.sh: Likewise.
52896         * intl/tst-translit.sh: Likewise.
52897         * io/ftwtest-sh: Likewise.
52898         * libio/test-freopen.sh: Likewise.
52899         * malloc/tst-mtrace.sh: Likewise.
52900         * posix/globtest.sh: Likewise.
52901         * posix/tst-getconf.sh: Likewise.
52902         * posix/wordexp-tst.sh: Likewise.
52903         * stdio-common/tst-printf.sh: Likewise.
52904         * stdio-common/tst-unbputc.sh: Likewise.
52905         * stdlib/tst-fmtmsg.sh: Likewise.
52906         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52907         * catgets/Makefile: Do not specify -e option when running
52908         testsuite shell scripts.
52909         * elf/Makefile: Likewise.
52910         * grp/Makefile: Likewise.
52911         * iconvdata/Makefile: Likewise.
52912         * intl/Makefile: Likewise.
52913         * io/Makefile: Likewise.
52914         * libio/Makefile: Likewise.
52915         * malloc/Makefile: Likewise.
52916         * posix/Makefile: Likewise.
52917         * stdio-common/Makefile: Likewise.
52918         * stdlib/Makefile: Likewise.
52919         * sysdeps/x86_64/Makefile: Likewise.
52921         * io/ftwtest-sh: Add copyright header.
52922         * posix/globtest.sh: Likewise.
52923         * posix/tst-getconf.sh: Likewise.
52924         * posix/wordexp-tst.sh: Likewise.
52925         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52927 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52929         [BZ #13679]
52930         * Makeconfig (+link): Defined as $(+link-static) if
52931         $(build-shared) isn't yes.
52932         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52933         isn't yes.
52934         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52936         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52938         [BZ #14562]
52939         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52940         new chunk size with MALLOC_ALIGN_MASK.
52942 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52944         [BZ #5044]
52945         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52946         <rounding-mode.h>.
52947         (__printf_fphex): Determine rounding using get_rounding_mode and
52948         round_away.
52949         * stdio-common/tst-printf-round.c (struct hex_test): New
52950         structure.
52951         (hex_tests): New variable.
52952         (test_hex_in_one_mode): New function.
52953         (do_test): Also run tests for hex float output.
52955 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52957         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52958         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52959         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52960         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52961         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52962         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52963         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52964         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52966 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52968         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52969         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52970         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52971         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52973 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52975         [BZ #14579]
52976         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52977         mode only.
52978         * elf/tst-rtld-load-self.sh: New test.
52979         * elf/Makefile: Run it.
52981 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52983         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52984         (tst-writev-ENV): Remove.
52985         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52987 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52989         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52991 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52993         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52994         unconditional.
52995         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52996         Likewise.
52997         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52998         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52999         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53000         Likewise.
53002 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53004         [BZ #14587]
53005         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53006         * config.make.in (have-cpp-asm-debuginfo): Removed.
53007         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53008         * configure: Regenerated.
53010 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53012         [BZ #5044]
53013         * stdio-common/printf_fp.c: Include <stdbool.h> and
53014         <rounding-mode.h>.
53015         (___printf_fp): Determine rounding using get_rounding_mode and
53016         round_away.
53017         * stdio-common/tst-printf-round.c: New file.
53018         * stdio-common/Makefile (tests): Add tst-printf-round.
53019         (link-libm): New variable.
53020         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53022 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53024         [BZ #14576]
53025         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53026         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53027         Likewise.
53028         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53029         Likewise.
53031 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53033         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53034         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53035         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53036         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53038 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53040         [BZ #14518]
53041         * include/rounding-mode.h: New file.
53042         * sysdeps/generic/get-rounding-mode.h: Likewise.
53043         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53044         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53045         (MAX_VALUE): New macro.
53046         (MIN_VALUE): Likewise.
53047         (overflow_value): New function.
53048         (underflow_value): Likewise.
53049         (round_and_return): Use overflow_value and underflow_value to
53050         determine return values in overflow and underflow cases.  Use
53051         round_away to determine rounding depending on rounding mode.
53052         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53053         determine return values in overflow and underflow cases.
53054         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53055         (struct test_results): New structure.
53056         (struct test): Use struct test_results to store expected results
53057         for all rounding modes.
53058         (TEST): Include expected results for all rounding modes.
53059         (test_in_one_mode): New function.
53060         (do_test): Use test_in_one_mode to compute and check results.
53061         Check results for all rounding modes.
53062         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53063         $(link-libm).
53065 2012-12-09  Allan McRae  <allan@archlinux.org>
53067         * sysdeps/i386/fpu/libm-test-ulps: Update
53069 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53071         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53072         (_G_int32_t): Likewise.
53073         (_G_uint16_t): Likewise.
53074         (_G_uint32_t): Likewise.
53075         (_G_HAVE_BOOL): Likewise.
53076         (_G_HAVE_ATEXIT): Likewise.
53077         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53078         (_G_HAVE_IO_FILE_OPEN): Likewise.
53079         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53080         (_G_int32_t): Likewise.
53081         (_G_uint16_t): Likewise.
53082         (_G_uint32_t): Likewise.
53083         (_G_HAVE_BOOL): Likewise.
53084         (_G_HAVE_ATEXIT): Likewise.
53085         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53086         (_G_HAVE_IO_FILE_OPEN): Likewise.
53087         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53088         (_G_int32_t): Likewise.
53089         (_G_uint16_t): Likewise.
53090         (_G_uint32_t): Likewise.
53091         (_G_HAVE_BOOL): Likewise.
53092         (_G_HAVE_ATEXIT): Likewise.
53093         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53094         (_G_HAVE_IO_FILE_OPEN): Likewise.
53096 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53098         * csu/libc-tls.c: Update copyright years.
53100 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53102         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53103         [!_G_USING_THUNKS]: Remove conditional code.
53104         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53105         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53107         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53108         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53109         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53110         (_G_VTABLE_LABEL_PREFIX): Likewise.
53111         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53112         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53113         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53114         (_G_VTABLE_LABEL_PREFIX): Likewise.
53115         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53116         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53117         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53118         (_G_VTABLE_LABEL_PREFIX): Likewise.
53119         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53121 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53123         * libio/Makefile: Include ../Makeconfig before tests.
53124         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53125         only if $(build-shared) is yes.
53127         * iconv/gconv_db.c: Update copyright years.
53129 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53131         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53132         unwind info if defined PIC. Fix special cases description.
53133         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53135         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53136         DP_HI_MASK entry.
53137         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53139 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53141         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53143         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53144         is NULL.
53146         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53147         (LDLIBS-tst-chk4): This.
53148         (LDFLAGS-tst-chk5): Renamed to ...
53149         (LDLIBS-tst-chk5): This.
53150         (LDFLAGS-tst-chk6): Renamed to ...
53151         (LDLIBS-tst-chk6): This.
53152         (LDFLAGS-tst-lfschk4): Renamed to ...
53153         (LDLIBS-tst-lfschk4): This.
53154         (LDFLAGS-tst-lfschk5): Renamed to ...
53155         (LDLIBS-tst-lfschk5): This.
53156         (LDFLAGS-tst-lfschk6): Renamed to ...
53157         (LDLIBS-tst-lfschk6): This.
53159         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53160         on $(common-objpfx)soversions.mk.
53162 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53164         [BZ #10014]
53165         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53166         example host name.
53168 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53170         * malloc/arena.c (arena_get_retry): New function that gets
53171         another arena for the caller to try its request on.
53172         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53173         current arena cannot fulfill the request.
53174         (__libc_memalign): Likewise.
53175         (__libc_memalign): Likewise.
53176         (__libc_pvalloc): Likewise.
53177         (__libc_calloc): Likewise.
53179 2012-09-05  John Tobey  <john.tobey@gmail.com>
53181         [BZ #13542]
53182         * manual/arith.texi (Operations on Complex): Fix description
53183         of carg branch cut.
53185 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53187         [BZ #10014]
53188         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53189         host name.
53191         [BZ #10038]
53192         * manual/memory.texi (Memory): Make order of menu items match
53193         order of sections.
53195 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53197         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53198         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53199         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53201 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53203         * csu/libc-tls.c (static_dtv): Renamed to ...
53204         (_dl_static_dtv): This.  Make it global.
53205         (_dl_initial_dtv): Removed.
53206         (__libc_setup_tls): Updated.
53207         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53208         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53209         DL_INITIAL_DTV.
53211 2012-09-06  Petr Machata  <pmachata@redhat.com>
53213         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53214         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53215         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53216         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53218 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53220         [BZ #14545]
53221         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53222         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53223         freeing dtv[-1].
53225 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53227         [BZ #14544]
53228         * Makeconfig (link-static-before-libc): Replace $(+prector)
53229         with $(+prectorT).
53230         (link-static-after-libc): Replace $(+postctor) with
53231         $(+postctorT).
53232         (link-bounded): Replace $(+prector)/$(+postctor) with
53233         $(+prectorT)/$(+postctorT).
53234         (+prectorT): New macro.
53235         (+postctorT): Likewise.
53237 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53239         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53240         (round_str): Handle values above the maximum for IBM long double
53241         as inexact.
53242         * stdlib/tst-strtod-round.c (tests): Regenerated.
53244 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53246         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53247         assembler flag.
53248         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53249         zarch_nohighgprs around the zarch optimized routines.
53250         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53251         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53252         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53253         for zarch.
53255 2012-09-05  David S. Miller  <davem@davemloft.net>
53257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53259         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53260         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53261         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53262         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53263         entries.
53265 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53267         * malloc/arena.c: Fold copyright years.
53268         * malloc/mcheck.c, malloc/memusage.c: Likewise.
53270 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53272         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53274 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53276         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
53278 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53280         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53281         change internal state upon failure.
53283 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
53285         * malloc/mcheck.c (mcheck_check_all): Fix typo.
53286         * malloc/memusage.c (mmap): Likewise.
53287         (mmap64, mremap): Likewise.  Adjust name in comment.
53289 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53291         * libio/fileops.c: Fix typos in comments.
53292         * libio/oldfileops.c: Likewise.
53293         * libio/wfileops.c: Likewise.
53295 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53297         [BZ #1349]
53298         * malloc/Makefile (tests): Add tst-malloc-usable test case.
53299         (tst-malloc-usable-ENV): Set environment for test case.
53300         * malloc/hooks.c (malloc_check_get_size): New function to get
53301         requested size.
53302         * malloc/malloc.c (musable): Use malloc_check_get_size.
53303         * malloc/tst-malloc-usable.c: New test case.
53305 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53307         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53309 2012-09-05  Allan McRae  <allan@archlinux.org>
53311         [BZ #13966]
53312         * configure.in (CXX_SYSINCLUDES): Use compiler output to
53313         determine header location.
53314         * configure: Regenerated.
53316 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53318         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53319         float format.
53320         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53321         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53322         format.
53323         (test): Regenerate.
53325 2012-09-04  David S. Miller  <davem@davemloft.net>
53327         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53328         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53329         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53331 2012-09-04  Florian Weimer  <fweimer@redhat.com>
53333         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53334         failures.
53336         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53338 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
53340         [BZ #9914]
53341         * libio/iogetdelim.c: Include <limits.h>.
53342         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53343         + len + 1 would overflow.
53345 2012-09-03  Andreas Jaeger  <aj@suse.de>
53347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53348         * sysdeps/i386/fpu/libm-test-ulps: Update.
53350 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53352         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53353         Add s_sinf-sse2, s_conf-sse2.
53355         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53356         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53357         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53358         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53360         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53361         for using routine as __sinf_ia32.
53362         Use macro for function declaration and weak_alias.
53363         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53364         for using routine as __cosf_ia32.
53365         Use macro for function declaration and weak_alias.
53367         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53368         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53370         * sysdeps/x86_64/fpu/s_sinf.S: New file.
53371         * sysdeps/x86_64/fpu/s_cosf.S: New file.
53372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53374         * math/libm-test.inc (cos_test): Add more test cases.
53375         (sin_test): Likewise.
53376         (sincos_test): Likewise.
53378 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53381         (IFUNC_RESOLVE): Make pointers to the specialized implementations
53382         hidden.
53383         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53385 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53387         [BZ #14538]
53388         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53389         first element of the GOT.
53390         (elf_machine_load_address): Return the difference between
53391         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53393 2012-09-01  Allan McRae  <allan@archlinux.org>
53395         [BZ #13412]
53396         * configure.in (AWK): Require gawk version 3.0 or later.
53397         * configure: Regenerated.
53399 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53401         * sysdeps/unix/sysv/linux/kernel-features.h
53402         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53403         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53404         [__NR_clock_getres]: Make code unconditional.
53405         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53406         (clock_getcpuclockid): Remove code left unreachable by removal of
53407         conditionals.
53408         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53409         code unconditional.
53410         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53411         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53412         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53413         Make code unconditional.
53414         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53415         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53416         * sysdeps/unix/sysv/linux/clock_settime.c
53417         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53418         conditional code.
53419         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53420         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53422 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53424         [BZ #14476]
53425         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53426         scripts/test-installation.pl.
53428         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53429         and $ld_so_version if it is set.
53431 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53433         [BZ #14516]
53434         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53435         failure if reading from procfs failed.
53436         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53438 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53440         * sysdeps/unix/sysv/linux/kernel-features.h
53441         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53442         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53443         Remove conditional code.
53444         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53445         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53446         Remove conditional code.
53447         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53448         * sysdeps/unix/sysv/linux/i386/fxstat.c
53449         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53450         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53451         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53452         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53454         * sysdeps/unix/sysv/linux/i386/lxstat.c
53455         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53457         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53458         Remove conditional code.
53459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53460         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53461         Remove conditional code.
53462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53463         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53464         <kernel-features.h>.
53465         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53466         Remove.
53467         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53468         Remove conditional code.
53469         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53470         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53471         Remove conditional.
53473 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53475         [BZ #5400]
53476         * NEWS: Add fixed bug number.
53478 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53480         [BZ #14519]
53481         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53482         underflowing exponent in case of negative sign.
53483         * stdlib/tst-strtod-round-data: Add more tests.
53484         * stdlib/tst-strtod-round.c (tests): Regenerated.
53486         [BZ #3479]
53487         * stdlib/strtod_l.c (NDIG): Remove.
53488         (HEXNDIG): Likewise.
53489         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53490         smallest representable value.
53491         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53492         lie within an exact representation of 1/2 ulp of the result.
53493         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53494         unconditionally.
53495         (TENS_P9_IDX): Define unconditionally.
53496         (TENS_P9_SIZE): Likewise.
53497         (TENS_P10_IDX): Likewise.
53498         (TENS_P10_SIZE): Likewise.
53499         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53500         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53501         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53502         entries for 10^2^13 and 10^2^14.
53503         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53504         (TENS_P13_IDX): Define.
53505         (TENS_P13_SIZE): Likewise.
53506         (TENS_P14_IDX): Likewise.
53507         (TENS_P14_SIZE): Likewise.
53508         (_fpioconst_pow10): Change array size to
53509         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53510         unconditional.
53511         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53512         1024]: Add entries for 10^2^13 and 10^2^14.
53513         [LAST_POW10 > _LAST_POW10]: Remove #error.
53514         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53515         (_fpioconst_pow10): Change array size to
53516         FPIOCONST_POW10_ARRAY_SIZE.
53517         * stdlib/gen-fpioconst.c: New file.
53518         * stdlib/gen-tst-strtod-round.c: Likewise.
53519         * stdlib/tst-strtod-round-data: Likewise.
53520         * stdlib/tst-strtod-round.c: Likewise.
53521         * stdlib/Makefile (tests): Add tst-strtod-round.
53523         [BZ #14459]
53524         * stdlib/strtod_l.c: Include <stdint.h>.
53525         (NDEBUG): Do not define.
53526         (round_and_return): Change EXPONENT parameter to type intmax_t.
53527         Rearrange calculations to avoid internal overflow possibilities.
53528         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53529         Rearrange calculations to avoid internal overflow possibilities.
53530         Assert that number fits inside MPNSIZE limbs.
53531         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53532         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53533         calculations and add assertions to avoid internal overflow
53534         possibilities.  Add casts to avoid signed/unsigned operations.
53535         * stdlib/tst-strtod-overflow.c: New file.
53536         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53538 2012-08-25  Marek Polacek  <polacek@redhat.com>
53540         * time/time.h: Fix some typos in comments.
53542 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53544         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53545         * posix/tst-rfc3484-2.c: Likewise.
53546         * posix/tst-rfc3484-3.c: Likewise.
53548 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53550         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53551         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53553 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53555         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53556         #include of fxstatat64.c.
53558 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53560         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53561         * shadow/getspent_r.c: Likewise.
53562         * shadow/getspnam.c: Likewise.
53563         * shadow/getspnam_r.c: Likewise.
53564         * gshadow/getsgent.c: Likewise.
53565         * gshadow/getsgent_r.c: Likewise.
53566         * gshadow/getsgnam.c: Likewise.
53567         * gshadow/getsgnam_r.c: Likewise.
53568         * inet/getnetbyad.c: Likewise.
53569         * inet/getnetbyad_r.c: Likewise.
53570         * inet/getnetbynm.c: Likewise.
53571         * inet/getnetbynm_r.c: Likewise.
53572         * inet/getnetent.c: Likewise.
53573         * inet/getnetent_r.c: Likewise.
53574         * inet/getproto.c: Likewise.
53575         * inet/getproto_r.c: Likewise.
53576         * inet/getprtent.c: Likewise.
53577         * inet/getprtent_r.c: Likewise.
53578         * inet/getprtname.c: Likewise.
53579         * inet/getprtname_r.c: Likewise.
53580         * inet/getrpcbyname.c: Likewise.
53581         * inet/getrpcbyname_r.c: Likewise.
53582         * inet/getrpcbynumber.c: Likewise.
53583         * inet/getrpcbynumber_r.c: Likewise.
53584         * inet/getrpcent.c: Likewise.
53585         * inet/getrpcent_r.c: Likewise.
53586         * inet/getaliasent.c: Likewise.
53587         * inet/getaliasent_r.c: Likewise.
53588         * inet/getaliasname.c: Likewise.
53589         * inet/getaliasname_r.c: Likewise.
53590         * nscd/getgrgid_r.c: Likewise.
53591         * nscd/getgrnam_r.c: Likewise.
53592         * nscd/gethstbyad_r.c: Likewise.
53593         * nscd/gethstbynm3_r.c: Likewise.
53594         * nscd/getpwnam_r.c: Likewise.
53595         * nscd/getpwuid_r.c: Likewise.
53596         * nscd/getsrvbynm_r.c: Likewise.
53597         * nscd/getsrvbypt_r.c: Likewise.
53598         * nscd/gai.c: Likewise.
53600         * configure.in (build_nscd): New substituted variable, set
53601         by --disable-build-nscd and defaults to $use_nscd.
53602         * configure: Regenerated.
53603         * config.make.in (build-nscd): New substituted variable.
53604         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53605         Change conditional to require [$(build-nscd) = yes] as well.
53606         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53608         [BZ# 13696]
53609         * configure.in (use_nscd): New substituted variable, set by
53610         --disable-nscd.  If enabled, define USE_NSCD.
53611         * configure: Regenerated.
53612         * config.h.in: Add USE_NSCD.
53613         * config.make.in (use-nscd): New substituted variable.
53614         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53615         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53616         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53617         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53618         (CFLAGS-getgrnam_r.c): Likewise.
53619         (CFLAGS-initgroups.c): Likewise.
53620         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53621         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53622         Variables removed.
53623         * inet/getnetgrent_r.c
53624         (nscd_setnetgrent): New function, broken out of ...
53625         (setnetgrent): ... here.  Call it.
53626         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53627         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53628         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53629         * nscd/Makefile (routines, aux): Move definitions after include of
53630         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53631         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53632         Conditionalize on [USE_NSCD].
53633         (is_nscd, nscd_init_cb): Likewise.
53634         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53635         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53636         * nss/nss_db/db-init.c: Likewise.
53637         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53638         [USE_NSCD].
53639         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53640         (make_request): Use it.
53641         (cache_valid_p): New function.
53642         (__check_pf): Use it.
53643         * NEWS: Add item for --disable-nscd.
53645 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53647         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53648         to support sed >= 4.2.1-20-ga9bf076.
53649         * configure: Regenerated.
53651 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53653         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53654         Conditionalize whole body on [IREL].
53656 2012-08-22  Jeff Law <law@redhat.com>
53658         [BZ #14505]
53659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53660         if the family is PF_UNSPEC.
53662 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53664         * Makerules (lib-version): Rename from V.
53665         (install-lib-nosubdir): Change V to lib-version.
53667 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53669         [BZ #14252]
53670         * powerpc32/power6/wcschr.c: New file.
53671         * powerpc32/power6/wcscpy.c: New file.
53672         * powerpc32/power6/wcsrchr.c: New file.
53673         * powerpc64/power6/wcschr.c: New file.
53674         * powerpc64/power6/wcscpy.c: New file.
53675         * powerpc64/power6/wcsrchr.c: New file.
53677 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53679         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53680         (two_way_short_needle): Use it.
53681         * string/strstr.c (AVAILABLE1_USES_J): Define.
53682         * string/strcasestr.c: Likewise.
53684         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53685         array references.
53686         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53688         [BZ #11607]
53689         * NEWS: Add an entry.
53690         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53691         define their defaults.
53692         (two_way_short_needle): Detect end-of-string on-the-fly.
53693         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53694         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53695         * string/bug-strcasestr1.c: New test.
53696         * string/Makefile: Run it.
53698 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53700         [BZ #11607]
53701         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53702         the first character.
53704 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53706         * csu/elf-init.c (__libc_csu_irel): Function removed.
53707         * csu/libc-start.c (apply_irel): New function.
53708         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53710 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53712         * sysdeps/unix/sysv/linux/kernel-features.h
53713         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53714         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53715         <kernel-features.h>.
53716         [__NR_fadvise64_64]: Make code unconditional.
53717         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53718         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53719         !__NR_fadvise64_64)]: Likewise.
53720         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53721         !__NR_fadvise64_64))]: Likewise.
53722         [__NR_fadvise64]: Make code unconditional.
53723         [!__NR_fadvise64]: Remove conditional code.
53724         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53725         <kernel-features.h>.
53726         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53727         unconditional.
53728         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53729         conditional code.
53730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53731         not include <kernel-features.h>.
53732         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53733         unconditional.
53734         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53735         conditional code.
53736         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53737         include <kernel-features.h>.
53738         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53739         unconditional.
53740         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53741         conditional code.
53743 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53745         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53746         slight instruction rearrangements per scrollpipe analysis.
53747         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53749 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53751         * manual/syslog.texi (syslog; vsyslog, closelog):
53752         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53753         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53755         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53756         DSOCAPS to match condition on defining it.
53758 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53760         * sysdeps/unix/sysv/linux/kernel-features.h
53761         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53763         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53764         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53766         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53767         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53769         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53770         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53772         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53773         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53775         * sysdeps/unix/sysv/linux/kernel-features.h
53776         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53777         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53778         unconditional.
53779         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53780         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53781         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53782         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53783         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53784         Make code unconditional.
53785         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53786         (__mmap64) [!__NR_mmap2]: Likewise.
53787         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53788         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53789         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53790         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53791         [__NR_mmap2]: Make code unconditional.
53792         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53793         (__mmap64) [!__NR_mmap2]: Likewise.
53795 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53797         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53799 2012-08-18  Andreas Jaeger  <aj@suse.de>
53801         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53803 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53805         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53806         * include/unistd.h (__have_sock_cloexec): Likewise.
53807         (__have_pipe2): Likewise.
53808         (__have_dup3): Likewise.
53810 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53812         [BZ #9685]
53813         * include/unistd.h (__have_pipe2): Change define into an extern int.
53814         (__have_dup3): Likewise.
53815         * socket/have_sock_cloexec.c: Include fcntl.h.
53816         (__have_pipe2): New variable.
53817         (__have_dup3): Likewise.
53819 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53821         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53823 2012-08-17  Marek Polacek  <polacek@redhat.com>
53825         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53826         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53828 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53830         * configure.in: Add AC_SUBST for sysheaders.
53831         * configure: Regenerated.
53832         * config.make.in (sysheaders): New substituted variable.
53834         * sysdeps/unix/mkfifo.c: Moved ...
53835         * sysdeps/posix/mkfifo.c: ... here.
53836         * sysdeps/unix/mkfifoat.c: Moved ...
53837         * sysdeps/posix/mkfifoat.c: ... here.
53839         * sysdeps/unix/utime.c: Moved ...
53840         * sysdeps/posix/utime.c: ... here.
53842         * sysdeps/unix/time.c: Moved ...
53843         * sysdeps/posix/time.c: ... here.
53844         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53845         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53847         * sysdeps/unix/nice.c: Moved ...
53848         * sysdeps/posix/nice.c: ... here.
53850         * sysdeps/unix/alarm.c: Moved ...
53851         * sysdeps/posix/alarm.c: ... here.
53853         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53855 2012-08-17  Jeff Law <law@redhat.com>
53857         * intl/Makefile (codeset_mo): New variable.
53858         ($(codeset_mo)): New target.
53859         (tst-codeset.out): Depend on that.  Remove explicit rule.
53860         (tst-gettext3.out, tst-gettext5.out): Likewise.
53861         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53862         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53863         * intl/tst-codeset.sh: Remove.
53864         * intl/tst-gettext3.sh: Likewise.
53865         * intl/tst-gettext5.sh: Likewise.
53867 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53869         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53870         * sysdeps/unix/syscalls.list: ... here.
53872         * sysdeps/posix/getaddrinfo.c
53873         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53874         (gaiconf_init, gaiconf_reload): Use them.
53875         [!_STATBUF_ST_NSEC]
53876         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53877         Define using time_t rather than struct timespec.
53879         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53880         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53881         Macros removed.
53882         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53883         [!NO_THREADS].
53884         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53885         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53886         Likewise.
53888         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53889         __libc_cleanup_push argument.
53891         * bits/param.h: New file.
53892         * misc/sys/param.h: New file.
53893         * include/sys/param.h: New file.
53894         * misc/Makefile (headers): Add bits/param.h.
53895         * sysdeps/generic/sys/param.h: File removed.
53896         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53897         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53898         * sysdeps/mach/hurd/bits/param.h: New file.
53899         * sysdeps/mach/hurd/sys/param.h: File removed.
53901         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53902         last change.
53904         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53905         [_IO_MTSAFE_IO].
53906         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53907         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53908         New macros.
53910         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53911         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53912         rather than -D_IO_MTSAFE_IO conditionally.
53913         * stdio-common/Makefile (CPPFLAGS): Likewise.
53914         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53915         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53916         Use $(libio-mtsafe).
53917         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53918         of -D_IO_MTSAFE_IO.
53919         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53920         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53921         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53922         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53923         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53924         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53925         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53926         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53927         (CFLAGS-fread_u_chk.c): Likewise.
53928         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53929         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53930         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53931         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53932         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53933         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53934         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53935         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53936         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53938         * libio/Makefile: Test [$(libc-reentrant) = yes]
53939         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53941         * Makeconfig
53942         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53943         * sysdeps/pthread/configure: File removed.
53944         * sysdeps/pthread/Makeconfig: New file.
53945         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53946         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53948 2012-08-16  Gary Benson  <gbenson@redhat.com>
53950         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53951         unmapping the first object in a namespace.
53953 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53955         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53956         (__internal_setnetgrent): ... this.  Add internal_function to
53957         definition.  Add libc_hidden_def.
53958         (setnetgrent): Update caller.
53959         (internal_endnetgrent): Renamed to ...
53960         (__internal_endnetgrent): ... this.  Add internal_function to
53961         definition.  Add libc_hidden_def.
53962         (endnetgrent): Update caller.
53963         (internal_getnetgrent_r): Renamed to ...
53964         (__internal_getnetgrent_r): ... this.  Add internal_function to
53965         definition.  Add libc_hidden_def.
53966         (__getnetgrent_r): Update caller.
53967         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53969 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53971         * stdlib/longlong.h: Update from GCC.
53973 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53975         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53976         on _QL, which is set by umul_ppmm but never used.
53977         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53978         variables, which are set by GMP macros but never used.
53979         * stdio-common/_itowa.c (_itowa): Likewise.
53980         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53981         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53983 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53985         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53986         struct La_sh_regs is not constant.
53987         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53988         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53989         and struct La_sparc64_regs are not constant.
53991 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53993         * sysdeps/unix/sysv/linux/kernel-features.h
53994         (__ASSUME_POSIX_TIMERS): Remove.
53995         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53996         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53997         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53998         Make code unconditional.
53999         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54000         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54001         Make code unconditional.
54002         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54003         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54004         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54005         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54006         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54007         Make code unconditional.
54008         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54009         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54010         (__libc_missing_posix_timers): Remove.
54012 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54014         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54015         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54017         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54019         * elf/dl-sym.c: Include <stdlib.h>.
54021         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54022         constants, which avoids warnings in 32-bit builds.
54024         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54025         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54027         * misc/lseek.c: File moved to ...
54028         * io/lseek.c: ... here.
54030         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54032         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54033         shifting LEN more than 31 bits at once.
54035 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54037         [BZ #14195]
54038         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54039         segmentation fault for a case of two empty input strings.
54040         * string/test-strncasecmp.c (check1): Renamed to...
54041         (bz12205): ...this.
54042         (bz14195): Add new testcase for two empty input strings and N > 0.
54043         (test_main): Call new testcase, adapt for renamed function.
54045 2012-08-15  Andreas Jaeger  <aj@suse.de>
54047         [BZ #14090]
54048         * crypt/md5test2.c: New test, based on test supplied by Serge
54049         Belyshev <belyshev@depni.sinp.msu.ru>.
54050         * crypt/Makefile (xtests): Add md5test-giant..
54051         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54053 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54055         [BZ #14090]
54056         * crypt/md5.c (md5_process_block): Don't assume the buffer
54057         length is less than 2**32.
54058         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54059         length is less than 2**64.
54061 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54063         * string/str-two-way.h: Include <sys/param.h>.
54064         (MAX): Macro removed.
54066         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54067         Move #define and #undef of memmove to just before and after
54068         including <string.h>.
54070         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54071         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54072         and after including <string.h>.  Move declarations of
54073         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54074         to before #include "string/memmove.c".
54076         * include/dirent.h: Declare __getdirentries.
54078         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54079         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54081 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54083         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54084         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54085         * sysdeps/i386/configure: Regenerated.
54086         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54087         STABS_CURRENT_FILE, and STABS_FUN.
54088         (END): Remove call to STABS_FUN_END.
54089         (STABS_CURRENT_FILE1): Delete.
54090         (STABS_CURRENT_FILE): Likewise.
54091         (STABS_FUN): Likewise.
54092         (STABS_FUN_END): Likewise.
54093         (STABS_FUN2): Likewise.
54094         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54095         * sysdeps/x86_64/configure: Regenerated.
54097 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54099         * elf/dl-open.c: Include <atomic.h>.
54100         * elf/dl-lookup.c: Likewise.
54102 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54104         * sysdeps/unix/sysv/linux/kernel-features.h
54105         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54106         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54107         unconditionally.
54108         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54109         unconditionally.
54110         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54111         condition on __ASSUME_CLONE_THREAD_FLAGS.
54113 2012-08-14  Andreas Jaeger  <aj@suse.de>
54115         * sysdeps/i386/fpu/libm-test-ulps: Update.
54117 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54119         * include/atomic.h (atomic_exchange_and_add): Split into ...
54120         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54121         New atomic macros.
54123 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54127 2012-08-13  Jeff Law <law@redhat.com>
54129         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54130         null byte in the output string.
54132 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54134         * sysdeps/unix/sysv/linux/kernel-features.h
54135         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54136         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54137         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54138         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54139         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54140         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54141         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54143 2012-08-09  Jeff Law <law@redhat.com>
54145         [BZ #13939]
54146         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54147         When avoid_arena is set, don't retry in the that arena.  Pick the
54148         next one, whatever it might be.
54149         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54150         (arena_lock): Pass in new parameter to arena_get2.
54151         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54152         arena_get2.
54153         (__libc_malloc): Unify retrying after main arena failure with
54154         __libc_memalign version.
54155         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54157 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54159         [BZ #14166]
54160         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54161         to __redirect_strstr.
54162         (__strstr_sse42): Use typeof __redirect_strstr.
54163         (__strstr_ia32): Likewise.
54164         (__libc_strstr): New prototype.
54165         (strstr): Renamed to ...
54166         (__libc_strstr): This.
54167         (strstr): New strong alias of __libc_strstr.
54168         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54169         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54170         __redirect_time.
54171         Include <time.h>.
54172         (__libc_time): New prototype.
54173         (time_ifunc): Replace time with __libc_time.
54174         (time): New strong alias and hidden definition of __libc_time.
54175         (__GI_time): Remove strong alias.
54176         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54177         Include <stddef.h>.
54178         (memmove): Redefined to __redirect_memmove.
54179         (__memmove_sse2): Use typeof __redirect_memmove.
54180         (__memmove_ssse3): Likewise.
54181         (__memmove_ssse3_back): Likewise.
54182         (__libc_memmove): New prototype.
54183         (memmove): Renamed to ...
54184         (__libc_memmove): This.
54185         (memmove): New strong alias of __libc_memmove.
54187 2012-08-08  Mark Salter  <msalter@redhat.com>
54189         * elf/elf.h
54190         (R_MN10300_TLS_GD): Define.
54191         (R_MN10300_TLS_LD): Likewise.
54192         (R_MN10300_TLS_LDO): Likewise.
54193         (R_MN10300_TLS_GOTIE): Likewise.
54194         (R_MN10300_TLS_IE): Likewise.
54195         (R_MN10300_TLS_LE): Likewise.
54196         (R_MN10300_TLS_DTPMOD): Likewise.
54197         (R_MN10300_TLS_DTPOFF): Likewise.
54198         (R_MN10300_TLS_TPOFF): Likewise.
54199         (R_MN10300_SYM_DIFF): Likewise.
54200         (R_MN10300_ALIGN): Likewise.
54201         (R_MN10300_NUM): Update.
54203 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54205         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54206         Remove.
54208 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54210         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54212         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54213         sysdeps/unix -> sysdeps/posix move.
54214         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54216 2012-08-07      Allan McRae     <allan@archlinux.org>
54218         [BZ #14303]
54219         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54220         (SUNOS_CPP): Likewise.
54221         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54222         not found.
54223         (open_input): Call CPP using execvp.
54225 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54227         * sysdeps/unix/sysv/linux/kernel-features.h
54228         (__ASSUME_PROT_GROWSUPDOWN): Remove.
54229         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54230         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54231         (__ASSUME_WAITID_SYSCALL): Likewise.
54232         * sysdeps/unix/sysv/linux/dl-execstack.c
54233         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54234         code unconditional.
54235         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54236         conditional code.
54237         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54238         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54239         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54240         code.
54241         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54242         unconditional.
54243         [__ASSUME_WAITID_SYSCALL]: Likewise.
54244         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54246 2012-08-07  Roland McGrath  <roland@hack.frob.com>
54248         * sysdeps/unix/closedir.c: Renamed to ...
54249         * sysdeps/posix/closedir.c: ... here.
54250         * sysdeps/unix/dirfd.c: Renamed to ...
54251         * sysdeps/posix/dirfd.c: ... here.
54252         * sysdeps/unix/dirstream.h: Renamed to ...
54253         * sysdeps/posix/dirstream.h: ... here.
54254         * sysdeps/unix/fdopendir.c: Renamed to ...
54255         * sysdeps/posix/fdopendir.c: ... here.
54256         * sysdeps/unix/opendir.c: Renamed to ...
54257         * sysdeps/posix/opendir.c: ... here.
54258         * sysdeps/unix/readdir.c: Renamed to ...
54259         * sysdeps/posix/readdir.c: ... here.
54260         * sysdeps/unix/readdir_r.c: Renamed to ...
54261         * sysdeps/posix/readdir_r.c: ... here.
54262         * sysdeps/unix/rewinddir.c: Renamed to ...
54263         * sysdeps/posix/rewinddir.c: ... here.
54264         * sysdeps/unix/seekdir.c: Renamed to ...
54265         * sysdeps/posix/seekdir.c: ... here.
54266         * sysdeps/unix/telldir.c: Renamed to ...
54267         * sysdeps/posix/telldir.c: ... here.
54268         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54269         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54270         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54271         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54273         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54274         * bits/fcntl.h: ... here.
54276         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54277         not 0.
54278         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54279         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54280         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54281         (struct flock): Move l_start, l_len to the beginning.
54282         Use __pid_t for l_pid.
54283         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54284         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54285         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54286         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54287         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54288         [__USE_LARGEFILE64] (struct flock64): New type.
54289         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54291         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54292         * bits/dirent.h: ... here.
54294         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54295         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54297 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54300         Change from 2.6.0 to 2.6.16.
54301         * sysdeps/unix/sysv/linux/configure: Regenerated.
54302         * sysdeps/unix/sysv/linux/kernel-features.h
54303         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54304         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54305         version.
54306         (__ASSUME_UTIMES): Likewise.
54307         (__ASSUME_CLONE_STOPPED): Remove.
54308         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54309         architectures, not kernel version.
54310         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54311         (__ASSUME_NO_CLONE_DETACHED): Likewise.
54312         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54313         (__ASSUME_WAITID_SYSCALL): Likewise.
54314         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54315         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54316         * README: State 2.6.16 as minimum Linux kernel version.  Do not
54317         refer to older versions.
54319 2012-08-06  Roland McGrath  <roland@hack.frob.com>
54321         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54322         Define alphasort64 as an alias.
54323         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54324         Define versionsort64 as an alias.
54325         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54326         Define scandir64 as an alias.
54327         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54328         Define scandirat64 as an alias.
54329         * dirent/alphasort64.c (alphasort64):
54330         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54331         * dirent/versionsort64.c: Likewise.
54332         * dirent/scandir64.c: Likewise.
54333         * dirent/scandirat64.c: Likewise.
54334         * sysdeps/wordsize-64/alphasort.c: File removed.
54335         * sysdeps/wordsize-64/alphasort64.c: File removed.
54336         * sysdeps/wordsize-64/scandir.c: File removed.
54337         * sysdeps/wordsize-64/scandir64.c: File removed.
54338         * sysdeps/wordsize-64/scandirat.c: File removed.
54339         * sysdeps/wordsize-64/scandirat64.c: File removed.
54340         * sysdeps/wordsize-64/versionsort.c: File removed.
54341         * sysdeps/wordsize-64/versionsort64.c: File removed.
54342         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54343         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54344         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54345         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54346         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54347         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54348         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54349         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54351         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54352         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54353         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54355         [defined __arch64__ || defined __sparcv9]
54356         (__INO_T_MATCHES_INO64_T): New macro.
54357         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54358         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54359         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54360         * sysdeps/unix/sysv/linux/bits/dirent.h
54361         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54362         (_DIRENT_MATCHES_DIRENT64): New macro.
54364         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54365         Define lockf64 as an alias.
54366         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54367         Define fseeko64 as an alias.
54368         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54369         Define ftello64 as an alias.
54370         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54371         Define _IO_fgetpos64 and fgetpos64 as aliases.
54372         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54373         Define _IO_fsetpos64 and fsetpos64 as aliases.
54374         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54375         Conditionalize body on this.
54376         * libio/fseeko64.c: Likewise.
54377         * libio/ftello64.c: Likewise.
54378         * libio/iofgetpos64.c: Likewise.
54379         * libio/iofsetpos64.c: Likewise.
54380         * sysdeps/wordsize-64/lockf.c: File removed.
54381         * sysdeps/wordsize-64/lockf64.c: File removed.
54382         * sysdeps/wordsize-64/fseeko.c: File removed.
54383         * sysdeps/wordsize-64/fseeko64.c: File removed.
54384         * sysdeps/wordsize-64/ftello.c: File removed.
54385         * sysdeps/wordsize-64/ftello64.c: File removed.
54386         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54387         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54388         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54389         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54390         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54391         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54392         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54393         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54394         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54395         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54396         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54397         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54398         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54399         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54401         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54402         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54403         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54404         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54405         [defined __arch64__ || defined __sparcv9]
54406         (__OFF_T_MATCHES_OFF64_T): New macro.
54407         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54408         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54410         (__OFF_T_MATCHES_OFF64_T): New macro.
54412 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54414         * stdlib/secure-getenv.c (__secure_getenv): Replace
54415         GLIBC_2_16 with GLIBC_2_17.
54417 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54419         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54420         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54422 2012-08-03  David S. Miller  <davem@davemloft.net>
54424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54426 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54428         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54429         Remove.
54430         (__ASSUME_CORRECT_SI_PID): Likewise.
54431         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54432         (__ASSUME_TMPFS_NAME): Likewise.
54433         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54434         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54435         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54436         (HAVE_AUX_SECURE): Make definition unconditional.
54437         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54438         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54440 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54442         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54443         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54444         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54445         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54446         __eloop_threshold instead of SYMLOOP_MAX.
54448         * sysdeps/generic/eloop-threshold.h: New file.
54449         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54450         of MAXSYMLINKS.
54451         * elf/chroot_canon.c (chroot_canon): Likewise.
54453 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54455         [BZ #13717]
54456         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54457         Change to 2.6.0 everywhere.
54458         * sysdeps/unix/sysv/linux/configure: Regenerated.
54459         * sysdeps/unix/sysv/linux/kernel-features.h
54460         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54461         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54462         kernel versions.
54463         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54464         (__ASSUME_FUTEX_REQUEUE): Remove.
54465         (__ASSUME_STATFS64): Define unconditionally.
54466         (__ASSUME_AT_SECURE): Likewise.
54467         (__ASSUME_CORRECT_SI_PID): Likewise.
54468         (__ASSUME_TGKILL): Define without depending on kernel version for
54469         i386.
54470         (__ASSUME_UTIMES): Likewise.
54471         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54472         kernel version.
54473         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54474         (__ASSUME_TMPFS_NAME): Likewise.
54475         * README: Update reference to Linux kernel versions.
54477 2012-08-02  Marek Polacek  <polacek@redhat.com>
54479         [BZ# 14150]
54480         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54481         libc_cv_asm_type_prefix with %.
54482         * configure: Regenerated.
54483         * include/libc-symbols.h: Remove comment about
54484         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54485         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54486         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54487         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54488         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54489         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54490         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54491         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54492         * elf/tst-unique2mod1.c: Likewise.
54493         * elf/tst-unique1mod2.c: Likewise.
54494         * elf/tst-unique1mod1.c: Likewise.
54495         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54496         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54497         Replace ASM_TYPE_DIRECTIVE with .type.
54498         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54499         * sysdeps/i386/sysdep.h: Likewise.
54500         * sysdeps/x86_64/sysdep.h: Likewise.
54501         * sysdeps/sh/sysdep.h: Likewise.
54502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54503         Do not define ASM_TYPE_DIRECTIVE.
54504         * sysdeps/powerpc/sysdep.h: Likewise.
54505         * sysdeps/powerpc/powerpc32/sysdep.h:
54506         Replace ASM_TYPE_DIRECTIVE with .type.
54507         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54508         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54509         * sysdeps/i386/fpu/e_powf.S: Likewise.
54510         * sysdeps/i386/fpu/e_expl.S: Likewise.
54511         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54512         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54513         * sysdeps/i386/fpu/e_pow.S: Likewise.
54514         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54515         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54516         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54517         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54518         * sysdeps/i386/fpu/e_log2.S: Likewise.
54519         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54520         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54521         * sysdeps/i386/fpu/e_powl.S: Likewise.
54522         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54523         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54524         * sysdeps/i386/fpu/e_logl.S: Likewise.
54525         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54526         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54527         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54528         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54529         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54530         * sysdeps/i386/fpu/e_log.S: Likewise.
54531         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54532         * sysdeps/i386/fpu/e_logf.S: Likewise.
54533         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54534         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54535         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54536         * sysdeps/i386/fpu/e_log10.S: Likewise.
54537         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54538         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54539         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54540         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54541         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54542         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54543         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54544         * sysdeps/i386/i686/strtok.S: Likewise.
54545         * sysdeps/i386/i386-mcount.S: Likewise.
54546         * sysdeps/i386/strtok.S: Likewise.
54547         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54548         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54549         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54550         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54551         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54552         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54553         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54554         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54555         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54556         * sysdeps/x86_64/_mcount.S: Likewise.
54557         * sysdeps/x86_64/strtok.S: Likewise.
54558         * sysdeps/sh/_mcount.S: Likewise.
54560 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54562         * libio/iofopen.c: Include <fcntl.h>.
54563         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54564         (_IO_fopen64, fopen64): Define as aliases.
54565         * libio/iofopen64.c: Include <fcntl.h>.
54566         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54567         Conditionalize body on this.
54568         * sysdeps/wordsize-64/iofopen.c: File removed.
54569         * sysdeps/wordsize-64/iofopen64.c: File removed.
54571 2012-08-01  Marek Polacek  <polacek@redhat.com>
54573         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54574         Use dlfcn directly instead of a variable.
54575         (binfmt-subdir): Do not define.
54576         (dlfcn): Likewise.
54578 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54580         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54581         Remove all definitions.
54582         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54583         <kernel-features.h>.
54584         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54585         (miss_F_GETOWN_EX): Remove all definitions.
54586         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54587         macro definition.
54588         [!__ASSUME_FCNTL64]: Remove conditional code.
54589         [__ASSUME_FCNTL64]: Make code unconditional.
54590         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54591         <kernel-features.h>.
54592         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54593         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54594         (lockf64) [__NR_fcntl64]: Make code unconditional.
54595         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54597         * sysdeps/unix/sysv/linux/kernel-features.h
54598         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54599         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54600         Make code unconditional.
54601         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54602         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54604         [__NR_vfork]: Make code unconditional.
54605         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54606         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54608         [__NR_vfork]: Make code unconditional.
54609         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54610         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54612 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54614         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54615         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54617         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54618         Define mkstemp64 as an alias.
54619         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54620         Define mkstemps64 as an alias.
54621         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54622         Define mkostemp64 as an alias.
54623         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54624         Define mkostemps64 as an alias.
54625         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54626         Conditionalize body on this.
54627         * misc/mkostemp64.c: Likewise.
54628         * misc/mkostemps64.c: Likewise.
54629         * misc/mkstemps64.c: Likewise.
54630         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54631         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54632         * sysdeps/wordsize-64/mkostemp.c: File removed.
54633         * sysdeps/wordsize-64/mkstemp.c: File removed.
54634         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54635         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54636         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54637         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54639         [BZ #14138]
54640         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54641         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54642         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54643         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54645         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54646         compat_symbol macros from <shlib-compat.h> rather than the underlying
54647         default_symbol_version and symbol_version macros, so that DEFAULT
54648         lines in shlib-versions are respected.
54649         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54651 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54653         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54654         Declare with warn_unused_result.
54655         (setgid, setregid, setegid, setresgid): Likewise.
54656         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54657         Likewise.
54658         * WUR-REPORT: Remove set*id functions.
54660 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54662         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54664 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54666         [BZ #10191]
54667         * include/sys/socket.h (__libc_accept, __libc_accept4):
54668         Add attribute_hidden.
54669         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54671         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54672         use of PTR_MANGLE.
54673         * inet/getnetgrent_r.c (setup): Likewise.
54675         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54677 2012-07-31  David S. Miller  <davem@davemloft.net>
54679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54681 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54683         [BZ #13629]
54684         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54685         value between 1.0 and 2.0 and smaller part has absolute value less
54686         than 1.0.
54687         * math/s_clog10.c (__clog10): Likewise.
54688         * math/s_clog10f.c (__clog10f): Likewise.
54689         * math/s_clog10l.c (__clog10l): Likewise.
54690         * math/s_clogf.c (__clogf): Likewise.
54691         * math/s_clogl.c (__clogl): Likewise.
54692         * math/libm-test.inc (clog_test): Add more tests.
54693         (clog10_test): Likewise.
54694         * sysdeps/i386/fpu/libm-test-ulps: Update.
54695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54697 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54699         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54700         Exit with zero in case no suitable GID is found, and write a
54701         message to standard error.
54703 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54705         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54706         rather than to 1.
54707         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54708         (MAXPATHLEN): Removed.
54709         (NOGROUP, NODEV): New macros.
54710         (setbit, clrbit, isset, isclr): New macros.
54711         (howmany, roundup, powerof2): New macros.
54712         (DEV_BSIZE): New macro.
54714         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54715         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54717         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54718         definition on [!__NO_LONG_DOUBLE_MATH].
54720         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54721         PTR_MANGLE and PTR_DEMANGLE.
54723         * socket/accept4.c (accept4): Rename to __libc_accept4.
54724         Define accept4 as a weak alias.
54726         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54727         on [_DIRENT_HAVE_D_TYPE].
54728         * io/ftw.c (ftw_dir): Likewise.
54730         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54732         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54734         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54735         Use the BSD numbers rather than the arbitrary ones we had.
54736         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54737         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54738         (SIGXCPU, SIGXFSZ): New macros.
54739         (_NSIG): Now 32.
54741         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54742         initializer on [_LIBC_REENTRANT].
54744         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54745         definitions inside [_POSIX_MAPPED_FILES].
54747         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54749         * dirent/opendir.c: Include <fcntl.h>.
54751         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54752         (__libc_getspecific): Likewise.
54753         (__libc_key_create): Likewise.
54755         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54756         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54757         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54758         (tmpfile64): Define as alias.
54759         * sysdeps/wordsize-64/tmpfile.c: File removed.
54760         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54761         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54762         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54764         * stdio-common/vfscanf.c: Include <stdbool.h>.
54765         * nss/makedb.c: Likewise.
54766         * stdio-common/_i18n_number.h: Likewise.
54767         * argp/argp-help.c: Likewise.
54768         * posix/wordexp.c: Likewise.
54769         * sysdeps/posix/spawni.c: Likewise.
54770         * nss/nss_files/files-initgroups.c: Likewise.
54771         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54772         * nss/nss_files/files-initgroups.c: Likewise.
54773         * nss/nss_db/db-netgrp.c: Likewise.
54774         * nss/nss_db/db-initgroups.c: Likewise.
54775         * io/fchmodat.c: Include <sys/stat.h>.
54777         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54778         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54780         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54781         [HAVE_MMAP].
54783         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54784         Add multiple inclusion protection.
54786 2012-07-27  David S. Miller  <davem@davemloft.net>
54788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54790 2012-07-27  Gary Benson  <gbenson@redhat.com>
54792         [BZ #14298]
54793         * elf/rtld.c: Include <stap-probe.h>.
54794         (dl_main): Added static probes "init_start" and "init_complete".
54795         * elf/dl-load.c: Include <stap-probe.h>.
54796         (lose): Take new parameter "nsid".
54797         Added static probe "map_failed".
54798         (_dl_map_object_from_fd): Pass namespace id to lose.
54799         Added static probe "map_start".
54800         (open_verify): Pass namespace id to lose.
54801         * elf/dl-open.c: Include <stap-probe.h>.
54802         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54803         and "reloc_complete".
54804         * elf/dl-close.c: Include <stap-probe.h>.
54805         (_dl_close_worker): Added static probes "unmap_start" and
54806         "unmap_complete".
54807         * elf/rtld-debugger-interface.txt: New file documenting the above.
54809 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54811         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54812         rather than a string variable.
54813         * sunrpc/rpc_main.c (h_output): Likewise.
54814         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54816 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54818         * inet/check_native.c: New file.
54820 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54822         [BZ #13629]
54823         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54824         if larger part has absolute value 1.0.
54825         * math/s_clog10.c (__clog10): Likewise.
54826         * math/s_clog10f.c (__clog10f): Likewise.
54827         * math/s_clog10l.c (__clog10l): Likewise.
54828         * math/s_clogf.c (__clogf): Likewise.
54829         * math/s_clogl.c (__clogl): Likewise.
54830         * math/libm-test.inc (clog_test): Add more tests.
54831         (clog10_test): Likewise.
54832         * sysdeps/i386/fpu/libm-test-ulps: Update.
54833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54835         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54836         (pltexit): Likewise.
54837         (La_regs): Likewise.
54838         (La_retval): Likewise.
54839         (int_retval): Likewise.
54840         Update #error for removed macros to refer only to definitions in
54841         tst-audit.h.
54842         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54843         macro.
54844         (pltexit): Likewise.
54845         (La_regs): Likewise.
54846         (La_retval): Likewise.
54847         (int_retval): Likewise.
54848         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54849         macro.
54850         (pltexit): Likewise.
54851         (La_regs): Likewise.
54852         (La_retval): Likewise.
54853         (int_retval): Likewise.
54854         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54855         macro.
54856         (pltexit): Likewise.
54857         (La_regs): Likewise.
54858         (La_retval): Likewise.
54859         (int_retval): Likewise.
54860         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54861         macro.
54862         (pltexit): Likewise.
54863         (La_regs): Likewise.
54864         (La_retval): Likewise.
54865         (int_retval): Likewise.
54866         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54867         macro.
54868         (pltexit): Likewise.
54869         (La_regs): Likewise.
54870         (La_retval): Likewise.
54871         (int_retval): Likewise.
54872         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54873         macro.
54874         (pltexit): Likewise.
54875         (La_regs): Likewise.
54876         (La_retval): Likewise.
54877         (int_retval): Likewise.
54878         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54879         macro definitions in tst-audit.h.
54880         * sysdeps/i386/tst-audit.h: New file.
54881         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54882         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54883         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54884         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54885         * sysdeps/sh/tst-audit.h: Likewise.
54886         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54887         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54888         * sysdeps/x86_64/tst-audit.h: Likewise.
54890 2012-07-26  Andreas Jaeger  <aj@suse.de>
54892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54893         ptrace.
54895         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54896         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54897         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54898         PTRACE_O_MASK.
54899         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54900         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54901         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54903         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54904         value.
54906         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54907         _sigsys.
54908         (si_call_addr, si_syscall, si_arch): Define new macro.
54909         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54910         _sigsys.
54911         (si_call_addr, si_syscall, si_arch): Define new marcro.
54912         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54913         _sigsys.
54914         (si_call_addr, si_syscall, si_arch): Define new macro.
54915         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54916         _sigsys.
54917         (si_call_addr, si_syscall, si_arch): Define new macro.
54919 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54921         [BZ #13717]
54922         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54923         Change to 2.4.21 where previously 2.4.1.
54924         * sysdeps/unix/sysv/linux/configure: Regenerated.
54925         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54926         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54927         Linux kernel version.
54928         (__ASSUME_STD_AUXV): Remove.
54929         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54930         kernel version.
54931         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54932         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54933         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54934         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54935         (__ASSUME_NETLINK_SUPPORT): Likewise.
54936         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54937         (__no_netlink_support): Remove conditional definition.
54938         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54939         Remove.
54940         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54941         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54942         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54943         (if_nameindex_ioctl): Remove.
54944         (if_nameindex_netlink): Do not handle __no_netlink_support.
54945         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54946         code.
54947         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54948         Remove conditional code.
54949         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54950         code.
54951         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54952         unconditional.
54953         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54954         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54955         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54956         Remove.
54957         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54958         [!__ASSUME_STD_AUXV]: Remove conditional code.
54959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54960         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54961         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54963         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54964         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54965         code.
54966         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54968         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54969         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54970         conditional code.
54971         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54973         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54974         code.
54975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54976         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54977         conditional code.
54978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54979         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54980         code unconditional.
54981         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54982         conditional code.
54983         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54984         unconditional.
54985         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54986         conditional code.
54987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54988         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54989         unconditional.
54990         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54991         conditional code.
54992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54993         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54994         code unconditional.
54995         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54996         conditional code.
54997         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54998         unconditional.
54999         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55000         conditional code.
55001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55002         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55003         code unconditional.
55004         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55005         conditional code.
55006         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55007         unconditional.
55008         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55009         conditional code.
55011 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55013         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55014         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55015         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55016         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55017         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55018         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55019         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55020         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55021         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55022         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55023         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55024         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55025         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55026         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55027         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55028         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55029         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55030         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55031         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55033         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55034         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55035         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55037 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55039         * Versions.def: Add GLIBC_2.17.
55040         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55041         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55042         Introduce __libc_secure_getenv.
55043         * stdlib/Versions (2.17): Add secure_getenv
55044         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55045         * stdlib/secure-getenv.c: Rename __secure_getenv to
55046         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55047         symbol __secure_getenv for GLIBC_2.0.
55048         * stdlib/tst-secure-getenv.c: New.
55049         * stdlib/Makefile (tests): Add testcase.
55050         * manual/startup.texi (Environment Access): Document
55051         secure_getenv.
55052         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55053         __libc_secure_getenv.
55054         * inet/ruserpass.c (ruserpass): Likewise.
55055         * malloc/mtrace.c (mtrace): Likewise.
55056         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55057         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55058         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55059         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55060         HAVE_SECURE_GETENV.
55061         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55062         __secure_getenv to __libc_secure_getenv.
55063         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55065         Likewise.
55066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55067         Likewise.
55068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55070         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55076 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55078         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55079         (struct La_i86_retval): Likewise.
55080         (struct La_x86_64_regs): Likewise.
55081         (struct La_x86_64_retval): Likewise.
55082         (struct La_x32_regs): Likewise.
55083         (struct La_x32_retval): Likewise.
55084         (struct La_ppc32_regs): Likewise.
55085         (struct La_ppc32_retval): Likewise.
55086         (struct La_ppc64_regs): Likewise.
55087         (struct La_ppc64_retval): Likewise.
55088         (struct La_sh_regs): Likewise.
55089         (struct La_sh_retval): Likewise.
55090         (struct La_s390_32_regs): Likewise.
55091         (struct La_s390_32_retval): Likewise.
55092         (struct La_s390_64_regs): Likewise.
55093         (struct La_s390_64_retval): Likewise.
55094         (struct La_sparc32_regs): Likewise.
55095         (struct La_sparc32_retval): Likewise.
55096         (struct La_sparc64_regs): Likewise.
55097         (struct La_sparc64_retval): Likewise.
55098         (struct audit_ifaces): Remove architecture-specific pltenter and
55099         pltexit members.
55100         * sysdeps/i386/ldsodefs.h: New file.
55101         * sysdeps/powerpc/ldsodefs.h: Likewise.
55102         * sysdeps/s390/ldsodefs.h: Likewise.
55103         * sysdeps/sh/ldsodefs.h: Likewise.
55104         * sysdeps/sparc/ldsodefs.h: Likewise.
55105         * sysdeps/x86_64/ldsodefs.h: Likewise.
55107 2012-07-25  Marek Polacek  <polacek@redhat.com>
55109         [BZ #6808]
55110         * math/libm-test.inc (yn_test): Add another test.
55111         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55112         to ERANGE when the result is +-Inf.
55113         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55114         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55115         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55116         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55118 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55120         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55121         equal to 0.
55122         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55123         clock_t.
55124         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55126 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55128         * configure.in <sysdeps resolving>: Correct printing
55129         Implies_before.
55130         * configure: Regenerate.
55132 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55134         * math/w_ilogb.c: Include <limits.h>.
55135         * math/w_ilogbl.c: Likewise.
55137 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55139         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55140         va_copy.  Document allowing for unavailable va_copy only as
55141         pre-C99 compatibility.
55142         * manual/string.texi (Copying and Concatenation): Use va_copy
55143         instead of __va_copy in concat example.
55145 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55147         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55148         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55149         it if not null.
55151         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55152         with O_NOLINK passed to __file_name_lookup.
55154         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55155         with O_NOLINK passed to __file_name_lookup.
55157         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55158         negative N or less than NGIDS.
55160         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55161         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55162         enough.  Use memcpy instead of strncpy.
55164 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55166         * elf/Makefile (check-data): Remove.
55167         (localplt.data): New vpath directive.
55168         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55169         instead of $(check-data).
55170         * scripts/data/localplt-generic.data: Move to ...
55171         * sysdeps/generic/localplt.data: ... here.
55172         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55173         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55174         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55176         ... here.
55177         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55179         ... here.
55180         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55182         ... here.
55183         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55185         ... here.
55186         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55188         ... here.
55189         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55191         ... here.
55193 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55195         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55196         PPC32 and PPC64 files.
55197         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55198         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55200 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55202         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55203         __makecontext_ret to ...
55204         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55205         ... here and call exit if uc_link is NULL.  New file.
55206         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55207         __makecontext_ret.S.
55208         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55209         __makecontext_ret to ...
55210         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55211         ... here and call exit if uc_link is NULL.  New file.
55212         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55213         __makecontext_ret.S.
55215 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55217         * elf/elf.h (R_390_IRELATIVE): New definition.
55218         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55219         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55220         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55221         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55222         (elf_machine_lazy_rel): Likewise.
55223         * sysdeps/s390/dl-irel.h: New file.
55224         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55225         * sysdeps/s390/s390-64/memset.S: New asm code.
55226         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55227         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55228         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55229         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55230         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55231         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55232         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55233         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55234         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55235         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55236         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55237         * sysdeps/s390/s390-32/memcpy.S: New asm code.
55238         * sysdeps/s390/s390-32/memset.S: New asm code.
55239         * sysdeps/s390/s390-32/memcmp.S: New asm code.
55241 2012-07-17  Marek Polacek  <polacek@redhat.com>
55243         [BZ #14349]
55244         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55245         * sysdeps/s390/s390-64/configure.in: Likewise.
55246         * sysdeps/sparc/configure.in: Likewise.
55247         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55248         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55249         * sysdeps/i386/configure.in: Likewise.
55250         * sysdeps/x86_64/configure.in: Likewise.
55251         * sysdeps/sh/configure.in: Likewise.
55252         * sysdeps/s390/s390-32/configure: Regenerated.
55253         * sysdeps/s390/s390-64/configure: Likewise.
55254         * sysdeps/x86_64/configure: Likewise.
55255         * sysdeps/sh/configure: Likewise.
55256         * sysdeps/powerpc/powerpc64/configure: Likewise.
55257         * sysdeps/powerpc/powerpc32/configure: Likewise.
55258         * sysdeps/sparc/configure: Likwise.
55259         * sysdeps/i386/configure: Likewise.
55261         * elf/dl-open.c: Comment fixes.
55263 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
55265         * Makefile [CXX] (check-data): Remove.
55266         [CXX] (c++-types.data): New vpath directive.
55267         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55268         vpath.  Do not allow for C++ type data being missing.
55269         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55270         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55271         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55272         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55273         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55274         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55275         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55277         ... here.
55278         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55280         ... here.
55281         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55283         ... here.
55284         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55286         ... here.
55287         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55289         ... here.
55290         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55292         ... here.
55293         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55295         ... here.
55296         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55299         * elf/tls-macros.h (TLS_LE): Move architecture-specific
55300         definitions to architecture-specific files.
55301         (TLS_IE): Likewise.
55302         (TLS_LD): Likewise.
55303         (TLS_GD): Likewise.
55304         * sysdeps/i386/tls-macros.h: New file.
55305         * sysdeps/powerpc/tls-macros.h: Likewise.
55306         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55307         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55308         * sysdeps/sh/tls-macros.h: Likewise.
55309         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55310         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55311         * sysdeps/x86_64/tls-macros.h: Likewise.
55313 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55315         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55316         zero value for regular exit case.
55318         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55319         (__start_context): Preserve zero value for regular exit case.
55321 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
55322             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55324         * manual/setjmp.texi (setcontext): Clarify normal process
55325         termination when uc_link is the null pointer.
55326         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55327         exit call.
55329 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
55331         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55332         preprocessor.  Test for each exception mask separately.
55334 2012-07-16  Andreas Jaeger  <aj@suse.de>
55336         * po/ru.po: Update from translation team.
55338 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
55340         * conform/data/string.h-data (NULL): Use macro-constant.  Require
55341         equal to 0.
55342         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55343         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55344         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55345         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55346         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55348 2012-07-13  Andreas Jaeger  <aj@suse.de>
55350         * po/fr.po: Update from translation team.
55352 2012-07-12  Marek Polacek  <polacek@redhat.com>
55354         [BZ #14173]
55355         * math/libm-test.inc (yn_test): Add test for BZ #14173.
55356         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55357         loop condition.
55359 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
55361         [BZ #13717]
55362         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55363         Change to 2.4.1 where previously 2.4.0.
55364         * sysdeps/unix/sysv/linux/configure: Regenerated.
55365         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55366         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55367         version.
55368         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55369         (__ASSUME_AT_CLKTCK): Remove.
55370         (__ASSUME_AT_PAGESIZE): Likewise.
55371         (__ASSUME_AT_XID): Likewise.
55372         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55373         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55374         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55375         unconditionally.
55376         (HAVE_AUX_PAGESIZE): Likewise.
55377         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55378         [__ASSUME_AT_CLKTCK]: Make code unconditional.
55379         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55381 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
55383         [BZ #14307]
55384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55385         the temporary buffer used to invoke __gethostbyname2_r,
55386         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55387         host_data / struct gaih_addrtuple.
55388         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55389         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55390         header file nss/nsswitch.h.
55391         * nss/nsswitch.h (global scope): Add definition of implementation
55392         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55393         resolv/nss_dns/dns-host.c).
55395 2012-07-11  Andreas Jaeger  <aj@suse.de>
55397         * po/fr.po: Update from translation team.
55399         * po/sv.po: Update from translation team
55400         * po/fr.po: Another update from translation team.
55402 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55404         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55405         for subnormals or multiply small sinh result by itself.
55406         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55409 2012-07-11  David S. Miller  <davem@davemloft.net>
55411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55413 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55415         [BZ #14347]
55416         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55417         (INTERNAL_MARK): Shift it here.
55419 2012-07-10  Marek Polacek  <polacek@redhat.com>
55421         [BZ #14151]
55422         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55423         libc_cv_asm_global_directive with .globl.
55424         * configure: Regenerated.
55425         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55426         with .globl.
55427         * sysdeps/i386/configure: Regenerated.
55428         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55429         with .globl.
55430         * sysdeps/x86_64/configure: Regenerated.
55431         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55432         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55433         * elf/tst-unique2mod2.c: Likewise.
55434         * elf/tst-unique2mod1.c: Likewise.
55435         * elf/tst-unique1mod2.c: Likewise.
55436         * elf/tst-unique1mod1.c: Likewise.
55437         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55438         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55439         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55440         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55441         * sysdeps/mach/sysdep.h: Likewise.
55442         * sysdeps/i386/sysdep.h: Likewise.
55443         * sysdeps/i386/i386-mcount.S: Likewise.
55444         * sysdeps/x86_64/_mcount.S: Likewise.
55445         * sysdeps/x86_64/sysdep.h: Likewise.
55446         * sysdeps/sh/_mcount.S: Likewise.
55447         * sysdeps/sh/sysdep.h: Likewise.
55448         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55449         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55450         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55451         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55452         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55453         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55454         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55455         * locale/localeinfo.h: Likewise.
55456         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55457         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55459 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55461         [BZ #14336]
55462         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55463         system".
55464         * manual/message.texi (The Uniforum approach): Likewise.
55465         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55466         (glibc iconv Implementation): Likewise.
55468 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55470         [BZ #14337]
55471         * math/s_clog.c (__clog): Avoid scaling a value down where that
55472         could result in underflow.
55473         * math/s_clog10.c (__clog10): Likewise.
55474         * math/s_clog10f.c (__clog10f): Likewise.
55475         * math/s_clog10l.c (__clog10l): Likewise.
55476         * math/s_clogf.c (__clogf): Likewise.
55477         * math/s_clogl.c (__clogl): Likewise.
55478         * math/libm-test.inc (clog_test): Add more tests.
55479         (clog10_test): Likewise.
55480         * sysdeps/i386/fpu/libm-test-ulps: Update.
55481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55483 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55485         [BZ #14283]
55486         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55487         by 7 not 8 to examine high bit of fractional part.
55489         [BZ #14042]
55490         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55491         for call to __mcount_internal.
55492         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55493         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55494         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55496 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55498         [BZ #14154]
55499         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55500         approximation for values within 0x1p-13f of an odd multiple of
55501         pi/4.
55502         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55503         exception.  Add more tests.
55504         * sysdeps/i386/fpu/libm-test-ulps: Update.
55506         [BZ #6778]
55507         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55508         inputs and return -1 for them.  Do not check for +Inf in case not
55509         reachable for +Inf.
55510         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55511         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55512         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55513         and return -1 for them.  Do not check for +Inf in case not
55514         reachable for +Inf.
55515         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55516         define.
55517         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55518         and return -1 for them.  Do not check for +Inf in case not
55519         reachable for +Inf.
55520         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55521         spurious underflow.
55522         * sysdeps/i386/fpu/libm-test-ulps: Update.
55523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55525 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55527         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55529 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55531         [BZ #14157]
55532         [BZ #14331]
55533         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55534         could result in spurious underflow.  Scale down values above
55535         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55536         * math/s_csqrtf.c (__csqrtf): Likewise.
55537         * math/s_csqrtl.c (__csqrtl): Likewise.
55538         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55539         spurious underflow.
55540         * sysdeps/i386/fpu/libm-test-ulps: Update.
55541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55543 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55545         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55546         xopen-msg.sed.
55547         * catgets/xopen-msg.awk: New file.
55548         * catgets/xopen-msg.sed: Removed.
55550         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55551         po2text.sed.
55552         * intl/po2test.awk: New file.
55553         * intl/po2test.sed: Removed.
55555 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55557         [BZ #14328]
55558         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55559         or multiply small sinh result by itself.
55560         * math/s_ctanf.c (__ctanf): Likewise.
55561         * math/s_ctanh.c (__ctanh): Likewise.
55562         * math/s_ctanhf.c (__ctanhf): Likewise.
55563         * math/s_ctanhl.c (__ctanhl): Likewise.
55564         * math/s_ctanl.c (__ctanl): Likewise.
55565         * math/libm-test.inc (ctan_test_tonearest): New function.
55566         (ctan_test_towardzero): Likewise.
55567         (ctan_test_downward): Likewise.
55568         (ctan_test_upward): Likewise.
55569         (ctanh_test_tonearest): Likewise.
55570         (ctanh_test_towardzero): Likewise.
55571         (ctanh_test_downward): Likewise.
55572         (ctanh_test_upward): Likewise.
55573         (main): Call these new functions.
55574         * sysdeps/i386/fpu/libm-test-ulps: Update.
55575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55577 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55579         * .gitignore: Delete /ports entry.
55581 2012-07-03  Andreas Jaeger  <aj@suse.de>
55583         * po/bg.po: Update from translation team.
55584         * po/cs.po: Likewise.
55585         * po/de.po: Likewise.
55586         * po/hr.po: Likewise.
55587         * po/nl.pl: Likewise.
55588         * po/pl.po: Likewise.
55589         * po/vi.po: Likewise.
55591 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55593         * Makeconfig [!+link] (+link-before-libc): New variable.
55594         [!+link] (+link-after-libc): Likewise.
55595         [!+link] (+link-tests): Likewise.
55596         [!+link] (+link): Define in terms of $(+link-before-libc) and
55597         $(+link-after-libc).
55598         [!+link-static] (+link-static-before-libc): New variable.
55599         [!+link-static] (+link-static-after-libc): Likewise.
55600         [!+link-static] (+link-static-tests): Likewise.
55601         [!+link-static] (+link-static): Define in terms of
55602         $(+link-static-before-libc) and $(+link-static-after-libc).
55603         [build-shared] (link-libc-before-gnulib): New variable.
55604         [build-shared] (link-libc-tests): Likewise.
55605         [build-shared] (link-libc): Define in terms of
55606         $(link-libc-before-gnulib).
55607         [!build-shared] (link-libc-tests): New variable.
55608         (link-libc-static-tests): New variable.
55609         [!gnulib] (gnulib-arch): New variable.
55610         [!gnulib] (gnulib-tests): Likewise.
55611         [!gnulib] (static-gnulib-arch): Likewise.
55612         [!gnulib] (static-gnulib-tests): Likewise.
55613         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55614         Define with "=" instead of ":=".
55615         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55616         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55617         * Rules (binaries-all-notests): New variable.
55618         (binaries-all-tests): Likewise.
55619         (binaries-static-notests): Likewise.
55620         (binaries-static-tests): Likewise.
55621         (binaries-all): Define using $(binaries-all-notests) and
55622         $(binaries-all-tests).
55623         (binaries-static): Define using $(binaries-static-notests) and
55624         $(binaries-static-tests).
55625         (binaries-shared-tests): New variable.
55626         (binaries-shared-notests): Likewise.
55627         (binaries-shared): Remove variable.
55628         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55629         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55630         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55631         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55632         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55633         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55634         * elf/Makefile (sln-modules): New variable.
55635         (extra-objs): Add $(sln-modules:=.o).
55636         (ldconfig-modules): Add static-stubs.
55637         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55638         * elf/static-stubs.c: New file.
55640         [BZ #14283]
55641         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55642         by 7 not 8 to examine high bit of fractional part.  Use volatile
55643         variables when splitting into final array of floats if
55644         __FLT_EVAL_METHOD__ != 0.
55645         * math/libm-test.inc (cos_test): Add another test.
55646         (sin_test): Likewise.
55647         * sysdeps/i386/fpu/libm-test-ulps: Update.
55649         [BZ #14273]
55650         * math/libm-test.inc (cosh_test): Add more tests.
55652         * version.h (RELEASE): Set to "development".
55653         (VERSION): Set to "2.16.90".
55655 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55657         * NEWS: Update copyright. Remove last-updated date.
55658         Mention math library bug fixes and timezone data changes.
55659         * README: Mention GNU/Hurd, x32, and HPPA support status.
55661 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55663         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55665 2012-06-27  Andreas Jaeger  <aj@suse.de>
55667         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55669 2012-06-25  Andreas Jaeger  <aj@suse.de>
55671         * sysdeps/s390/fpu/libm-test-ulps: Update.
55673 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55674             Thomas Schwinge  <thomas@codesourcery.com>
55676         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55677         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55678         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55679         fanotify_mark.
55681 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55683         * sysdeps/mach/start.c: Remove file.
55684         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55685         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55686         * sysdeps/sh/init-first.c: Likewise.
55688         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55689         registers for frame unwinding purposes, add CFI directives.
55690         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55691         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55692         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55693         Likewise.
55695         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55696         __fortify_fail returning.
55697         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55699         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55700         sysdeps/sh/____longjmp_chk.S.
55701         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55702         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55703         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55704         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55706         * sysdeps/sh/abort-instr.h: New file.
55707         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55708         process in case exit returns.
55710         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55711         initialize the GOT register before use.
55713         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55714         calculation of ARGC > 4.
55716         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55717         meaningful names to some local labels.
55719 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55720             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55722         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55723         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55724         (__arch_compare_and_exchange_val_16_acq): Likewise.
55725         (__arch_compare_and_exchange_val_32_acq): Likewise.
55726         (atomic_exchange_and_add): Fix gUSA sequence.
55727         (atomic_add): Likewise.
55728         (atomic_add_negative): Likewise.
55729         (atomic_add_zero): Likewise.
55730         (atomic_bit_test_set): Likewise.
55732 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55734         [BZ #13579]
55735         * include/link.h (struct link_map): Add l_free_initfini.
55736         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55737         l_initfini.
55738         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55739         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55740         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55741         set.
55743 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55745         * configure.in: Use AC_LANG_SOURCE.
55746         * configure: Regenerate.
55748 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55750         * configure.in (libc_cv_localstatedir): New substituted variable.
55751         * configure: Regenerated.
55752         * config.make.in (localstatedir): New variable, substituted from
55753         libc_cv_localstatedir.
55754         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55755         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55756         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55757         * sysdeps/gnu/configure: Regenerated.
55759 2012-06-21  Jeff Law  <law@redhat.com>
55761         [BZ #14277]
55762         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55763         free.  Simplify list management for _LIBC case.
55765 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55767         [BZ #14273]
55768         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55769         Clear sign bit of 64-bit integer value before comparing against
55770         overflow value.
55772         * sysdeps/mach/configure: Regenerated.
55774 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55776         [BZ #14278]
55777         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55779 2012-06-21  Jeff Law  <law@redhat.com>
55781         [BZ #13882]
55782         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55783         uint16_t for elements in the "seen" array to avoid char overflows.
55784         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55785         * elf/dl-open.c (dl_open_worker): Likewise.
55787 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55789         * scripts/list-sources.sh: Scan PORTS for translations.
55790         * po/libc.pot: Regenerated.
55792 2012-06-21  Andreas Jaeger  <aj@suse.de>
55794         [BZ #12194]
55795         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55796         warning.
55797         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55798         * bits/byteswap-16.h (__bswap_16): Likewise.
55799         * bits/byteswap.h (__bswap_constant_16): Likewise.
55801 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55803         [BZ #14117]
55804         * sysdeps/i386/fpu_control.h: Removed.
55805         * sysdeps/x86_64/fpu_control.h: Moved to ...
55806         * sysdeps/x86/fpu_control.h: Here.
55808         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55809         (_FPU_SETCW): Likewise.
55811 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55813         [BZ #14117]
55814         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55815         * sysdeps/x86/fpu/bits/mathinline.h: This.
55816         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55818         [BZ #14050]
55819         [BZ #14117]
55820         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55821         functions if __x86_64__ is defined.
55823 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55825         * string/endian.h: Add !__ASSEMBLER__ condition for including
55826         conversion interfaces.
55828 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55830         [BZ #14241]
55831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55832         of ABS(x) in calculating zero to negative powers other than odd
55833         integers.
55834         * math/libm-test.inc (pow_test): Add more tests.
55836 2012-06-15  Andreas Jaeger  <aj@suse.de>
55838         * manual/contrib.texi (Contributors): Update entry of Liubov
55839         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55840         Machado Filho.
55842 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55844         * string/string.h: Add __wur to GNU version of strerror_r.
55846 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55848         [BZ #14229]
55849         * string/Makefile (tests): Add tst-strtok_r.
55850         * string/tst-strtok_r.c: New file.
55851         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55852         RAX_LP/RDX_LP on SAVE_PTR.
55854 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55856         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55858 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55860         * libm_test.inc (csqrt_test): Allow more spurious underflow
55861         exceptions.
55862         (j0_test): Likewise.
55863         (j1_test): Likewise.
55864         (y0_test): Likewise.
55865         (y1_test): Likewise.
55867 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55869         * po/Makefile (libc.pot): Use UTF-8 charset.
55871 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55873         [BZ #14210]
55874         Suppress sign-conversion warning from FD_SET.
55875         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55876         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55877         not unsigned long int.
55878         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55880 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55882         [BZ #14050]
55883         [BZ #14117]
55884         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55885         __extern_always_inline instead of __extern_inline.
55886         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55887         (__signbit): Likewise.
55888         (__signbitl): Support C++ namespace.
55889         (lrintf): New inline function.
55890         (lrint): Likewise.
55891         (llrintf): Likewise.
55892         (llrint): Likewise.
55893         (fmaxf): Likewise.
55894         (fmax): Likewise.
55895         (fminf): Likewise.
55896         (fmin): Likewise.
55897         (rint): Likewise.
55898         (rintf): Likewise.
55899         (ceil): Likewise.
55900         (ceilf): Likewise.
55901         (floor): Likewise.
55902         (floorf): Likewise.
55903         (nearbyint): Likewise.
55904         (nearbyintf): Likewise.
55906 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55908         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55909         non-default versions.
55911 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55913         [BZ #14218]
55914         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55916 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55918         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55919         (FE_UPWARD, FE_DOWNWARD): Don't define.
55920         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55921         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55923         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55924         reading it.
55925         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55926         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55928 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55930         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55931         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55932         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55933         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55935 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55937         [BZ #14117]
55938         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55939         * sysdeps/i386/fpu/Implies: New file.
55940         * sysdeps/x86_64/fpu/Implies: Likewise.
55941         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55942         * sysdeps/x86/fpu/bits/fenv.h: This.
55944         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55945         __SSE_MATH__.
55947 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55949         [BZ #14134]
55950         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55951         character 0xffff that matches the last element of the
55952         conversion table.
55954 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55956         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55957         fmodl commit.
55959 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55961         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55962         values higher than 25.6283.
55964 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55966         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55967         subnormal exponent extraction and add some __builtin_expect.
55968         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55969         Fix for subnormal mantissa calculation.
55971 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55973         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55974         cpu2 is -1 and errno is not ENOSYS.
55976 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55978         [BZ #14117]
55979         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55980         * sysdeps/x86/bits/string.h: This.
55981         * sysdeps/x86_64/bits/string.h: Removed.
55983         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55984         if not compiling for x86-64, but compiling for >= i486.
55986         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55987         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55989         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55990         New macro from Linux kernel 3.4.0.
55991         (FP_XSTATE_MAGIC2): Likewise.
55992         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55993         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55994         (struct _fpx_sw_bytes): New struct.
55995         (struct _xsave_hdr): Likewise.
55996         (struct _ymmh_state): Likewise.
55997         (struct _xstate): Likewise.
55999         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56000         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56001         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56002         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56003         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56004         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56006         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56007         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56008         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56009         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56010         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56011         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56013 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56015         [BZ #13743]
56016         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56017         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56018         (sysdep_headers): Include sys/platform/ppc.h.
56019         * sysdeps/powerpc/test-gettimebase.c: Test for
56020         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56021         * manual/Makefile (appendices): Include platform.texi.
56022         * manual/contrib.texi (Contributors): Update @node pointers.
56023         * manual/maint.texi (Maintenance): Likewise.
56024         (Platform): New node.
56025         * manual/platform.texi: New file.  Document the new features.
56027 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56028             Jakub Jelinek  <jakub@redhat.com>
56030         [BZ #14188]
56031         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56032         where __builtin_expect is unavailable.
56034 2012-06-03  David S. Miller  <davem@davemloft.net>
56036         * stdlib/longlong.h: Updated from GCC.
56038 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56040         [BZ #14042]
56041         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56042         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56043         __mcount_internal.
56044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56045         (GLIBC_2.16): Likewise.
56047 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56049         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56051 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56054         (default-abi): New variable.
56055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56056         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56057         variable.
56058         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56059         Likewise.
56060         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56061         Likewise.
56062         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56063         Likewise.
56065         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56066         definition.  Document in comment.
56068 2012-06-01  David S. Miller  <davem@davemloft.net>
56070         * stdlib/longlong.h: Updated from GCC.
56072 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56074         [BZ #14117]
56075         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56076         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56077         sys/debugreg.h sys/io.h here.
56078         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56079         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56080         sys/io.h.
56081         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56082         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56083         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56084         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56085         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56086         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56088         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56089         Define only if __x86_64__ is defined.
56091 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56093         [BZ #14048]
56094         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56095         Use int64_t for variable i.
56096         * math/libm-test.inc (fmod_test): Add more tests.
56098         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56099         z computation is not scheduled after fetestexcept.
56100         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56101         Use math_force_eval instead of asm to ensure calculation scheduled
56102         before exception test.
56103         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56104         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56106 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56109         computation is not scheduled after fetestexcept.
56111 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56113         [BZ #14117]
56114         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56115         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56117 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56119         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56120         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56122 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56124         [BZ #14117]
56125         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56126         <bits/wordsize.h>.
56127         (__WCHAR_MIN): Support __WORDSIZE == 64.
56128         (__WCHAR_MAX): Likewise.
56130         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56131         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56133         [BZ #14183]
56134         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56135         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56137         [BZ #14117]
56138         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56139         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56141         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56142         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56144         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56145         Defined to 1 if __x86_64__ isn't defined.
56146         (_STAT_VER_LINUX_OLD): New.
56147         (st_atime): Remove duplicate.
56148         (st_mtime): Likewise.
56149         (st_ctime): Likewise.
56151 2012-05-31  David S. Miller  <davem@davemloft.net>
56153         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56154         entries.
56156 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56158         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56159         gen-libm-test.pl.
56161         [BZ #14132]
56162         * elf/dl-reloc.c: Include <_itoa.h>.
56163         (_dl_reloc_bad_type): Remove use of INTUSE.
56164         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56165         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56166         * stdio-common/psiginfo.c (psiginfo): Likewise.
56167         * stdio-common/psignal.c (psignal): Likewise.
56168         * string/strsignal.c (strsignal): Likewise.
56169         * include/signal.h (_sys_siglist): Declare hidden proto.
56170         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56171         INTVARDEF with libc_hidden_data_def.
56172         * stdio-common/itoa-udigits.c: Likewise.
56173         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56174         (_itoa_lower_digits_internal): Remove declaration.
56175         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56176         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56177         (_sys_sigabbrev_internal): Remove aliases.
56178         (_sys_siglist): Define hidden alias.
56180 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56183         bits/sysctl.h.
56185 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56187         [BZ #14117]
56188         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56189         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56191         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56192         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56193         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56194         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56195         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56196         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56198         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56199         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56200         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56202         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56203         with __addr.
56204         (insw): Likewise.
56205         (insl): Likewise.
56206         (outsb): Likewise.
56207         (outsw): Likewise.
56208         (outsl): Likewise.
56210         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56211         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56212         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56214         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56215         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56216         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56217         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56218         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56219         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56221         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56222         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56224         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56225         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56227         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56228         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56229         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56231         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56232         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56233         to ...
56234         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56236         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56237         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56238         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56240         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56241         for x86-64.
56242         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56244 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
56246         * math/math.h (M_El): Use two more decimal places.
56247         (M_LOG2El): Likewise.
56248         (M_LOG10El): Likewise.
56249         (M_LN2l): Likewise.
56250         (M_LN10l): Likewise.
56251         (M_PIl): Likewise.
56252         (M_PI_2l): Likewise.
56253         (M_PI_4l): Likewise.
56254         (M_1_PIl): Likewise.
56255         (M_2_PIl): Likewise.
56256         (M_2_SQRTPIl): Likewise.
56257         (M_SQRT2l): Likewise.
56258         (M_SQRT1_2l): Likewise.
56260 2012-05-31  David S. Miller  <davem@davemloft.net>
56262         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56263         values between float registers.
56264         * sysdeps/sparc/sparc64/memset.S: Likewise.
56265         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56267 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
56269         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56270         -D_FORTIFY_SOURCE=1.
56271         (CPPFLAGS-tst-longjmp_chk.c): Define.
56272         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56273         (CPPFLAGS-tst-longjmp_chk2.c): Define.
56274         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56275         CFLAGS-tst-wchar-h.c.
56277 2012-05-31  Marek Polacek  <polacek@redhat.com>
56279         [BZ #14132]
56280         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56281         __endmntent_internal): Remove declaration.
56282         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56283         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56284         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56286 2012-05-30  David S. Miller  <davem@davemloft.net>
56288         * sysdeps/sparc/sparc32/soft-fp/q_util.c
56289         (___Q_simulate_exceptions): Use real FP ops rather than writing
56290         into the %fsr.
56291         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56292         Likewise.
56294 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56296         [BZ #14117]
56297         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56298         * sysdeps/x86/bits/xtitypes.h: This.
56300         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56301         * sysdeps/x86/bits/wordsize.h: This.
56303         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56304         * sysdeps/x86/bits/huge_vall.h: This.
56306         * sysdeps/i386/bits/select.h: Removed.
56307         * sysdeps/x86_64/bits/select.h: Renamed to ...
56308         * sysdeps/x86/bits/select.h: This.
56310         * sysdeps/i386/bits/setjmp.h: Removed.
56311         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56312         * sysdeps/x86/bits/setjmp.h: This.
56314         * sysdeps/i386/bits/mathdef.h: Removed.
56315         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56316         * sysdeps/x86/bits/mathdef.h: This.
56318 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
56320         [BZ #14132]
56321         * include/sys/socket.h (__connect_internal)
56322         (__libc_sa_len_internal): Remove declaration.
56323         (__connect, __libc_sa_len): Declare hidden_proto.
56324         (SA_LEN): Remove use of INTUSE.
56325         * socket/connect.c: Add libc_hidden_def.
56326         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56327         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56328         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56329         alias.
56330         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56331         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56332         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56333         of adding _internal alias.
56335 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56337         [BZ #14117]
56338         * sysdeps/i386/bits/link.h: Removed.
56339         * sysdeps/i386/bits/linkmap.h: Likewise.
56340         * sysdeps/x86_64/bits/link.h: Renamed to ...
56341         * sysdeps/x86/bits/link.h: This.
56342         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56343         * sysdeps/x86/bits/linkmap.h: This.
56345         * sysdeps/i386/bits/endian.h: Removed.
56346         * sysdeps/x86_64/bits/endian.h: Renamed to ...
56347         * sysdeps/x86/bits/endian.h: This.
56349         * sysdeps/i386/bits/byteswap.h: Removed.
56350         * sysdeps/i386/bits/byteswap-16.h: Likewise.
56351         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56352         * sysdeps/x86/bits/byteswap.h: This.
56353         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56354         * sysdeps/x86/bits/byteswap-16.h: This.
56355         * sysdeps/i386/Implies: Add x86.
56356         * sysdeps/x86_64/Implies: Likewise.
56358 2012-05-30  David S. Miller  <davem@davemloft.net>
56360         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56361         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56362         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56363         (FP_TRAPPING_EXCEPTIONS): Define.
56364         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56365         (FP_TRAPPING_EXCEPTIONS): Define.
56366         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56367         subnormals only when inexact has been signalled or underflow
56368         exceptions are enabled.
56369         (_FP_PACK_CANONICAL): Likewise.
56371 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56373         [BZ #14183]
56374         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56375         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56377 2012-05-30  Richard Henderson  <rth@twiddle.net>
56379         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56380         with #ifndef NOT_IN_libc.
56382         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
56383         marked to avoid plt entry.
56385 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56387         [BZ #14112]
56388         * Makeconfig (default-abi): New macro.
56389         (abi-includes): Likewise.
56390         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56391         $(abi-$(default-abi)-lib-soname) for soname if defined.
56392         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56393         abi-variants.
56394         * Makefile (installed-stubs): Likewise.
56395         * include/stubs-biarch.h: Removed.
56396         * scripts/lib-names.awk: Only handle one library at a time.
56397         * scripts/soversions.awk: Remove WORDSIZE support.
56398         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56399         entries.
56400         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56401         Removed.
56402         (syscall-list-default-condition): Likewise.
56403         (syscall-list-default-condition): Likewise.
56404         (syscall-list-includes): Likewise.
56405         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56406         syscall-list-* with abi-*.  Handle undefined abi-variants.
56407         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56408         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56409         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56410         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56411         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56412         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56413         Removed.
56414         (syscall-list-32-options): Likewise.
56415         (syscall-list-32-condition): Likewise.
56416         (syscall-list-64-options): Likewise.
56417         (syscall-list-64-condition): Likewise.
56418         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56419         macro.
56420         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56421         Renamed to ...
56422         (abi-*): This.
56423         (abi-64-ld-soname): New macro.
56424         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56425         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56426         Renamed to ...
56427         (abi-*): This.
56428         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56429         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56431 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56433         * sysdeps/unix/sysv/linux/kernel-features.h
56434         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56435         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56436         include <kernel-features.h>.
56437         [!__NR_ftruncate64]: Remove conditional code.
56438         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56439         [__NR_ftruncate64]: Make code unconditional.
56440         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56441         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56442         include <kernel-features.h>.
56443         [!__NR_ftruncate64]: Remove conditional code.
56444         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56445         [__NR_ftruncate64]: Make code unconditional.
56446         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56448         include <kernel-features.h>.
56449         [!__NR_ftruncate64]: Remove conditional code.
56450         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56451         [__NR_ftruncate64]: Make code unconditional.
56452         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56454         include <kernel-features.h>.
56455         [!__NR_ftruncate64]: Remove conditional code.
56456         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56457         [__NR_ftruncate64]: Make code unconditional.
56458         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56460         * configure.in (libc_cv_fpie): Weaken to a compile test using
56461         LIBC_TRY_CC_OPTION.
56462         * configure: Regenerated.
56464 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56470         Refreshed.
56471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56477         Refreshed.
56479 2012-05-27  David S. Miller  <davem@davemloft.net>
56481         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56482         (___Q_zero): New.
56483         (__Q_simulate_exceptions): Return void.  Change to simulate
56484         exceptions by writing into the %fsr.
56485         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56486         (__Qp_handle_exceptions): Likewise.
56487         (numbers): Delete.
56488         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56489         __Qp_handle_exceptions.
56490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56491         __Qp_handle_exceptions.
56492         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56493         as unused and give dummy FP_RND_NEAREST initializer.
56494         (FP_INHIBIT_RESULTS): Define.
56495         (___Q_simulate_exceptions): Update declaration.
56496         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56497         formatting.
56498         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56499         as unused and give dummy FP_RND_NEAREST initializer.
56500         (__Qp_handle_exceptions): Update declaration.
56501         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56502         formatting.
56504 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56506         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56507         the temporary FPU control word.
56508         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56509         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56510         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56511         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56512         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56513         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56514         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56515         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56516         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56517         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56518         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56520 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56522         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56523         fields.
56525 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56527         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56528         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56529         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56530         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56531         Likewise.
56532         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56533         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56534         Likewise.
56536 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56538         * po/h.po: Update from translation team.
56540 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56542         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56544         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56545         handling of denormals.
56546         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56547         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56548         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56549         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56551         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56553         Likewise.
56555 2012-05-26  Marek Polacek  <polacek@redhat.com>
56557         [BZ #14152]
56558         * math/libm-test.inc (fma_test): Don't always expect underflow
56559         exception.
56561 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56563         [BZ #12416]
56564         * elf/tst-execstack.c: Include stackinfo.h.
56565         (do_test): Adjust test case to ensure that pthread_getattr_np
56566         behaviour remains the same after marking stack executable.
56568 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56570         * sysdeps/unix/sysv/linux/kernel-features.h
56571         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56572         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56573         kernel-features.h.
56574         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56575         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56576         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56577         kernel-features.h.
56578         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56579         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56581 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56583         * configure.in: Define the default includes to being none.
56584         * configure: Regenerated.
56586 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56588         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56589         * sysdeps/x86_64/setjmp.S: Likewise.
56590         * sysdeps/i386/bsd-setjmp.S: Likewise.
56591         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56592         * sysdeps/i386/setjmp.S: Likewise.
56593         * sysdeps/i386/__longjmp.S: Likewise.
56594         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56595         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56597         * include/stap-probe.h: New file.
56598         * configure.in: Handle --enable-systemtap.
56599         * configure: Regenerated.
56600         * config.h.in (USE_STAP_PROBE): New #undef.
56601         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56602         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56603         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56605 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56607         [BZ #13717]
56608         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56609         to 2.4.0 where earlier.
56610         * sysdeps/unix/sysv/linux/configure: Regenerated.
56611         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56612         <kernel-features.h>.
56613         [__ASSUME_32BITUIDS]: Make code unconditional.
56614         [!__ASSUME_32BITUIDS]: Remove conditional code.
56615         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56616         <kernel-features.h>.
56617         [__ASSUME_32BITUIDS]: Make code unconditional.
56618         [!__ASSUME_32BITUIDS]: Remove conditional code.
56619         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56620         [__ASSUME_32BITUIDS]: Make code unconditional.
56621         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56622         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56623         <kernel-features.h>.
56624         [__ASSUME_32BITUIDS]: Make code unconditional.
56625         [!__ASSUME_32BITUIDS]: Remove conditional code.
56626         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56627         <kernel-features.h>.
56628         [__ASSUME_32BITUIDS]: Make code unconditional.
56629         [!__ASSUME_32BITUIDS]: Remove conditional code.
56630         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56631         <kernel-features.h>.
56632         [__ASSUME_32BITUIDS]: Make code unconditional.
56633         [!__ASSUME_32BITUIDS]: Remove conditional code.
56634         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56635         <kernel-features.h>.
56636         [__ASSUME_32BITUIDS]: Make code unconditional.
56637         [!__ASSUME_32BITUIDS]: Remove conditional code.
56638         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56639         <kernel-features.h>.
56640         [__ASSUME_32BITUIDS]: Make code unconditional.
56641         [!__ASSUME_32BITUIDS]: Remove conditional code.
56642         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56643         <kernel-features.h>.
56644         [__ASSUME_32BITUIDS]: Make code unconditional.
56645         [!__ASSUME_32BITUIDS]: Remove conditional code.
56646         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56647         <kernel-features.h>.
56648         [__ASSUME_32BITUIDS]: Make code unconditional.
56649         [!__ASSUME_32BITUIDS]: Remove conditional code.
56650         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56651         <kernel-features.h>.
56652         [__ASSUME_32BITUIDS]: Make code unconditional.
56653         [!__ASSUME_32BITUIDS]: Remove conditional code.
56654         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56655         <kernel-features.h>.
56656         [__ASSUME_32BITUIDS]: Make code unconditional.
56657         [!__ASSUME_32BITUIDS]: Remove conditional code.
56658         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56659         <kernel-features.h>.
56660         [__ASSUME_32BITUIDS]: Make code unconditional.
56661         [!__ASSUME_32BITUIDS]: Remove conditional code.
56662         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56663         <kernel-features.h>.
56664         [__NR_setresgid] (__setresgid): Do not declare.
56665         [__ASSUME_32BITUIDS]: Make code unconditional.
56666         [!__ASSUME_32BITUIDS]: Remove conditional code.
56667         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56668         <kernel-features.h>.
56669         [__NR_setresuid] (__setresuid): Do not declare.
56670         [__ASSUME_32BITUIDS]: Make code unconditional.
56671         [!__ASSUME_32BITUIDS]: Remove conditional code.
56672         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56673         <kernel-features.h>.
56674         [__ASSUME_32BITUIDS]: Make code unconditional.
56675         [!__ASSUME_32BITUIDS]: Remove conditional code.
56676         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56677         <kernel-features.h>.
56678         [__ASSUME_32BITUIDS]: Make code unconditional.
56679         [!__ASSUME_32BITUIDS]: Remove conditional code.
56680         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56681         <kernel-features.h>.
56682         [__ASSUME_32BITUIDS]: Make code unconditional.
56683         [!__ASSUME_32BITUIDS]: Remove conditional code.
56684         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56685         <kernel-features.h>.
56686         [__ASSUME_32BITUIDS]: Make code unconditional.
56687         [!__ASSUME_32BITUIDS]: Remove conditional code.
56688         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56689         <kernel-features.h>.
56690         [__ASSUME_32BITUIDS]: Make code unconditional.
56691         [!__ASSUME_32BITUIDS]: Remove conditional code.
56692         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56693         <kernel-features.h>.
56694         [__ASSUME_32BITUIDS]: Make code unconditional.
56695         [!__ASSUME_32BITUIDS]: Remove conditional code.
56696         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56697         <kernel-features.h>.
56698         [__ASSUME_32BITUIDS]: Make code unconditional.
56699         [!__ASSUME_32BITUIDS]: Remove conditional code.
56700         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56701         <kernel-features.h>.
56702         [__ASSUME_32BITUIDS]: Make code unconditional.
56703         [!__ASSUME_32BITUIDS]: Remove conditional code.
56704         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56705         <kernel-features.h>.
56706         [__ASSUME_32BITUIDS]: Make code unconditional.
56707         [!__ASSUME_32BITUIDS]: Remove conditional code.
56708         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56709         <kernel-features.h>.
56710         [__ASSUME_32BITUIDS]: Make code unconditional.
56711         [!__ASSUME_32BITUIDS]: Remove conditional code.
56712         * sysdeps/unix/sysv/linux/kernel-features.h
56713         (__ASSUME_SETRESUID_SYSCALL): Remove.
56714         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56715         (__ASSUME_32BITUIDS): Likewise.
56716         (__ASSUME_LDT_WORKS): Likewise.
56717         (__ASSUME_O_DIRECTORY): Likewise.
56718         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56719         architecture but not kernel version.
56720         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56721         (__ASSUME_MMAP2_SYSCALL): Likewise.
56722         (__ASSUME_STAT64_SYSCALL): Likewise.
56723         (__ASSUME_IPC64): Likewise.
56724         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56725         <kernel-features.h>.
56726         [__ASSUME_32BITUIDS]: Make code unconditional.
56727         [!__ASSUME_32BITUIDS]: Remove conditional code.
56728         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56729         <kernel-features.h>.
56730         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56731         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56732         132096]: Remove conditional code.
56733         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56734         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56735         <kernel-features.h>.
56736         [__ASSUME_32BITUIDS]: Make code unconditional.
56737         [!__ASSUME_32BITUIDS]: Remove conditional code.
56738         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56739         <kernel-features.h>.
56740         [__ASSUME_32BITUIDS]: Make code unconditional.
56741         [!__ASSUME_32BITUIDS]: Remove conditional code.
56742         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56743         <kernel-features.h>.
56744         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56745         unconditional.
56746         (__setresgid): Do not declare.
56747         [__ASSUME_32BITUIDS]: Make code unconditional.
56748         [!__ASSUME_32BITUIDS]: Remove conditional code.
56749         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56750         <kernel-features.h>.
56751         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56752         unconditional.
56753         (__setresuid): Do not declare.
56754         [__ASSUME_32BITUIDS]: Make code unconditional.
56755         [!__ASSUME_32BITUIDS]: Remove conditional code.
56756         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56757         <kernel-features.h>.
56758         [__ASSUME_32BITUIDS]: Make code unconditional.
56759         [!__ASSUME_32BITUIDS]: Remove conditional code.
56760         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56761         <kernel-features.h>.
56762         [__ASSUME_32BITUIDS]: Make code unconditional.
56763         [!__ASSUME_32BITUIDS]: Remove conditional code.
56765 2012-05-25  Richard Henderson  <rth@twiddle.net>
56767         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56768         dl_hwcap to ifunc resolver.
56769         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56770         elf_ifunc_invoke.
56771         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56772         dl_hwcap to ifunc resolver.
56773         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56775 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56777         [BZ #14153]
56778         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56779         for |x| <= 2**-26, not 2**-57.
56780         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56781         exception.
56783 2012-05-24  Jeff Law  <law@redhat.com>
56785         * stdio-common/Makefile (tests): Add bug25.
56786         * stdio-common/bug25.c: New test.
56788 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56790         [BZ #13576]
56791         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56792         multiple of MALLOC_ALIGNMENT in size.
56793         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56795 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56797         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56798         Require >= 256.
56799         (FILENAME_MAX): Use macro-int-constant.
56800         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56801         (_IOFBF): Use macro-int-constant.
56802         (_IOLBF): Likewise.
56803         (_IONBF): Likewise.
56804         (SEEK_CUR): Likewise.
56805         (SEEK_END): Likewise.
56806         (SEEK_SET): Likewise.
56807         (TMP_MAX): Likewise.
56808         (EOF): Use macro-int-constant.  Require < 0.
56809         (NULL): Use macro-constant.  Require == 0.
56810         (stdin): Require type to be FILE *.
56811         (stdout): Likewise.
56812         (stderr): Likewise.
56813         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56814         macro-int-constant.
56815         (EXIT_SUCCESS): Likewise.
56816         (NULL): Use macro-constant.  Require == 0.
56817         (RAND_MAX): Use macro-int-constant.
56818         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56819         [C99-based standards] (strtof): Require function.
56820         [C99-based standards] (strtold): Likewise.
56821         [C99-based standards] (strtoll): Likewise.
56822         [C99-based standards] (strtoull): Likewise.
56823         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56824         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56825         [ISO || ISO99 || ISO11] (math.h): Likewise.
56826         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56827         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56828         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56830 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56832         [BZ #14132]
56833         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56834         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56835         * intl/dgettext.c (DCGETTEXT): Likewise.
56836         * intl/gettext.c (DCGETTEXT): Likewise.
56837         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56838         * posix/regex_internal.h (gettext): Likewise.
56839         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56840         Remove declaration.
56841         * include/argz.h (__argz_count_internal)
56842         (__argz_stringify_internal): Remove declaration.
56843         (__argz_count, __argz_stringify): Declare hidden proto.
56844         * intl/dcgettext.c: Remove use of INTDEF.
56845         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56846         * string/argz-stringify.c: Likewise.
56847         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56848         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56849         Declare hidden proto.
56850         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56851         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56852         Declare hidden proto.
56853         * include/stdio.h (__asprintf_internal): Don't declare.
56854         (__asprintf): Don't define as macro.  Declare hidden proto.
56855         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56856         (__fsetlocking): Declare hidden proto.
56857         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56858         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56859         hidden proto.
56860         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56861         (_IO_setlinebuf): Remove use of INTUSE.
56862         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56863         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56864         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56865         Remove declaration.
56866         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56867         (_IO_do_flush): Remove use of INTUSE.
56868         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56869         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56870         (_IO_adjust_column, _IO_least_wmarker)
56871         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56872         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56873         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56874         (_IO_default_doallocate, _IO_wdefault_doallocate)
56875         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56876         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56877         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56878         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56879         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56880         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56881         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56882         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56883         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56884         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56885         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56886         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56887         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56888         proto.
56889         (_IO_flush_all_internal, _IO_adjust_column_internal)
56890         (_IO_default_uflow_internal, _IO_default_finish_internal)
56891         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56892         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56893         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56894         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56895         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56896         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56897         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56898         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56899         (_IO_file_close_internal, _IO_file_close_it_internal)
56900         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56901         (_IO_file_init_internal, _IO_file_attach_internal)
56902         (_IO_file_fopen_internal, _IO_file_read_internal)
56903         (_IO_file_sync_internal, _IO_file_seek_internal)
56904         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56905         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56906         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56907         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56908         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56909         (_IO_list_all_internal, _IO_link_in_internal)
56910         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56911         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56912         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56913         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56914         (_IO_do_write_internal, _IO_padn_internal)
56915         (_IO_getline_info_internal, _IO_getline_internal)
56916         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56917         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56918         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56919         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56920         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56921         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56922         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56923         with libc_hidden_ver, remove use of INTUSE.
56924         * libio/genops.c: Likewise.
56925         * libio/freopen.c: Likewise.
56926         * libio/freopen64.c: Likewise.
56927         * libio/iofclose.c: Likewise.
56928         * libio/iofdopen.c: Likewise.
56929         * libio/iofflush.c: Likewise.
56930         * libio/iofflush_u.c: Likewise.
56931         * libio/iofgets.c: Likewise.
56932         * libio/iofgets_u.c: Likewise.
56933         * libio/iofopen.c: Likewise.
56934         * libio/iofopncook.c: Likewise.
56935         * libio/iofread.c: Likewise.
56936         * libio/iofread_u.c: Likewise.
56937         * libio/ioftell.c: Likewise.
56938         * libio/iofwrite.c: Likewise.
56939         * libio/iogetline.c: Likewise.
56940         * libio/iogets.c: Likewise.
56941         * libio/iogetwline.c: Likewise.
56942         * libio/iopadn.c: Likewise.
56943         * libio/iopopen.c: Likewise.
56944         * libio/ioseekoff.c: Likewise.
56945         * libio/ioseekpos.c: Likewise.
56946         * libio/iosetbuffer.c: Likewise.
56947         * libio/iosetvbuf.c: Likewise.
56948         * libio/ioungetc.c: Likewise.
56949         * libio/ioungetwc.c: Likewise.
56950         * libio/iovdprintf.c: Likewise.
56951         * libio/iovsprintf.c: Likewise.
56952         * libio/iovsscanf.c: Likewise.
56953         * libio/memstream.c: Likewise.
56954         * libio/obprintf.c: Likewise.
56955         * libio/oldfileops.c: Likewise.
56956         * libio/oldiofclose.c: Likewise.
56957         * libio/oldiofdopen.c: Likewise.
56958         * libio/oldiofopen.c: Likewise.
56959         * libio/oldiopopen.c: Likewise.
56960         * libio/oldstdfiles.c: Likewise.
56961         * libio/putc.c: Likewise.
56962         * libio/setbuf.c: Likewise.
56963         * libio/setlinebuf.c: Likewise.
56964         * libio/stdfiles.c: Likewise.
56965         * libio/strops.c: Likewise.
56966         * libio/vasprintf.c: Likewise.
56967         * libio/vscanf.c: Likewise.
56968         * libio/vsnprintf.c: Likewise.
56969         * libio/vswprintf.c: Likewise.
56970         * libio/wfiledoalloc.c: Likewise.
56971         * libio/wfileops.c: Likewise.
56972         * libio/wgenops.c: Likewise.
56973         * libio/wmemstream.c: Likewise.
56974         * libio/wstrops.c: Likewise.
56975         * libio/__fpurge.c: Likewise.
56976         * libio/__fsetlocking.c: Likewise.
56977         * assert/assert.c: Likewise.
56978         * debug/fgets_chk.c: Likewise.
56979         * debug/fgets_u_chk.c: Likewise.
56980         * debug/fread_chk.c: Likewise.
56981         * debug/fread_u_chk.c: Likewise.
56982         * debug/gets_chk.c: Likewise.
56983         * debug/obprintf_chk.c: Likewise.
56984         * debug/vasprintf_chk.c: Likewise.
56985         * debug/vdprintf_chk.c: Likewise.
56986         * debug/vsnprintf_chk.c: Likewise.
56987         * debug/vsprintf_chk.c: Likewise.
56988         * malloc/mtrace.c: Likewise.
56989         * misc/error.c: Likewise.
56990         * misc/syslog.c: Likewise.
56991         * stdio-common/asprintf.c: Likewise.
56992         * stdio-common/fxprintf.c: Likewise.
56993         * stdio-common/getw.c: Likewise.
56994         * stdio-common/isoc99_fscanf.c: Likewise.
56995         * stdio-common/isoc99_scanf.c: Likewise.
56996         * stdio-common/isoc99_vfscanf.c: Likewise.
56997         * stdio-common/isoc99_vscanf.c: Likewise.
56998         * stdio-common/isoc99_vsscanf.c: Likewise.
56999         * stdio-common/printf-prs.c: Likewise.
57000         * stdio-common/printf_fp.c: Likewise.
57001         * stdio-common/printf_fphex.c: Likewise.
57002         * stdio-common/printf_size.c: Likewise.
57003         * stdio-common/putw.c: Likewise.
57004         * stdio-common/scanf.c: Likewise.
57005         * stdio-common/sprintf.c: Likewise.
57006         * stdio-common/tmpfile.c: Likewise.
57007         * stdio-common/vfprintf.c: Likewise.
57008         * stdio-common/vfscanf.c: Likewise.
57009         * stdlib/strfmon_l.c: Likewise.
57010         * sunrpc/openchild.c: Likewise.
57011         * sunrpc/xdr_stdio.c: Likewise.
57012         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57013         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57015 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57017         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57019         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57020         in the third column, to generate for the shared library an IFUNC
57021         that uses _dl_vdso_vsym.
57022         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57023         * Makeconfig (object-suffixes-noshared): New variable.
57025         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57026         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57027         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57028         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57030         [BZ #14132]
57031         * include/sys/time.h (__gettimeofday): Remove macro.
57032         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57033         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57034         Remove INTDEF.
57035         (__gettimeofday): Add libc_hidden_def.
57036         (gettimeofday): Add libc_hidden_weak.
57037         * sysdeps/mach/gettimeofday.c: Likewise.
57038         * sysdeps/posix/gettimeofday.c: Likewise.
57039         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57040         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57041         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57042         (__gettimeofday_internal): Remove strong_alias.
57043         (__gettimeofday): Add libc_hidden_def.
57044         (gettimeofday): Add libc_hidden_weak.
57045         * sysdeps/unix/syscalls.list (gettimeofday):
57046         Remove __gettimeofday_internal alias.
57048 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57049             H.J. Lu  <hongjiu.lu@intel.com>
57051         [BZ #12495]
57052         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57053         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57054         (largebin_index_32_big): New.
57055         (largebin_index): Use it for 16-byte alignment.
57056         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57057         correction with front_misalign.
57059 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57063         Likewise.
57064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57065         Likewise.
57066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57067         Likewise.
57068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57069         Likewise.
57070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57071         Likewise.
57072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57073         Likewise.
57074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57075         Likewise.
57076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57077         Likewise.
57078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57079         Likewise.
57080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57081         Likewise.
57082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57083         Likewise.
57084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57085         Likewise.
57087         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57088         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57090 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57092         [BZ #10846]
57093         [BZ #14036]
57094         * math/libm-test.inc (exp_test): Add test from bug 14036.
57095         (pow_test): Add test from bug 10846.
57097         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57098         and other flags.
57099         (special_function): Do not include flags in test name.
57100         (parse_args): Likewise.
57101         * sysdeps/i386/fpu/libm-test-ulps: Update.
57102         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57103         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57104         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57107         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57108         exceptions.
57109         * math/libm-test.inc ("Philosophy"): Update comment about
57110         exception testing.
57111         (UNDERFLOW_EXCEPTION): New macro.
57112         (UNDERFLOW_EXCEPTION_OK): Likewise.
57113         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57114         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57115         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57116         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57117         (INVALID_EXCEPTION_OK): Update value.
57118         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57119         (OVERFLOW_EXCEPTION_OK): Likewise.
57120         (IGNORE_ZERO_INF_SIGN): Likewise.
57121         (test_exceptions): Handle underflow exceptions.
57122         (acos_test): Update for underflow exception expectations.
57123         (cexp_test): Likewise.
57124         (clog_test): Likewise.
57125         (clog10_test): Likewise.
57126         (csqrt_test): Likewise.
57127         (ctan_test): Likewise.
57128         (ctanh_test): Likewise.
57129         (exp_test): Likewise.
57130         (exp10_test): Likewise.
57131         (exp2_test): Likewise.
57132         (expm1_test): Likewise.
57133         (fma_test): Likewise.
57134         (j0_test): Likewise.
57135         (jn_test): Likewise.
57136         (nexttoward_test): Likewise.
57137         (pow_test): Likewise.
57138         (scalbn_test): Likewise.
57139         (scalbln_test): Likewise.
57140         (tan_test): Likewise.
57141         (y1_test): Likewise.
57142         * sysdeps/i386/fpu/libm-test-ulps: Update.
57143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57145 2012-05-23  David S. Miller  <davem@davemloft.net>
57147         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57148         (__libc_sigaction): Remove unused local variables.
57150 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57152         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57154 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57156         mktime: avoid signed integer overflow
57157         * time/mktime.c (__mktime_internal): Do not mishandle the case
57158         where diff == INT_MIN.
57160         mktime: simplify computation of average
57161         * time/mktime.c (ranged_convert): Use new time_t_avg function
57162         instead of rolling our own (probably-slower) code.
57164         mktime: do not assume signed right shift propagates sign bit
57165         * time/mktime.c (isdst_differ): New static function.
57166         (__mktime_internal): No need to normalize tm_isdst now.
57167         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57168         tm_isdst values.
57170         mktime: merge another wrapv change from gnulib
57171         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57172         from some compilers.
57174         mktime: remove incorrect attempt at unusual arithmetics
57175         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57176         The code didn't really work on such machines anyway.
57177         (TYPE_MINIMUM): Assume two's complement.
57178         (twos_complement_arithmetic): Verify that long_int and time_t
57179         are two's complement (or unsigned, in the latter case).
57181         mktime: check signed shifts on long_int and time_t, too
57182         * time/mktime.c (SHR): Check that shifts work as desired
57183         on the types long_int and time_t too, as SHR is used on
57184         such types.
57186         mktime: do not assume 'long' is wide enough
57187         * time/mktime.c (verify): Move decl up.
57188         (long_int): New type.
57189         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57190         to remove assumption in the code that 'long' is wide enough to
57191         store year values.  This assumption is not true on x32 and on
57192         some non-glibc platforms.
57194         mktime: merge wrapv change from gnulib
57195         * time/mktime.c (WRAPV): New macro.
57196         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57197         (guess_time_tm, __mktime_internal): Do not assume that signed
57198         integer overflow wraps around; modern compilers generate code
57199         where this assumption is no longer valid.
57201 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57203         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57204         Replace "jmp L(pseudo_end)" with "ret".
57205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57206         Likewise.
57208 2012-05-23  Andreas Jaeger  <aj@suse.de>
57210         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57211         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57213 2012-05-23  Andreas Jaeger  <aj@suse.de>
57214             Maximilian Attems  <max@stro.at>
57216         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57217         New macros.
57219 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57221         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57222         code so that pseudo_end is just ret and the stack pointer is
57223         correct also for static library in error case.
57225 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57227         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57228         move to syscalls.list.
57229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57234         * manual/install.texi (Running make install): Do not mention Linux
57235         kernel version for which pt_chown is not needed.
57236         (Linux): Do not mention problems with nscd with 2.0 kernels.
57237         * INSTALL: Regenerated.
57239 2012-05-23  Andreas Jaeger  <aj@suse.de>
57241         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57242         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57243         macro.
57244         * sysdeps/unix/sysv/linux/s390/bits/mman.h
57245         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57246         * sysdeps/unix/sysv/linux/sh/bits/mman.h
57247         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57248         * sysdeps/unix/sysv/linux/i386/bits/mman.h
57249         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57250         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57251         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57252         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57253         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57254         * sysdeps/unix/sysv/linux/bits/in.h
57255         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57257 2012-05-22  Roland McGrath  <roland@hack.frob.com>
57259         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57260         (PREPARE_VERSION): Just use assert instead, it will be elided
57261         under [NDEBUG] anyway.
57263 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57265         * sysdeps/unix/sysv/linux/Makefile: Include
57266         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57267         (sysdep_routines): Remove sysctl.
57268         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57269         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57270         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57271         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57272         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57274 2012-05-22  Andreas Jaeger  <aj@suse.de>
57276         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57277         that pseudo_end is just ret and the stack pointer is correct also
57278         for static library in error case.
57280 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
57282         [BZ #14122]
57283         * nss/nsswitch.c (defconfig_entries): New variable.
57284         (__nss_database_lookup): Don't leak defconfig entries.
57285         (nss_parse_service_list): Don't leak on error paths.
57286         (free_database_entries): New function.
57287         (free_defconfig): New function.
57288         (free_mem): Move common code to free_database_entries.
57290 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57292         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57293         Add arch_prctl.
57294         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57296         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57297         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57299         New macro.
57300         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57301         (INTERNAL_SYSCALL_TYPES): Likewise.
57302         (LOAD_ARGS_TYPES_[1-6]): Likewise.
57303         (LOAD_REGS_TYPES_[1-6]): Likewise.
57304         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57305         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57307 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57309         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57310         copysignl for GLIBC_2_0.
57311         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57312         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57313         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57314         logbl for GLIBC_2_0.
57315         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57316         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57318 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57321         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57323         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57324         Use "neg %eax".
57326         * time/mktime.c: Update copyright years.
57328 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
57330         mktime: merge comment-quoting-style change from gnulib
57331         * time/mktime.c: Quote 'like this' in comments.
57332         The GNU coding standards suggest that we no longer quote `like this',
57333         as "`" and "'" are typically rendered asymmetrically nowadays.
57334         The typical gnulib style is to quote 'like this' when quoting
57335         code, and "like this" when quoting English.
57337         * time/mktime.c (compile-command): Add "-I.".
57339         mktime: merge mktime-internal.h change from gnulib
57340         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57342         mktime: merge time_r change from gnulib
57343         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57345         mktime: merge DEBUG change from gnulib
57346         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57347         case system <time.h> has a #define.
57349         mktime: merge <sys/types.h> change from gnulib
57350         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57351         since <time.t> is now guaranteed to define time_t.
57353         mktime: merge HAVE_CONFIG_H change from gnulib
57354         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57356 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
57358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57359         Use "neg %eax".
57361         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57362         __rlim_t cast.
57363         (struct rusage): Use anonymous union to pad each field to
57364         __syscall_slong_t.
57366 2012-05-21  David S. Miller  <davem@davemloft.net>
57368         * Makefules (o-iterator): Remove .s cases.
57369         (compile-command.s): Delete.
57370         (COMPILE.s): Delete.
57371         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57373 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
57375         * configure.in (libc_cv_predef_stack_protector): Only consider
57376         "foobar" and "__stack_chk_fail" lines in libc_undefs.
57377         * configure: Regenerated.
57379 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57382         New macro.  Use R*LP on int and pointer.
57383         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57384         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57385         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57386         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57388         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57389         [__WORDSIZE_TIME64_COMPAT32] instead of
57390         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57391         (struct utmp): Likewise.
57392         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57393         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57394         Renamed to ...
57395         (__WORDSIZE_TIME64_COMPAT32): This.
57396         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57397         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57398         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57399         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57400         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57401         (__WORDSIZE_TIME64_COMPAT32): New macro.
57403 2012-05-21  Andreas Jaeger  <aj@suse.de>
57405         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57406         only if [SHARED]. Add prototype for __wcschr_ia32.
57408 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57410         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57411         of %rbp unmolested in the jmp_buf while mangling the low bits.
57412         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57413         unmolested high bits of %rbp while demangling the low bits.
57414         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57416 2012-05-21  Andreas Jaeger  <aj@suse.de>
57418         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57419         * sunrpc/svc_simple.c: Use it for registerrpc.
57420         * sunrpc/xcrypt.c: Use it for passwd2des.
57422         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57424 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57426         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57427         Don't define if [__SYSCALL_WORDSIZE != 32].
57428         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57429         New macro.
57431 2012-05-21  Bruno Haible  <bruno@clisp.org>
57432             Andreas Jaeger  <aj@suse.de>
57434         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57435         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57436         inptr and inend for must_buffer_ch.
57437         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57438         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57439         * stdio-common/Makefile (tests): Remove bug15.
57440         (bug15-ENV): Remove macro.
57441         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57442         anymore.
57444 2012-05-19  Andreas Jaeger  <aj@suse.de>
57445             Roland McGrath  <roland@hack.frob.com>
57447         * manual/contrib.texi: Completely rewritten. It contains now an
57448         alphabetical list of contributors and their contributions.
57450 2012-05-21  Richard Henderson  <rth@twiddle.net>
57452         * misc/getauxval.c (__getauxval): Use unsigned long int.
57453         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57454         (getauxval): Use unsigned long int.
57456 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57458         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57460 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57462         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57463         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57464         __alignof__ (long double).
57466 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57470 2012-05-20  Richard Henderson  <rth@twiddle.net>
57472         * misc/getauxval.c: New file.
57473         * misc/sys/auxv.h: New file.
57474         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57475         (routines): Add getauxval.
57476         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57477         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57478         * elf/dl-sysdep.c (_dl_auxv): Remove.
57479         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57480         * elf/dl-support.c (_dl_auxv): New variable.
57481         (_dl_aux_init): Initialize it.
57482         * manual/startup.texi (Auxiliary Vector): New node.
57483         * sysdeps/generic/bits/hwcap.h: New file.
57484         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57485         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57486         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57487         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57488         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57489         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57491         Update.
57492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57495         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57501 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57505 2012-05-19  David S. Miller  <davem@davemloft.net>
57507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57509 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57511         [BZ #14123]
57512         * math/s_ccosh.c: Include <float.h>
57513         (__ccosh): Avoid internal overflow calculating sinh and cosh
57514         values before multiplying by sin and cos values.
57515         * math/s_ccoshf.c: Likewise.
57516         * math/s_ccoshl.c: Likewise.
57517         * math/s_csin.c: Likewise.
57518         * math/s_csinf.c: Likewise.
57519         * math/s_csinl.c: Likewise.
57520         * math/s_csinh.c: Likewise.
57521         * math/s_csinhf.c: Likewise.
57522         * math/s_csinhl.c: Likewise.
57523         * math/libm-test.inc (ccos_test): Add more tests.
57524         (ccosh_test): Likewise.
57525         (csin_test): Likewise.
57526         (csinh_test): Likewise.
57527         * sysdeps/i386/fpu/libm-test-ulps: Update.
57528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57530 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57532         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57533         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57535         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57537 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57539         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57540         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57541         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57542         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57543         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57544         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57545         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57546         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57547         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57548         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57549         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57550         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57551         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57552         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57553         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57554         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57555         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57556         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57557         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57558         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57559         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57560         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57561         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57562         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57563         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57564         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57565         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57566         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57567         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57568         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57569         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57571 2012-05-18  Andreas Jaeger  <aj@suse.de>
57573         * csu/.gitignore: Delete.
57575 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57577         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57578         (timex): Use __syscall_slong_t.
57580 2012-05-18  Andreas Jaeger  <aj@suse.de>
57581             Carlos O'Donell  <carlos_odonell@mentor.com>
57583         * manual/install.texi (Configuring and compiling): Update
57584         description about files modified in the source directory.
57585         * INSTALL: Regenerated.
57587 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57589         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57590         value.  Use "or" to set return value to -1.
57591         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57592         negate return value.
57594 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57596         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57597         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57598         failure if the compiler has Graphite support disabled.
57599         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57600         Likewise.
57601         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57602         (CFLAGS-memmove.c): Likewise.
57603         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57604         Likewise.
57606 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57608         * sysdeps/x86_64/x32/_itoa.h: New file.
57610         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57611         getdents system call only if kernel and user dirents have the
57612         same d_ino and d_off.
57614         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57615         LLONG_MAX != LONG_MAX.
57616         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57617         (_fitoa_word): Likewise.
57619         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57620         years.
57621         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57622         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57623         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57625         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57626         include <bits/wordsize.h>.  Check __x86_64__ instead of
57627         __WORDSIZE.
57628         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57629         if __x86_64__ is defined.  Use anonymous union on fpstate.
57631         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57632         anonymous union.
57634 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57636         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57637         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57638         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57639         Refer to _rtld_local_ro instead of _rtld_global_ro.
57640         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57641         Likewise.
57642         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57643         Likewise.
57644         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57645         Likewise.
57646         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57647         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57648         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57650         [BZ #10882]
57651         * sysdeps/powerpc/powerpc32/dl-machine.c
57652         (__elf_machine_runtime_setup) [PROF]: Don't reference
57653         _dl_prof_resolve.
57655 2012-05-18  Andreas Jaeger  <aj@suse.de>
57657         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57658         function only available for GCCs before 3.4 since GCC 3.4
57659         introduced a builtin.
57660         (lrint): Likewise.
57661         (llrintf): Likewise.
57662         (llrint): Likewise.
57663         (fmaxf): Likewise.
57664         (fmax): Likewise.
57665         (fminf): Likewise.
57666         (fmin): Likewise.
57667         (rint): Likewise.
57668         (rintf): Likewise.
57669         (nearbyint): Likewise.
57670         (nearbyintf): Likewise.
57671         (ceil): Likewise.
57672         (ceilf): Likewise.
57673         (floor): Likewise.
57674         (floorf): Likewise.
57676 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57678         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57679         on both fields and cast pointer to __syscall_ulong_t.
57681         * bits/types.h (__fsword_t): New type.
57682         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57683         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57684         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57685         (__FSWORD_T_TYPE): Likewise.
57686         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57687         (__FSWORD_T_TYPE): Likewise.
57688         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57689         (__FSWORD_T_TYPE): Likewise.
57690         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57691         (__FSWORD_T_TYPE): Likewise.
57692         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57693         __SWORD_TYPE with __fsword_t.
57694         (statfs64): Likewise.
57696 2012-05-17  David S. Miller  <davem@davemloft.net>
57698         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57700 2012-05-17  Andreas Jaeger  <aj@suse.de>
57702         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57703         warning.
57705 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57707         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57709 2012-05-17  Andreas Jaeger  <aj@suse.de>
57711         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57712         when it is used.
57714 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57716         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57718 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57720         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57721         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57723 2012-05-17  Andreas Jaeger  <aj@suse.de>
57724             Carlos O'Donell  <carlos_odonell@mentor.com>
57726         [BZ #14059]
57727         * sysdeps/x86_64/multiarch/init-arch.h
57728         (bit_YMM_Usable): Rename to...
57729         (bit_AVX_Usable): ... this.
57730         (bit_FMA4_Usable): New macro.
57731         (bit_XMM_state): New macro.
57732         (bit_YMM_state): New macro.
57733         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57734         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57735         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57736         (CPUID_OSXSAVE): New macro.
57737         (CPUID_AVX): New macro.
57738         (CPUID_FMA4): New macro.
57739         (index_YMM_Usable): Rename to...
57740         (index_AVX_Usable): ... this.
57741         (HAS_AVX): Use HAS_ARCH_FEATURE.
57742         (HAS_FMA4): Likewise.
57743         (HAS_YMM_USABLE): Remove.
57744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57745         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57746         are present.
57747         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57748         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57749         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57750         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57751         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57753 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57755         * math/libm-test.c: Support platforms without multiple rounding modes.
57756         * math/bug-nextafter.c: Support platforms without FP exceptions.
57757         * math/bug-nexttoward.c: Likewise.
57758         * math/test-fenv.c: Likewise.
57759         * math/test-misc.c: Likewise.
57760         * stdlib/bug-getcontext.c: Likewise.
57762 2012-05-17  Andreas Jaeger  <aj@suse.de>
57764         * manual/examples/search.c (critter_cmp): Change signature to
57765         avoid warnings.
57766         * manual/string.texi (Collation Functions): Likewise.
57768 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57770         * bits/types.h: Fold copyright years.
57771         * bits/typesizes.h: Likewise.
57772         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57775         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57776         * time/time.h: Likewise.
57778 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57780         [BZ #208]
57781         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57782         in instead of returning them.  Return void.
57783         (__libc_mallinfo): Accumulate over all arenas.
57784         (__malloc_stats): Adjust for change in int_mallinfo interface.
57786 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57788         [BZ #10375]
57789         * configure.in (NM): Add AC_CHECK_TOOL for it.
57790         (libc_extra_cflags): New substituted variable.
57791         Check for -fstack-protector being used implicitly.
57792         * configure: Regenerated.
57793         * config.make.in (config-extra-cflags): New variable,
57794         gets @libc_extra_cflags@.
57795         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57797         [BZ #10375]
57798         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57799         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57800         * configure: Regenerated.
57801         * config.make.in (CPPUNDEFS): New substituted variable.
57802         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57803         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57804         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57806 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57808         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57809         (mq_attr): Use __syscall_slong_t.
57811 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57813         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57814         Check __x86_64__ instead of __WORDSIZE.
57815         (_STAT_VER_LINUX): Likewise.
57816         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57817         __syscall_ulong_t and __syscall_slong_t.
57818         (stat64): Likewise.
57820 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57822         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57824 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57826         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57828 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57830         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57831         __syscall_ulong_t.
57833         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57834         include <bits/wordsize.h>.  Check __x86_64__ instead of
57835         __WORDSIZE.
57836         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57837         defined.
57838         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57840         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57841         include <bits/wordsize.h>.  Check __x86_64__ instead of
57842         __WORDSIZE.
57843         (user_regs_struct): Use "__extension__ unsigned long long"
57844         instead of "unsigned long" if __x86_64__ is defined.
57845         (user): Likewise.  Pad after pointer field if __ILP32__ is
57846         defined.
57848 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57850         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57851         versions 5 to 9.
57852         * configure: Regenerated.
57853         * manual/install.texi (texinfo): Increase version requirement to
57854         4.5 or later.
57855         * INSTALL: Regenerated.
57857         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57859 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57861         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57863         * sysdeps/x86_64/x32/ffs.c: New file.
57865         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57866         __syscall_ulong_t.
57867         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57868         defined.  Use __syscall_ulong_t.
57869         (shminfo): Use __syscall_ulong_t.
57870         (shm_info): Likewise.
57872         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57873         __syscall_ulong_t.
57875         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57876         <bits/wordsize.h>.
57877         (msgqnum_t): Use __syscall_ulong_t.
57878         (msglen_t): Likewise.
57879         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57880         __syscall_ulong_t.
57882         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57883         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57885         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57887         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57888         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57890         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57891         __syscall_slong_t.
57893         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57894         include <bits/wordsize.h>.  Check __x86_64__ instead of
57895         __WORDSIZE.
57897         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57898         "unsigned long long int" if __x86_64__ is defined.
57899         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57901         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57902         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57903         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57905         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57906         <stdint.h>.
57907         (GET_PC): Cast to uintptr_t first.
57908         (GET_FRAME): Likewise.
57909         (GET_STACK): Likewise.
57911         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57912         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57913         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57914         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57915         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57916         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57917         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57918         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57919         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57920         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57921         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57922         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57923         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57924         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57925         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57926         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57927         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57928         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57929         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57930         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57931         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57932         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57933         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57934         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57935         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57936         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57937         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57938         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57939         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57941 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57943         * Makerules (+depfiles): Also collect depfiles from .oS in
57944         $(extra-objs).
57945         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57946         .oS, $(libnldbl-routines)).
57948         * Makerules (native-compile-mkdep-flags): Define.
57949         * sunrpc/Makefile (extra-objs): Add $(addprefix
57950         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57951         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57952         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57953         calling $(make-target-directory).
57955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57957         * bits/types.h (__snseconds_t): Removed.
57958         * time/time.h (struct timespec): Replace __snseconds_t with
57959         __syscall_slong_t.
57960         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57961         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57962         Likewise.
57963         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57964         (__SNSECONDS_T_TYPE): Likewise.
57965         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57966         (__SNSECONDS_T_TYPE): Likewise.
57967         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57968         (__SNSECONDS_T_TYPE): Likewise.
57970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57972         * sysdeps/mach/hurd/bits/typesizes.h
57973         (__SYSCALL_SLONG_TYPE): New macro.
57974         (__SYSCALL_ULONG_TYPE): Likewise.
57976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57978         * bits/types.h (__syscall_slong_t): New type.
57979         (__syscall_ulong_t): Likewise.
57981         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57982         (__SYSCALL_ULONG_TYPE): Likewise.
57983         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57984         (__SYSCALL_SLONG_TYPE): Likewise.
57985         (__SYSCALL_ULONG_TYPE): Likewise.
57986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57987         (__SYSCALL_SLONG_TYPE): Likewise.
57988         (__SYSCALL_ULONG_TYPE): Likewise.
57989         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57990         (__SYSCALL_SLONG_TYPE): Likewise.
57991         (__SYSCALL_ULONG_TYPE): Likewise.
57993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57995         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57996         Add sigaltstack-offsets.sym.
57997         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57998         <sigaltstack-offsets.h>.
57999         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58000         longjmp_msg pointer.
58001         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58002         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58003         signal stack.
58004         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58006 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58008         * elf/stackguard-macros.h: Remove file.
58009         * sysdeps/generic/stackguard-macros.h: New file.
58010         * sysdeps/i386/stackguard-macros.h: Likewise.
58011         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58012         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58013         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58014         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58015         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58016         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58017         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58018         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58019         <elf/stackguard-macros.h>.
58021         [BZ #14109]
58022         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58023         __aligned__ in attribute.
58024         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58025         (gregset_t): Likewise.
58027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58029         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58030         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58031         * sysdeps/x86_64/x32/Implies-after: New file.
58033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58035         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58036         and access return value for _dl_profile_fixup.  Use R10_LP to
58037         load frame size.
58039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58041         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58045         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58046         * sysdeps/x86_64/x32/sysdep.h: New file.
58048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58050         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58051         * sysdeps/x86_64/setjmp.S: Likewise.
58053 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58055         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58056         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58057         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58058         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58059         remove unused global constant.
58061 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58063         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58064         include of <not-cancel.h>.
58066 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58068         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58070 2012-05-15  Jeff Law  <law@redhat.com>
58071             Andreas Jaeger  <aj@suse.de>
58073         [BZ #13594]
58074         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58075         out from...
58076         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58077         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58078         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58079         code changing __hst_map_handle.map.
58081 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58083         * configure.in (sysnames): Look for Implies-before and Implies-after
58084         files.
58085         * configure: Regenerated.
58087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58089         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58090         8-byte data alignment with LP_SIZE alignment.
58092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58094         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58095         into R10_LP.
58097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58099         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58103         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58104         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58105         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58106         Likewise.
58107         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58111         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58112         (stackinfo_sub_sp): Likewise.
58114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58116         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58117         RAX_LP.
58119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58121         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58122         into R*_LP.
58124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58126         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58127         sizes into R*_LP.
58129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58131         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58135         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58136         into R11_LP and load __x86_64_shared_cache_size_half into
58137         R8_LP.
58139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58141         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58142         R8_LP.
58144 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58146         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58147         logb for POWER7.
58148         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58149         logbf for POWER7.
58150         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58151         logbl for POWER7.
58152         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58153         powerpc32/power7/fpu/s_logb.c via #include.
58154         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58155         powerpc32/power7/fpu/s_logbf.c via #include.
58156         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58157         powerpc32/power7/fpu/s_logbl.c via #include.
58159 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58161         * README.libm: Remove file.
58163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58165         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58166         count for x32.  Use R*_LP and omit operand-size suffix.
58168 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58170         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58171         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58172         * sysdeps/x86_64/x32/shlib-versions: New file.
58174 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58176         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58177         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58178         Use _dl_fatal_printf instead.
58180 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58182         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58183         set if not set by the user.  Do not allow for being unset.
58184         * sysdeps/unix/sysv/linux/configure: Regenerated.
58186 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58188         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58189         the `q' suffix from lea and replace .quad with ASM_ADDR.
58191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58193         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58194         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58195         instead of $17.
58196         (PTR_DEMANGLE): Likewise.
58198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58200         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58201         (LP_OP): Likewise.
58202         (ASM_ADDR): Likewise.
58203         (RAX_LP): Likewise.
58204         (RBP_LP): Likewise.
58205         (RBX_LP): Likewise.
58206         (RCX_LP): Likewise.
58207         (RDI_LP): Likewise.
58208         (RSI_LP): Likewise.
58209         (RSP_LP): Likewise.
58210         (R8_LP): Likewise.
58211         (R9_LP): Likewise.
58212         (R10_LP): Likewise.
58213         (R10_LP): Likewise.
58214         (R11_LP): Likewise.
58215         (R12_LP): Likewise.
58216         (R13_LP): Likewise.
58217         (R14_LP): Likewise.
58218         (R15_LP): Likewise.
58220 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58222         * sysdeps/x86_64/x32/dl-machine.h: New file.
58224 2012-05-14  Andreas Jaeger  <aj@suse.de>
58226         * manual/Makefile (subdir): Remove export of subdir.
58227         (all): Remove target.
58228         (.PHONY): Remove all from list.
58229         (mkinstalldirs): Remove.
58230         (.PHONY): Remove installdirs from list.
58231         ($(inst_infodir)/libc.info): Use make-target-directory.
58232         (installdirs): Remove.
58233         (subdir_%): Remove.
58234         (glibc-targets): Remove.
58235         (lib): Remove.
58236         (stubs): Remove.
58237         ($(objpfx)stubs ../po/manual.pot): Remove.
58238         ($(objpfx)stamp%): Remove.
58239         (make-target-directory): Remove.
58240         (subdir_install): Remove.
58241         (routines): Remove.
58242         (aux): Remove.
58243         (sources): Remove.
58244         (objects): Remove.
58245         (headers): Remove.
58247         [BZ #13750]
58248         * manual/.gitignore: Remove, it's not needed anymore.
58249         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58250         all files in it.
58251         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58252         directory.
58253         (texis): Renamed to $(objpfx)texis.
58254         (texis-path): New, contains path to generated files.
58255         (chapters.%): Use texis-path for complete path, add extra argument
58256         libc-texinfo.sh.
58257         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58258         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58259         (summary,texi, stamp-summary): Use complete path of
58260         files. Generate files in build dir.
58261         (dir-add.texi): Build in build dir.
58262         (libm-err.texi,stamp-libm-err): Likewise.
58263         (version.texi, stamp-version): Likewise.
58264         (.%c.texi): Likewise.
58265         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58266         (mostlyclean): Remove target.
58267         (realclean): Remove target.
58268         (generated): Add new variable with contents from mostlyclean and
58269         realclean, remove entries duplicated in common-mostlyclean, add
58270         stamp-libm-err and stamp-version.
58271         (generated-dirs): Add libc directory.
58272         ($(inst_infodir)/libc.info): Install files from build dir.
58274         * manual/install.texi (Configuring and compiling): Adjust since
58275         the info files are not part of the tar ball anymore.
58277 2012-05-14  Andreas Jaeger  <aj@suse.de>
58279         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58280         variable.
58282 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58284         [BZ #13717]
58285         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58286         to 2.2.0 where earlier.
58287         * sysdeps/unix/sysv/linux/configure: Regenerated.
58288         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58289         Remove conditional code.
58290         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58291         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58292         Remove conditional code.
58293         [!__NR_lchown]: Likewise.
58294         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58295         [__NR_lchown]: Likewise.
58296         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58297         comment referencing __ASSUME_LCHOWN_SYSCALL.
58298         * sysdeps/unix/sysv/linux/i386/sigaction.c
58299         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58300         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58301         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58302         Remove conditional code.
58303         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58304         (__protocol_available): Remove #if 0 code.
58305         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58306         conditional code.
58307         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58308         * sysdeps/unix/sysv/linux/kernel-features.h
58309         (__ASSUME_GETCWD_SYSCALL): Don't define.
58310         (__ASSUME_REALTIME_SIGNALS): Likewise.
58311         (__ASSUME_PREAD_SYSCALL): Likewise.
58312         (__ASSUME_PWRITE_SYSCALL): Likewise.
58313         (__ASSUME_POLL_SYSCALL): Likewise.
58314         (__ASSUME_LCHOWN_SYSCALL): Likewise.
58315         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58316         non-SPARC.
58317         (__ASSUME_SIOCGIFNAME): Don't define.
58318         (__ASSUME_MSG_NOSIGNAL): Likewise.
58319         (__ASSUME_SENDFILE): Define unconditionally.
58320         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58321         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58322         conditional code.
58323         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58324         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58325         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58326         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58327         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58328         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58329         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58331         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58332         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58334         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58335         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58337         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58340         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58343         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58346         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58349         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58352         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58353         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58354         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58355         Remove conditional code.
58356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58357         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58358         Remove conditional code.
58359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58360         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58361         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58362         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58363         Remove conditional code.
58364         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58365         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58366         Remove conditional code.
58367         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58368         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58369         Remove conditional code.
58370         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58371         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58372         Remove conditional code.
58373         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58374         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58375         Remove conditional code.
58376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58377         * sysdeps/unix/sysv/linux/sh/pwrite64.c
58378         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58380         * sysdeps/unix/sysv/linux/sigaction.c
58381         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58382         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58383         * sysdeps/unix/sysv/linux/sigpending.c
58384         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58385         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58386         * sysdeps/unix/sysv/linux/sigprocmask.c
58387         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58388         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58389         * sysdeps/unix/sysv/linux/sigsuspend.c
58390         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58391         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58392         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58393         (__libc_missing_rt_sigs): Remove.
58394         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58395         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58396         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58397         Remove conditional code.
58398         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58399         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58400         return 1.
58401         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58402         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58403         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58404         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58406 2012-05-14  Andreas Jaeger  <aj@suse.de>
58408         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58409         it's not used in glibc.
58410         (__coshm1): Likewise.
58411         (__acosh1p): Likewise.
58412         (__sgn): Likewise.
58414         * manual/string.texi (Copying and Concatenation): Add missing
58415         variable in concat example.
58416         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58418 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58420         [BZ #14103]
58421         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58422         __builtin_clzl with __builtin_clzll.
58424 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58426         [BZ #14104]
58427         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58428         libc_freeres_ptr.
58430 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58432         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58433         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58434         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58435         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58437 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58439         * NEWS: Update ia64 info.
58441 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58443         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58444         used as bcopy.
58446 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58448         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58449         * sysdeps/unix/syscalls.list (dup3): Likewise.
58450         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58451         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58453 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58455         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58456         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58458 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58460         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58461         thread pointer.
58462         (TLS_IE): Use mov/add instead of movq/addq to load thread
58463         pointer.
58464         (TLS_GD_PREFIX): New.
58465         (TLS_GD): Use it.
58467 2012-05-11  David S. Miller  <davem@davemloft.net>
58469         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58470         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58471         (_FPU_SETCW): Likewise.
58473 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58475         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58476         is 32-byte aligned.
58478 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58480         [BZ #11837]
58481         * iconvdata/gb18030.c: Update tables.
58482         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58483         characters specially.
58484         (BODY for TO_LOOP): Add encoding of missing ranges.
58486 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58488         [BZ #13673]
58489         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58490         * sysdeps/mach/hurd/dup3.c: Likewise.
58491         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58492         * sysdeps/powerpc/memmove.c:: Likewise.
58494 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58496         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58497         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58499 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58501         * elf/elf.h (R_X86_64_RELATIVE64): New.
58502         (R_X86_64_NUM): Updated.
58503         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58504         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58505         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58506         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58507         tst-quad1pie tst-quad2pie
58508         (modules-names): Add tst-quadmod1 tst-quadmod2.
58509         ($(objpfx)tst-quad1): New dependency.
58510         ($(objpfx)tst-quad2): Likewise.
58511         ($(objpfx)tst-quad1pie): Likewise.
58512         ($(objpfx)tst-quad2pie): Likewise.
58513         * sysdeps/x86_64/tst-quad1.c: New file.
58514         * sysdeps/x86_64/tst-quad1pie.c: New file.
58515         * sysdeps/x86_64/tst-quad2.c: Likewise.
58516         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58517         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58518         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58519         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58520         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58522 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58524         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58525         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58526         * streams/stropts.h (t_scalar_t): Define type.
58528         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58529         (_PATH_PRESERVE): Set to "/var/lib".
58530         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58532         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58533         instead of int.
58535         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58536         if __dir_mkfile succeeded.
58538         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58539         checking for _hurd_dtablesize.  Unlock it right after having
58540         finished _hurd_dtable allocation.
58542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58544         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58545         * sysdeps/mach/hurd/configure: Regenerated.
58546         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58547         special-casing to...
58548         * sysdeps/gnu/configure.in: ... this new file.
58549         * sysdeps/unix/sysv/linux/configure: Regenerated.
58550         * sysdeps/gnu/configure: New generated file.
58552         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58553         for Linux: use nsec instead of usec, as well as:
58554         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58555         members of type struct timespec.
58556         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58557         New macros.
58558         (struct stat64): Likewise.
58559         (_STATBUF_ST_NSEC): New macro.
58560         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58562         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58563         __strtoul_internal rather than strtoul.
58565 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58567         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58568         and reject them.
58570 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58572         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58573         which preserves existing values.
58574         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58576 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58578         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58579         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58580         greater than FD_SETSIZE.
58582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58584         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58585         allocated, call __vm_protect to finish enabling the existing space, and
58586         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58587         allocate the remainder.
58589 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58591         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58592         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58596         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58597         sysdeps/mach/hurd/readlink.c.
58599         * posix/tst-sysconf.c (posix_options): Only use
58600         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58601         _POSIX_SYNCHRONIZED_IO when they are defined
58602         * sysdeps/mach/hurd/bits/posix_opt.h:
58603         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58604         (_XOPEN_REALTIME): Undefine macro.
58605         (_XOPEN_REALTIME_THREADS): Undefine macro.
58606         (_XOPEN_SHM): Undefine macro.
58607         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58608         macro to -1.
58609         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58610         macro to -1.
58611         (_POSIX_ASYNC_IO): Undefine macro.
58612         (_POSIX_PRIORITIZED_IO): Undefine macro.
58613         (_POSIX_SPIN_LOCKS): Define macro to -1.
58615         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58616         SA_NODEFER, SA_RESETHAND.
58617         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58618         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58619         F_DUPFD_CLOEXEC.
58621 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58623         * elf/Makefile (pldd-modules): Define unconditionally.
58625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58627         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58631         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58632         Return ENOENT when name is empty.
58633         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58637         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58639         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58643         Fix mlock in all cases except non-readable pages.
58644         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58645         instead of VM_PROT_ALL as parameter to __vm_wire function.
58647         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58648         (__mkdir): When path is `/', just fail with EEXIST.
58649         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58651 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58653         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58654         <sys/uio.h> (for writev).
58655         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58656         and <sys/param.h> (for MIN).
58658 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58660         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58661         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58662         if interrupted.
58664 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58666         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58667         Depend on against $(link-rpcuserlibs).
58669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58671         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58672         (__libc_stack_end): Do not use attribute_relro.
58673         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58674         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58675         to libthread-provided value.
58676         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58677         attribute_relro.
58679 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58681         [BZ #3748]
58682         * bits/libc-lock.h (__libc_once_get): New macro.
58683         * sysdeps/mach/bits/libc-lock.h: Likewise.
58684         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58685         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58686         instead of using implementation details.
58688         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58689         * libio/freopen.c: Likewise.
58690         * libio/freopen64.c: Likewise.
58691         * misc/syslog.c: Likewise.
58692         * nscd/connections.c: Likewise.
58693         * nscd/netgroupcache.c: Likewise.
58694         * sysdeps/posix/getcwd.c: Likewise.
58696 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58698         * math/w_ilogbf.c: Add #include <limits.h>.
58700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58702         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58703         path instead of returning without unlocking.
58705         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58706         immediate-write ioctls.
58707         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58711         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58712         __builtin_frame_address instead of making assumptions about the
58713         location of the return address relative to DATA.  Force early load of
58714         the return address.
58715         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58716         __builtin_frame_address.
58718         dup3 for GNU Hurd.
58719         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58720         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58721         implement dup3 and do some further code clean-ups.
58722         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58723         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58727         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58729         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58730         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58731         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58732         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58733         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58734         d->port.lock.
58736         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58737         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58738         when handler == SIG_ERR, not when handler != SIG_ERR.
58740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58742         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58743         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58744         definitions.
58746         accept4 for GNU Hurd.
58747         * include/sys/socket.h (__libc_accept4): New prototype.
58748         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58749         to implement __libc_accept4.
58750         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58751         __libc_accept4.
58752         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58754         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58755         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58756         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58757         signal-defines.sym.
58759 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58761         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58765         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58766         assertion on O_CLOEXEC flag.
58767         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58768         * hurd/intern-fd.c: Likewise.
58769         * hurd/port2fd.c: Likewise.
58771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58773         [BZ #3906]
58774         * bits/in.h (IPV6_PKTINFO): Define new macro.
58775         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58777 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58779         [BZ #13954]
58780         [BZ #13955]
58781         [BZ #13956]
58782         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58783         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58784         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58785         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58786         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58787         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58788         * math/libm-test.inc (logb_test) : Additional logb tests.
58790 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58791             Andreas Jaeger  <aj@suse.de>
58793         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58794         * configure: Regenerated.
58795         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58796         * config.make.in (link-obsolete-rpc): New substituted variable.
58797         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58798         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58799         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58800         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58801         so that libc.a contains the symbols.
58802         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58803         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58804         * sunrpc/auth_none.c: Likewise.
58805         * sunrpc/auth_unix.c: Likewise.
58806         * sunrpc/authdes_prot.c: Likewise.
58807         * sunrpc/authuxprot.c: Likewise.
58808         * sunrpc/clnt_gen.c: Likewise.
58809         * sunrpc/clnt_perr.c: Likewise.
58810         * sunrpc/clnt_raw.c: Likewise.
58811         * sunrpc/clnt_simp.c: Likewise.
58812         * sunrpc/clnt_tcp.c: Likewise.
58813         * sunrpc/clnt_udp.c: Likewise.
58814         * sunrpc/clnt_unix.c: Likewise.
58815         * sunrpc/des_crypt.c: Likewise.
58816         * sunrpc/des_soft.c: Likewise.
58817         * sunrpc/get_myaddr.c: Likewise.
58818         * sunrpc/key_call.c: Likewise.
58819         * sunrpc/key_prot.c: Likewise.
58820         * sunrpc/netname.c: Likewise.
58821         * sunrpc/pm_getmaps.c: Likewise.
58822         * sunrpc/pm_getport.c: Likewise.
58823         * sunrpc/pmap_clnt.c: Likewise.
58824         * sunrpc/pmap_prot.c: Likewise.
58825         * sunrpc/pmap_prot2.c: Likewise.
58826         * sunrpc/pmap_rmt.c: Likewise.
58827         * sunrpc/publickey.c: Likewise.
58828         * sunrpc/rpc_cmsg.c: Likewise.
58829         * sunrpc/rpc_common.c: Likewise.
58830         * sunrpc/rpc_dtable.c: Likewise.
58831         * sunrpc/rpc_prot.c: Likewise.
58832         * sunrpc/rpc_thread.c: Likewise.
58833         * sunrpc/rtime.c: Likewise.
58834         * sunrpc/svc.c: Likewise.
58835         * sunrpc/svc_auth.c: Likewise.
58836         * sunrpc/svc_raw.c: Likewise.
58837         * sunrpc/svc_run.c: Likewise.
58838         * sunrpc/svc_tcp.c: Likewise.
58839         * sunrpc/svc_udp.c: Likewise.
58840         * sunrpc/svc_unix.c: Likewise.
58841         * sunrpc/svcauth_des.c: Likewise.
58842         * sunrpc/xcrypt.c: Likewise.
58843         * sunrpc/xdr.c: Likewise.
58844         * sunrpc/xdr_array.c: Likewise.
58845         * sunrpc/xdr_float.c: Likewise.
58846         * sunrpc/xdr_intXX_t.c: Likewise.
58847         * sunrpc/xdr_mem.c: Likewise.
58848         * sunrpc/xdr_rec.c: Likewise.
58849         * sunrpc/xdr_ref.c: Likewise.
58850         * sunrpc/xdr_sizeof.c: Likewise.
58851         * sunrpc/xdr_stdio.c: Likewise.
58853 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58855         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58856         change.  Update copyright years.
58858 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58860         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58862 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58863             Joseph Myers  <joseph@codesourcery.com>
58864             Paul Pluzhnikov  <ppluzhnikov@google.com>
58866         [BZ #14012]
58867         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58868         requiring rpcgen.
58869         [cross-compiling] (extra-libs): Likewise.
58870         [cross-compiling] (extra-libs-others): Likewise.
58871         [cross-compiling] (librpcsvc-routines): Likewise.
58872         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58873         [cross-compiling] (omit-deps): Likewise.
58874         (sunrpc-CPPFLAGS): New variable.
58875         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58876         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58877         (cross-rpcgen-objs): New variable.
58878         (extra-objs): Append $(cross-rpcgen-objs).
58879         ($(cross-rpcgen-objs)): New rule.
58880         ($(objpfx)cross-rpcgen): Likewise.
58881         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58882         comment.
58883         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58884         ($(objpfx)x%.stmp): Likewise.
58885         * sunrpc/proto.h [IS_IN_build] (_): Define.
58886         [IS_IN_build] (_libc_intl_domainname): Likewise.
58888 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58890         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58891         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58892         and R_X86_64_TPOFF64.
58894 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58896         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58897         sysdeps/unix/sysv/syscalls.list.
58898         (stime): Likewise.
58899         (utime): Likewise.
58900         * sysdeps/unix/sysv/syscalls.list: Remove file.
58902 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58904         [BZ #3440]
58905         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58906         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58907         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58908         (__LC_IDENTIFICATION): Make these macros useful in #if
58909         expressions, as required by C99.
58911 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58913         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58914         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58915         after this.
58917 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58919         * stdlib/longlong.h: Updated from GCC.
58921 2012-05-09  Andreas Jaeger  <aj@suse.de>
58923         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58924         default is first entry.
58925         (run_mode): Set type.
58926         (main): Remove informal message about syslog.
58927         (options): Fix typo.
58929         [BZ #14053]
58930         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58931         to asm.
58932         (lrint): Likewise.
58933         (llrintf): Likewise.
58934         (llrint): Likewise.
58935         (rint): Likewise.
58936         (rintf): Likewise.
58937         (nearbyint): Likewise.
58938         (nearbyintf): Likewise.
58940 2012-05-09  Andreas Jaeger  <aj@suse.de>
58941             Pedro Alves  <palves@redhat.com>
58943         * nscd/nscd.c (run_mode): Use enum.
58944         (main): Cleanup coding style issue.
58946 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58947             Andreas Jaeger  <aj@suse.de>
58949         * nscd/nscd.c (go_background): Replaced with...
58950         (run_mode): ... this.
58951         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58952         (options): Add -F --foreground.
58953         (main): Implement it.
58954         (parse_opt): Parse it.
58956 2012-05-09  Andreas Jaeger  <aj@suse.de>
58958         [BZ #14083]
58959         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58960         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58961         -Wconversion warning.
58962         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58963         Likewise.
58965 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58967         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58968         == 0.
58969         (LC_ALL): Use macro-int-constant.
58970         (LC_COLLATE): Likewise.
58971         (LC_CTYPE): Likewise.
58972         (LC_MESSAGES): Likewise.
58973         (LC_MONETARY): Likewise.
58974         (LC_NUMERIC): Likewise.
58975         (LC_TIME): Likewise.
58976         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58977         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58978         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58979         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58980         Specify type.
58981         [C99-based standards] (float_t): Expect type.
58982         [C99-based standards] (double_t): Expect type.
58983         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58984         type.
58985         [C99-based standards] (HUGE_VALL): Likewise.
58986         [C99-based standards] (INFINITY): Likewise.
58987         [C99-based standards] (NAN): Likewise.
58988         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58989         [C99-based standards] (FP_NAN): Likewise.
58990         [C99-based standards] (FP_NORMAL): Likewise.
58991         [C99-based standards] (FP_SUBNORMAL): Likewise.
58992         [C99-based standards] (FP_ZERO): Likewise.
58993         [C99-based standards] (FP_FAST_FMA): Use
58994         optional-macro-int-constant.  Specify type.  Require == 1.
58995         [C99-based standards] (FP_FAST_FMAF): Likewise.
58996         [C99-based standards] (FP_FAST_FMAL): Likewise.
58997         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58998         [C99-based standards] (FP_ILOGBNAN): Likewise.
58999         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59000         Specify type.
59001         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59002         [C99-based standards] (math_errhandling): Specify type.
59003         [ISO99 || ISO11] (signgam): Do not allow.
59004         [non-C99-based standards] (copysignf): Do not allow.
59005         [non-C99-based standards] (exp2f): Likewise.
59006         [non-C99-based standards] (log2f): Likewise.
59007         [non-C99-based standards] (modff): Allow.
59008         [non-C99-based standards] (erff): Do not allow.
59009         [non-C99-based standards] (erfcf): Likewise.
59010         [non-C99-based standards] (gammaf): Likewise.
59011         [non-C99-based standards] (hypotf): Likewise.
59012         [non-C99-based standards] (j0f): Likewise.
59013         [non-C99-based standards] (j1f): Likewise.
59014         [non-C99-based standards] (jnf): Likewise.
59015         [non-C99-based standards] (lgammaf): Likewise.
59016         [non-C99-based standards] (tgammaf): Likewise.
59017         [non-C99-based standards] (y0f): Likewise.
59018         [non-C99-based standards] (y1f): Likewise.
59019         [non-C99-based standards] (ynf): Likewise.
59020         [non-C99-based standards] (isnanf): Likewise.
59021         [non-C99-based standards] (acoshf): Likewise.
59022         [non-C99-based standards] (asinhf): Likewise.
59023         [non-C99-based standards] (atanhf): Likewise.
59024         [non-C99-based standards] (cbrtf): Likewise.
59025         [non-C99-based standards] (expm1f): Likewise.
59026         [non-C99-based standards] (ilogbf): Likewise.
59027         [non-C99-based standards] (log1pf): Likewise.
59028         [non-C99-based standards] (logbf): Likewise.
59029         [non-C99-based standards] (nextafterf): Likewise.
59030         [non-C99-based standards] (remainderf): Likewise.
59031         [non-C99-based standards] (rintf): Likewise.
59032         [non-C99-based standards] (scalbf): Likewise.
59033         [non-C99-based standards] (copysignl): Likewise.
59034         [non-C99-based standards] (exp2l): Likewise.
59035         [non-C99-based standards] (log2l): Likewise.
59036         [non-C99-based standards] (modfl): Allow.
59037         [non-C99-based standards] (erfl): Do not allow.
59038         [non-C99-based standards] (erfcl): Likewise.
59039         [non-C99-based standards] (gammal): Likewise.
59040         [non-C99-based standards] (hypotl): Likewise.
59041         [non-C99-based standards] (j0l): Likewise.
59042         [non-C99-based standards] (j1l): Likewise.
59043         [non-C99-based standards] (jnl): Likewise.
59044         [non-C99-based standards] (lgammal): Likewise.
59045         [non-C99-based standards] (tgammal): Likewise.
59046         [non-C99-based standards] (y0l): Likewise.
59047         [non-C99-based standards] (y1l): Likewise.
59048         [non-C99-based standards] (ynl): Likewise.
59049         [non-C99-based standards] (isnanl): Likewise.
59050         [non-C99-based standards] (acoshl): Likewise.
59051         [non-C99-based standards] (asinhl): Likewise.
59052         [non-C99-based standards] (atanhl): Likewise.
59053         [non-C99-based standards] (cbrtl): Likewise.
59054         [non-C99-based standards] (expm1l): Likewise.
59055         [non-C99-based standards] (ilogbl): Likewise.
59056         [non-C99-based standards] (log1pl): Likewise.
59057         [non-C99-based standards] (logbl): Likewise.
59058         [non-C99-based standards] (nextafterl): Likewise.
59059         [non-C99-based standards] (remainderl): Likewise.
59060         [non-C99-based standards] (rintl): Likewise.
59061         [non-C99-based standards] (scalbl): Likewise.
59062         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59063         [non-C99-based standards] (FP_*): Do not allow.
59064         [C99-based standards] (FP_*): Change to
59065         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59066         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59067         allow.
59068         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59069         (SIG_ERR): Likewise.
59070         [X/Open-based standards] (SIG_HOLD): Likewise.
59071         (SIG_IGN): Likewise.
59072         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59073         positive value.
59074         (SIGFPE): Likewise.
59075         (SIGILL): Likewise.
59076         (SIGINT): Likewise.
59077         (SIGSEGV): Likewise.
59078         (SIGTER): Likewise.
59079         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59080         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59081         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59082         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59083         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59084         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59085         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59086         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59087         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59088         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59089         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59090         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59091         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59092         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59093         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59094         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59095         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59096         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59097         [X/Open-based standards] (SIGTRAP): Likewise.
59098         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59099         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59100         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59101         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59102         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59103         allow.
59105 2012-05-08  Ian Wienand  <ianw@vmware.com>
59107         [BZ #14080]
59108         * time/tzset.c (__tzset_parse_tz): Update default rules for
59109         daylight time changes in the Energy Policy Act of 2005.
59111 2012-05-09  Andreas Jaeger  <aj@suse.de>
59113         [BZ #13983]
59114         * elf/ldconfig.c (parse_conf): Change string to make clear that
59115         ldconfig only issued a warning if ld.so.conf does not exist.
59117 2012-05-08  David S. Miller  <davem@davemloft.net>
59119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59120         movxtod instead of popping the value on the stack.
59122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59124 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59126         * config.h.in: Add HAVE_ARM_PCS_VFP.
59128 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59130         [BZ #13979]
59131         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59132         checking but the checks are disabled for any reason.
59134 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59136         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59137         and ELF64_R_TYPE with ELFW(R_TYPE).
59139 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59141         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59142         (ulimit): Likewise.
59144         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59145         (settimeofday): Likewise.
59147 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59149         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59150         a struct th_u2 inside the union, and move tu_block/tu_code into
59151         a new th_u3 union of tu_block/tu_code inside of that.  Move
59152         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59153         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59154         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59155         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59156         (th_stuff): Change to th_u1.tu_stuff.
59157         (th_data): Define.
59158         (th_msg): Change to th_u1.th_u2.tu_data.
59160 2012-05-07  David S. Miller  <davem@davemloft.net>
59162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59164         [BZ #14074]
59165         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59166         (SETUP_PIC_REG): Use it.
59167         (SETUP_PIC_REG_LEAF): Use it.
59169 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59171         [BZ #13885]
59172         [BZ #13923]
59173         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59174         USE_AS_EXPM1L.
59175         (EXPL_FINITE): Likewise.
59176         (FLDLOG): Likewise.
59177         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59178         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59179         e_expl.S.
59180         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59181         USE_AS_EXPM1L.
59182         (EXPL_FINITE): Likewise.
59183         (FLDLOG): Likewise.
59184         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59185         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59186         e_expl.S.
59187         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59188         test of -max_value argument for long double.
59189         * sysdeps/i386/fpu/libm-test-ulps: Update.
59190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59192 2012-05-06  David S. Miller  <davem@davemloft.net>
59194         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59195         quad soft-float symbols whose references which are compiler
59196         generated.
59197         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59199 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59201         [BZ #13884]
59202         [BZ #13914]
59203         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59204         USE_AS_EXP10L.
59205         (EXPL_FINITE): Likewise.
59206         (FLDLOG): Likewise.
59207         (c0): Likewise.
59208         (c1): Likewise.
59209         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59210         Adjust comments for base varying.
59211         (__expl_finite): Change alias to EXPL_FINITE.
59212         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59213         e_expl.S.
59214         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59215         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59216         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59217         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59218         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59219         USE_AS_EXP10L.
59220         (EXPL_FINITE): Likewise.
59221         (FLDLOG): Likewise.
59222         (c0): Likewise.
59223         (c1): Likewise.
59224         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59225         Adjust comments for base varying.
59226         (__expl_finite): Change alias to EXPL_FINITE.
59227         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
59228         tests for bugs.
59229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59231         [BZ #14064]
59232         * math/libm-test.inc (check_float_internal): Correct ulp
59233         calculation for subnormal expected results.
59235 2012-05-06  Andreas Jaeger  <aj@suse.de>
59237         * Makeconfig (+math-flags): New, set to -frounding-math.
59238         (+cflags): Add +math-flags so that all of glibc gets compiled with
59239         it.
59241         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59243 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
59245         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59246         Disable one test.
59248         [BZ #13787]
59249         [BZ #13922]
59250         [BZ #14036]
59251         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59252         (__ieee754_expl): Allow for and saturate large arguments.
59253         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59254         (u_threshold): Likewise.
59255         (__exp): Call __ieee754_exp before checking for overflow and
59256         underflow.
59257         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59258         (u_threshold): Likewise.
59259         (__expf): Call __ieee754_expf before checking for overflow and
59260         underflow.
59261         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59262         (u_threshold): Likewise.
59263         (__expl): Call __ieee754_expl before checking for overflow and
59264         underflow.
59265         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59266         (__ieee754_expl): Allow for and saturate large arguments.
59267         * math/libm-test.inc (exp_test): Add another test.  Do not allow
59268         missing overflow exception on overflow.
59269         (expm1_test): Do not allow missing overflow exception on overflow.
59271         * sysdeps/i386/fpu/e_expl.c: Move to ...
59272         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
59273         rather than using inline asm.
59274         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59275         * sysdeps/x86_64/fpu/e_expl.S: Copy from
59276         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59278         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59279         (nice): Likewise.
59280         (poll): Likewise.
59281         (signal): Likewise.
59282         (time): Likewise.
59283         (times): Likewise.
59285 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59287         * sysdeps/unix/syscalls.list (adjtime): Add entry from
59288         sysdeps/unix/common/syscalls.list.
59289         (fchmod): Likewise.
59290         (fchown): Likewise.
59291         (ftruncate): Likewise.
59292         (getrusage): Likewise.
59293         (gettimeofday): Likewise.
59294         (setpgid): Likewise.
59295         (setregid): Likewise.
59296         (setreuid): Likewise.
59297         (sigaction): Likewise.
59298         (truncate): Likewise.
59299         (vhangup): Likewise.
59300         * sysdeps/unix/common/syscalls.list: Remove file.
59301         * sysdeps/unix/bsd/Implies: Don't include unix/common.
59302         * sysdeps/unix/sysv/linux/Implies: Likewise.
59304 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
59306         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59308         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59309         Moved to ...
59310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59311         Here.
59312         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59313         to ...
59314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59315         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59316         to ...
59317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59318         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59319         to ...
59320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59321         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59322         to ...
59323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59324         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59325         to ...
59326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59327         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59328         to ...
59329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59330         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59331         to ...
59332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59333         Here.
59334         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59335         to ...
59336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59337         Here.
59338         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59339         to ...
59340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59341         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59342         Moved to ...
59343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59344         Here.
59345         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59346         to ...
59347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59349 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59351         * sysdeps/unix/common/bits/dirent.h: Remove file.
59352         * sysdeps/unix/common/bits/fcntl.h: Likewise.
59354         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59355         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59356         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59357         * sysdeps/unix/bsd/isatty.c: Likewise.
59358         * sysdeps/unix/bsd/tcdrain.c: Likewise.
59359         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59360         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59362 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59364         [BZ #13563]
59365         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59366         long double comparison inaccuracies.
59367         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59370 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
59372         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59373         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59375 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
59377         [BZ #14049]
59378         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59379         nonzero digits before rounding a hex value.
59380         * stdlib/tst-strtod.c (tests): Add another test.
59382 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59384         * sysdeps/s390/fpu/libm-test-ulps: Update.
59386 2012-05-03  Andreas Jaeger  <aj@suse.de>
59388         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59389         does not get optimized out.
59390         (malloc_opt_barrier): New.
59392 2012-05-03  Andreas Jaeger  <aj@suse.de>
59393             Roland McGrath  <roland@hack.frob.com>
59395         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59396         intermediate file deletion.
59397         (generated): Add .symlist files.
59399 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59401         [BZ #13775]
59402         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59403         Redirect under this condition.
59404         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59405         [__USE_GNU] (__dprintf_chk): Not under this condition.
59406         [__USE_GNU] (__vdprintf_chk): Likewise.
59407         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59408         under this condition.
59409         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59410         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59411         [__USE_XOPEN2K8] (vdprintf): Likewise.
59412         [__USE_GNU] (__dprintf_chk): Not under this condition.
59413         [__USE_GNU] (__vdprintf_chk): Likewise.
59414         [__USE_GNU] (dprintf): Likewise.
59415         [__USE_GNU] (vdprintf): Likewise.
59417 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59419         * elf/Makefile (common-generated): Set this instead of generated for
59420         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59421         $(all-built-dso)-derived lists.
59423 2012-05-03  Andreas Jaeger  <aj@suse.de>
59425         * sysdeps/i386/fpu/libm-test-ulps: Update.
59427         * FAQ: Removed.
59428         * FAQ.in: Likewise.
59429         * scripts/gen-FAQ.pl: Likewise.
59430         * manual/install.texi (Installation): Point to online location of
59431         FAQ.
59432         * Makefile (files-for-dist): Remove FAQ.
59433         (FAQ): Remove.
59435 2012-05-02  Allan McRae  <allan@archlinux.org>
59437         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59438         (LDFLAGS-reldepmod5.so): Likewise.
59439         (LDFLAGS-reldep6mod1.so): Likewise.
59440         (LDFLAGS-reldep6mod4.so): Likewise.
59441         (LDFLAGS-reldep8mod3.so): Likewise.
59442         (LDFLAGS-unload4mod1.so): Likewise.
59443         (LDFLAGS-unload4mod2.so): Likewise.
59444         (LDFLAGS-tst-initorder): Likewise.
59445         (LDFLAGS-tst-initordera2.so): Likewise.
59446         (LDFLAGS-tst-initordera3.so): Likewise.
59447         (LDFLAGS-tst-initordera4.so): Likewise.
59448         (LDFLAGS-tst-initorderb2.so): Likewise.
59449         (LDFLAGS-noload): Likewise.
59450         (LDFLAGS-next): Likewise.
59451         (LDFLAGS-order2mod1.so): Likewise.
59452         (LDFLAGS-order2mod2.so): Likewise.
59453         (LDFLAGS-tst-initorder2): Likewise.
59454         (LDFLAGS-tst-initorder2a.so): Likewise.
59455         (LDFLAGS-tst-initorder2b.so): Likewise.
59456         (LDFLAGS-tst-initorder2c.so): Likewise.
59457         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59459 2012-05-02  David S. Miller  <davem@davemloft.net>
59461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59463 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59465         [BZ #14055]
59466         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59468 2012-05-02  Andreas Jaeger  <aj@suse.de>
59470         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59471         since we manipulate rounding mode.
59472         (CPPFLAGS-test-idouble.c): Likewise.
59473         (CPPFLAGS-test-ifloat.c): Likewise.
59474         (CFLAGS-test-ldouble.c): Likewise.
59475         (CFLAGS-test-double.c): Likewise.
59476         (CFLAGS-test-float.c): Likewise.
59477         (CFLAGS-test-misc.c): Likewise.
59478         (CFLAGS-test-test-fenv.c): Likewise.
59480 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59482         [BZ #2550]
59483         [BZ #2570]
59484         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59485         comparisons to determine direction to adjust input.
59487 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59489         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59490         output to the target.
59492         * scripts/localplt.awk: New file.
59493         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59494         (check-localplt-CFLAGS): Variable removed.
59495         ($(all-built-dso:=.jmprel)): New static pattern rule.
59496         (generated): Add those targets.
59497         (localplt-built-dso): New variable.
59498         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59500         * elf/check-localplt.c: File removed.
59502         * scripts/check-execstack.awk: New file.
59503         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59504         (check-execstack-CFLAGS): Variable removed.
59505         ($(objpfx)check-execstack.h): Target removed.
59506         ($(objpfx)execstack-default): New target.
59507         (generated): Add that instead of check-execstack.h.
59508         ($(all-built-dso:=.phdr)): New static pattern rule.
59509         (generated): Add those targets.
59510         * elf/check-execstack.c: File removed.
59512         * scripts/check-textrel.awk: New file.
59513         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59514         (check-textrel-CFLAGS): Variable removed.
59515         (all-built-dso): Use := to define.o
59516         ($(all-built-dso:=.dyn)): New static pattern rule.
59517         (generated): Add those targets.
59518         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59519         * config.make.in (READELF): New substituted variable.
59520         * elf/check-textrel.c: File removed.
59522 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59524         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59525         allow.
59526         * conform/data/ctype.h-data [C99-based standards] (isblank):
59527         Expect function.
59528         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59529         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59531         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59532         Specify type.  Require positive value.
59533         (EILSEQ): Likewise.
59534         (ERANGE): Likewise.
59535         [ISO || POSIX] (EILSEQ): Do not expect.
59536         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59537         Specify type.  Require positive value.
59538         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59539         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59540         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59541         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59542         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59543         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59544         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59545         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59546         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59547         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59548         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59549         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59550         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59551         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59552         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59553         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59554         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59555         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59556         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59557         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59558         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59559         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59560         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59561         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59562         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59563         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59564         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59565         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59566         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59567         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59568         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59569         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59570         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59571         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59572         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59573         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59574         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59575         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59576         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59577         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59578         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59579         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59580         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59581         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59582         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59583         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59584         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59585         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59586         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59587         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59588         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59589         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59590         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59591         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59592         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59593         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59594         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59595         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59596         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59597         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59598         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59599         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59600         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59601         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59602         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59603         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59604         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59605         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59606         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59607         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59608         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59609         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59610         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59611         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59612         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59613         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59614         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59615         Require >= 2.
59616         (FLT_ROUNDS): Expect as macro, not constant.
59617         (FLT_MANT_DIG): Use macro-int-constant.
59618         (DBL_MANT_DIG): Likewise.
59619         (LDBL_MANT_DIG): Likewise.
59620         (FLT_DIG): Likewise.
59621         (DBL_DIG): Likewise.
59622         (LDBL_DIG): Likewise.
59623         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59624         (DBL_MIN_EXP): Likewise.
59625         (LDBL_MIN_EXP): Likewise.
59626         (FLT_MAX_EXP): Use macro-int-constant.
59627         (DBL_MAX_EXP): Likewise.
59628         (LDBL_MAX_EXP): Likewise.
59629         (FLT_MAX_10_EXP): Likewise.
59630         (DBL_MAX_10_EXP): Likewise.
59631         (LDBL_MAX_10_EXP): Likewise.
59632         (FLT_MAX): Use macro-constant.
59633         (DBL_MAX): Likewise.
59634         (LDBL_MAX): Likewise.
59635         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59636         (DBL_EPSILON): Likewise.
59637         (LDBL_EPSILON): Likewise.
59638         (FLT_MIN): Likewise.
59639         (DBL_MIN): Likewise.
59640         (LDBL_MIN): Likewise.
59641         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59642         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59643         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59644         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59645         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59646         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59647         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59648         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59649         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59650         [ISO11] (FLT_TRUE_MIN): Likewise.
59651         [ISO11] (LDBL_TRUE_MIN): Likewise.
59652         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59653         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59654         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59655         (SCHAR_MAX): Likewise.
59656         (UCHAR_MAX): Likewise.
59657         (CHAR_MIN): Likewise.
59658         (CHAR_MAX): Likewise.
59659         (MB_LEN_MAX): Use macro-int-constant.
59660         (SHRT_MIN): Use macro-int-constant.  Specify type.
59661         (SHRT_MAX): Likewise.
59662         (USHRT_MAX): Likewise.
59663         (INT_MAX): Likewise.
59664         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59665         bound negative.
59666         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59667         bound with "U".
59668         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59669         bound with "L".
59670         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59671         bound negative.  Suffix upper bound with "L".
59672         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59673         bound with "UL".
59674         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59675         Specify type.
59676         [C99-based standards] (LLONG_MAX): Likewise.
59677         [C99-based standards] (ULLONG_MAX): Likewise.
59678         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59679         == 0.
59680         [ISO11] (max_align_t): Require type.
59681         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59683         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59684         from $CFLAGS, without defining away __attribute__ calls.
59685         (checknamespace): Use $CFLAGS_namespace.
59687         * conform/conformtest.pl (@keywords): Only include C99 keywords
59688         for standards based on C99 or C11.
59690         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59691         Disable tests.
59692         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59693         UNIX98]: Likewise.
59695         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59696         usability of symbols in #if.
59698         * conform/conformtest.pl: If macro or constant types start
59699         "promoted:", expect the symbol to be of the following type
59700         promoted by the integer promotions.
59702         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59703         in one place.  Also handle "macro-constant".
59705         * conform/conformtest.pl: Only accept expected macro values with
59706         "==".  Parse all "macro" lines in one place.
59707         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59709         * conform/conformtest.pl: Handle braced types on "constant" lines
59710         instead of handling "typed-constant".
59711         * conform/data/signal.h-data: Use "constant" instead of
59712         "typed-constant".
59714         * conform/conformtest.pl: Handle "optional-" at start of lines in
59715         one place rather than duplicating several cases.  Handle each
59716         format of "macro" line with initial "optional-".
59718         * conform/conformtest.pl: Only accept expected constant or
59719         optional-constant values with "==".  Parse all "constant" lines in
59720         one place.  Parse all "optional-constant" lines in one place.
59721         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59722         * conform/data/fmtmsg.h-data: Likewise.
59723         * conform/data/netinet/in.h-data: Likewise.
59724         * conform/data/tar.h-data: Likewise.
59725         * conform/data/limits.h-data: Use "==" form on "constant" and
59726         "optional-constant" lines.
59728         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59729         Use -std=c99 for XOPEN2K.
59730         (@knownproblems): Remove.
59731         (newtoken): Don't check %isknown.
59733         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59734         Do not expect macro.
59735         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59736         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59737         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59738         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59739         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59740         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59741         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59742         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59743         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59744         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59745         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59746         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59747         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59748         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59749         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59750         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59751         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59752         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59753         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59754         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59755         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59756         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59757         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59758         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59759         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59760         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59761         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59762         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59763         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59764         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59765         [XPG3] (acosh): Likewise.
59766         [XPG3] (asinh): Likewise.
59767         [XPG3] (atanh): Likewise.
59768         [XPG3] (cbrt): Likewise.
59769         [XPG3] (expm1): Likewise.
59770         [XPG3] (ilogb): Likewise.
59771         [XPG3] (log1p): Likewise.
59772         [XPG3] (logb): Likewise.
59773         [XPG3] (nextafter): Likewise.
59774         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59775         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59776         [XPG3] (remainder): Likewise.
59777         [XPG3] (rint): Likewise.
59778         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59779         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59780         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59781         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59782         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59783         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59784         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59785         [UNIX98 || XOPEN2K] (scalb): Expect.
59786         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59787         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59788         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59789         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59790         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59791         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59792         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59793         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59794         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59795         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59796         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59797         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59798         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59799         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59800         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59801         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59802         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59803         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59804         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59805         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59806         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59807         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59808         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59809         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59810         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59811         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59812         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59813         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59814         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59815         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59816         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59817         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59818         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59819         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59820         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59821         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59822         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59823         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59824         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59825         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59826         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59827         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59828         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59829         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59830         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59831         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59832         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59833         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59834         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59835         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59836         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59837         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59838         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59839         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59840         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59841         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59842         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59843         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59844         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59845         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59846         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59847         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59848         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59849         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59850         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59851         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59852         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59853         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59854         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59855         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59856         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59857         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59858         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59859         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59860         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59861         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59862         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59863         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59864         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59865         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59866         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59867         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59868         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59869         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59870         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59871         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59872         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59873         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59874         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59875         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59876         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59877         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59878         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59879         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59880         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59881         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59882         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59883         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59884         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59885         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59886         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59887         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59888         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59889         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59890         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59891         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59892         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59893         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59894         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59895         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59896         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59897         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59898         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59899         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59900         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59901         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59902         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59903         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59904         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59905         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59906         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59907         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59908         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59909         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59910         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59911         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59912         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59913         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59914         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59915         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59916         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59917         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59918         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59919         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59920         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59921         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59922         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59924         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59925         _XOPEN_SOURCE_EXTENDED for XPG4.
59927         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59929         * Makeconfig (localtime): Remove variable.
59930         (inst_localtime-file): Likewise.
59932 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59935         Update.
59936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59937         Update.
59938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59939         Update.
59940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59941         Update.
59942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59943         Update.
59944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59945         Update.
59946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59947         Update.
59948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59949         Update.
59950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59951         Update.
59953 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59955         [BZ #2550]
59956         [BZ #2570]
59957         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59958         comparisons to determine direction to adjust input.
59959         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59960         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59961         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59962         Likewise.
59963         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59964         Likewise.
59965         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59966         Likewise.
59967         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59968         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59969         Likewise.
59970         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59971         Likewise.
59972         * math/libm-test.inc (nexttoward_test): Add more tests.
59974 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59976         [BZ #14040]
59977         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59978         in version GLIBC_2.1, not GLIBC_2.0.
59979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59980         Likewise.
59982 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59984         [BZ #13942]
59985         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59986         (1 - x) * (1 + x).
59987         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59988         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59989         * math/libm-test.inc (acos_test): Add more tests.
59990         (asin_test): Likewise.
59991         * sysdeps/i386/fpu/libm-test-ulps: Update.
59992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59994         [BZ #14034]
59995         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59996         of square root.
59997         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59998         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59999         * math/libm-test.inc (acos_test_tonearest): New function.
60000         (acos_test_towardzero): Likewise.
60001         (acos_test_downward): Likewise.
60002         (acos_test_upward): Likewise.
60003         (asin_test_tonearest): Likewise.
60004         (asin_test_towardzero): Likewise.
60005         (asin_test_downward): Likewise.
60006         (asin_test_upward): Likewise.
60007         (main): Call the new functions.
60008         * sysdeps/i386/fpu/libm-test-ulps: Update.
60009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60011         [BZ #13884]
60012         [BZ #13924]
60013         * math/e_exp10.c: Include <float.h>.
60014         (__ieee754_exp10): Handle underflow here rather than multiplying
60015         large negative argument by M_LN10.
60016         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60017         of __ieee754_expf.
60018         * math/e_exp10l.c: Include <float.h>.
60019         (__ieee754_exp10l): Handle underflow here rather than multiplying
60020         large negative argument by M_LN10l.
60021         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60022         spurious overflow exception on underflow.
60024 2012-04-29  Marek Polacek  <polacek@redhat.com>
60026         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60027         (__fortify_function): New macro.
60028         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60029         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60030         __extern_always_inline.
60031         * libio/bits/stdio2.h: Likewise.
60032         * libio/bits/stdio.h: Likewise.
60033         * string/string.h: Likewise.
60034         * string/bits/string3.h: Likewise.
60035         * include/stdio.h: Likewise.
60036         * stdlib/bits/stdlib.h: Likewise.
60037         * stdlib/stdlib.h: Likewise.
60038         * rt/bits/mqueue2.h: Likewise.
60039         * rt/mqueue.h: Likewise.
60040         * posix/bits/unistd.h: Likewise.
60041         * posix/unistd.h: Likewise.
60042         * io/bits/poll2.h: Likewise.
60043         * io/bits/fcntl2.h: Likewise.
60044         * io/fcntl.h: Likewise.
60045         * io/sys/poll.h: Likewise.
60046         * misc/bits/syslog.h: Likewise.
60047         * misc/bits/syslog-ldbl.h: Likewise.
60048         * misc/sys/syslog.h: Likewise.
60049         * socket/bits/socket2.h: Likewise.
60050         * socket/sys/socket.h: Likewise.
60051         * debug/tst-chk1.c: Likewise.
60052         * wcsmbs/bits/wchar2.h: Likewise.
60053         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60054         * wcsmbs/wchar.h: Likewise.
60056 2012-04-29  Andreas Jaeger  <aj@suse.de>
60058         * Makerules (tests): Remove enable-check-abi protection.
60059         (check-abi-warn): Remove.
60060         (check-abi-%): Remove check-abi-warn usage.
60062         * configure.in: Remove check-abi configure option.
60063         * configure: Regenerated.
60064         * config.make.in (enable-check-abi): Remove.
60066 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60068         [BZ #14033]
60069         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60070         double functions to double *_finite functions.
60072         [BZ #13941]
60073         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60074         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60075         LDBL_MIN_EXP.
60076         * stdio-common/Makefile (tests): Add tst-sprintf3.
60077         * stdio-common/tst-sprintf3.c: New file.
60079         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60080         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60082 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60084         * conform/conformtest.pl: Remove duplicate typed-constant
60085         handling.
60087 2012-04-28  David S. Miller  <davem@davemloft.net>
60089         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60090         (check-abi-%): Remove AWK script prerequisite and explicit
60091         abilist directory.
60092         (check-abi): Rewrite to just diff the symlist with the abilist.
60093         (config-tls, config-abi-config): Delete, no longer used.
60094         (update-abi-%): Remove AWK script and explicit abilist directory.
60095         (update-abi): Rewrite to simply compare and conditionally copy the
60096         symlist and the sysdep abilist file.  Remove update-abi-config
60097         checks.
60098         * abilist/ld.abilist: Remove.
60099         * abilist/libBrokenLocale.abilist: Remove.
60100         * abilist/libanl.abilist: Remove.
60101         * abilist/libcrypt.abilist: Remove.
60102         * abilist/libdl.abilist: Remove.
60103         * abilist/librt.abilist: Remove.
60104         * abilist/libthread_db.abilist: Remove.
60105         * abilist/libutil.abilist: Remove.
60106         * scripts/extract-abilist.awk: Remove.
60107         * scripts/merge-abilist.awk: Remove.
60108         * sysdeps/generic/libcidn.abilist: New file.
60109         * sysdeps/generic/libnss_compat.abilist: New file.
60110         * sysdeps/generic/libnss_db.abilist: New file.
60111         * sysdeps/generic/libnss_dns.abilist: New file.
60112         * sysdeps/generic/libnss_files.abilist: New file.
60113         * sysdeps/generic/libnss_hesiod.abilist: New file.
60114         * sysdeps/generic/libnss_nis.abilist: New file.
60115         * sysdeps/generic/libnss_nisplus.abilist: New file.
60116         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60117         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60118         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60119         file.
60120         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60121         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60122         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60123         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60124         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60125         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60126         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60127         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60128         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60129         file.
60130         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60131         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60132         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60133         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60134         file.
60135         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60136         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60137         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60138         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60139         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60140         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60141         file.
60142         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60143         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60144         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60145         file.
60146         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60147         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60148         New file.
60149         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60150         New file.
60151         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60152         New file.
60153         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60154         New file.
60155         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60156         New file.
60157         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60158         New file.
60159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60160         New file.
60161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60162         New file.
60163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60164         New file.
60165         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60166         New file.
60167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60168         New file.
60169         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60170         New file.
60171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60172         New file.
60173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60174         file.
60175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60176         New file.
60177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60178         New file.
60179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60180         file.
60181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60182         New file.
60183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60184         New file.
60185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60186         file.
60187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60188         New file.
60189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60190         New file.
60191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60192         New file.
60193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60194         New file.
60195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60196         New file.
60197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60198         New file.
60199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60201         file.
60202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60203         New file.
60204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60205         file.
60206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60207         file.
60208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60209         file.
60210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60211         file.
60212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60213         file.
60214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60215         New file.
60216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60217         file.
60218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60219         file.
60220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60221         New file.
60222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60223         file.
60224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60226         file.
60227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60228         New file.
60229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60230         file.
60231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60232         file.
60233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60234         file.
60235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60236         file.
60237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60238         file.
60239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60240         New file.
60241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60242         file.
60243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60244         file.
60245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60246         New file.
60247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60248         file.
60249         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60250         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60251         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60252         file.
60253         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60254         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60255         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60256         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60257         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60258         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60259         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60260         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60261         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60262         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60265         file.
60266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60267         New file.
60268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60269         file.
60270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60271         file.
60272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60273         file.
60274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60275         file.
60276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60277         file.
60278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60279         New file.
60280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60281         New file.
60282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60283         file.
60284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60285         New file.
60286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60287         file.
60288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60290         file.
60291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60292         New file.
60293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60294         file.
60295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60296         file.
60297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60298         file.
60299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60300         file.
60301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60302         file.
60303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60304         New file.
60305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60306         New file.
60307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60308         file.
60309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60310         New file.
60311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60312         file.
60314 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60316         * conform/conformtest.pl: Fix typo in handling typed-constant from
60317         allow-header.
60319 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60321         * README: Cut down references to pre-2.6 Linux kernels and
60322         Linuxthreads.  Update lists of configurations in libc and ports
60323         and sort alphabetically.  Say "or newer" with Linux kernel version
60324         requirements.
60326         * config.h.in [IS_IN_build]: Allow compiling without optimization.
60328 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60330         [BZ #887]
60331         * math/libm-test.inc (logb_test_downward): New test to expose
60332         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60333         rounding mode.
60335 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
60337         [BZ #14027]
60338         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60339         to be done.
60340         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60341         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60343 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
60345         * sysdeps/unix/i386/brk.S: Remove file.
60346         * sysdeps/unix/i386/dl-brk.S: Likewise.
60347         * sysdeps/unix/i386/pipe.S: Likewise.
60348         * sysdeps/unix/i386/sigreturn.S: Likewise.
60349         * sysdeps/unix/i386/syscall.S: Likewise.
60350         * sysdeps/unix/i386/vfork.S: Likewise.
60351         * sysdeps/unix/i386/wait.S: Likewise.
60353         * sysdeps/unix/common/tcsendbrk.c: Move to ...
60354         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60356         * configure.in (arm*-none*): Do not allow without
60357         --enable-hacker-mode.
60358         (netbsd*): Remove case setting base_os.
60359         (386bsd*): Likewise.
60360         (freebsd*): Likewise.
60361         (bsdi*): Likewise.
60362         (osf*): Likewise.
60363         (sunos*): Likewise.
60364         (ultrix*): Likewise.
60365         (newsos*): Likewise.
60366         (dynix*): Likewise.
60367         (*bsd*): Likewise.
60368         (sysv*): Likewise.
60369         (isc*): Likewise.
60370         (esix*): Likewise.
60371         (sco*): Likewise.
60372         (minix*): Likewise.
60373         (irix4*): Likewise.
60374         (irix6*): Likewise.
60375         (solaris[2-9]*): Likewise.
60376         (none): Likewise.
60377         * configure: Regenerated.
60379 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60381         [BZ #11521]
60382         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60383         overflow or cancellation in calculating denominator.
60384         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60385         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60386         down expression to avoid unexpected rounding in newer GCCs.
60387         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60389 2012-04-26  David S. Miller  <davem@davemloft.net>
60391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60392         long-double compat symbols.
60393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60407 2012-04-25  David S. Miller  <davem@davemloft.net>
60409         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60410         HWCAP_* values only after the memory barriers have been defined.
60411         (atomic_full_barrier): Define.
60412         (atomic_read_barrier): Define.
60413         (atomic_write_barrier): Define.
60415 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60417         * shlib-versions: Add libgcc_s version information.
60418         * sysdeps/generic/libgcc_s.h: Remove.
60419         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60420         libgcc_s.h.
60421         * sysdeps/gnu/unwind-resume.c: Likewise.
60422         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60424 2012-04-25  David S. Miller  <davem@davemloft.net>
60426         * sysdeps/unix/sparc/brk.S: Delete.
60427         * sysdeps/unix/sparc/dl-brk.S: Delete.
60428         * sysdeps/unix/sparc/pipe.S: Delete.
60429         * sysdeps/unix/sparc/sysdep.S: Delete.
60430         * sysdeps/unix/sparc/sysdep.h: Delete.
60431         * sysdeps/unix/sparc/vfork.S: Delete.
60432         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60433         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60434         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60435         (ret_ERRVAL, r0, r1, MOVE): Define.
60436         (JUMPTARGET): Remove.
60437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60438         sysdeps/unix/sparc/sysdep.h
60439         (ENTRY, END): Remove.
60440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60442 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60444         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60445         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60446         -DIS_IN_build.
60448         * timezone/README: Update upstream location and email address for
60449         tzcode and tzdata.
60450         * timezone/zdump.c: Update from tzcode 2012b.
60451         * timezone/zic.c: Likewise.
60453         * configure.in (libc_cv_as_needed): Remove test.
60454         * configure: Regenerated.
60455         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60456         conditional definition.
60457         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60458         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60459         * config.make.in (have-as-needed): Remove variable.
60461 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60462             Paul Pluzhnikov  <ppluzhnikov@google.com>
60464         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60465         strings correctly.
60467 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60469         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60470         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60471         * sysdeps/sh/strlen.S: Likewise.
60473 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60475         * sysdeps/unix/fork.S: Remove file.
60476         * sysdeps/unix/i386/fork.S: Likewise.
60477         * sysdeps/unix/sparc/fork.S: Likewise.
60479         * sysdeps/unix/system.c: Remove file.
60480         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60482         * sysdeps/unix/getegid.S: Remove file.
60483         * sysdeps/unix/geteuid.S: Likewise.
60485 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60487         * scripts/check-localplt.awk: New file.
60488         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60489         of diff.
60490         * scripts/data/localplt-generic.data: Add a comment.
60492         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60493         NODE when __dir_mkfile failed.
60494         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60495         Reported by Ludovic Courtès <ludo@gnu.org>.
60497 2012-04-24  Andreas Jaeger  <aj@suse.de>
60499         * Makerules (common-clean): Also remove gen-as-const-headers
60500         files.
60502 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60504         * Makerules (native-compile): Do not change working directory for
60505         build.  Use $(OUTPUT_OPTION) in command.
60506         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60508 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60510         [BZ #13886]
60511         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60512         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60513         * math/libm-test.inc (floor_test): Add more tests.
60514         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60516 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60518         * sysdeps/unix/getdents.c: Remove file.
60519         * sysdeps/unix/sysv/getdents.c: Likewise.
60520         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60522         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60523         sysdeps/unix/mman/syscalls.list.
60524         (mmap): Likewise.
60525         (mprotect): Likewise.
60526         (msync): Likewise.
60527         (munmap): Likewise.
60528         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60529         * sysdeps/unix/mman/syscalls.list: Remove.
60530         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60532         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60533         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60534         * configure: Regenerated.
60535         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60536         $(libgcc_s_suffix).
60537         * config.make.in (libgcc_s_suffix): Remove variable.
60539 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60541         * sysdeps/unix/sysv/gethostname.c: Move to ...
60542         * sysdeps/posix/gethostname.c: ... here.
60544         * sysdeps/unix/execve.S: Remove file.
60546         * sysdeps/unix/_exit.S: Remove file.
60548 2012-04-23  Andreas Jaeger  <aj@suse.de>
60550         [BZ #13739]
60551         * manual/Makefile: Remove make dist support, there's no
60552         need for a stand-alone documentation tar ball.
60553         (TEXI2DVI): Define always, it's not in Makeconfig.
60554         (dist): Removed.
60555         (tar-it): Removed.
60556         (edition): Removed.
60557         (glibc-doc-$(edition).tar): Removed
60558         (%.Z): Removed.
60559         (%.gz): Removed.
60560         (%.uu): Removed.
60561         (ETAGS): Remove, it's in Makeconfig.
60562         (move-if-change): Remove, it's in Makeconfig.
60564 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60566         [BZ #13970]
60567         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60568         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60569         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60570         (strtod_l, strtof_l, strtold_l): Remove __wur.
60571         It is not necessarily an error to ignore strtol's return value.
60572         One can reliably look at the stored endptr to decide whether
60573         the number had valid syntax.
60575 2012-04-21  Andreas Jaeger  <aj@suse.de>
60577         [BZ #13739]
60578         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60580 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60582         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60583         * sysdeps/unix/sysv/Versions: Remove file.
60585 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60587         [BZ #13927]
60588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60590 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60592         [BZ #7064]
60593         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60594         version from __vm86.
60596 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60598         * sysdeps/unix/common/lxstat.c: Remove file.
60599         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60601         * sysdeps/unix/sysv/Makefile: Remove file.
60603         * sysdeps/unix/sysv/direct.h: Remove file.
60605         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60606         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60607         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60608         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60609         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60610         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60611         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60613         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60615         * sysdeps/unix/xmknod.c: Remove file.
60616         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60618         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60620         * sysdeps/unix/sysv/i386/time.S: Remove file.
60622         * sysdeps/unix/fxstat.c: Remove file.
60623         * sysdeps/unix/xstat.c: Likewise.
60624         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60626         * sysdeps/unix/sysv/sigaction.c: Remove file.
60628         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60629         (sysdep_headers): Remove variable.
60630         [termio.h not in sysdep_headers] (generated): Likewise.
60631         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60632         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60633         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60634         * sysdeps/unix/sysv/tcflow.c: Likewise.
60635         * sysdeps/unix/sysv/tcflush.c: Likewise.
60636         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60637         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60638         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60639         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60640         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60642         * sysdeps/unix/siglist.c: Remove file.
60644         * sysdeps/unix/getppid.S: Remove file.
60646         * sysdeps/unix/mkdir.c: Remove file.
60647         * sysdeps/unix/rmdir.c: Likewise.
60649 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60651         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60652         ERR_MAX value.
60653         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60654         errlist-compat value.
60656 2012-04-18  David S. Miller  <davem@davemloft.net>
60658         * sysdeps/generic/memcopy.h (reg_char): Delete.
60659         * debug/strcat_chk.c: Use char, not reg_char.
60660         * debug/strcpy_chk.c: Likewise.
60661         * debug/strncat_chk.c: Likewise.
60662         * debug/strncpy_chk.c: Likewise.
60663         * string/memchr.c: Likewise.
60664         * string/memrchr.c: Likewise.
60665         * string/rawmemchr.c: Likewise.
60666         * string/strcat.c: Likewise.
60667         * string/strchr.c: Likewise.
60668         * string/strchrnul.c: Likewise.
60669         * string/strcmp.c: Likewise.
60670         * string/strcpy.c: Likewise.
60671         * string/strncat.c: Likewise.
60672         * string/strncmp.c: Likewise.
60673         * string/strncpy.c: Likewise.
60675 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60677         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60678         __builtin_memcopy is called when src and dest ranges are known to not
60679         overlap.
60681 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60683         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60684         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60685         fwd_align_merge macro call.
60686         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60687         bwd_align_merge macro call.
60688         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60690 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60692         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60693         bwd_align_merge macros.
60694         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60695         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60696         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60698 2012-04-18  David S. Miller  <davem@davemloft.net>
60700         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60702 2012-04-18  Andreas Jaeger  <aj@suse.de>
60704         [BZ# 6794]
60705         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60706         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60707         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60709         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60710         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60711         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60713         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60714         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60715         Adjust for changed ldbl-128 files.
60717         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60718         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60719         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60721 2012-04-17  David S. Miller  <davem@davemloft.net>
60723         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60725 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60727         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60728         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60729         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60730         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60731         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60732         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60734 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60736         [BZ #6794]
60737         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60738         * math/libm-test.inc: Add ilogb errno and exception tests.
60739         * math/w_ilogb.c: New file: ilogb wrapper.
60740         * math/w_ilogbf.c: New file: ilogbf wrapper.
60741         * math/w_ilogbl.c: New file: ilogbl wrapper.
60742         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60743         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60744         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60745         exception being thrown with 0.0 as argument.
60746         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60747         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60748         exception being thrown with 0.0 as argument.
60749         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60750         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60751         exception being thrown with 0.0 as argument.
60752         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60753         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60754         exception being thrown with 0.0 as argument.
60755         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60756         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60757         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60758         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60759         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60760         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60761         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60762         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60763         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60765 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60767         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60768         with altivec.
60770 2012-04-16  Marek Polacek  <polacek@redhat.com>
60772         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60774 2012-04-16  Marek Polacek  <polacek@redhat.com>
60776         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60777         operands of fdivp instruction.
60779 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60781         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60782         * elf/tst-auditmod3b.c: Likewise.
60783         * elf/tst-auditmod4b.c: Likewise.
60784         * elf/tst-auditmod5b.c: Likewise.
60785         * elf/tst-auditmod6b.c: Likewise.
60786         * elf/tst-auditmod6c.c: Likewise.
60787         * elf/tst-auditmod7b.c: Likewise.
60788         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60789         * sysdeps/x86_64/preconfigure.in: Likewise.
60790         * sysdeps/x86_64/preconfigure: Regenerated.
60792 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60794         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60795         __ILP32__.
60797 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60799         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60800         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60802 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60804         [BZ #13973]
60805         * locale/iso-639.def: Fix gl language name. Spotted by
60806         Yaron Shahrabani.
60808 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60810         [BZ #2074]
60811         * libio/libio.h (__io_write_fn): Update comment.
60813 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60815         [BZ #2074]
60816         * stdio.texi (Hook Functions): The user provided writer function
60817         is not allowed to return -1.
60819 2012-04-11  David S. Miller  <davem@davemloft.net>
60821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60823 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60825         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60826         Add a leading slash to rtkaio.
60828 2012-04-11  Jim Meyering  <meyering@redhat.com>
60830         [BZ #11959]
60831         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60832         It is not necessarily an error to ignore fwrite's return
60833         value.  One can reliably use ferror to test for errors after
60834         the fact.
60836 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60838         * bits/types.h (__snseconds_t): New type.
60839         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60841         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60842         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60843         (__SNSECONDS_T_TYPE): Likewise.
60844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60845         (__SNSECONDS_T_TYPE): Likewise.
60846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60847         (__SNSECONDS_T_TYPE): Likewise.
60849 2012-04-10  Andreas Jaeger  <aj@suse.de>
60851         [BZ #2636]
60852         * manual/time.texi (Processor Time): Return type of times is
60853         elapsed real time since an arbitrary point in the past.
60854         (CPU Time): Move CLK_TCK from here...
60855         (Processor Time): ...to here.  Correct description.
60856         * manual/conf.texi (Constants for Sysconf): Correct description of
60857         _SC_CLK_TCK.
60859 2012-04-10  David S. Miller  <davem@davemloft.net>
60861         [BZ #13967]
60862         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60863         where the is a gap between DT_REL(A) and DT_JMPREL.
60865 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60867         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60868         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60869         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60871 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60873         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60874         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60875         (dl_main): Handle --inhibit-cache.
60876         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60877         _dl_inhibit_cache.
60878         * elf/dl-load.c (_dl_map_object): Use it.
60879         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60881 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60883         [BZ #13872]
60884         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60885         (__ieee754_powl): Saturate large exponents rather than testing for
60886         overflow of y*log2(x).
60887         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60888         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60889         exceptions.
60891         [BZ #11521]
60892         * math/s_ctan.c: Include <float.h>.
60893         (__ctan): Avoid internal overflow or cancellation in calculating
60894         denominator.
60895         * math/s_ctanf.c: Likewise.
60896         * math/s_ctanl.c: Likewise.
60897         * math/s_ctanh.c: Likewise.
60898         * math/s_ctanhf.c: Likewise.
60899         * math/s_ctanhl.c: Likewise.
60900         * math/libm-test.inc (ctan_test): Add more tests.
60901         (ctanh_test): Likewise.
60902         * sysdeps/i386/fpu/libm-test-ulps: Update.
60903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60905 2012-04-09  Andreas Jaeger  <aj@suse.de>
60907         [BZ #6894]
60908         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60909         is an optional BSD extension.
60911         [BZ #10254]
60912         * manual/stdio.texi (Opening Streams): Document additional fopen
60913         parameters.
60915 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60917         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60918         %eax without telling the compiler.
60920 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60922         [BZ # 13963]
60923         * manual/install.texi: Use sourceware.org.
60925 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60927         [BZ #13873]
60928         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60929         (__ieee754_pow): Generate overflow and underflow using huge*huge
60930         and tiny*tiny rather than just returning constant infinity or zero
60931         for large exponents.
60932         * math/libm-test.inc (pow_test): Require overflow exceptions for
60933         applicable cases of large exponents.
60935         [BZ #706]
60936         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60937         (__ieee754_pow): Use iterative multiplication algorithm only for
60938         integer exponents with absolute value below 1024.  Check for odd
60939         integer exponents when using algorithm for real exponents.
60940         * math/libm-test.inc (pow_test): Add more tests.
60941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60943 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60945         [BZ #13705]
60946         * math/libm-test.inc (exp_test): Do not allow overflow exception
60947         on underflow test.
60949 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60951         [BZ #13705]
60952         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60953         instead of __kernel_standard_f.
60955 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60957         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60958         * sysdeps/x86_64/memset_chk.S: Likewise.
60960 2012-04-08  Andreas Jaeger  <aj@suse.de>
60962         [BZ #10153]
60963         * manual/startup.texi (Environment Access): Describe return value
60964         for putenv and setenv.
60966         [BZ #6895]
60967         * manual/filesys.texi (Directory Entries): Add description for
60968         DT_LNK.
60970         [BZ #6890]
60971         * manual/filesys.texi (Directory Entries): Clarify that it's file
60972         system not operating system in the description of DT_UNKNOWN.
60974         [BZ #6578]
60975         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60977 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60979         [BZ #6649]
60980         * manual/llio.texi (Opening and Closing Files): Add cross
60981         reference to explain mode argument.
60983 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60985         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60986         * sysdeps/x86_64/memset_chk.S: Likewise.
60988 2012-04-07  David S. Miller  <davem@davemloft.net>
60990         * elf/elf.h (R_SPARC_WDISP10): Define.
60991         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60992         R_SPARC_SIZE32.
60993         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60994         R_SPARC_SIZE64 and R_SPARC_H34.
60996 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60998         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60999         conditions and remove no longer applicable assertion.
61001 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61003         * bits/byteswap.h: Include <features.h>.
61004         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61005         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61007 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61009         * bits/byteswap.h (__bswap_16): Removed.
61010         Include <bits/byteswap-16.h> to get __bswap_16.
61011         * sysdeps/i386/bits/byteswap.h: Likewise.
61012         * sysdeps/s390/bits/byteswap.h: Likewise.
61013         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61014         * bits/byteswap-16.h: New file.
61015         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61016         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61017         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61018         * string/Makefile (headers): Add bits/byteswap-16.h.
61020 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61022         [BZ #13895]
61023         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61024         extra indirection.
61025         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61026         * nss/tst-nss-static.c: New.
61028 2012-04-06  Robert Millan  <rmh@gnu.org>
61030         [BZ #6486]
61031         * manual/llio.texi (File Position Primitive): lseek
61032         refers to WHENCE when it really means OFFSET.
61034 2012-04-06  Andreas Jaeger  <aj@suse.de>
61036         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61037         strncmp declarations.
61039         * abilist/libc.abilist: Add __poll and __ppoll.
61041 2012-04-05  David S. Miller  <davem@davemloft.net>
61043         * scripts/check-local-headers.sh: Accept a host triplet in the
61044         path matched by the exclude regexp.
61046         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61047         definition.
61048         * sysdeps/powerpc/powerpc32/dl-machine.h
61049         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61050         * sysdeps/s390/s390-32/dl-machine.h
61051         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61052         * sysdeps/sparc/sparc32/dl-machine.h
61053         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61054         * sysdeps/sparc/sparc64/dl-machine.h
61055         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61057         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61058         lazy binding.
61059         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61060         undefined symbol errors.
61062         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61063         DT_NEEDED entries.
61065 2012-04-05  Michael Matz  <matz@suse.de>
61067         [BZ #13592]
61068         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61070 2012-04-05  Andreas Jaeger  <aj@suse.de>
61072         [BZ #13908]
61073         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61074         comment.
61076 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61078         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61079         which ROUND is no valid rounding mode.
61081 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61083         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61084         read again.
61085         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61087 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61089         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61090         an exception using FPU order intentionally.
61092 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61094         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61095         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61096         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61097         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61099 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61101         [BZ #12340]
61102         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61103         EINVAL when BUFLEN is too smal.
61105 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61107         [BZ #13553]
61108         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61109         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61111 2012-04-03  Andreas Jaeger  <aj@suse.de>
61113         [BZ #13938]
61114         * manual/setjmp.texi (System V contexts): Fix sentence.
61116         [BZ #13926]
61117         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61118         New macro for this case.
61119         [!__GNUC__] (__bswap_64): New inline function for this case.
61120         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61121         * bits/byteswap.h: Likewise.
61122         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61123         ull, guard with __GLIBC_HAVE_LONG_LONG.
61125         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61126         __GLIBC_HAVE_LONG_LONG.
61128         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61129         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61131 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61133         [BZ #13691]
61134         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61135         inptr and inend, rather than using last_ch.
61137 2012-04-02  David S. Miller  <davem@davemloft.net>
61139         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61140         * stdio-common/printf-parse.h (read_int): Change return type to
61141         'int', return -1 on INT_MAX overflow.
61142         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61143         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61144         overflows INT_MAX.  Check for overflow of in-format-string precision
61145         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61146         SIZE_MAX not INT_MAX for integer overflow test.
61147         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61148         skip the construct in the format string but do not record anything.
61149         * stdio-common/bug22.c: Adjust to test both width/prevision
61150         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61151         explicitly for proper errno values.
61153 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61155         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61156         CHAR_MAX.
61157         * string/test-strcmp.c [! WIDE]: Likewise.
61158         * time/tst-mktime2.c: Likewise for INT_MAX.
61159         * string/test-string.h: #include <sys/param.h> for MIN.
61161         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61162         * sysdeps/i386/init-first.c (init): Likewise.
61163         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61164         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61165         * sysdeps/sh/init-first.c (init): Likewise.
61167 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61169         * po/ru.po: Update from translation team.
61170         * po/vi.po: Likewise.
61172 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61174         * resolv/nss_dns/dns-host.c: Merge copyright years.
61176 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61178         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61179         Optimize memcpy with prefetch if
61180         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61181         src, dst pointers have unequal 16 byte alignments.
61183 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61185         [BZ #13928]
61186         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61187         from a CNAME entry and return the minimum ttl for the query.
61188         (gaih_getanswer_slice): Likewise.
61190 2012-03-30  Jeff Law  <law@redhat.com>
61192         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61193         due to long keys.
61194         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61195         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61197         * resolv/nss_dns/dns-host.c: Update copyright year.
61199 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61201         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61202         requests to save a system call.  Fix check that all bytes are sent.
61204         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61205         comments for sendmmsg.
61207 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61209         [BZ #13691]
61210         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61211         with only 1 character between 0x0041 and 0x01b0.
61212         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61213         * wcsmbs/tst-mbsnrtowcs.c: New file.
61215 2012-03-29  David S. Miller  <davem@davemloft.net>
61217         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61218         small copies by hand.
61220 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61222         [BZ #13761]
61223         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61224         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61225         group memberships.
61227 2012-03-28  David S. Miller  <davem@davemloft.net>
61229         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61230         that branches into memcpy.
61231         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61232         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61233         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61234         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61236         bits.
61237         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61238         implementation too.
61239         * sysdeps/sparc/mempcpy.S: New file.
61241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61242         the IFUNC routine in the libc case.
61243         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61245         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61246         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61247         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61248         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61249         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61250         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61251         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61252         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61254         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61255         loop to 256 bytes instead of 64 bytes and fix test signedness.
61257         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61258         * sysdeps/sparc/sparc32/Makefile: rather than here...
61259         * sysdeps/sparc/sparc64/Makefile: and here.
61261 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
61263         * malloc/mallocbug.c: Avoid warnings about unused variables.
61265 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61267         [BZ #13760]
61268         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61269         in the right place. Discard and retry query if response is
61270         larger than input buffer size.
61272 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
61274         [BZ #369]
61275         [BZ #2678]
61276         [BZ #3866]
61277         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61278         x for large integer exponent.
61279         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61280         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
61281         sign of result as needed afterwards.
61282         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61283         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61284         result for underflowing pow the same as for overflow.
61285         (__kernel_standard_l): Handle powl overflow and underflow here
61286         rather than calling __kernel_standard.
61287         * math/libm-test.inc (pow_test): Add more tests.
61289         [BZ #3868]
61290         [BZ #13879]
61291         [BZ #13910]
61292         [BZ #13911]
61293         [BZ #13912]
61294         [BZ #13913]
61295         [BZ #13915]
61296         [BZ #13916]
61297         [BZ #13917]
61298         [BZ #13918]
61299         [BZ #13919]
61300         [BZ #13920]
61301         [BZ #13921]
61302         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61303         * sysdeps/ieee754/k_standard.c: Include <float.h>.
61304         (__kernel_standard_l): New function.
61305         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61306         __kernel_standard.
61307         * math/w_acosl.c (__acosl): Likewise.
61308         * math/w_asinl.c (__asinl): Likewise.
61309         * math/w_atan2l.c (__atan2l): Likewise.
61310         * math/w_atanhl.c (__atanhl): Likewise.
61311         * math/w_coshl.c (__coshl): Likewise.
61312         * math/w_exp10l.c (__exp10l): Likewise.
61313         * math/w_exp2l.c (__exp2l): Likewise.
61314         * math/w_fmodl.c (__fmodl): Likewise.
61315         * math/w_hypotl.c (__hypotl): Likewise.
61316         * math/w_j0l.c (__j0l, __y0l): Likewise.
61317         * math/w_j1l.c (__j1l, __y1l): Likewise.
61318         * math/w_jnl.c (__jnl, __ynl): Likewise.
61319         * math/w_lgammal.c (__lgammal): Likewise.
61320         * math/w_log10l.c (__log10l): Likewise.
61321         * math/w_log2l.c (__log2l): Likewise.
61322         * math/w_logl.c (__logl): Likewise.
61323         * math/w_powl.c (__powl): Likewise.
61324         * math/w_remainderl.c (__remainderl): Likewise.
61325         * math/w_scalbl.c (sysv_scalbl): Likewise.
61326         * math/w_sinhl.c (__sinhl): Likewise.
61327         * math/w_sqrtl.c (__sqrtl): Likewise.
61328         * math/w_tgammal.c (__tgammal): Likewise.
61329         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61330         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61331         * math/libm-test.inc (acos_test): Add more tests.
61332         (acosh_test): Likewise.
61333         (asin_test): Likewise.
61334         (atanh_test): Likewise.
61335         (exp_test): Likewise.
61336         (exp10_test): Likewise.
61337         (exp2_test): Likewise.
61338         (expm1_test): Likewise.
61339         (lgamma_test): Likewise.
61340         (log_test): Likewise.
61341         (log10_test): Likewise.
61342         (log1p_test): Likewise.
61343         (log2_test): Likewise.
61344         (pow_test): Do not allow some spurious overflow exceptions.
61345         (sqrt_test): Add more tests.
61346         (tgamma_test): Likewise.
61347         (y0_test): Likewise.
61348         (y1_test): Likewise.
61349         (yn_test): Likewise.
61351 2012-03-27  Anton Blanchard  <anton@samba.org>
61353         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61354         MAP_HUGETLB.
61355         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61356         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61357         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61359 2012-03-27  David S. Miller  <davem@davemloft.net>
61361         * conform/Makefile: Run run-conformtest.sh using $(BASH).
61363         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61364         have-as-vis3 check.
61366 2012-03-27  Andreas Jaeger  <aj@suse.de>
61368         * sysdeps/x86_64/elf/configure.in: Moved to ...
61369         * sysdeps/x86_64/configure.in: ... here.
61370         * sysdeps/x86_64/elf/start.S: Moved to ...
61371         * sysdeps/x86_64/start.S: ... here.
61372         * sysdeps/x86_64/elf/configure: Delete.
61374         * sysdeps/x86_64/configure.in: Merge contents from
61375         sysdeps/i386/configure.in (without i686 check).
61377         * sysdeps/i386/elf/Versions: Merge into ...
61378         * sysdeps/i386/Versions: ... this.
61379         * sysdeps/i386/elf/Versions: Delete file.
61380         * sysdeps/i386/elf/start.S: Moved to ...
61381         * sysdeps/i386/start.S: ...here.
61382         * sysdeps/i386/elf/configure.in: Merge into...
61383         * sysdeps/i386/configure.in: ...here.
61384         * sysdeps/i386/elf/configure.in: Delete file.
61385         * sysdeps/i386/elf/configure: Delete file.
61387         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61388         * debug/backtracesyms.c: ... here.
61389         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61390         * debug/backtracesymsfd.c: ... here.
61391         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61392         * sysdeps/generic/ifunc-sel.h: ... here.
61394         * sysdeps/unix/i386/start.c: Delete file.
61395         * sysdeps/unix/sparc/start.c: Delete file.
61396         * sysdeps/unix/start.c: Delete file.
61398         * sysdeps/sh/elf/configure.in: Moved to ...
61399         * sysdeps/sh/configure.in: ... here.
61400         * sysdeps/sh/elf/start.S: Moved to ...
61401         * sysdeps/sh/start.S: ... here.
61402         * sysdeps/sh/elf/configure: Delete file.
61404         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61405         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61406         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61407         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61408         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61409         * sysdeps/powerpc/powerpc64/start.S: here.
61410         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61411         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61412         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61413         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61414         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61416         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61417         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61418         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61419         * sysdeps/powerpc/powerpc32/start.S: ... here.
61420         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61421         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61422         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61424         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61425         * sysdeps/powerpc/ifunc-sel.h: ... here.
61426         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61427         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61429         * sysdeps/sparc/elf/configure.in: Moved to ...
61430         * sysdeps/sparc/configure.in: ... here.
61431         * sysdeps/sparc/elf/configure: Delete file.
61432         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61433         * sysdeps/sparc/sparc32/start.S: ... here.
61434         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61435         * sysdeps/sparc/sparc64/start.S: ... here.
61436         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61437         * sysdeps/sparc/sparc32/Makefile: ... this.
61438         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61439         * sysdeps/sparc/sparc64/Makefile: ... this.
61441         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61442         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61443         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61444         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61445         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61446         * sysdeps/s390/s390-32/setjmp.S: ... here.
61447         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61448         * sysdeps/s390/s390-32/configure.in: ... here.
61449         * sysdeps/s390/s390-32/elf/configure: Delete file.
61450         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61451         * sysdeps/s390/s390-32/start.S: ... here.
61453         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61454         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61455         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61456         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61457         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61458         * sysdeps/s390/s390-64/setjmp.S: ... here.
61459         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61460         * sysdeps/s390/s390-64/configure.in: ... here
61461         * sysdeps/s390/s390-64/elf/configure: Delete file.
61462         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61463         * sysdeps/s390/s390-64/start.S: ... here.
61464         * sysdeps/s390/s390-64/elf/configure: Delete.
61466         * configure.in: Remove support for elf directories in sysdeps.
61468         * configure: Regenerated.
61469         * sysdeps/i386/configure: Regenerated.
61470         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61471         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61472         * sysdeps/s390/s390-32/configure: Regenerated.
61473         * sysdeps/s390/s390-64/configure: Regenerated.
61474         * sysdeps/sh/configure: Regenerated.
61475         * sysdeps/sparc/configure: Regenerated.
61476         * sysdeps/x86_64/configure: Regenerated.
61478 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61483         denormal result into account.
61485 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61487         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61488         Reported by Allan McRae <allan@archlinux.org>.
61490 2012-03-23  Jeff Law  <law@redhat.com>
61492         * nss/getnssent.c (__nss_getent): Fix typo.
61494 2012-03-23  David S. Miller  <davem@davemloft.net>
61496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61498 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61500         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61501         to pad to uint64_t for each field.
61502         (dl_tls_index): Replace unsigned long with uint64_t.
61504 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61505         Paul Pluzhnikov  <ppluzhnikov@google.com>
61507         [BZ #6528]
61508         * grp/Makefile (otherlibs): Don't set it.
61509         * inet/Makefile (otherlibs): Likewise.
61510         * login/Makefile (otherlibs): Likewise.
61511         * nscd/Makefile (otherlibs): Likewise.
61512         * posix/Makefile (otherlibs): Likewise.
61513         * pwd/Makefile (otherlibs): Likewise.
61514         * rt/Makefile (otherlibs): Likewise.
61515         * sunrpc/Makefile (otherlibs): Likewise.
61516         * nss/Makefile (otherlibs): Likewise.
61517         Add libnss_files to routines and static-only-routines.
61518         ($(objpfx)getent): Remove rule.
61519         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61520         static-only-routines.
61522 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61524         [BZ #13892]
61525         * math/s_cexp.c: Include <float.h>.
61526         (__cexp): Handle exp result overflowing not necessarily
61527         overflowing both real and imaginary parts of result.
61528         * math/s_cexpf.c: Likewise.
61529         * math/s_cexpl.c: Likewise.
61530         * math/libm-test.inc (cexp_test): Add more tests.
61531         * sysdeps/i386/fpu/libm-test-ulps: Update.
61532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61534 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61536         * include/link.h (ELFW): New macro.
61537         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61538         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61540 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61542         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61543         with uint64_t.
61545 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61547         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61548         declaration.
61549         (struct La_x32_retval): Likewise.
61551 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61553         * sysdeps/x86_64/preconfigure.in: New file.
61554         * sysdeps/x86_64/preconfigure: New generated file.
61556 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61558         [BZ #13824]
61559         * math/e_exp2l.c: Include <float.h>.
61560         (__ieee754_exp2l): Handle overflow and underflow cases
61561         separately.  Only pass fractional part of argument to
61562         __ieee754_expl.
61563         * math/libm-test.inc (exp2_test): Add more tests.
61565         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61566         negating x to take absolute value.
61567         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61568         Likewise.
61569         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61570         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61571         Likewise.
61572         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61573         computing low part if x was negated.
61574         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61576 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61578         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61579         la_x32_gnu_pltexit.
61580         (pltexit): Cast int_retval to ptrdiff_t.
61581         * elf/tst-auditmod3b.c: Likewise.
61582         * elf/tst-auditmod4b.c: Likewise.
61583         * elf/tst-auditmod5b.c: Likewise.
61584         * elf/tst-auditmod6b.c: Likewise.
61585         * elf/tst-auditmod6c.c: Likewise.
61586         * elf/tst-auditmod7b.c: Likewise.
61588         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61589         and x32_gnu_pltexit.
61591         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61592         __ELF_NATIVE_CLASS.
61593         (La_x32_regs): New macro.
61594         (La_x32_retval): Likewise.
61595         (la_x32_gnu_pltenter): New function prototype.
61596         (la_x32_gnu_pltexit): Likewise.
61598 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61600         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61601         exponent.
61603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61605         * configure.in (libc_cv_cc_nofma): Check for option to disable
61606         generation of FMA instructions.
61607         * configure: Regenerate.
61608         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61609         * sysdeps/ieee754/dbl-64/Makefile: New file.
61610         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61611         Remove brandred-fma4.
61612         (CFLAGS-brandred-fma4.c): Remove.
61613         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61614         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61615         define.
61616         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61617         define.
61619 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61621         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61622         LLONG_MAX != LONG_MAX.
61623         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61624         (_fitoa_word): Likewise.
61625         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61626         LLONG_MAX != LONG_MAX.
61627         * stdio-common/_itowa.h: Include <_itoa.h>.
61628         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61629         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61630         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61631         only if not defined.
61632         (_ITOA_WORD_TYPE): Likewise.
61633         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61634         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61636 2012-03-21  David S. Miller  <davem@davemloft.net>
61638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61640 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61642         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61643         of x86_64 when setting libc_cv_slibdir, libdir and
61644         libc_cv_localedir.
61645         * sysdeps/unix/sysv/linux/configure: Regenerated.
61647 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61649         * manual/lang.texi (Old Varargs): Remove section.
61650         (How Variadic): Update menu.
61651         (va_start): Do not mention varargs.h.
61653 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61654             Joseph Myers  <joseph@codesourcery.com>
61656         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61657         link test.
61658         * configure: Regenerated.
61660 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61662         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61663         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61664         conformtest.pl
61666 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61668         * NOTES: Remove.
61669         * Makefile (files-for-dist): Remove NOTES.
61670         (NOTES): Remove rule.
61671         * README: Don't refer to NOTES.
61672         * manual/creature.texi: Don't include macros.texi.
61673         * manual/intro.texi (creature.texi): Remove comment referring to
61674         NOTES.
61676         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61677         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61678         * configure: Regenerated.
61679         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61680         LIBC_TRY_CC_OPTION.
61681         (libc_cv_as_i686): Likewise.
61682         (libc_cv_cc_avx): Likewise.
61683         (libc_cv_cc_sse2avx): Likewise.
61684         (libc_cv_cc_fma4): Likewise.
61685         (libc_cv_cc_novzeroupper): Likewise.
61686         * sysdeps/i386/configure: Regenerated.
61688         [BZ #13883]
61689         * sysdeps/i386/fpu/s_cexp.S: Remove.
61690         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61691         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61692         * math/libm-test.inc (cexp_test): Add more tests.
61693         * sysdeps/i386/fpu/libm-test-ulps: Update.
61694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61696 2012-03-21  Allan McRae  <allan@archlinux.org>
61698         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61700 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61702         [BZ #13871]
61703         * math/w_exp2.c: Do not include <float.h>.
61704         (o_threshold, u_threshold): Remove.
61705         (__exp2): Calculate result before checking finiteness and calling
61706         __kernel_standard.
61707         * math/w_exp2f.c: Likewise.
61708         * math/w_exp2l.c: Likewise.
61709         * math/libm-test.inc (exp2_test): Require overflow exception for
61710         1e6 input.
61712         [BZ #3866]
61713         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61714         range of signed 64-bit integers before using fistpll.  Remove
61715         checks for whether integers fit in mantissa bits.
61716         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61717         the range of signed 32-bit integers before using fistpl.  Remove
61718         checks for whether integers fit in mantissa bits.
61719         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61720         (__ieee754_powl): Test for y outside the range of signed 64-bit
61721         integers before using fistpll.  Reduce 64-bit values to 63-bit
61722         ones as needed.
61723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61724         divide-by-zero is raised for zero to large negative powers.
61725         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61726         (__ieee754_powl): Test for y outside the range of signed 64-bit
61727         integers before using fistpll.  Reduce 64-bit values to 63-bit
61728         ones as needed.
61729         * math/libm-test.inc (pow_test): Add more tests.
61731 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61733         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61734         <stdio-common/_itoa.h>.
61735         * debug/segfault.c: Likewise.
61736         * elf/dl-cache.c: Likewise.
61737         * elf/dl-minimal.c: Likewise.
61738         * elf/dl-misc.c: Likewise.
61739         * elf/dl-sysdep.c: Likewise.
61740         * elf/dl-version.c: Likewise.
61741         * elf/rtld.c: Likewise.
61742         * hurd/hurdsock.c: Likewise.
61743         * hurd/lookup-retry.c: Likewise.
61744         * malloc/malloc.c: Likewise.
61745         * malloc/mtrace.c: Likewise.
61746         * nscd/nscd_getgr_r.c: Likewise.
61747         * nscd/nscd_getpw_r.c: Likewise.
61748         * nscd/nscd_getserv_r.c: Likewise.
61749         * posix/getopt_init.c: Likewise.
61750         * posix/wordexp.c: Likewise.
61751         * stdio-common/_itoa.c: Likewise.
61752         * stdio-common/printf_fphex.c: Likewise.
61753         * stdio-common/vfprintf.c: Likewise.
61754         * string/_strerror.c: Likewise.
61755         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61756         * sysdeps/i386/i686/hp-timing.h: Likewise.
61757         * sysdeps/mach/_strerror.c: Likewise.
61758         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61759         * sysdeps/mach/hurd/sethostid.c: Likewise.
61760         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61761         * sysdeps/mach/xpg-strerror.c: Likewise.
61762         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61763         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61764         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61765         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61766         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61767         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61768         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61769         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61770         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61771         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61772         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61773         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61774         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61775         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61776         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61777         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61778         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61779         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61780         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61781         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61782         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61784         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61786         * stdio-common/_itoa.h: Moved to ...
61787         * sysdeps/generic/_itoa.h: Here.
61789         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61791         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61792         instead of "_itoa.h" and "_itowa.h".
61793         * stdio-common/vfprintf.: Likewise.
61795 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61797         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61798         <bits/wordsize.h>.
61799         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61800         (__signbit): Likwise.
61801         (llrintf): Likwise.
61802         (llrint): Likwise.
61804 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61806         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61807         __WORDSIZE != 64.
61809 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61811         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61812         OVERFLOW_EXCEPTION_OK.
61813         * math/libm-test.inc ("Philosophy"): Update comment about
61814         exception testing.
61815         (OVERFLOW_EXCEPTION): Define.
61816         (OVERFLOW_EXCEPTION_OK): Likewise.
61817         (INVALID_EXCEPTION_OK): Renumber.
61818         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61819         (IGNORE_ZERO_INF_SIGN): Likewise.
61820         (test_exceptions): Handle FE_OVERFLOW.
61821         (exp10_test): Expect overflow exceptions.
61822         (exp2_test): Likewise.
61823         (expm1_test): Likewise.
61824         (nextafter_test): Likewise.
61825         (pow_test): Likewise.
61826         (scalbn_test): Likewise.
61827         (scalbln_test): Likewise.
61829 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61831         * sysdeps/x86_64/bits/atomic.h
61832         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61833         64bit integer.
61834         (atomic_exchange_acq): Likewise.
61835         (__arch_exchange_and_add_body): Likewise.
61836         (__arch_add_body): Likewise.
61837         (atomic_add_negative): Likewise.
61838         (atomic_add_zero): Likewise.
61840 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61842         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61843         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61845 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61847         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61848         Check __x86_64__ instead of __WORDSIZE.
61850 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61852         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61854 2012-03-19  David S. Miller  <davem@davemloft.net>
61856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61858         * sysdeps/sparc/fpu/fenv_private.h: New file.
61859         * sysdeps/sparc/fpu/math_private.h: Use it.
61860         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61861         Remove.
61862         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61863         (libc_feholdexcept_setroundl): Remove.
61864         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61865         Remove.
61866         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61867         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61869 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61871         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61872         int64_t instead of long int.
61873         (INSERT_WORDS64): Likwise.
61875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61877         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61878         _Unwind_GetCFA return to _Unwind_Ptr first.
61880 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61882         [BZ #13629]
61883         * math/s_clog.c: Include <float.h>.
61884         (__clog): Scale large or subnormal inputs.
61885         * math/s_clogf.c: Likewise.
61886         * math/s_clogl.c: Likewise.
61887         * math/s_clog10.c: Include <float.h>.
61888         (M_LOG10_2): Define.
61889         (__clog10): Scale large or subnormal inputs.
61890         * math/s_clog10f.c: Likewise.
61891         * math/s_clog10l.c: Likewise.
61892         * math/libm-test.inc (clog_test): Add more tests.
61893         (clog10_test): Likewise.
61894         * sysdeps/i386/fpu/libm-test-ulps: Update.
61895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61897         [BZ #11451]
61898         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61899         x and y.
61900         * math/libm-test.inc (atan2_test): Add another test.
61902         * Makerules (common-objdir-compile): Remove.
61903         * sysdeps/unix/Makefile (config-generated): Do not add
61904         $(unix-generated) to variable.
61905         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61906         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61907         Remove rule.
61908         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61909         Likewise.
61910         [generic bits/local_lim.h] (before-compile): Do not append to
61911         variable.
61912         [generic bits/local_lim.h] (common-generated): Likewise.
61913         [generic sys/param.h] (before-compile): Do not append to variable.
61914         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61915         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61916         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61917         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61918         include.
61919         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61920         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61921         [generic sys/param.h] ($(addprefix
61922         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61923         [generic sys/param.h] (common-generated): Do not append to
61924         variable.
61925         [generic sys/param.h] (sysdep_headers): Likewise.
61926         [generic bits/errno.h] (before-compile): Do not append to
61927         variable.
61928         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61929         rule.
61930         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61931         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61932         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61933         [generic bits/errno.h] (common-generated): Do not append to
61934         variable.
61935         [generic bits/ioctls.h] (before-compile): Do not append to
61936         variable.
61937         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61938         rule.
61939         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61940         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61941         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61942         rule.
61943         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61944         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61945         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61946         [generic bits/ioctls.h] (common-generated): Do not append to
61947         variable.
61948         [generic sys/syscall.h] (syscall.h): Remove variable.
61949         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61950         rule.
61951         [generic sys/syscall.h] (before-compile): Do not append to
61952         variable.
61953         [generic sys/syscall.h] (common-generated): Likewise.
61954         * sysdeps/unix/errnos-tmpl.c: Remove file.
61955         * sysdeps/unix/errnos.awk: Likewise.
61956         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61957         * sysdeps/unix/ioctls.awk: Likewise.
61958         * sysdeps/unix/mk-local_lim.c: Likewise.
61959         * sysdeps/unix/snarf-ioctls: Likewise.
61961 2012-03-19  Richard Henderson  <rth@twiddle.net>
61963         * sysdeps/i386/fpu/fenv_private.h: New file.
61964         * sysdeps/i386/fpu/math_private.h: Use it.
61965         (math_opt_barrier, math_force_eval): Remove.
61966         (libc_feholdexcept_setround_53bit): Remove.
61967         (libc_feupdateenv_53bit): Remove.
61968         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61969         (math_opt_barrier, math_force_eval): Remove.
61970         (libc_feholdexcept): Remove.
61971         (libc_feholdexcept_setround): Remove.
61972         (libc_fetestexcept, libc_fesetenv): Remove.
61973         (libc_feupdateenv_test): Remove.
61974         (libc_feupdateenv, libc_feholdsetround): Remove.
61975         (libc_feresetround): Remove.
61977         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61978         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61980         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61981         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61982         (libc_feupdateenv_testl): New.
61983         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61984         (libc_feupdateenv_testf): New.
61985         (libc_feupdateenv): Use libc_feupdateenv_test.
61986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61987         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61989         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61990         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61991         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61992         (libc_feresetround_noex): New.
61993         (libc_feresetround_noexf): New.
61994         (libc_feresetround_noexl): New.
61995         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61996         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61997         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61998         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61999         SET_RESTORE_ROUND.
62000         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62001         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62002         (__cos): Likewise.
62003         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62004         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62005         SET_RESTORE_ROUND_NOEX.
62006         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62007         SET_RESTORE_ROUND_NOEXF.
62008         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62009         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62010         (libc_feholdsetroundf): New.
62011         (libc_feresetround, libc_feresetroundf): New.
62013         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62014         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62015         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62017         * sysdeps/generic/math_private.h: Include <fenv.h>.
62018         (default_libc_feholdexcept): New.
62019         (default_libc_feholdexcept_setround): New.
62020         (default_libc_fesetenv, default_libc_feupdateenv): New.
62021         (libc_feholdexcept): Only define if undefined.
62022         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62023         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62024         (libc_feholdexcept_setroundl): Likewise.
62025         (libc_feholdexcept_setround_53bit): Likewise.
62026         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62027         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62028         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62029         (libc_feupdateenv_53bit): Likewise.
62030         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62031         (libc_feholdexcept): Convert from macro to inline function.
62032         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62033         (libc_fesetenv, libc_feupdateenv): Likewise.
62035         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62036         not previously defined.
62037         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62038         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62039         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62040         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62041         * sysdeps/ieee754/flt-32/math_private.h: New file.
62042         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62043         math_private.h below SET_FLOAT_WORD.
62044         (__isnan, __isinf_ns, __finite): Remove.
62045         (__isnanf, __isinf_nsf, __finitef): Remove.
62047 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62051 2012-03-17  David S. Miller  <davem@davemloft.net>
62053         [BZ #6471]
62054         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62055         for 2.16.
62057 2012-03-16  David S. Miller  <davem@davemloft.net>
62059         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62060         warnings.
62062         [BZ #6471]
62063         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62064         properly.
62065         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62066         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62067         sysdep_routines when subdir is sysvipc.
62068         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62069         __getshmlba helper.
62071         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62073 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62075         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62076         [__LP64__].
62078 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62080         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62081         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62082         (__lround): Renamed to ...
62083         (__llround): This.  Replace long int with long long int.
62084         Define lround functions as aliases of llround functions.
62085         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62087 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62089         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62090         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62091         adresses to uintptr_t.  Replace "long int" and "unsigned long
62092         int" with "greg_t" on va_arg.
62094 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62096         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62097         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62099         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62100         Move e_machine check before EI_CLASS check.  Handle x32
62101         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62102         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62103         SKIP_EM_IA_64 and include
62104         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62106         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62107         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62108         (add_system_dir): New macro.
62110         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62111         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62113 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62115         [BZ #2551]
62116         [BZ #2552]
62117         [BZ #2553]
62118         [BZ #2554]
62119         [BZ #2562]
62120         [BZ #2563]
62121         [BZ #2565]
62122         [BZ #2566]
62123         [BZ #2576]
62124         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62125         (y0): Likewise.
62126         * math/w_j0f.c (j0f): Likewise.
62127         (y0f): Likewise.
62128         * math/w_j0l.c (__j0l): Likewise.
62129         (__y0l): Likewise.
62130         * math/w_j1.c (j1): Likewise.
62131         (y1): Likewise.
62132         * math/w_j1f.c (j1f): Likewise.
62133         (y1f): Likewise.
62134         * math/w_j1l.c (__j1l): Likewise.
62135         (__y1l): Likewise.
62136         * math/w_jn.c (jn): Likewise.
62137         (yn): Likewise.
62138         * math/w_jnf.c (jnf): Likewise.
62139         (ynf): Likewise.
62140         * math/w_jnl.c (__jnl): Likewise.
62141         (__ynl): Likewise.
62142         * math/libm-test.inc (j0_test): Add more tests.
62143         (j1_test): Likewise.
62144         (jn_test): Likewise.  Add trailing semicolon to existing test.
62145         (y0_test): Likewise.
62146         (y1_test): Likewise.
62147         * sysdeps/i386/fpu/libm-test-ulps: Update.
62148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62150         [BZ #13851]
62151         [BZ #13854]
62152         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62153         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62154         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62155         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62156         (__tanl): Set errno for infinite argument.
62157         * sysdeps/i386/fpu/mptan.c: Remove.
62158         * sysdeps/i386/fpu/s_tan.S: Likewise.
62159         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62160         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62161         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62162         * math/libm-test.inc (tan_test): Add more tests and enable more
62163         tests for double and long double.
62164         * sysdeps/i386/fpu/libm-test-ulps: Update.
62165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62167 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62169         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62170         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62172 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62174         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62175         * configure.in: Use it for both main tree and add-ons.
62176         * configure: Regenerated.
62178 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62180         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62182 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62184         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62185         in comment.
62187         [BZ #13851]
62188         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62189         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62190         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62191         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62192         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62193         infinite argument.
62194         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62196         != 0 for prec == 2.
62197         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62198         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62199         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62200         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62201         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62202         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62203         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62204         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62205         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62206         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62207         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62208         * math/libm-test.inc (cos_test): Add more tests and enable more
62209         tests for long double.
62210         (sin_test): Likewise.
62211         (sincos_test): Likewise.
62212         * sysdeps/i386/fpu/libm-test-ulps: Update.
62213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62215 2012-03-16  David S. Miller  <davem@davemloft.net>
62217         * sysdeps/sparc/fpu/math_private.h: New file.
62219 2012-03-15  David S. Miller  <davem@davemloft.net>
62221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62222         file.
62223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62225         file.
62226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62232         sysdep routines.
62233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62235         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62236         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62238         * sysdeps/sparc/sparc-ifunc.h: New file.
62239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62240         sparc-ifunc.h
62241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62243         Likewise.
62244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62245         Likewise.
62246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62250         Likewise.
62251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62256         Likewise.
62257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62258         Likewise.
62259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62265         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62266         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62276         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62277         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62279         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62282         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62284 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62286         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62287         scaling.
62288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62290 2012-03-15  Andreas Jaeger  <aj@suse.de>
62292         [BZ #13852]
62293         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62294         ieee754/flt-32 implementation for sin, cos and sincos.
62295         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62296         * sysdeps/i386/fpu/s_cosf.S: Likewise.
62297         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62298         * sysdeps/i386/fpu/s_sinf.S: Likewise.
62299         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62300         ieee754/flt-32 implementation for tan.
62302         * math/libm-test.inc (cos_test): Enable some large input tests for
62303         float as well
62304         (sin_test): Likewise.
62305         (sincos_test): Likewise.
62306         (tan_test): Add tests for large input.
62308         * sysdeps/i386/fpu/libm-test-ulps: Update.
62310 2012-03-15  Andreas Jaeger  <aj@suse.de>
62312         [BZ #13658]
62313         * math/libm-test.inc (cos_test): Add more test cases.
62314         (sin_test): Likewise.
62315         (sincos_test): Likewise.
62317 2012-03-15  Andreas Jaeger  <aj@suse.de>
62319         [BZ #13837]
62320         * math/libm-test.inc (cos_test): Add a test case for large input
62321         value.
62322         (sin_test): Likewise.
62323         (sincos_test): Likewise.
62325 2012-03-15  Andreas Jaeger  <aj@suse.de>
62326             Joseph Myers  <joseph@codesourcery.com>
62328         [BZ #13658]
62329         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62330         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62331         * sysdeps/i386/fpu/branred.c: Likewise.
62332         * sysdeps/i386/fpu/dosincos.c: Likewise.
62333         * sysdeps/i386/fpu/mpa.c: Likewise.
62334         * sysdeps/i386/fpu/s_cos.S: Likewise.
62335         * sysdeps/i386/fpu/s_sin.S: Likewise.
62336         * sysdeps/i386/fpu/s_sincos.S: Likewise.
62337         * sysdeps/i386/fpu/sincos32.c: Likewise.
62339         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62340         Define.
62341         (libc_feupdateenv_53bit): Define.
62342         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62343         Define.
62344         (libc_feupdateenv_53bit): Define.
62346         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62347         53 bit (without extend i386 double precision).
62349         * math/libm-test.inc (sincos_test): Add tests for large input.
62350         (sin): Likewise.
62351         (cos): Likewise.
62353         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62355 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
62357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62359 2012-03-15  David S. Miller  <davem@davemloft.net>
62361         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62362         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62363         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62364         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62373         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62377         file.
62378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62380         file.
62381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62383         file.
62384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62386         file.
62387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62388         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62389         fmin/fmax sysdep routines.
62390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62392 2012-03-14  David S. Miller  <davem@davemloft.net>
62394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62398         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62399         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62400         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62401         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62402         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62403         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62406         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62408         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62409         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62410         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62414         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62415         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62416         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62417         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62418         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62419         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62420         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62421         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62422         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62423         routines.
62424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62425         file.
62426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62428         file.
62429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62431         file.
62432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62434         file.
62435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62437         file.
62438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62440         file.
62441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62442         file.
62443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62444         file.
62445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62446         file.
62447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62448         New file.
62449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62450         file.
62451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62452         file.
62453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62455         file.
62456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62458         file.
62459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62461         file.
62462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62464         VIS3 routines.
62466         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62467         New file.
62469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62471         * sysdeps/sparc/configure.in: New file.
62472         * sysdeps/sparc/configure: Generate.
62473         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62474         * configure: Regenerate.
62475         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62476         * config.make.in (have-as-vis3): New.
62477         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62478         available use -Av9d instead of -Av9a.
62479         * sysdeps/sparc/sparc64/Makefile: Likewise.
62480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62482         New file.
62483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62484         file.
62485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62486         New file.
62487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62488         file.
62489         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62490         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62491         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62492         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62493         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62495         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62496         fzeros/fnegs to load 0x80000000 into a float register instead of
62497         using the stack.
62498         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62500 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62503         bits/syscall.h.
62504         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62505         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62506         ($(inst_includedir)/bits/syscall.h): Remove rule.
62507         ($(objpfx)bits/syscall.d): Include instead of
62508         $(objpfx)syscall-list.d.
62509         (generated): Change syscall-list.h and syscall-list.d to
62510         bits/syscall.h and bits/syscall.d.
62512 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62514         [BZ #13846]
62515         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62517 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62519         [BZ #13841]
62520         * math/s_csqrt.c: Include <float.h>.
62521         (__csqrt): Scale large or subnormal inputs.
62522         * math/s_csqrtf.c: Likewise.
62523         * math/s_csqrtl.c: Likewise.
62524         * math/libm-test.inc (csqrt_test): Add more tests.
62525         * sysdeps/i386/fpu/libm-test-ulps: Update.
62526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62528         [BZ #13840]
62529         * math/libm-test.inc (hypot_test): Add more tests.
62531 2012-03-13  David S. Miller  <davem@davemloft.net>
62533         [BZ #13840]
62534         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62535         double-precision for the calculation instead of scaling.
62537 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62539         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62540         manipulate bits before adding and subtracting TWO52[sx].
62541         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62542         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62543         Likewise.
62544         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62546 2012-03-13  David S. Miller  <davem@davemloft.net>
62548         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62549         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62551         rtld-global-offsets.h
62552         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62554         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62555         large parameters.
62557         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62559         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62560         'err' in the ifdef scope in which it is actually used.
62562         * nss/nss_db/db-init.c: Include string.h
62564 2012-03-12  David S. Miller  <davem@davemloft.net>
62566         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62567         masking out of the most significant byte of random value used.
62568         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62569         Fix coding style in previous change.
62571         * sysdeps/unix/sysv/linux/kernel-features.h
62572         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62573         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62574         expression.
62575         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62576         later.
62578 2012-03-11  David S. Miller  <davem@davemloft.net>
62580         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62581         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62582         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62583         for 'resultvar' otherwise things get truncated on 64-bit.
62585         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62586         Fix masking out of the most significant byte of random value used.
62588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62590 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62594 2012-03-09  David S. Miller  <davem@davemloft.net>
62596         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62597         variables with appropriate CPP guards.
62598         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62599         from the frame pointer, not the stack pointer.  Correct layout
62600         comments.  Fix test on resulting framesize and the management of
62601         the outregs buffer for pltexit.  Preserve floating point return
62602         values across _dl_call_pltexit call.
62603         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62604         framesize and the management of the outregs buffer for pltexit.
62605         Preserve floating point return values across _dl_call_pltexit
62606         call.
62607         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62608         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62609         (la_sparc64_gnu_pltexit): New functions.
62610         (print_exit): Fix format string for return register value.
62612 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62614         * sunrpc/Makefile (others): Add rpcgen.
62615         ($(objpfx)rpcgen): Remove special build rule and dependency on
62616         libc.
62617         * sunrpc/rpcgen.c: New file.
62619 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62621         [BZ #13673]
62622         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62623         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62624         * sysdeps/i386/crti.S: Likewise.
62625         * sysdeps/i386/crtn.S: Likewise.
62626         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62627         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62628         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62629         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62630         * sysdeps/sh/crti.S: Likewise.
62631         * sysdeps/sh/crtn.S: Likewise.
62632         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62634         [BZ #13673]
62635         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62636         with URL.
62637         * locale/programs/locfile-kw.gperf: Likewise.
62638         * locale/programs/charmap-kw.h: Regenerated.
62639         * locale/programs/locfile-kw.h: Likewise.
62641         [BZ #13673]
62642         * intl/plural.y: Replace FSF snail mail address with URL.
62643         * intl/plural.c: Regenerated.
62645 2012-03-09  Richard Henderson  <rth@twiddle.net>
62647         * include/math_private.h: Remove file.
62648         * math/math_private.h: Move file ...
62649         * sysdeps/generic/math_private.h: ... here.
62651         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62652         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62653         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62655         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62656         and <math_private.h>.
62657         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62658         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62659         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62660         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62661         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62662         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62663         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62664         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62665         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62666         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62667         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62668         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62669         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62670         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62671         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62672         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62673         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62674         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62675         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62676         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62677         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62678         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62679         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62680         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62681         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62682         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62683         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62684         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62686         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62687         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62688         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62689         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62690         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62691         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62692         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62693         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62694         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62695         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62696         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62697         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62698         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62699         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62700         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62701         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62702         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62703         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62704         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62705         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62706         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62707         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62708         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62709         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62710         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62711         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62712         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62713         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62714         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62715         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62716         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62717         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62718         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62719         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62720         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62721         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62722         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62723         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62724         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62725         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62726         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62727         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62728         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62729         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62730         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62731         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62732         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62733         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62735         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62736         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62737         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62738         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62739         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62740         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62741         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62742         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62743         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62744         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62745         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62746         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62747         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62748         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62749         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62750         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62751         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62752         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62753         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62754         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62755         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62756         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62757         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62758         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62759         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62760         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62761         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62762         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62763         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62764         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62765         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62766         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62767         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62768         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62769         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62770         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62771         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62772         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62773         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62774         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62775         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62776         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62777         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62778         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62779         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62780         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62781         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62782         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62783         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62784         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62785         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62786         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62787         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62788         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62789         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62790         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62791         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62792         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62793         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62794         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62795         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62796         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62797         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62798         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62799         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62800         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62801         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62802         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62803         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62804         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62805         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62806         * sysdeps/ieee754/k_standard.c: Likewise.
62807         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62808         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62809         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62810         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62811         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62812         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62813         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62814         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62815         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62816         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62817         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62819         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62820         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62821         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62822         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62823         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62824         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62825         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62826         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62827         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62828         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62829         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62830         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62831         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62832         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62833         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62834         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62835         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62836         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62837         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62838         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62839         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62840         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62841         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62842         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62843         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62844         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62845         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62846         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62847         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62848         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62849         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62850         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62851         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62852         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62853         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62854         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62855         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62856         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62857         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62858         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62859         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62860         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62861         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62862         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62863         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62864         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62865         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62866         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62867         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62868         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62869         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62870         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62871         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62872         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62873         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62874         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62875         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62876         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62877         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62879         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62880         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62881         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62882         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62883         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62884         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62885         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62886         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62887         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62888         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62889         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62890         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62891         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62892         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62893         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62894         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62895         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62896         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62897         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62898         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62899         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62900         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62901         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62902         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62903         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62904         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62905         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62906         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62907         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62908         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62909         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62910         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62911         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62912         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62913         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62914         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62915         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62916         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62917         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62918         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62919         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62920         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62921         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62922         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62923         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62924         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62925         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62926         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62927         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62928         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62929         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62930         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62931         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62932         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62933         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62934         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62935         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62936         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62937         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62938         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62939         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62940         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62941         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62942         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62943         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62944         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62945         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62946         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62947         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62948         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62949         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62950         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62951         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62952         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62953         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62954         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62955         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62956         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62957         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62958         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62959         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62960         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62961         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62962         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62963         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62964         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62965         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62966         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62967         * sysdeps/ieee754/s_lib_version.c: Likewise.
62968         * sysdeps/ieee754/s_matherr.c: Likewise.
62969         * sysdeps/ieee754/s_signgam.c: Likewise.
62970         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62971         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62972         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62973         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62974         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62975         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62976         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62977         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62978         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62979         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62980         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62981         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62982         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62983         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62984         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62985         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62986         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62987         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62988         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62992 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62994         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62995         * sunrpc/rpc_main.c: Likewise.
62996         * sunrpc/rpc_svcout.c: Likewise.
62998 2012-03-09  David S. Miller  <davem@davemloft.net>
63000         * include/math_private.h: New file.
63002 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63004         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63005         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63006         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63007         from <bits/socket_type.h>.
63008         (enum __socket_type): Don't define here.
63009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63011         bits/socket_type.h.
63013         [BZ #13566]
63014         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63015         checking __USE_GNU.
63017         * Makerules ($(inst_includedir)/%.h): New rule.
63018         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63019         (install-others): Remove variable setting.
63020         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63022 2012-03-08  Richard Henderson  <rth@twiddle.net>
63024         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63025         from macro to inline function; merge with the
63026         !__LIBC_INTERNAL_MATH_INLINES version.
63027         (__ieee754_sqrtf): Likewise.
63029         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63030         to inline function.
63031         (__rintf, __floor, __floorf): Likewise.
63033         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63034         macro to inline function.
63035         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63037         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63038         not <math/math_private.h>.
63040 2012-03-08  David S. Miller  <davem@davemloft.net>
63042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63043         copyright year.
63044         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63046 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63048         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63049         normalization.
63050         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63051         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63053 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63055         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63056         be defined individually, they must be defined as a block.  Define
63057         S for printing a string instead of hidint the different by using a
63058         macro for adding the 'l'.
63059         * stdio-common/tst-fphex-wide.c: Adjust.
63061 2012-03-07  Marek Polacek  <polacek@redhat.com>
63063         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63065 2012-03-08  Marek Polacek  <polacek@redhat.com>
63067         [BZ #13806]
63068         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63069         * stdio-common/tst-fphex.c: Define a few macros to make the
63070         test reusable.  Use them.
63071         * stdio-common/tst-fphex-wide.c: New file.
63073 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63075         [BZ #6911]
63076         * manual/macros.texi (gnusystems): New macro.
63077         (nongnusystems): Likewise.
63078         (gnulinuxhurdsystems): Likewise.
63079         (gnuhurdsystems): Likewise..
63080         (gnulinuxsystems): Likewise.
63081         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63082         variants of the GNU system, not "GNU system".
63083         * manual/conf.texi: Likewise.
63084         * manual/errno.texi: Likewise.  Update example of errno macro
63085         expansion.
63086         * manual/filesys.texi: Likewise.
63087         (getumask): Document as specific to GNU/Hurd.
63088         * manual/install.texi: Likewise.  Reword some references to
63089         GNU/Linux.
63090         * manual/intro.texi: Likewise.
63091         * manual/io.texi: Likewise.
63092         (File Name Portability): Detail which constraints are inapplicable
63093         to all GNU systems and which are only inapplicable to GNU/Hurd.
63094         * manual/job.texi: Likewise.
63095         * manual/llio.texi: Likewise.
63096         (O_NOCTTY): Document as present on GNU/Linux.
63097         * manual/maint.texi: Likewise.
63098         * manual/memory.texi: Likewise.
63099         * manual/pattern.texi: Likewise.
63100         * manual/pipe.texi: Likewise.
63101         * manual/process.texi: Likewise.
63102         * manual/resource.texi: Likewise.
63103         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63104         child on GNU/Hurd.
63105         * manual/setjmp.texi: Likewise.
63106         * manual/signal.texi: Likewise.
63107         * manual/startup.texi: Likewise.
63108         * manual/stdio.texi: Likewise.
63109         * manual/terminal.texi: Likewise.
63110         (ONLCR): Document as POSIX.
63111         (OXTABS): Document availability on GNU/Linux as XTABS.
63112         (ONOEOT): Document availability separately from other bits.
63113         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63114         * manual/time.texi: Likewise.
63115         * manual/users.texi: Likewise.
63116         * INSTALL: Regenerated.
63117         * sysdeps/gnu/errlist.c: Regenerated.
63119         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63120         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63121         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63122         puts.
63123         * configure: Regenerated.
63125 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63127         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63128         default includes instead of AC_HEADER_CHECK.
63129         * sysdeps/i386/configure: Regenerated.
63131         [BZ #10716]
63132         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63133         * math/s_cacoshf.c (__cacoshf): Likewise.
63134         * math/s_cacoshl.c (__cacoshl): Likewise.
63135         * math/s_casinh.c (__casinh): Set signs of result from argument.
63136         * math/s_casinhf.c (__casinhf): Likewise.
63137         * math/s_casinhl.c (__casinhl): Likewise.
63138         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63139         (casinh_test): Add more tests.
63140         * sysdeps/i386/fpu/libm-test-ulps: Update.
63141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63143 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63145         * po/zh_TW.po: Update from translation team.
63147         * login/Makefile (distribute): Remove variable.
63148         * catgets/Makefile: Likewise.
63149         * mach/Makefile: Likewise.
63150         * malloc/Makefile: Likewise.
63151         * misc/Makefile: Likewise.
63152         * iconv/Makefile: Likewise.
63153         * nscd/Makefile: Likewise.
63154         * hurd/Makefile: Likewise.
63155         * manual/Makefile: Likewise.
63156         * locale/Makefile: Likewise.
63157         * intl/Makefile: Likewise.
63158         * conform/Makefile: Likewise.
63159         * nss/Makefile: Likewise.
63160         * time/Makefile: Likewise.
63161         * soft-fp/Makefile: Likewise.
63162         * dirent/Makefile: Likewise.
63163         * gmon/Makefile: Likewise.
63164         * po/Makefile: Likewise.
63165         * rt/Makefile: Likewise.
63166         * socket/Makefile: Likewise.
63167         * math/Makefile: Likewise.
63168         * signal/Makefile: Likewise.
63169         * debug/Makefile: Likewise.
63170         * elf/Makefile: Likewise.
63171         * timezone/Makefile: Likewise.
63172         * stdlib/Makefile: Likewise.
63173         * iconvdata/Makefile: Likewise.
63174         * sunrpc/Makefile: Likewise.
63175         * io/Makefile: Likewise.
63176         * argp/Makefile: Likewise.
63177         * inet/Makefile: Likewise.
63178         * hesiod/Makefile: Likewise.
63179         * grp/Makefile: Likewise.
63180         * csu/Makefile: Likewise.
63181         * wctype/Makefile: Likewise.
63182         * crypt/Makefile: Likewise.
63183         * libio/Makefile: Likewise.
63184         * string/Makefile: Likewise.
63185         * nis/Makefile: Likewise.
63186         * resolv/Makefile: Likewise.
63187         * stdio-common/Makefile: Likewise.
63188         * wcsmbs/Makefile: Likewise.
63189         * dlfcn/Makefile: Likewise.
63190         * posix/Makefile: Likewise.
63192         [BZ #6959]
63193         * timezone/Makefile: Don't install timezone files, just the programs
63194         and scripts.
63196 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63198         * nss/databases.def: Add missing gshadow entry.
63200         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63202 2012-03-06  Marek Polacek  <polacek@redhat.com>
63204         [BZ #13726]
63205         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63206         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63207         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63208         * stdio-common/tst-long-dbl-fphex.c: New file.
63210 2012-03-06  David S. Miller  <davem@davemloft.net>
63212         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63213         (set_obp_int): New function.
63214         (get_obp_int): New function.
63215         (__get_clockfreq_via_dev_openprom): Likewise.
63216         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63217         Avoid unused variable warnings on 'val' and use builtin_expect.
63218         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63219         __builtin_expect.
63220         (INLINE_CLONE_SYSCALL): Likewise.
63222 2012-03-05  David S. Miller  <davem@davemloft.net>
63224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63226 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
63228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63230         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63231         only for |x| >= 40.
63232         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63234 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
63236         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63237         Replace gettimeofday with __vdso_gettimeofday.
63239         * sysdeps/unix/sysv/linux/x86_64/init-first.c
63240         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63241         __vdso_clock_gettime and __vdso_getcpu.
63243         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63244         time with __vdso_time.
63246 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63248         * manual/lang.texi (size_t): Note types to which size_t may be
63249         equivalent with the GNU C Library, but do not describe when
63250         differences between them are significant.
63252 2012-03-05  Andreas Jaeger  <aj@suse.de>
63254         * sysdeps/i386/fpu/libm-test-ulps: Update.
63256 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
63258         [BZ #3976]
63259         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63260         (__ieee754_pow): Save and restore rounding mode and use
63261         round-to-nearest for main computations.
63262         * math/libm-test.inc (pow_test_tonearest): New function.
63263         (pow_test_towardzero): Likewise.
63264         (pow_test_downward): Likewise.
63265         (pow_test_upward): Likewise.
63266         (main): Call the new functions.
63267         * sysdeps/i386/fpu/libm-test-ulps: Update.
63268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63270         [BZ #3976]
63271         * math/libm-test.inc (cosh_test_tonearest): New function.
63272         (cosh_test_towardzero): Likewise.
63273         (cosh_test_downward): Likewise.
63274         (cosh_test_upward): Likewise.
63275         (sinh_test_tonearest): Likewise.
63276         (sinh_test_towardzero): Likewise.
63277         (sinh_test_downward): Likewise.
63278         (sinh_test_upward): Likewise.
63279         (main): Call the new functions.
63280         * sysdeps/i386/fpu/libm-test-ulps: Update.
63281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63283 2012-03-05  Tom de Vries  <tom@codesourcery.com>
63285         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63286         default stack guard is set in last bytes.
63287         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63289 2012-03-05  Kees Cook  <keescook@chromium.org>
63291         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63293         [BZ #13656]
63294         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63295         possibly allocate from heap instead of stack.
63296         * stdio-common/bug-vfprintf-nargs.c: New file.
63297         * stdio-common/Makefile (tests): Add nargs overflow test.
63299 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
63301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63303 2012-03-03  Marek Polacek  <polacek@redhat.com>
63305         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63306         * math/math_private.h: Likewise.
63307         * stdlib/tst-strtod.c: Likewise.
63308         * sysdeps/i386/i486/bits/atomic.h: Likewise.
63309         * sysdeps/x86_64/bits/atomic.h: Likewise.
63311 2012-03-02  David S. Miller  <davem@davemloft.net>
63313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63317         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63318         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63319         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63320         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63322 2012-03-02  Roland McGrath  <roland@hack.frob.com>
63324         [BZ #13792]
63325         * manual/examples/README: New file, says the example source files
63326         can be used under GPL>=2.
63327         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63328         line containing just "*/".
63329         * manual/examples/add.c: Add copyright header (GPL>=2).
63330         * manual/examples/argp-ex1.c: Likewise.
63331         * manual/examples/argp-ex2.c: Likewise.
63332         * manual/examples/argp-ex3.c: Likewise.
63333         * manual/examples/argp-ex4.c: Likewise.
63334         * manual/examples/atexit.c: Likewise.
63335         * manual/examples/db.c: Likewise.
63336         * manual/examples/dir.c: Likewise.
63337         * manual/examples/dir2.c: Likewise.
63338         * manual/examples/execinfo.c: Likewise.
63339         * manual/examples/filecli.c: Likewise.
63340         * manual/examples/filesrv.c: Likewise.
63341         * manual/examples/fmtmsgexpl.c: Likewise.
63342         * manual/examples/genpass.c: Likewise.
63343         * manual/examples/inetcli.c: Likewise.
63344         * manual/examples/inetsrv.c: Likewise.
63345         * manual/examples/isockad.c: Likewise.
63346         * manual/examples/longopt.c: Likewise.
63347         * manual/examples/memopen.c: Likewise.
63348         * manual/examples/memstrm.c: Likewise.
63349         * manual/examples/mkfsock.c: Likewise.
63350         * manual/examples/mkisock.c: Likewise.
63351         * manual/examples/mygetpass.c: Likewise.
63352         * manual/examples/pipe.c: Likewise.
63353         * manual/examples/popen.c: Likewise.
63354         * manual/examples/rprintf.c: Likewise.
63355         * manual/examples/search.c: Likewise.
63356         * manual/examples/select.c: Likewise.
63357         * manual/examples/setjmp.c: Likewise.
63358         * manual/examples/sigh1.c: Likewise.
63359         * manual/examples/sigusr.c: Likewise.
63360         * manual/examples/stpcpy.c: Likewise.
63361         * manual/examples/strdupa.c: Likewise.
63362         * manual/examples/strftim.c: Likewise.
63363         * manual/examples/strncat.c: Likewise.
63364         * manual/examples/subopt.c: Likewise.
63365         * manual/examples/swapcontext.c: Likewise.
63366         * manual/examples/termios.c: Likewise.
63367         * manual/examples/testopt.c: Likewise.
63368         * manual/examples/testpass.c: Likewise.
63369         * manual/examples/timeval_subtract.c: Likewise.
63371         [BZ #13792]
63372         * manual/time.texi (Elapsed Time): Move timeval_subtract example
63373         function to ...
63374         * manual/timeval_subtract.c.texi: ... here, new file.
63376 2012-03-02  David S. Miller  <davem@davemloft.net>
63378         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63380 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
63382         [BZ #3976]
63383         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63384         (__sin): Save and restore rounding mode and use round-to-nearest
63385         for all computations.
63386         (__cos): Save and restore rounding mode and use round-to-nearest
63387         for all computations.
63388         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63389         <fenv.h>.
63390         (tan): Save and restore rounding mode and use round-to-nearest for
63391         all computations.
63392         * math/libm-test.inc (cos_test_tonearest): New function.
63393         (cos_test_towardzero): Likewise.
63394         (cos_test_downward): Likewise.
63395         (cos_test_upward): Likewise.
63396         (sin_test_tonearest): Likewise.
63397         (sin_test_towardzero): Likewise.
63398         (sin_test_downward): Likewise.
63399         (sin_test_upward): Likewise.
63400         (tan_test_tonearest): Likewise.
63401         (tan_test_towardzero): Likewise.
63402         (tan_test_downward): Likewise.
63403         (tan_test_upward): Likewise.
63404         (main): Call the new functions.
63405         * sysdeps/i386/fpu/libm-test-ulps: Update.
63406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63408         [BZ #10135]
63409         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63410         small n, then large n, before computing and testing k+n.
63411         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63412         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63413         Likewise.
63414         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63415         Likewise.
63416         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63417         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63418         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63419         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63420         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63421         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63422         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63423         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63424         * math/libm-test.inc (scalbn_test): Add more tests.
63425         (scalbln_test): Likewise.
63427         * manual/filesys.texi (mode_t): Describe constraints on size and
63428         signedness, not exact equivalence to a particular type.
63429         (ino_t): Likewise.
63430         (ino64_t): Likewise.
63431         (dev_t): Likewise.
63432         (nlink_t): Likewise.
63433         (blkcnt_t): Likewise.
63434         (blkcnt64_t): Likewise.
63435         * manual/llio.texi (off_t): Likewise.
63437         [BZ #3976]
63438         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63439         (__ieee754_exp): Save and restore rounding mode and use
63440         round-to-nearest for all computations.
63441         * math/libm-test.inc (exp_test_tonearest): New function.
63442         (exp_test_towardzero): Likewise.
63443         (exp_test_downward): Likewise.
63444         (exp_test_upward): Likewise.
63445         (main): Call the new functions.
63446         * sysdeps/i386/fpu/libm-test-ulps: Update.
63447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63449 2012-03-01  Chris Demetriou  <cgd@google.com>
63451         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63452         have predictable order.
63454 2012-03-01  David S. Miller  <davem@davemloft.net>
63456         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63458         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63459         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63460         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63461         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63463         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63464         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63465         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63467         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63468         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63469         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63470         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63471         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63475         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63476         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63477         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63479         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63480         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63481         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63482         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63483         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63484         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63485         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63486         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63487         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63488         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63489         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63490         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63491         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63492         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63493         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63494         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63495         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63496         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63497         * sysdeps/sparc/elf/configure: Regenerated.
63499 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63501         * configure.in (AS, LD): Require binutils 2.20 or later.
63502         * configure: Regenerated.
63503         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63504         as required minimum version.
63505         * INSTALL: Regenerated.
63507         [BZ #2541]
63508         [BZ #4108]
63509         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63510         before squaring exponent.
63511         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63512         bottom long double and 27 bits of top long double before squaring
63513         exponent.
63514         * math/libm-test.inc (erfc_test): Add more tests.
63515         * sysdeps/i386/fpu/libm-test-ulps: Update.
63516         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63519 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63521         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63522         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63523         containing bit-fields.
63524         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63525         * soft-fp/single.h (_FP_UNION_S): Likewise.
63526         * soft-fp/double.h (_FP_UNION_D): Likewise.
63528 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63530         [BZ #13786]
63531         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63532         not include ../strcmp.S.
63533         [USE_AS_STRNCASECMP_L]: Likewise.
63534         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63535         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63536         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63537         (__strncasecmp_l_ia32): Define as alias to
63538         __strncasecmp_l_nonascii.
63540         [BZ #5794]
63541         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63542         * sysdeps/i386/fpu/libm-test-ulps: Update.
63543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63545         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63548 2012-02-29  Jeff Law  <law@redhat.com>
63550         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63551         out of bounds read.
63553 2012-02-29  Marek Polacek  <polacek@redhat.com>
63555         [BZ #13706]
63556         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63557         * elf/Makefile: Add rules to run tst-unused-dep.out.
63559 2012-02-28  David S. Miller  <davem@davemloft.net>
63561         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63562         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63563         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63564         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63565         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63566         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63568 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63570         * math/libm-test.inc (llround_test): Move one test from
63571         lround_test.  Use TEST_f_L in moved test.
63572         (lround_test): Move misplaced test to llround_test.  Add testcase
63573         from bug 2561.
63575 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63577         * sysdeps/x86_64/fpu/e_expf.S: New file.
63578         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63580 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63582         [BZ #13637]
63583         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63584         of remain_len that may cause incomplete multi-byte character and
63585         false match.
63586         * posix/bug-regex33.c: New file.
63587         * posix/Makefile (tests): Add bug-regex33.
63589 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63591         * manual/macros.texi: New file.
63592         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63593         * manual/libc.texinfo: Include macros.texi.
63594         * manual/creatute.texi: Likewise.
63595         * manual/install.texi: Likewise.
63596         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63597         @glibcadj{} in references to the GNU C Library.
63598         * manual/charset.texi: Likewise.
63599         * manual/conf.texi: Likewise.
63600         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63601         when not using those macros.
63602         * manual/creature.texi: Likewise.
63603         * manual/crypt.texi: Likewise.
63604         * manual/errno.texi: Likewise.
63605         * manual/filesys.texi: Likewise.
63606         * manual/header.texi: Likewise.
63607         * manual/install.texi: Likewise.
63608         * manual/intro.texi: Likewise.
63609         * manual/io.texi: Likewise.
63610         * manual/job.texi: Likewise.
63611         * manual/lang.texi: Likewise.
63612         * manual/libc.texiinfo: Likewise.
63613         * manual/llio.texi: Likewise.
63614         * manual/locale.texi: Likewise.
63615         * manual/maint.texi: Likewise.
63616         * manual/math.texi: Likewise.
63617         * manual/memory.texi: Likewise.
63618         * manual/message.texi: Likewise.
63619         * manual/nss.texi: Likewise.
63620         * manual/pattern.texi: Likewise.
63621         * manual/process.texi: Likewise.
63622         * manual/resource.texi: Likewise.
63623         * manual/search.texi: Likewise.
63624         * manual/setjmp.texi: Likewise.
63625         * manual/signal.texi: Likewise.
63626         * manual/socket.texi: Likewise.
63627         * manual/startup.texi: Likewise.
63628         * manual/stdio.texi: Likewise.
63629         * manual/string.texi: Likewise.
63630         * manual/sysinfo.texi: Likewise.
63631         * manual/syslog.texi: Likewise.
63632         * manual/terminal.texi: Likewise.
63633         * manual/time.texi: Likewise.
63634         * manual/users.texi: Likewise.
63635         * INSTALL: Regenerated.
63636         * NOTES: Regenerated.
63637         * sysdeps/gnu/errlist.c: Regenerated.
63639 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63641         * include/dirent.h: Include <dirstream.h> before
63642         <dirent/dirent.h>.
63644 2012-02-28  David S. Miller  <davem@davemloft.net>
63646         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63647         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63648         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63649         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63651 2012-02-27  David S. Miller  <davem@davemloft.net>
63653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63655         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63656         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63659         frame pointer instead of stack pointer relative arg slot.
63660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63661         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63662         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63664 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63666         [BZ #3992]
63667         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63669 2012-02-27  David S. Miller  <davem@davemloft.net>
63671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63675         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63676         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63677         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63678         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63680 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63682         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63683         later.  Allow versions 5-9.
63684         * configure: Regenerated.
63685         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63686         required minimum version and 4.6 as recommended version.  Do not
63687         mention bugs in GCC 2.7 and 2.8.
63688         * INSTALL: Regenerated.
63690 2012-02-27  David S. Miller  <davem@davemloft.net>
63692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63696         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63697         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63698         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63699         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63701         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63702         manipulate bits before adding and subtracting TWO112[sx].
63703         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63705 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63707         [BZ #13775]
63708         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63709         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63710         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63711         being in POSIX, because they are in 1003.1-2008.
63713         * rt/tst-aio.c: Include <fcntl.h>.
63714         * rt/tst-aio7.c: Likewise.
63715         * rt/tst-aio64.c: Likewise.
63717         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63719 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63721         * manual/install.texi (--with-headers): Describe headers as
63722         interface headers, not private headers.
63723         (Specific advice for GNU/Linux systems): Describe use of headers
63724         from "make headers_install", not private headers from older
63725         kernels.
63726         * INSTALL: Regenerated.
63727         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63728         Change to 2.6.19.
63729         * sysdeps/unix/sysv/linux/configure: Regenerated.
63731         * manual/llio.texi (fclean): Remove documentation.
63733         * manual/Makefile (libc-texi-generated): New variable.  Include
63734         version.texi.
63735         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63736         $(libc-texi-generated), not duplicated list of files.
63737         (version.texi, stamp-version): New rules.
63738         (realclean): Remove $(libc-texi-generated), not individual files
63739         from that list.  Do not remove dir-add.texinfo.
63740         * manual/libc.texinfo: Comment out uses of edition numbers and
63741         references to printed manual.  Remove last-updated dates.
63742         (EDITION): Comment out.
63743         (ISBN): Likewise.
63744         (VERSION, UPDATED): Remove.
63745         (version.texi): Include.
63747 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63749         * sysdeps/posix/spawni.c: Include <signal.h>.
63750         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63751         * sysdeps/pthread/aio_fsync.c: Likewise.
63753 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63755         * conform/Makefile (tests): Run only when not cross-compiling and
63756         when fast-check is not defined.
63758         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63759         * conform/data/limits.h-data: Fixes for POSIX2008.
63760         * conform/run-conformtest.sh: Run all tests.
63761         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63762         headers.
63763         * include/bits/dlfcn.h: Likewise.
63764         * include/langinfo.h: Likewise.
63765         * include/monetary.h: Likewise.
63766         * include/sys/poll.h: Likewise.
63768         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63769         for __USE_GNU.
63770         * posix/spawn.h: Define __need_sigset_t.
63771         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63772         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63773         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63774         to get sigevent_t only.
63775         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63776         only for __USE_GNU.
63777         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63778         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63779         process_vm_writev only for __USE_GNU.
63780         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63782         * conform/Makefile: For now ignore errors from run-conformtest.
63783         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63784         POSIX to avoid namespace pollution.  Don't prepend headers.
63785         * conform/data/aio.h-data: Fixes for POSIX testing.
63786         * conform/data/fcntl.h-data: Likewise.
63787         * conform/data/glob.h-data: Likewise.
63788         * conform/data/grp.h-data: Likewise.
63789         * conform/data/pthread.h-data: Likewise.
63790         * conform/data/pwd.h-data: Likewise.
63791         * conform/data/signal.h-data: Likewise.
63792         * conform/data/spawn.h-data: Likewise.
63793         * conform/data/stdio.h-data: Likewise.
63794         * conform/data/stdlib.h-data: Likewise.
63795         * conform/data/stropts.h-data: Likewise.
63796         * conform/data/sys/mman.h-data: Likewise.
63797         * conform/data/sys/stat.h-data: Likewise.
63798         * conform/data/sys/types.h-data: Likewise.
63799         * conform/data/sys/wait.h-data: Likewise.
63800         * conform/data/time.h-data: Likewise.
63801         * conform/data/unistd.h-data: Likewise.
63802         * conform/data/utime.h-data: Likewise.
63804         * io/sys/stat.h: fchmod was always in POSIX.
63805         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63806         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63807         * rt/aio.h: Define __need_timespec before including <time.h>.
63808         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63809         struct.  Add forward declaration of pthread_attr_t and use it in
63810         sigevent.
63811         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63812         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63813         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63814         always remove CLK_TCK definition.
63816 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63818         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63820 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63822         * conform/run-conformtest.sh: New file.
63823         * conform/Makefile: Run run-conformtest for tests.
63824         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63825         support.
63827         * conform/data/uchar.h-data: New file.
63828         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63829         * conform/data/arpa/inet.h-data: Likewise.
63830         * conform/data/assert.h-data: Likewise.
63831         * conform/data/complex.h-data: Likewise.
63832         * conform/data/cpio.h-data: Likewise.
63833         * conform/data/ctype.h-data: Likewise.
63834         * conform/data/dirent.h-data: Likewise.
63835         * conform/data/dlfcn.h-data: Likewise.
63836         * conform/data/errno.h-data: Likewise.
63837         * conform/data/fcntl.h-data: Likewise.
63838         * conform/data/float.h-data: Likewise.
63839         * conform/data/fmtmsg.h-data: Likewise.
63840         * conform/data/fnmatch.h-data: Likewise.
63841         * conform/data/ftw.h-data: Likewise.
63842         * conform/data/glob.h-data: Likewise.
63843         * conform/data/grp.h-data: Likewise.
63844         * conform/data/iconv.h-data: Likewise.
63845         * conform/data/inttypes.h-data: Likewise.
63846         * conform/data/langinfo.h-data: Likewise.
63847         * conform/data/libgen.h-data: Likewise.
63848         * conform/data/limits.h-data: Likewise.
63849         * conform/data/locale.h-data: Likewise.
63850         * conform/data/math.h-data: Likewise.
63851         * conform/data/monetary.h-data: Likewise.
63852         * conform/data/mqueue.h-data: Likewise.
63853         * conform/data/ndbm.h-data: Likewise.
63854         * conform/data/net/if.h-data: Likewise.
63855         * conform/data/netdb.h-data: Likewise.
63856         * conform/data/netinet/in.h-data: Likewise.
63857         * conform/data/nl_types.h-data: Likewise.
63858         * conform/data/poll.h-data: Likewise.
63859         * conform/data/pthread.h-data: Likewise.
63860         * conform/data/pwd.h-data: Likewise.
63861         * conform/data/regex.h-data: Likewise.
63862         * conform/data/sched.h-data: Likewise.
63863         * conform/data/search.h-data: Likewise.
63864         * conform/data/semaphore.h-data: Likewise.
63865         * conform/data/setjmp.h-data: Likewise.
63866         * conform/data/signal.h-data: Likewise.
63867         * conform/data/spawn.h-data: Likewise.
63868         * conform/data/stdarg.h-data: Likewise.
63869         * conform/data/stdio.h-data: Likewise.
63870         * conform/data/stdlib.h-data: Likewise.
63871         * conform/data/string.h-data: Likewise.
63872         * conform/data/strings.h-data: Likewise.
63873         * conform/data/stropts.h-data: Likewise.
63874         * conform/data/sys/ipc.h-data: Likewise.
63875         * conform/data/sys/mman.h-data: Likewise.
63876         * conform/data/sys/msg.h-data: Likewise.
63877         * conform/data/sys/resource.h-data: Likewise.
63878         * conform/data/sys/select.h-data: Likewise.
63879         * conform/data/sys/sem.h-data: Likewise.
63880         * conform/data/sys/shm.h-data: Likewise.
63881         * conform/data/sys/socket.h-data: Likewise.
63882         * conform/data/sys/stat.h-data: Likewise.
63883         * conform/data/sys/statvfs.h-data: Likewise.
63884         * conform/data/sys/time.h-data: Likewise.
63885         * conform/data/sys/timeb.h-data: Likewise.
63886         * conform/data/sys/times.h-data: Likewise.
63887         * conform/data/sys/types.h-data: Likewise.
63888         * conform/data/sys/uio.h-data: Likewise.
63889         * conform/data/sys/un.h-data: Likewise.
63890         * conform/data/sys/utsname.h-data: Likewise.
63891         * conform/data/sys/wait.h-data: Likewise.
63892         * conform/data/syslog.h-data: Likewise.
63893         * conform/data/tar.h-data: Likewise.
63894         * conform/data/termios.h-data: Likewise.
63895         * conform/data/utime.h-data: Likewise.
63896         * conform/data/utmpx.h-data: Likewise.
63897         * conform/data/varargs.h-data: Likewise.
63898         * conform/data/wchar.h-data: Likewise.
63899         * conform/data/wctype.h-data: Likewise.
63900         * conform/data/wordexp.h-data: Likewise.
63902         * include/stropts.h: New file.
63903         * include/uchar.h: New file.
63904         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63905         * include/assert.h: Likewise.
63906         * include/ctype.h: Likewise.
63907         * include/dirent.h: Likewise.
63908         * include/dlfcn.h: Likewise.
63909         * include/fcntl.h: Likewise.
63910         * include/fnmatch.h: Likewise.
63911         * include/glob.h: Likewise.
63912         * include/grp.h: Likewise.
63913         * include/libio.h: Likewise.
63914         * include/locale.h: Likewise.
63915         * include/math.h: Likewise.
63916         * include/net/if.h: Likewise.
63917         * include/netdb.h: Likewise.
63918         * include/netinet/in.h: Likewise.
63919         * include/pthread.h: Likewise.
63920         * include/pwd.h: Likewise.
63921         * include/regex.h: Likewise.
63922         * include/sched.h: Likewise.
63923         * include/search.h: Likewise.
63924         * include/setjmp.h: Likewise.
63925         * include/signal.h: Likewise.
63926         * include/stdio.h: Likewise.
63927         * include/stdlib.h: Likewise.
63928         * include/string.h: Likewise.
63929         * include/sys/cdefs.h: Likewise.
63930         * include/sys/mman.h: Likewise.
63931         * include/sys/msg.h: Likewise.
63932         * include/sys/resource.h: Likewise.
63933         * include/sys/select.h: Likewise.
63934         * include/sys/socket.h: Likewise.
63935         * include/sys/stat.h: Likewise.
63936         * include/sys/statvfs.h: Likewise.
63937         * include/sys/time.h: Likewise.
63938         * include/sys/times.h: Likewise.
63939         * include/sys/uio.h: Likewise.
63940         * include/sys/utsname.h: Likewise.
63941         * include/sys/wait.h: Likewise.
63942         * include/termios.h: Likewise.
63943         * include/time.h: Likewise.
63944         * include/ulimit.h: Likewise.
63945         * include/unistd.h: Likewise.
63946         * include/utime.h: Likewise.
63947         * include/wchar.h: Likewise.
63948         * include/wctype.h: Likewise.
63949         * include/wordexp.h: Likewise.
63951         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63953         * time/time.h: TIME_UTC must be a macro.
63954         Make timespec_get available for ISO C11 only as well.
63956 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63958         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63959         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63961 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63963         * configure.in: Use -o not -a in test for unsupported multi-arch.
63965 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63967         * manual/texinfo.tex: Update to version 2012-01-19.16.
63969 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63971         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63973 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63975         [BZ #13738]
63976         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63977         * manual/fdl-1.3.texi: New file.
63978         * manual/fdl-1.1.texi: File removed.
63980         [BZ #13738]
63981         * manual/libc.texinfo (FDL_VERSION): New @set.
63982         Use it for mention of FDL in cover text.
63983         (Documentation License): Use it in @include file name.
63985 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63986             Roland McGrath  <roland@hack.frob.com>
63988         [BZ #5461]
63989         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63990         (not LONG_LONG_MAX and LONG_LONG_MIN.
63991         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63992         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63993         name.
63994         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63996 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63998         [BZ #2547]
63999         [BZ #11365]
64000         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64001         manipulate bits before adding and subtracting TWO23[sx].
64002         * math/libm-test.inc (nearbyint_test): Add more tests.
64004 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64006         [BZ #2548]
64007         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64008         bits before adding and subtracting TWO23[sx].
64009         * math/libm-test.inc (rint_test): Add more tests.
64010         (rint_test_tonearest): Likewise.
64011         (rint_test_towardzero): Likewise.
64012         (rint_test_downward): Likewise.
64013         (rint_test_upward: Likewise.
64015 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64017         [BZ #10110]
64018         * include/stdc-predef.h: New file.  Extracted from features.h.
64019         * include/features.h: Include stdc-predef.h.
64020         * Makefile (headers): Add stdc-predef.h.
64021         * CONFORMANCE (Compiler limitations): Update.
64023 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64025         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64027 2012-02-21  David S. Miller  <davem@davemloft.net>
64029         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64030         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64032 2012-02-20  David S. Miller  <davem@davemloft.net>
64034         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64035         using a normal save/restore sequence, rather than allocating a
64036         dummy stack frame just to store a frame pointer and restore.
64037         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64039 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64041         * manual/install.texi: Fix stray word in line-wrapped comment.
64043 2012-02-20  David S. Miller  <davem@davemloft.net>
64045         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64046         both binutils and gcc support GOTDATA.
64048         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64049         "rd %pc" in the PIC register setup sequences.
64051         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64052         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64053         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64054         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64055         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64056         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64057         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64058         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64059         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64060         (SYSCALL_ERROR_HANDLER): Likewise.
64061         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64062         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64063         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64064         (SYSCALL_ERROR_HANDLER): Likewise.
64066         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64067         (HAVE_GCC_GOTDATA): New.
64068         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64069         relocation support in both binutils and gcc.
64070         * sysdeps/sparc/elf/configure: Regenerate.
64072         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64073         * sysdeps/sparc/sparc32/elf/configure: Delete.
64074         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64075         * sysdeps/sparc/sparc64/elf/configure: Delete.
64076         * sysdeps/sparc/elf/configure.in: New file.
64077         * sysdeps/sparc/elf/configure: Generate.
64079         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64080         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64081         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64082         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64083         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64085 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64087         * manual/install.texi: Do not mention specific glibc version
64088         numbers.
64089         * manual/libc.texinfo (VERSION, UPDATED): Update.
64090         (@copying): Use @copyright{} and range of years.
64092 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64094         [BZ #13695]
64095         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64096         [crti.S not in sysdirs] (generated): Do not append.
64097         [crti.S not in sysdirs] (omit-deps): Likewise.
64098         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64099         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64100         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64101         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64102         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64103         Likewise.
64104         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64105         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64106         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64107         * csu/defs.awk: Remove file.
64108         * sysdeps/generic/initfini.c: Likewise.
64109         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64110         variable.
64111         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64112         Likewise.
64114 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64116         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64117         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64118         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64119         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64120         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64121         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64122         <bits/epoll.h>.
64123         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64124         (__EPOLL_PACKED): Define to empty if not defined by
64125         <bits/epoll.h>.
64126         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64128         bits/epoll.h.
64130 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64132         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64133         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64134         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64135         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64136         <bits/timerfd.h>.
64137         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64139         bits/timerfd.h.
64141 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64143         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64144         in C locale.
64145         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64146         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64147         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64150 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64152         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64153         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64155 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64157         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64158         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64159         defined.
64160         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64161         Likewise.
64162         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64163         entry for 2.16.
64165 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64167         * math/w_acos.c: Use non-signaling floating-point comparisons.
64168         * math/w_acosf.c: Likewise.
64169         * math/w_acosh.c: Likewise.
64170         * math/w_acoshf.c: Likewise.
64171         * math/w_acoshl.c: Likewise.
64172         * math/w_acosl.c: Likewise.
64173         * math/w_asin.c: Likewise.
64174         * math/w_asinf.c: Likewise.
64175         * math/w_asinl.c: Likewise.
64176         * math/w_atanh.c: Likewise.
64177         * math/w_atanhf.c: Likewise.
64178         * math/w_atanhl.c: Likewise.
64179         * math/w_exp2.c: Likewise.
64180         * math/w_exp2f.c: Likewise.
64181         * math/w_exp2l.c: Likewise.
64182         * math/w_j0.c: Likewise.
64183         * math/w_j0f.c: Likewise.
64184         * math/w_j0l.c: Likewise.
64185         * math/w_j1.c: Likewise.
64186         * math/w_j1f.c: Likewise.
64187         * math/w_j1l.c: Likewise.
64188         * math/w_jn.c: Likewise.
64189         * math/w_jnf.c: Likewise.
64190         * math/w_log.c: Likewise.
64191         * math/w_log10.c: Likewise.
64192         * math/w_log10f.c: Likewise.
64193         * math/w_log10l.c: Likewise.
64194         * math/w_log2.c: Likewise.
64195         * math/w_log2f.c: Likewise.
64196         * math/w_log2l.c: Likewise.
64197         * math/w_logf.c: Likewise.
64198         * math/w_logl.c: Likewise.
64199         * math/w_sqrt.c: Likewise.
64200         * math/w_sqrtf.c: Likewise.
64201         * math/w_sqrtl.c: Likewise.
64202         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64203         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64204         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64205         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64206         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64208 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64210         [BZ #9739]
64211         * manual/string.texi (strnlen): Use correct parameter name in
64212         equivalent expression.
64214 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64216         [BZ #11174]
64217         * manual/users.texi (seteuid): Consistently use neweuid for
64218         argument name.
64220 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64222         [BZ #13704]
64223         * manual/nss.texi (Services in the NSS configuration): Correct
64224         list of services in example configuration file.
64226 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
64228         [BZ #11322]
64229         * manual/arith.texi: Remove statements about negative zero
64230         behaving identically to zero.
64232 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64234         [BZ #5993]
64235         * manual/install.texi: Do not document upgrading from libc5.
64237 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
64239         [BZ #4596]
64240         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64242 2012-02-18  David S. Miller  <davem@davemloft.net>
64244         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64245         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64246         %o7 across the call.
64247         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64248         instead.
64249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64250         SETUP_PIC_REG_LEAF.
64251         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64252         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64253         * sysdeps/sparc/crtn.S: Likewise.
64255 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
64257         * aout/Makefile: Remove.
64259 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
64261         [BZ #13058]
64262         * manual/examples/argp-ex1.c (main): Format definition in GNU
64263         style.
64264         * manual/examples/argp-ex2.c (main): Likewise.
64265         * manual/examples/argp-ex3.c (main): Likewise.
64266         * manual/examples/argp-ex4.c (main): Likewise.
64267         * manual/examples/longopt.c (main): Use new-style prototype
64268         definition.
64269         * manual/examples/strncat.c (main): Specify return type and use
64270         (void) for arguments.
64271         * manual/examples/subopt.c (main): Use char **argv argument.
64273 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64275         [BZ #5077]
64276         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64277         rounding modes.
64279 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
64281         [BZ #6907]
64282         * manual/string.texi (strchr): Change when strchrnul is
64283         recommended.
64285 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
64287         [BZ #174]
64288         * manual/locale.texi (setlocale): Document LOCPATH.
64290 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64292         [BZ #10210]
64293         * manual/process.texi (execle): Move @dots{} before last argument.
64295 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
64297         [BZ #12047]
64298         * manual/charset.texi (Generic Charset Conversion): Fix typo
64299         (LC_TYPE -> LC_CTYPE).
64301 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
64303         [BZ #5805]
64304         * manual/arith.texi (scalbn): Use @var{} on parameter names.
64305         (scalbnf): Likewise.
64306         (scalbnl): Likewise.
64307         (scalbln): Likewise.
64308         (scalblnf): Likewise.
64309         (scalblnl): Likewise.
64310         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64311         (vwarnx): Likewise.
64312         (verr): Likewise.
64313         (verrx): Likewise.
64314         * manual/filesys.texi (telldir): Use braces around return type.
64315         * manual/llio.texi (mmap): Add space after comma.
64316         (mmap64): Likewise.
64317         * manual/math.texi (jn): Use @var{} on parameter names.
64318         (jnf): Likewise.
64319         (jnl): Likewise.
64320         (yn): Likewise.
64321         (ynf): Likewise.
64322         (ynl): Likewise.
64323         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64324         line.
64325         * manual/resource.texi (ulimit): Use @dots{} instead of literal
64326         "...".
64327         (sched_get_priority_min): Remove semicolon on @deftypefun line.
64328         (sched_get_priority_max): Likewise.
64329         * manual/signal.texi (sigvec): Add space after comma.
64330         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64331         names.
64332         (if_indextoname): Likewise.
64333         (if_freenameindex): Likewise.
64334         (sendto): Use ',' instead of '.' in prototype.
64335         * manual/startup.texi (syscall): Use @dots{} instead of literal
64336         "...".
64337         * manual/stdio.texi (__fpending): Separate initial words of
64338         paragraph from @deftypefun line.
64339         * manual/syslog.texi (syslog): Use @dots{} instead of literal
64340         "...".
64341         (vsyslog): Use @var{} on parameter names.
64342         * manual/terminal.texi (stty): Use @var{} on parameter names.
64343         * manual/users.texi (getutmp): Use @var{} on parameter names.
64344         (getutmpx): Likewise.
64346 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64348         [BZ #6884]
64349         * manual/stdio.texi (fopen): Fix typos in description of
64350         ",ccs=STRING".
64352 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
64354         [BZ #4026]
64355         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64356         get clock_id definition.
64358 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
64360         [BZ #4822]
64361         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64362         (madvise): Cast every argument to void on its own.
64364 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64366         [BZ #9902]
64367         * manual/startup.texi (Exit Status): Fix typo.
64369 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
64371         [BZ #10140]
64372         * manual/examples/argp-ex1.c: Include <stdlib.h>.
64373         * manual/examples/argp-ex2.c: Likewise.
64374         * manual/examples/argp-ex3.c: Likewise.
64376 2012-02-16  Richard Henderson  <rth@redhat.com>
64378         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64379         * sysdeps/s390/s390-32/initfini.c: Remove.
64380         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64381         * sysdeps/s390/s390-64/initfini.c: Remove.
64383 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64385         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64386         compiler output for sysdeps/generic/initfini.c.
64387         * sysdeps/sh/elf/initfini.c: Remove file.
64389 2012-02-16  David S. Miller  <davem@davemloft.net>
64391         [BZ #11494]
64392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64394         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64395         * sysdeps/sparc/crti.S: New file.
64396         * sysdeps/sparc/crtn.S: New file.
64397         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64398         * sysdeps/sparc/sparc64/Makefile: Likewise.
64400 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64402         [BZ #3335]
64403         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64405 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64407         [BZ #4822]
64408         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64410         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64411         (write, read, close): Likewise.
64412         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64414 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64416         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64417         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64418         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64419         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64420         <bits/signalfd.h>.
64421         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64423         bits/signalfd.h.
64425 2012-02-14  Marek Polacek  <polacek@redhat.com>
64427         * sysdeps/x86_64/crti.S: New file.
64428         * sysdeps/x86_64/crtn.S: New file.
64429         * sysdeps/x86_64/elf/initfini.c: Remove file.
64431 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64433         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64434         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64435         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64436         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64437         <bits/inotify.h>.
64438         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64440         bits/inotify.h.
64442 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64444         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64445         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64446         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64447         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64448         <bits/eventfd.h>.
64449         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64451         bits/eventfd.h.
64453 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64455         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64456         __feraiseexcept instead of feraiseexcept.
64458         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64459         nanosleep invocations.
64460         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64461         strings, and add error checking for a nanosleep invocations.
64463 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64465         Replace FSF snail mail address with URLs, as per GNU coding standards.
64466         Most of the snail mail addresses were wrong anyway, and omitting
64467         them makes the source code easier to maintain.  Almost all of the
64468         changes are to license notices and to locale LC_IDENTIFICATION
64469         addresses, except for this one:
64470         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64471         not its snail mail address.
64473 2012-02-09  Richard Henderson  <rth@twiddle.net>
64475         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64476         of kernel-features.h.
64478         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64480 2012-02-08  Marek Polacek  <polacek@redhat.com>
64482         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64483         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64484         * sysdeps/gnu/_G_config.h: Likewise.
64485         * sysdeps/generic/_G_config.h: Likewise.
64487 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64489         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64490         tests.
64491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64493         * sysdeps/powerpc/powerpc32/crti.S: New file.
64494         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64495         * sysdeps/powerpc/powerpc64/crti.S: New file.
64496         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64498         * Makeconfig (have-initfini): Don't set.
64499         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64500         * configure.in (nopic_initfini): Don't substitute.
64501         * config.h.in (HAVE_INITFINI): Don't #undef.
64502         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64503         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64505 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64507         Support crti.S and crtn.S provided directly by architectures.
64508         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64509         [crti.S in sysdirs] (omit-deps): Likewise.
64510         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64511         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64512         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64513         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64514         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64515         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64516         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64517         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64518         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64519         compiler output for sysdeps/generic/initfini.c.
64520         * sysdeps/i386/elf/Makefile: Remove file.
64521         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64523 2012-02-07  Marek Polacek  <polacek@redhat.com>
64525         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64526         * sysdeps/gnu/_G_config.h: Likewise.
64527         * sysdeps/mach/hurd/_G_config.h: Likewise.
64529 2012-02-07  Marek Polacek  <polacek@redhat.com>
64531         * math/Makefile (tests): Add tst-CMPLX2.
64532         * math/tst-CMPLX2.c: New file.
64534 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64536         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64538         * math/libm-test.inc (jn_test): Add missing L suffix.
64540 2012-02-06  Marek Polacek  <polacek@redhat.com>
64542         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64543         * sysdeps/i386/fpu/e_powf.S: Likewise.
64544         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64545         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64546         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64547         * sysdeps/i386/fpu/e_pow.S: Likewise.
64548         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64549         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64550         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64551         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64552         * sysdeps/i386/fpu/e_log2.S: Likewise.
64553         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64554         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64555         * sysdeps/i386/fpu/e_powl.S: Likewise.
64556         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64557         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64558         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64559         * sysdeps/i386/fpu/e_logl.S: Likewise.
64560         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64561         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64562         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64563         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64564         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64565         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64566         * sysdeps/i386/fpu/e_log.S: Likewise.
64567         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64568         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64569         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64570         * sysdeps/i386/fpu/e_logf.S: Likewise.
64571         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64572         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64573         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64574         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64575         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64576         * sysdeps/i386/fpu/e_log10.S: Likewise.
64577         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64578         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64579         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64580         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64581         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64582         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64583         * sysdeps/i386/asm-syntax.h: Likewise.
64584         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64585         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64586         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64587         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64588         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64589         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64590         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64591         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64592         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64593         * sysdeps/powerpc/sysdep.h: Likewise.
64594         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64595         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64597 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64599         [BZ #411]
64600         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64602 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64604         * sysdeps/i386/sysdep.h: Include <features.h>.
64605         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64606         version.
64608 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64610         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64611         Define.
64612         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64613         LOAD_PIC_REG_STR.
64615 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64617         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64618         (SETUP_PIC_REG): Use GET_PC_THUNK.
64619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64620         macro.
64622 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64624         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64625         for non-PIC compilation.
64626         (SETUP_PIC_REG): Add .p2align directive.
64627         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64628         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64629         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64630         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64631         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64632         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64633         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64634         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64635         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64636         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64637         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64638         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64639         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64640         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64641         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64642         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64643         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64644         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64645         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64646         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64647         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64648         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64649         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64650         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64651         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64652         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64653         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64654         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64655         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64656         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64657         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64658         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64659         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64660         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64661         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64662         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64663         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64664         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64665         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64666         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64667         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64669 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64671         * math/tst-CMPLX.c: Include <stdio.h>.
64673 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64675         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64676         float.
64677         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64678         * sysdeps/sparc/bits/mathdef.h: Likewise.
64680 2012-01-31  Marek Polacek  <polacek@redhat.com>
64682         * libio/libio.h: Don't define _PARAMS.
64683         * locale/programs/config.h: Don't define PARAMS.
64684         * stdlib/strtol_l.c: Likewise.
64685         (__strtol_l): Remove PARAMS from the prototype.
64687 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64689         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64690         names.  Just use the correct names.  Remove unnecessary wrapper
64691         functions.
64692         * malloc/arena.c: Likewise.
64693         * malloc/hooks.c: Likewise.
64695         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64696         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64697         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64699 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64701         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64702         into tail calls.
64703         (update_get_addr): New function.
64704         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64705         GET_ADDR_MODULE parameter.
64707 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64709         * crypt/cert.c: Remove __STDC__ conditionals.
64710         * crypt/crypt-entry.c: Likewise.
64711         * crypt/crypt_util.c: Likewise.
64712         * libio/filedoalloc.c: Likewise.
64713         * libio/fileops.c: Likewise.
64714         * libio/genops.c: Likewise.
64715         * libio/iofclose.c: Likewise.
64716         * libio/iofdopen.c: Likewise.
64717         * libio/iofopen.c: Likewise.
64718         * libio/iofopen64.c: Likewise.
64719         * libio/iogetdelim.c: Likewise.
64720         * libio/iopopen.c: Likewise.
64721         * libio/obprintf.c: Likewise.
64722         * libio/oldfileops.c: Likewise.
64723         * libio/oldiofclose.c: Likewise.
64724         * libio/oldiofdopen.c: Likewise.
64725         * libio/oldiofopen.c: Likewise.
64726         * libio/oldiopopen.c: Likewise.
64727         * libio/wfiledoalloc.c: Likewise.
64728         * libio/wgenops.c: Likewise.
64729         * locale/programs/xmalloc.c: Likewise.
64730         * misc/syslog.c: Likewise.
64731         * stdio-common/xbug.c: Likewise.
64732         * string/memchr.c: Likewise.
64733         * string/memcmp.c: Likewise.
64734         * string/memrchr.c: Likewise.
64735         * string/rawmemchr.c: Likewise.
64736         * sysdeps/posix/getcwd.c: Likewise.
64737         * time/strftime_l.c: Likewise.
64739 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64741         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64742         * config.make.in (config-cflags-sse2avx): Define.
64743         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64744         Fix typo.
64746 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64748         * scripts/config.guess: Update from upstream config git repository.
64749         * scripts/config.sub: Likewise.
64751 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64753         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64754         (EM_NUM): Update.
64755         (R_TILEPRO_*, R_TILEGX_*): New macros.
64757         * scripts/firstversions.awk: Fix bug in version range handling.
64759         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64761         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64763         * include/sys/epoll.h: New file.
64764         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64765         libc_hidden_def.
64767 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64769         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64770         Avoid unnecessary __WORDSIZE == 64 test.
64771         (fmaxf): Use VEX format if possible.
64772         (fmax): Likewise.
64773         (fminf): Likewise.
64774         (fmin): Likewise.
64776         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64777         * math/math_private.h: Remove libc_fegetround* and
64778         libc_fesetround*.
64779         * sysdeps/i386/configure.in: Check for -msse2avx.
64780         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64781         also if SSE2AVX is defined.
64782         Remove libc_fegetround* and libc_fesetround*.
64783         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64784         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64785         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64786         of HAS_YMM_USABLE.
64787         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64788         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64789         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64790         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64791         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64793         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64795 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64797         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64798         size is not set.
64799         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64801 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64803         [BZ #13618]
64804         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64805         relocation.
64806         * Makeconfig (libm): Define.
64807         * elf/Makefile: Add rules to build and run tst-relsort1.
64808         * elf/tst-relsort1.c: New file.
64809         * elf/tst-relsort1mod1.c: New file.
64810         * elf/tst-relsort1mod2.c: New file.
64812 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64814         * math/s_ldexp.c: Remove __STDC__ conditionals.
64815         * math/s_ldexpf.c: Likewise.
64816         * math/s_ldexpl.c: Likewise.
64817         * math/s_nextafter.c: Likewise.
64818         * math/s_nexttowardf.c: Likewise.
64819         * math/s_significand.c: Likewise.
64820         * math/s_significandf.c: Likewise.
64821         * math/s_significandl.c: Likewise.
64822         * math/w_jnl.c: Likewise.
64823         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64824         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64825         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64826         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64827         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64828         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64829         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64830         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64831         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64832         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64833         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64834         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64835         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64836         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64837         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64838         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64839         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64840         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64841         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64842         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64843         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64844         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64845         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64846         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64847         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64848         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64849         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64850         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64851         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64852         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64853         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64854         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64855         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64856         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64857         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64858         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64859         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64860         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64861         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64862         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64863         * sysdeps/ieee754/k_standard.c: Likewise.
64864         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64865         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64866         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64867         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64868         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64869         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64870         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64871         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64872         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64873         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64874         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64875         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64876         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64877         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64878         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64879         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64880         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64881         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64882         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64883         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64885         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64886         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64887         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64888         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64889         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64893         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64894         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64895         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64896         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64897         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64899         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64900         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64901         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64902         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64903         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64904         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64905         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64906         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64907         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64908         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64909         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64910         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64911         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64912         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64913         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64914         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64915         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64916         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64917         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64918         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64919         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64920         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64921         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64922         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64923         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64924         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64925         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64926         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64927         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64928         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64929         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64930         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64931         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64932         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64933         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64934         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64935         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64936         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64937         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64938         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64939         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64940         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64941         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64942         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64943         * sysdeps/ieee754/s_matherr.c: Likewise.
64944         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64945         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64946         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64947         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64949 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64951         * crypt/md5.h: Remove __STDC__ conditionals.
64952         * libio/libioP.h: Likewise.
64953         * locale/programs/config.h: Likewise.
64954         * sysdeps/generic/sysdep.h: Likewise.
64955         * sysdeps/i386/asm-syntax.h: Likewise.
64956         * sysdeps/s390/asm-syntax.h: Likewise.
64957         * sysdeps/unix/sysdep.h: Likewise.
64958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64961 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64963         * libio/libio.h: Remove __STDC__ conditionals.
64964         * malloc/obstack.h: Likewise.
64965         * math/complex.h: Likewise.
64966         * math/math.h: Likewise.
64967         * sysdeps/generic/_G_config.h: Likewise.
64968         * sysdeps/gnu/_G_config.h: Likewise.
64969         * sysdeps/mach/hurd/_G_config.h: Likewise.
64970         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64971         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64972         * sysdeps/sparc/bits/mathdef.h: Likewise.
64974 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64976         [BZ #13583]
64977         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64978         Clean up HAS_* macros.
64979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64980         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64981         possible.
64982         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64983         HAS_AVX.
64984         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64985         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64986         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64987         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64988         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64990 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64992         * elf/tst-unique3.cc (gets): Remove declaration.
64993         * elf/tst-unique3lib.cc (gets): Likewise.
64994         * elf/tst-unique3lib2.cc (gets): Likewise.
64995         * elf/tst-unique4.cc (gets): Likewise.
64997 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64999         * include/stdio.h: Add C++ protection.  Add gets declarations and
65000         definitions.
65001         * debug/tst-chk1.c: Don't declare gets here.
65002         * stdio-common/tst-gets.c: Likewise.
65004 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65006         * posix/glob: Remove directory.
65008 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65010         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65012 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65014         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65015         of the non-standard EPFNOSUPPORT.
65017 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65019         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65020         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65021         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65023 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65025         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65027 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65029         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65030         transient errors.
65031         * nscd/grpcache.c (cache_addgr): Likewise.
65032         * nscd/hstcache.c (cache_addhst): Likewise.
65033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65034         * nscd/pwdcache.c (cache_addpw): Likewise.
65035         * nscd/servicescache.c (cache_addserv): Likewise.
65037 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65039         * malloc/malloc.c: Various cleanups.
65040         * malloc/hooks.c: Likewise.
65042         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65043         * stdlib/bug-fmtmsg1.c: New file.
65045         * stdlib/fmtmsg.c (init): Add missing unlock.
65046         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65048 2012-01-12  Marek Polacek  <polacek@redhat.com>
65050         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65051         and _GNU_SOURCE.
65053 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65055         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65056         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65057         macro to ensure uniqueness of label name.
65058         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65059         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65061 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65063         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65065         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65066         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65067         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65070 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65072         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65074         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65075         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65076         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65078         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65080         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65081         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65082         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65083         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65085         * math/bits/math-finite.h: Add ldexp support.
65087 2012-01-10  Marek Polacek  <polacek@redhat.com>
65089         * locale/programs/localedef.h (show_archive_content): Add noreturn
65090         attribute.
65092 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65094         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65096 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65098         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65100         * io/Makefile (headers): Add bits/poll2.h.
65102 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65105         typo #include statement.
65107 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65109         * include/sys/cdefs.h: Define __attribute_alloc_size.
65110         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65111         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65112         * elf/pldd.c: Likewise.
65113         * iconv/iconv_charmap.c: Likewise.
65114         * iconv/iconvconfig.c: Likewise.
65115         * iconv/strtab.c: Likewise.
65116         * locale/programs/locale.c: Likewise.
65117         * locale/programs/localedef.h: Likewise.
65118         * locale/programs/simple-hash.c: Likewise.
65119         * nscd/nscd.h: Likewise.
65120         * nss/makedb.c: Likewise.
65121         * sysdeps/generic/ldconfig.h: Likewise.
65122         * locale/programs/localedef.c: Remove xmalloc prototype.
65123         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65125 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65127         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65128         appropriate.
65130 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65132         * math/Makefile (tests): Add tst-CMPLX.
65133         * math/tst-CMPLX.c: New file.
65135         * math/complex.h (CMPLXL): Fix typo.
65137         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65138         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65139         GLIBC_2.16.
65140         * debug/tst-chk1.c: Add poll and ppoll tests.
65141         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65142         * include/sys/poll.h: Add hidden proto for ppoll.
65143         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65144         * sysdeps/mach/hurd/ppoll.c: Likewise.
65145         * io/ppoll.c: Likewise.
65146         * debug/poll_chk.c: New file.
65147         * debug/ppoll_chk.c: New file.
65148         * include/bits/poll2.h: New file.
65149         * io/bits/poll2.h: New file.
65151         [BZ #1350]
65152         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65154         * configure.in: static is always set to yes.  Remove.
65155         * config.make.in: Don't set build-static.
65156         * Makeconfig: Remove use of build-static.
65157         * dlfcn/Makefile: Likewise.
65158         * elf/Makefile: Likewise.
65159         * math/Makefile: Likewise.
65160         * misc/Makefile: Likewise.
65161         * nptl/Makefile: Likewise.
65162         * sysdeps/mach/hurd/Makefile: Likewise.
65164         * configure.in: PWD_P is not used anymore.
65165         * config.make.in: Remove PWD_P entry.
65167         * configure.in: Remove last remnants of RANLIB.
65168         No need to check for signed size_t anymore.
65169         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65170         and IA-64.
65171         Remove __builtin_expect test because we require at least gcc 3.4.
65172         * aclocal.m4: Likewise.
65174         * wcsmbs/mbrtoc16.c: Implement using towc function.
65175         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65176         * wcsmbs/wcsmbsload.c: Likewise.
65177         * iconv/gconv_simple.c: Likewise.
65178         * iconv/gconv_int.h: Likewise.
65179         * iconv/gconv_builtin.h: Likewise.
65180         * iconv/iconv_prog.c: Remove CHAR16 handling.
65182         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65184         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65186         * configure.in: Remove --with-elf and --enable-bounded options.
65187         Dont set base_machine for ia64.  More non-ELF conditions removed.
65188         Remove testing and setting of leading underscore information.
65189         * config.make.in (build-bounded): Set to no.
65190         * config.h.in: Remove NO_UNDERSCORES entry.
65191         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65192         them.
65193         * csu/start.c: Remove !NO_UNDERSCORE code.
65194         * locale/localeinfo.h: Likewise.
65195         * sysdeps/generic/machine-gmon.h: Likewise.
65196         * sysdeps/generic/sysdep.h: Likewise.
65197         * sysdeps/i386/sysdep.h: Likewise.
65198         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65199         * sysdeps/mach/sysdep.h: Likewise.
65200         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65201         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65202         * sysdeps/sh/sysdep.h: Likewise.
65203         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65204         * sysdeps/unix/i386/sysdep.S: Likewise.
65205         * sysdeps/unix/sparc/start.c: Likewise.
65206         * sysdeps/unix/sparc/sysdep.S: Likewise.
65207         * sysdeps/unix/sparc/sysdep.h: Likewise.
65208         * sysdeps/unix/start.c: Likewise.
65209         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65210         * sysdeps/x86_64/sysdep.h: Likewise.
65212 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65214         [BZ #13553]
65215         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65216         for non-gcc.
65217         * argp/argp-fmtstream.h: Use const instead __const.
65218         * argp/argp.h: Likewise.
65219         * assert/assert.h: Likewise.
65220         * bits/fenv.h: Likewise.
65221         * bits/sched.h: Likewise.
65222         * bits/sigset.h: Likewise.
65223         * bits/sigthread.h: Likewise.
65224         * catgets/nl_types.h: Likewise.
65225         * conform/data/pthread.h-data: Likewise.
65226         * crypt/crypt-private.h: Likewise.
65227         * crypt/crypt.h: Likewise.
65228         * crypt/crypt_util.c: Likewise.
65229         * ctype/ctype.h: Likewise.
65230         * debug/execinfo.h: Likewise.
65231         * debug/mbsnrtowcs_chk.c: Likewise.
65232         * debug/mbsrtowcs_chk.c: Likewise.
65233         * debug/wcsnrtombs_chk.c: Likewise.
65234         * debug/wcsrtombs_chk.c: Likewise.
65235         * debug/wcstombs_chk.c: Likewise.
65236         * dirent/dirent.h: Likewise.
65237         * dlfcn/dlfcn.h: Likewise.
65238         * elf/neededtest4.c: Likewise.
65239         * grp/grp.h: Likewise.
65240         * gshadow/gshadow.h: Likewise.
65241         * iconv/gconv.h: Likewise.
65242         * iconv/gconv_int.h: Likewise.
65243         * iconv/gconv_simple.c: Likewise.
65244         * iconv/iconv.h: Likewise.
65245         * iconv/loop.c: Likewise.
65246         * iconv/skeleton.c: Likewise.
65247         * include/aio.h: Likewise.
65248         * include/aliases.h: Likewise.
65249         * include/argz.h: Likewise.
65250         * include/arpa/inet.h: Likewise.
65251         * include/assert.h: Likewise.
65252         * include/dirent.h: Likewise.
65253         * include/dlfcn.h: Likewise.
65254         * include/execinfo.h: Likewise.
65255         * include/fcntl.h: Likewise.
65256         * include/fenv.h: Likewise.
65257         * include/glob.h: Likewise.
65258         * include/grp.h: Likewise.
65259         * include/libintl.h: Likewise.
65260         * include/mntent.h: Likewise.
65261         * include/netdb.h: Likewise.
65262         * include/pwd.h: Likewise.
65263         * include/rpc/netdb.h: Likewise.
65264         * include/sched.h: Likewise.
65265         * include/search.h: Likewise.
65266         * include/shadow.h: Likewise.
65267         * include/signal.h: Likewise.
65268         * include/stdio.h: Likewise.
65269         * include/stdlib.h: Likewise.
65270         * include/string.h: Likewise.
65271         * include/sys/socket.h: Likewise.
65272         * include/sys/stat.h: Likewise.
65273         * include/sys/statfs.h: Likewise.
65274         * include/sys/statvfs.h: Likewise.
65275         * include/sys/syslog.h: Likewise.
65276         * include/sys/time.h: Likewise.
65277         * include/sys/uio.h: Likewise.
65278         * include/time.h: Likewise.
65279         * include/unistd.h: Likewise.
65280         * include/utmp.h: Likewise.
65281         * include/wchar.h: Likewise.
65282         * include/wctype.h: Likewise.
65283         * inet/aliases.h: Likewise.
65284         * inet/arpa/inet.h: Likewise.
65285         * inet/netinet/ether.h: Likewise.
65286         * inet/netinet/in.h: Likewise.
65287         * intl/libintl.h: Likewise.
65288         * io/bits/fcntl2.h: Likewise.
65289         * io/fcntl.h: Likewise.
65290         * io/ftw.h: Likewise.
65291         * io/sys/poll.h: Likewise.
65292         * io/sys/stat.h: Likewise.
65293         * io/sys/statfs.h: Likewise.
65294         * io/sys/statvfs.h: Likewise.
65295         * io/utime.h: Likewise.
65296         * libio/bits/stdio.h: Likewise.
65297         * libio/bits/stdio2.h: Likewise.
65298         * libio/libio.h: Likewise.
65299         * libio/libioP.h: Likewise.
65300         * libio/stdio.h: Likewise.
65301         * locale/lc-ctype.c: Likewise.
65302         * locale/locale.h: Likewise.
65303         * login/utmp.h: Likewise.
65304         * malloc/arena.c: Likewise.
65305         * malloc/malloc.c: Likewise.
65306         * malloc/malloc.h: Likewise.
65307         * malloc/mcheck.c: Likewise.
65308         * malloc/mtrace.c: Likewise.
65309         * math/bits/mathcalls.h: Likewise.
65310         * math/fenv.h: Likewise.
65311         * math/math_private.h: Likewise.
65312         * misc/bits/error.h: Likewise.
65313         * misc/bits/syslog.h: Likewise.
65314         * misc/err.h: Likewise.
65315         * misc/error.h: Likewise.
65316         * misc/fstab.h: Likewise.
65317         * misc/mntent.h: Likewise.
65318         * misc/regexp.h: Likewise.
65319         * misc/search.h: Likewise.
65320         * misc/sgtty.h: Likewise.
65321         * misc/sys/mman.h: Likewise.
65322         * misc/sys/syslog.h: Likewise.
65323         * misc/sys/uio.h: Likewise.
65324         * misc/sys/xattr.h: Likewise.
65325         * misc/ttyent.h: Likewise.
65326         * nis/rpcsvc/ypclnt.h: Likewise.
65327         * nss/nss.h: Likewise.
65328         * posix/bits/unistd.h: Likewise.
65329         * posix/fnmatch.h: Likewise.
65330         * posix/glob.h: Likewise.
65331         * posix/sched.h: Likewise.
65332         * posix/spawn.h: Likewise.
65333         * posix/sys/wait.h: Likewise.
65334         * posix/unistd.h: Likewise.
65335         * posix/wordexp.h: Likewise.
65336         * pwd/pwd.h: Likewise.
65337         * resolv/netdb.h: Likewise.
65338         * resource/sys/resource.h: Likewise.
65339         * rt/aio.h: Likewise.
65340         * rt/bits/mqueue2.h: Likewise.
65341         * rt/mqueue.h: Likewise.
65342         * shadow/shadow.h: Likewise.
65343         * signal/signal.h: Likewise.
65344         * socket/send.c: Likewise.
65345         * socket/sendto.c: Likewise.
65346         * socket/sys/socket.h: Likewise.
65347         * stdio-common/printf.h: Likewise.
65348         * stdlib/bits/stdlib.h: Likewise.
65349         * stdlib/fmtmsg.h: Likewise.
65350         * stdlib/monetary.h: Likewise.
65351         * stdlib/stdlib.h: Likewise.
65352         * stdlib/ucontext.h: Likewise.
65353         * streams/stropts.h: Likewise.
65354         * string/argz.h: Likewise.
65355         * string/bits/string2.h: Likewise.
65356         * string/string.h: Likewise.
65357         * string/strings.h: Likewise.
65358         * sunrpc/rpc/auth.h: Likewise.
65359         * sunrpc/rpc/auth_des.h: Likewise.
65360         * sunrpc/rpc/clnt.h: Likewise.
65361         * sunrpc/rpc/netdb.h: Likewise.
65362         * sunrpc/rpc/pmap_clnt.h: Likewise.
65363         * sunrpc/rpc/xdr.h: Likewise.
65364         * sysdeps/generic/inttypes.h: Likewise.
65365         * sysdeps/generic/net/if.h: Likewise.
65366         * sysdeps/generic/sys/swap.h: Likewise.
65367         * sysdeps/gnu/net/if.h: Likewise.
65368         * sysdeps/gnu/utmpx.h: Likewise.
65369         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65370         * sysdeps/i386/i486/bits/string.h: Likewise.
65371         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65372         * sysdeps/s390/bits/string.h: Likewise.
65373         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65374         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65375         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65376         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65377         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65378         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65379         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65380         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65381         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65382         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65383         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65384         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65385         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65386         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65387         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65388         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65389         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65390         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65391         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65392         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65393         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65394         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65395         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65396         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65397         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65398         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65399         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65400         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65401         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65402         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65403         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65404         * sysvipc/sys/ipc.h: Likewise.
65405         * sysvipc/sys/msg.h: Likewise.
65406         * sysvipc/sys/sem.h: Likewise.
65407         * sysvipc/sys/shm.h: Likewise.
65408         * termios/termios.h: Likewise.
65409         * time/sys/time.h: Likewise.
65410         * time/time.h: Likewise.
65411         * wcsmbs/bits/wchar2.h: Likewise.
65412         * wcsmbs/uchar.h: Likewise.
65413         * wcsmbs/wchar.h: Likewise.
65414         * wctype/wctype.h: Likewise.
65416         [BZ #13551]
65417         * Makeconfig: Remove all but ELF support including AIX support.
65418         * Makerules: Likewise.
65419         * config.h.in: Likewise.
65420         * config.make.in: Likewise.
65421         * configure: Likewise.
65422         * configure.in: Likewise.
65423         * csu/Makefile: Likewise.
65424         * csu/version.c: Likewise.
65425         * debug/Makefile: Likewise.
65426         * dlfcn/Makefile: Likewise.
65427         * elf/Makefile: Likewise.
65428         * extra-lib.mk: Likewise.
65429         * iconv/Makefile: Likewise.
65430         * include/libc-symbols.h: Likewise.
65431         * include/shlib-compat.h: Likewise.
65432         * resolv/Makefile: Likewise.
65433         * resolv/res_libc.c: Likewise.
65434         * rt/Makefile: Likewise.
65435         * sysdeps/i386/asm-syntax.h: Likewise.
65436         * sysdeps/i386/sysdep.h: Likewise.
65437         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65438         * sysdeps/mach/sysdep.h: Likewise.
65439         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65440         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65441         * sysdeps/s390/asm-syntax.h: Likewise.
65442         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65443         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65444         * sysdeps/sh/sysdep.h: Likewise.
65445         * sysdeps/unix/sparc/sysdep.h: Likewise.
65446         * sysdeps/wordsize-32/divdi3.c: Likewise.
65447         * sysdeps/x86_64/sysdep.h: Likewise.
65449         * argp/Versions: Remove _argp_unlock_xxx.
65451         [BZ #13559]
65452         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65453         * abilist/libBrokenLocale.abilist: Likewise.
65454         * abilist/libanl.abilist: Likewise.
65455         * abilist/libc.abilist: Likewise.
65456         * abilist/libcrypt.abilist: Likewise.
65457         * abilist/libdl.abilist: Likewise.
65458         * abilist/libm.abilist: Likewise.
65459         * abilist/libnsl.abilist: Likewise.
65460         * abilist/libpthread.abilist: Likewise.
65461         * abilist/libresolv.abilist: Likewise.
65462         * abilist/librt.abilist: Likewise.
65463         * abilist/libthread_db.abilist: Likewise.
65464         * abilist/libutil.abilist: Likewise.
65465         * abilist/libnss_db.abilist: New file.
65467         * scripts/abilist.awk: Add support for indirect functions.
65469         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65471         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65473         * shlib-versions: Remove entries for ports architectures.
65475         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65476         files in ports.
65477         * elf/stackguard-macros.h: Remove support for IA-64.
65478         * elf/tst-auditmod1.c: Likewise.
65479         * sysdeps/generic/ldsodefs.h: Likewise.
65481         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65482         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65483         configure files.
65485         [BZ #13552]
65486         * configure.in: Remove --enable-omitfp support.
65487         * FAQ.in: Adjust.
65488         * config.make.in: Likewise.
65489         * Makeconfig: Likewise.
65490         * manual/install.texi: Likewise.
65492         In case anyone cares, the IA-64 architecture could move to ports.
65493         * sysdeps/ia64/*: Removed.
65494         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65495         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65497         [BZ #13555]
65498         * configure.in: Remove entries for unsupported architectures.
65500         [BZ #13533]
65501         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65502         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65503         routines.
65504         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65505         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65506         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65507         fall back to using wcrtomb.
65508         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65509         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65510         renaming.
65511         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65512         * wcsmbs/tst-c16c32-1.c: New file.
65514         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65515         local variable.
65517         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65519         * elf/tst-unique3.cc: Add explicit declaration of gets.
65520         * elf/tst-unique3lib.cc: Likewise.
65521         * elf/tst-unique3lib2.cc: Likewise.
65522         * elf/tst-unique4.cc: Likewise.
65524         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65526 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65528         [BZ #13566]
65529         * assert/assert.h (static_assert): Don't define for C++.
65530         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65531         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65533 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65535         * iconv/loop.c (single loop): Fix assertion in storing of
65536         remaining bytes.
65538         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65540 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65542         * posix/getconf.c: Update copyright year.
65543         * nss/getent.c: Likewise.
65544         * nss/makedb.c: Likewise.
65545         * iconv/iconvconfig.c: Likewise.
65546         * iconv/iconv_prog.c: Likewise.
65547         * elf/ldconfig.c: Likewise.
65548         * elf/pldd.c: Likewise.
65549         * elf/sotruss.ksh: Likewise.
65550         * catgets/gencat.c: Likewise.
65551         * csu/version.c: Likewise.
65552         * elf/ldd.bash.in: Likewise.
65553         * elf/sprof.c (print_version): Likewise.
65554         * locale/programs/locale.c: Likewise.
65555         * locale/programs/localedef.c: Likewise.
65556         * login/programs/pt_chown.c: Likewise.
65557         * nscd/nscd.c (print_version): Likewise.
65558         * debug/xtrace.sh: Likewise.
65559         * malloc/memusage.sh: Likewise.
65560         * malloc/mtrace.pl: Likewise.
65561         * debug/catchsegv.sh: Likewise.
65563 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65565         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65566         pure attribute.
65568 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65570         [BZ #13533]
65571         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65572         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65573         transformations.
65574         * iconv/gconv_int.h: Likewise.
65575         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65576         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65577         from libc for GLIBC_2.16.
65578         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65579         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65580         * wcsmbs/uchar.h: Really define mbstate_t.
65581         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65582         * wcsmbs/c16rtomb.c: New file.
65583         * wcsmbs/mbrtoc16.c: New file.
65584         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65585         for C/POSIX locale.
65586         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65587         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65589         * wcsmbs/wchar.h: Add missing __restrict.
65591 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65593         [BZ #13532]
65594         * time/Makefile (routines): Add timespec_get.
65595         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65596         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65597         timespec for ISO C11.
65598         * time/timespec_get.c: New file.
65599         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65600         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65602         [BZ #13531]
65603         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65604         * stdlib/stdlib.h: Declare aligned_alloc.
65605         * Versions.def: Add GLIBC_2.16 for libc.
65606         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65608         [BZ 13527]
65609         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65610         ISO C11.
65612         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65613         code.
65615         [BZ #13528]
65616         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65618         [BZ #13529]
65619         * assert/assert.h (static_assert): Define.
65621         * version.h: Update for 2.16 development version.
65623         [BZ #13526]
65624         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65625         _ISOC11_SOURCE.
65627         * version.h (RELEASE): Bump for 2.15 release.
65628         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65630         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65631         Patch by Marek Polacek <mpolacek@redhat.com>.
65633         * bits/byteswap.h: Protect long long constants with __extension__.
65634         * sysdeps/i386/bits/byteswap.h: Likewise.
65635         * sysdeps/ia64/bits/byteswap.h: Likewise.
65636         * sysdeps/s390/bits/byteswap.h: Likewise.
65637         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65639 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65641         [BZ #13540]
65642         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65643         destination buffer.
65644         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65646 2011-12-23  Marek Polacek  <polacek@redhat.com>
65648         * elf/dl-addr.c (determine_info): Add inline keyword.
65649         * elf/tst-auditmod4b.c (check_avx): Likewise.
65650         * elf/tst-auditmod6b.c (check_avx): Likewise.
65651         * elf/tst-auditmod6c.c (check_avx): Likewise.
65652         * elf/tst-auditmod7b.c (check_avx): Likewise.
65654 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65656         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65657         !__SSE_MATH__.
65659 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65661         [BZ #13540]
65662         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65663         processing for last bytes.
65665 2011-08-06  Bruno Haible  <bruno@clisp.org>
65667         [BZ #13061]
65668         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65669         U+0385, not to U+1FEE.
65671         [BZ #13062]
65672         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65673         entry for U+00A5 U+0301.
65675 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65677         [BZ #13166]
65678         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65679         buffer for the output is too small.
65681         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65682         optimization.
65684         [BZ #13185]
65685         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65686         SSE flags if possible.
65688 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65690         [BZ #13540]
65691         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65692         processing for last bytes.
65694 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65696         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65697         (syscall-list-default-options, syscall-list-default-condition)
65698         (syscall-list-includes): Define.
65699         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65700         list of ABIs and options and #if conditions for each ABI.  Do not
65701         handle common syscalls between ABIs specially.
65702         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65703         Remove.
65704         (syscall-list-variants, syscall-list-32bit-options)
65705         (syscall-list-32bit-condition, syscall-list-64bit-options)
65706         (syscall-list-64bit-condition): Define.
65707         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65708         (syscall-list-variants, syscall-list-32bit-options)
65709         (syscall-list-32bit-condition, syscall-list-64bit-options)
65710         (syscall-list-64bit-condition): Define.
65711         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65712         Remove.
65713         (syscall-list-variants, syscall-list-32bit-options)
65714         (syscall-list-32bit-condition, syscall-list-64bit-options)
65715         (syscall-list-64bit-condition): Define.
65716         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65717         Remove.
65718         (syscall-list-variants, syscall-list-32bit-options)
65719         (syscall-list-32bit-condition, syscall-list-64bit-options)
65720         (syscall-list-64bit-condition): Define.
65722 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65724         * locale/iso-639.def: Add brx entry.
65726         [BZ #13328]
65727         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65728         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65730         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65731         __feraiseexcept_renamed.
65733 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65735         [BZ #13538]
65736         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65737         EPOLLET with unsigned values.
65738         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65739         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65741         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65742         to large cancellation.
65743         * math/s_cacoshf.c: Likewise.
65744         * math/s_cacoshl.c: Likewise.
65746 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65748         [BZ #13305]
65749         [BZ #12786]
65750         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65751         * math/s_cacoshf.c: Likewise.
65752         * math/s_cacoshl.c: Likewise.
65754 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65756         [BZ #13439]
65757         * iconv/gconv.h: Define __GCONV_SWAP.
65758         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65759         * iconvdata/utf-16.c: Likewise.
65760         * iconvdata/utf-32.c: Likewise.
65762 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65764         [BZ #13524]
65765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65766         numerator after shifting it by one limb.
65768 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65770         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65771         under [__USE_EXTERN_INLINES].
65773 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65775         [BZ #13446]
65776         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65778 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65780         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65781         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65782         optimized code.
65783         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65784         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65785         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65786         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65787         for strncasecmp/strncasecmp_l compilation.
65788         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65789         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65791 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65793         [BZ #13484]
65794         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65795         of __asm__.
65797 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65799         [BZ #13506]
65800         * time/tzfile.c (__tzfile_read): Check values from file header.
65802 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65804         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65805         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65806         * powerpc/powerpc32/dl-start.S: Likewise.
65807         * powerpc/powerpc32/elf/start.S: Likewise.
65808         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65809         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65810         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65811         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65812         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65813         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65814         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65815         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65816         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65817         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65818         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65819         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65820         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65821         * powerpc/powerpc32/memset.S: Likewise.
65822         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65823         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65824         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65825         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65826         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65827         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65828         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65829         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65830         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65831         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65832         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65833         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65834         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65836 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65838         * math/libm-test.inc: Added more nearbyint tests.
65839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65840         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65841         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65842         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65844 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65846         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65847         FD_CLOEXEC.
65849 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65851         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65852         Add wcscpy-ssse3 wcscpy-c.
65853         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65854         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65855         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65856         * sysdeps/x86_64/wcschr.S: New file.
65857         * sysdeps/x86_64/wcsrchr.S: New file.
65858         * string/test-strcmp.c: Remove checking of wcscmp function for
65859         wrong alignments.
65860         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65861         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65862         wcsrchr-sse2 wcsrchr-c.
65863         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65864         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65865         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65866         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65867         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65868         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65869         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65870         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65871         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65872         * wcsmbc/wcschr.c (WCSCHR): New macro.
65874 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65876         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65877         * wcsmbs/test-wcsrchr.c: New file.
65878         * string/test-strrchr.c: Add wcsrchr support.
65879         (WIDE): New macro.
65880         * wcsmbs/test-wcscpy.c: New file.
65881         * string/test-strcpy.c: Add wcscpy support.
65882         (WIDE): New macro.
65884 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65886         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65887         the inner loop.
65889 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65891         [BZ #13472]
65892         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65894 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65896         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65897         Minor optimizations.
65899         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65900         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65901         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65903 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65905         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65906         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65907         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65908         for gcc to avoid warnings.
65909         * inet/Makefile (tests): Add tst-checks.
65910         * inet/tst-checks.c: New file.
65912         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65913         warning.
65915         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65916         __wmemcmp_sse2.
65918         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65919         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65921         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65923 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65925         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65926         problem.
65928         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65930 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65932         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65933         conditional on GCC version.
65934         (__arch_compare_and_exchange_val_8_acq)
65935         (__arch_compare_and_exchange_val_16_acq)
65936         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65937         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65938         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65940 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65942         * sysdeps/sh/backtrace.c: New file.
65944 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65946         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65947         parenthesis.
65949 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65951         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65952         falling back to utime.
65954 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65956         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65957         expectations for float.
65959 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65961         * locale/weight.h (findidx): Add parameter len.
65962         * locale/weightwc.h (findidx): Likewise.
65963         * posix/fnmatch_loop.c (FCT): Adjust caller.
65964         * posix/regcomp.c (build_equiv_class): Likewise.
65965         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65966         * posix/regexec.c (check_node_accept_bytes): Likewise.
65967         * string/strcoll_l.c (STRCOLL): Likewise.
65968         * string/strxfrm_l.c (STRXFRM): Likewise.
65970 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65972         * Makefile.in: Remove CVSOPT handling.
65973         * configure.in: Remove use of AC_REVISION.
65974         * iconvdata/Makefile (distribute): No need to filter out CVS.
65975         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65976         handling.
65978 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65981         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65982         [USE_AS_STRNCASECMP_L]: Likewise.
65983         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65984         NO_TLS_DIRECT_SEG_REFS.
65985         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65986         Fix argument offsets for non-PIC.
65987         [USE_AS_STRNCASECMP_L]: Likewise.
65988         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65989         NO_TLS_DIRECT_SEG_REFS.
65991 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65993         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65994         O_CLOEXEC.
65995         * locale/loadlocale.c (_nl_load_locale): Likewise.
65997 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65999         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66000         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66001         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66002         (SYSCALL_GETTIME): Set errno on error.
66004         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66005         count references to noai6ai_cached.
66007 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66009         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66011         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66012         FD_CLOEXEC for /proc/self/maps.
66014         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66015         FD_CLOEXEC for /proc/meminfo.
66017         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66018         gai.conf.
66020         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66021         FD_CLOEXEC for given file.
66023         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66025         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66026         FD_CLOEXEC for /etc/hosts.
66027         (_gethtent): Likewise.
66029         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66031         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66032         cancellation and set FD_CLOEXEC for /etc/netgroup.
66034         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66035         reading /etc/publickey.
66037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66038         allow cancellation when reading /etc/group.
66040         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66041         cancellation.
66042         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66044         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66045         when using data file.
66047         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66049         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66050         (write_nis_obj): Use "c" and "e" in fopen.
66052         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66054         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66056         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66058         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66060         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66061         locale.alias.
66063         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66065         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66067         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66069         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66070         file parsing and set FD_CLOEXEC.
66072 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66074         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66076 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66078         * malloc/arena.c (arena_get2): Don't call reused_arena when
66079         _int_new_arena failed.
66081 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66083         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66084         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66085         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66086         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66087         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66088         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66089         to compile strcasecmp and strncasecmp.
66090         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66091         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66095 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66097         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66098         locale-defines.sym to gen-as-const-headers.
66099         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66100         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66102         to compile strcasecmp and strncasecmp.
66103         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66104         strcasecmp_l and strncasecmp_l.
66105         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66106         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66107         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66108         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66109         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66110         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66111         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66112         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66113         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66114         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66115         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66117 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66119         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66120         result of SYSDEP_GETTIME_CPU to retval.
66121         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66122         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66124         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66125         variable.
66127         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66128         mantissa words.
66129         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66131         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66132         from unused variable.
66134         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66135         DWARF definitions.
66136         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66137         for assembling.
66139         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66140         over namespaces.
66142         * sunrpc/rpc_prot.c (rejected): Fix case value.
66144         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66145         unsigned long long int to avoid warnings in shift.
66147         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66148         of use of trans.
66149         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66150         variable tmp.
66152         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66153         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66154         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66156         * nis/nis_table.c (nis_list): Use variable of correct type for
66157         result of __follow_path call.
66159 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66161         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66162         of math functions ceil, trunc, floor, round, and sqrt, when
66163         avaliable on the platform.
66164         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66165         name clash.
66166         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66167         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66168         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66170 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66172         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66173         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66175 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66177         * include/unistd.h: Fix __readlink return type.
66178         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66180 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66182         * stdlib/ucontext.h: Undo last change for makecontext.
66184 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66186         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66188         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66189         * setjmp/setjmp.h: Mark functions as non-leaf.
66190         * setjmp/bits/setjmp2.h: Likewise.
66191         * stdlib/ucontext.h: Likewise.
66193 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66195         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66196         (reused_arena): Don't check arena limit.
66197         (arena_get2): Atomically check arena limit.
66199 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66201         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66202         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66205         instructions.
66207 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66209         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66210         handler when locking.
66212         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66213         Fix size of allocated buffer.
66215 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66217         [BZ #10103]
66218         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66219         declarations for long double functions.
66220         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66222         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66224 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66226         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66227         installed.
66229         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66230         is disabled.
66232 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66234         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66236 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66238         * include/alloca.h (stackinfo_alloca_round): Define.
66239         (extend_alloca): Use it.
66240         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66241         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66242         here.
66244         * scripts/check-local-headers.sh: Ignore libaudit.h.
66246         * nscd/Makefile (extra-objs): Make recursively expanded.
66248 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
66250         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66251         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66253         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66254         * posix/tst-rfc3484-2.c: Likewise.
66255         * posix/tst-rfc3484-3.c: Likewise.
66257         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66258         process_vm_writev.
66259         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66260         process_vm_writev.
66261         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66262         process_vm_writev from libc using GLIBC_2.15 version.
66264         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66266 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
66268         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66269         stack usage.
66271 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
66273         [BZ #13367]
66274         * nss/getent.c (initgroups_keys): Show error message in case no group
66275         names are given.
66277         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66278         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66279         __bump_nl_timestamp.
66280         * nscd/connections (nscd_init): When host database is served open
66281         netlink socket and request notification about configuration changes.
66282         (main_loop_poll): Track netlink file descriptor and bump timestamp
66283         in case data becomes available.
66284         (main_loop_epoll): Likewise.
66285         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66286         (database_pers_head): Add extra_data fileds.
66287         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66288         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66289         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66290         Adjust caller.
66291         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66292         in6ai data, call __free_in6ai.
66293         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66294         Add -DHAVE_NETLINK.
66295         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
66296         interface information.  Reuse previous data if netlink timestamp
66297         is not changed.
66298         (__bump_nl_timestamp): New function.
66299         (__free_in6ai): New function.
66301 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
66303         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66304         close_not_cancel_no_status here.
66305         (__check_pf): Reorganize code a bit to not call close twice if OOM.
66307 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66309         [BZ #13276]
66310         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66311         return value.
66313         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66314         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66315         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66317 2011-07-03  Andreas Jaeger  <aj@suse.de>
66319         [BZ #10709]
66320         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66321         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66322         * math/libm-test.inc (sin_test): Add test case.
66324 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
66326         [BZ #13337]
66327         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66328         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66330         * elf/chroot_canon.c (chroot_canon): Cleanups.
66332         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66334         [BZ #13335]
66335         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66336         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66338         * string/test-strchr.c: Make usable for strchrnul testing.
66339         * string/test-strchrnul.c: New file.
66340         * string/Makefile (strop-tests): Add strchrnul.
66342         * po/it.po: Update from translation team.
66343         * po/es.po: Likewise.
66345 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
66347         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66348         the three constants needed as parameters.  Drop the others.
66349         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66350         __m128i_strloadu_tolower.
66351         Create and initialize variable zero and use it in all the places
66352         where _mm_setzero_si128 was used.
66354         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66355         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66356         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66357         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66358         anymore.
66359         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66360         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66361         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66362         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66363         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66364         __mpranred, __mptan.
66365         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66366         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66367         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66368         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66369         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66370         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66371         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66372         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66373         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66375 2011-10-28  Andreas Schwab  <schwab@redhat.com>
66377         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66378         redefine if SHARED.
66379         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66382         wide char related routines to wcsmbs subdir.
66384 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66386         [BZ #13344]
66387         * misc/sys/cdefs.h (__THROWNL): Define.
66388         * posix/unistd.h: Use __THREADNL instead of __THREAD
66389         for memory synchronization functions.
66391 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66393         [BZ #13349]
66394         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66395         doesn't exist.
66396         * manual/stdio.texi (Obstack Streams): Node removed.
66398 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66400         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66401         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66402         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66404         * math/math_private.h (math_force_eval): Allow non-addressable
66405         arguments.
66406         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66408 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66410         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66411         file is not needed.
66413         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66414         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66415         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66416         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66417         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66418         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66419         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66420         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66421         Add AVX variants.
66422         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66423         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66424         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66425         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66426         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66427         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66428         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66429         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66430         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66431         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66432         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66433         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66434         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66435         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66436         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66437         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66438         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66439         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66440         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66442         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66443         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66445         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66446         place.  Use VEX encoding when compiling for AVX.
66448 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66450         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66451         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66453         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66455 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66457         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66458         useless if() expression.
66459         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66460         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66461         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66462         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66463         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66464         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66465         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66466         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66467         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66468         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66469         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66470         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66471         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66472         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66473         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66474         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66475         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66476         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66477         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66479         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66481 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66483         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66484         condition.
66485         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66487 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66489         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66490         .text section.  Avoid duplicate constants.
66491         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66492         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66493         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66494         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66495         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66496         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66497         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66499         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66500         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66501         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66502         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66503         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66504         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66505         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66506         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66507         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66508         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66509         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66510         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66511         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66512         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66513         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66514         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66515         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66516         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66517         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66518         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66519         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66520         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66521         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66522         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66523         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66524         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66525         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66526         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66527         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66528         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66529         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66530         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66531         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66532         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66533         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66534         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66535         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66537 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66539         * sysdeps/x86_64/dla.h: Move to ...
66540         * sysdeps/x86_64/fpu/dla.h: ...here.
66541         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66542         situations.  Use __builtin_fma only for gcc 4.6 and up.
66544         * config.make.in: Add have-mfma4 entry.
66545         * configure.in: Substitute libc_cv_cc_fma4.
66546         * math/Makefile (dbl-only-routines): Add sincostab.
66547         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66548         Use __sincostab not sincos.
66549         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66550         name is a macro.
66551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66553         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66555         using __copysign.
66556         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66557         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66558         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66559         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66560         and __inv.
66561         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66562         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66563         __copysign.
66564         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66565         define aliases when function name is a macro.
66566         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66567         sysdeps/ieee754/dbl-64/sincos.tbl.
66568         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66569         fma4-enabled routines.
66570         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66571         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66572         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66573         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66574         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66575         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66576         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66577         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66578         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66579         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66580         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66581         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66582         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66583         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66584         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66585         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66586         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66587         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66588         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66589         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66590         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66591         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66592         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66593         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66594         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66595         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66596         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66597         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66598         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66599         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66601         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66602         rename.
66603         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66605         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66609         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66612 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66614         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66616 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66618         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66620         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66621         prediction.
66622         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66624         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66625         Remove unused variable magic_bits.
66626         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66628         * string/strnlen.c: Define and use STRNLEN macro.
66629         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66630         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66631         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66632         * wcsmbs/wcslen.c: Define and use WCSLEN.
66633         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66634         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66635         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66636         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66637         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66638         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66639         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66641 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66644         strnlen-sse2-no-bsf.
66645         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66646         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66647         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66648         Add strnlen support.
66649         (USE_AS_STRNLEN): New macro.
66650         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66651         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66652         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66653         * sysdeps/x86_64/wcslen.S: New file.
66655 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66657         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66658         XMM-moves are used for copying on small sizes.
66660 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66662         * wcsmbs/Makefile (strop-tests): Add wcschr.
66663         * wcsmbs/test-wcschr.c: New file.
66664         * string/test-strchr.c: Update.
66665         Add wcschr support.
66666         (WIDE): New macro.
66668 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66670         * wcsmbs/Makefile (strop-tests): Add wcslen.
66671         * wcsmbs/test-wcslen.c: New file.
66672         * string/test-strlen.c: Update.
66673         Add wcslen support.
66674         (WIDE): New macro.
66676 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66678         * po/it.po: Update from translation team.
66680 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66682         * sysdeps/x86_64/wcscmp.S: Update.
66683         Fix wrong comparison semantics.
66684         wcscmp shall use signed comparison not unsigned.
66685         Don't use substraction to avoid overflow bug.
66686         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66687         * wcsmbc/wcscmp.c: Likewise.
66688         * string/test-strcmp.c: Likewise.
66689         Add new tests to check cases with negative values.
66691 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66693         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66694         * sysdeps/x86_64/dla.h: ...here.  New file.
66695         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66697         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66698         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66699         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66700         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66701         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66702         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66703         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66705 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66707         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66708         __ynl_finite aliases.
66710 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66714         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66715         define DLA_FMA.
66716         [DLA_FMA] (EMULV): Use DLA_FMA.
66717         [DLA_FMA] (MUL12): Use EMULV.
66718         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66719         that are not needed.
66720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66723         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66724         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66725         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66726         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66728 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66730         * math/s_nan.c: Undef __nan.
66731         * math/s_nanf.c: Undef __nanf.
66732         * math/s_nanl.c: Undef __nanl.
66733         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66734         "math_private.h".
66736 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66738         * math/s_catan.c: Add branch predictions.
66739         * math/s_catanf.c: Likewise.
66740         * math/s_catanh.c: Likewise.
66741         * math/s_catanhf.c: Likewise.
66742         * math/s_catanhl.c: Likewise.
66743         * math/s_catanl.c: Likewise.
66744         * math/s_cexp.c: Likewise.
66745         * math/s_cexpf.c: Likewise.
66746         * math/s_cexpl.c: Likewise.
66747         * math/s_clog.c: Likewise.
66748         * math/s_clog10.c: Likewise.
66749         * math/s_clog10f.c: Likewise.
66750         * math/s_clog10l.c: Likewise.
66751         * math/s_clogf.c: Likewise.
66752         * math/s_clogl.c: Likewise.
66753         * math/s_csqrt.c: Likewise.
66754         * math/s_csqrtf.c: Likewise.
66755         * math/s_csqrtl.c: Likewise.
66756         * math/s_ctanf.c: Likewise.
66757         * math/s_ctanh.c: Likewise.
66758         * math/s_ctanhf.c: Likewise.
66759         * math/s_ctanhl.c: Likewise.
66760         * math/s_ctanl.c: Likewise.
66762         * math/math_private.h: Define __nan, __nanf, __nanl.
66763         * math/s_cacosh.c: Include <math_private.h>.
66764         * math/s_cacoshl.c: Likewise.
66765         * math/s_casinh.c: Likewise.
66766         * math/s_casinhf.c: Likewise.
66767         * math/s_casinhl.c: Likewise.
66768         * math/s_ccos.c: Rely entire on ccosh.
66769         * math/s_ccosf.c: Rely entire on ccoshf.
66770         * math/s_ccosl.c: Rely entirely on ccoshl.
66771         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66772         Remove tests for FE_INVALID.
66773         * math/s_ccoshf.c: Likewise.
66774         * math/s_ccoshl.c: Likewise.
66775         * math/s_csin.c: Likewise.
66776         * math/s_csinf.c: Likewise.
66777         * math/s_csinh.c Likewise.
66778         * math/s_csinhf.c: Likewise.
66779         * math/s_csinhl.c: Likewise.
66780         * math/s_csinl.c: Likewise.
66781         * math/s_ctan.c: Likewise.
66782         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66783         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66784         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66786 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66789         compilation problems.
66791         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66792         __builtin_expect.
66794 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66796         * sysdeps/i386/configure.in: Test for -mfma4 option.
66797         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66798         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66799         COMMON_CPUID_INDEX_80000001.
66800         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66801         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66802         use it if FMA3 is not supported.
66803         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66805         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66806         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66808 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66810         [BZ #12892]
66811         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66812         it would create a cycle with a link time dependency.
66814 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66816         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66817         instruction.
66818         * string/Makefile (strop-tests): Add rawmemchr.
66819         * string/test-rawmemchr.c: New file.
66821         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66822         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66823         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66824         when compiling str{,n}casecmp and when AVX is available.  Hook up
66825         new optimized code in initializers.
66827 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66829         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66830         __feraiseexcept instead of feraiseexcept.
66832 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66834         * math/math_private.h: Define defaults for libc_fetestexcept and
66835         libc_feupdateenv.
66836         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66837         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66838         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66839         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66840         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66841         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66842         libc_fetestexcept and libc_feupdateenv.
66844         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66845         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66846         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66847         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66848         libc_feholdexcept_setround.
66850         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66851         Add s_nearbyint-c and s_nearbyintf-c.
66852         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66853         nearbyintf inlines.
66854         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66855         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66856         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66857         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66859         * math/math_private.h: Define defaults for libc_fegetround,
66860         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66861         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66862         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66863         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66864         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66865         standard functions.
66866         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66867         Remove comments and hacks for old compiler versions.
66868         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66869         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66870         libc_feholdexceptl.
66872 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66874         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66875         (__feraiseexcept_renamed): Add __NTH.
66876         (feraiseexcept): Add __NTH.  Rename local variables to fix
66877         namespace violations.
66879 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66881         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66883         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66885         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66886         recently added interfaces.
66887         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66889         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66890         about macro parameter expansion.
66892         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66893         __NO_MATH_INLINES is defined.  Cleanups.
66895         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66896         and __floorf is target has SSE4.1.
66897         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66898         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66899         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66900         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66902         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66903         name.
66904         (floorf): Likewise.
66906         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66908 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66910         * misc/sys/cdefs.h: Fix last change.
66912         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66913         database lookup.
66915 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66917         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66919         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66920         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66921         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66922         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66923         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66924         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66925         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66926         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66927         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66928         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66929         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66930         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66931         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66932         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66933         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66934         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66935         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66936         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66937         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66938         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66939         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66940         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66942         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66943         ceil, ceilf, floor, floorf.
66945         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66946         Perform IRELATIVE relocations last.
66948         * elf/do-rel.h: Add another parameter nrelative, replacing the
66949         local variable with the same name.  Change name of the function
66950         to end in Rel or Rela (uppercase).
66951         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66952         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66953         elf_dynamic_do_##reloc function.
66955 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66957         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66958         is sufficient, at least on modern CPUs.
66960         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66962         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66963         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66965         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66966         __expl_finite.
66967         * math/bits/math-finite.h: Add entries for exp.
66968         * math/e_expl.c: Add __*_finite alias.
66969         * sysdeps/i386/fpu/e_exp.S: Likewise.
66970         * sysdeps/i386/fpu/e_expf.S: Likewise.
66971         * sysdeps/i386/fpu/e_expl.c: Likewise.
66972         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66973         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66974         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66975         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66976         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66977         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66978         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66980         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66981         is sufficient, at least on modern CPUs.
66983         * ctype/ctype-info.c (__ctype_init): Define.
66984         * include/ctype.h (__ctype_init): Declare.
66985         (__ctype_b_loc): The variable is always initialized.
66986         (__ctype_toupper_loc): Likewise.
66987         (__ctype_tolower_loc): Likewise.
66988         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66989         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66991 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66993         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66995         * configure.in: Also look in $cxxmachine/include for C++ system
66996         headers.
66998 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67000         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67001         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67002         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67003         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67004         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67005         (USE_AS_WMEMCMP): New macro.
67006         Fixing indents.
67007         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67008         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67009         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67010         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67012         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67013         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67014         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67015         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67016         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67017         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67018         (USE_AS_WMEMCMP): New macro.
67019         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67020         * sysdeps/string/test-memcmp.c: Update.
67021         Fix simple_wmemcmp.
67022         Add new tests.
67023         * wcsmbs/wmemcmp.c: Update.
67024         (WMEMCMP): New macro.
67025         Fix overflow bug.
67027 2011-10-12  Andreas Jaeger  <aj@suse.de>
67029         [BZ #13268]
67030         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67032 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67034         * libio/iofwide.c (do_length): Avoid warning.
67036         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67038 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67040         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67042         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67043         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67044         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67045         * sysdeps/i386/i686/fpu/e_log.S: New file.
67046         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67047         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67049         * ctype/ctype.h: Add support for inlined isXXX functions when
67050         compiling C++ code.
67052 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67054         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67056         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67058 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67060         [BZ #13291]
67061         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67063 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67065         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67066         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67067         feraiseexcept.
67069         * sysdeps/x86_64/memrchr.S: Check for zero size.
67071         * string/stratcliff.c: Add memrchr tests.
67073 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67075         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67076         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67077         rawmemchr-sse2 rawmemchr-sse2-bsf.
67078         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67079         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67080         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67081         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67082         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67083         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67084         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67085         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67086         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67087         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67088         * string/memrchr.c (MEMRCHR): New macro.
67090 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67092         Add integration with gcc's -ffinite-math-only and optimize wrapper
67093         functions in libm.
67094         * Versions.def: Define GLIBC_2.15 version for libm.
67095         * math/Makefile (headers): Add bits/math-finite.h.
67096         * math/bits/math-finite.h: New file.
67097         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67098         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67099         * math/e_acoshl.c: Add __*_finite alias.
67100         * math/e_acosl.c: Likewise.
67101         * math/e_asinl.c: Likewise.
67102         * math/e_atan2l.c: Likewise.
67103         * math/e_atanhl.c: Likewise.
67104         * math/e_coshl.c: Likewise.
67105         * math/e_exp10.c: Likewise.
67106         * math/e_exp10f.c: Likewise.
67107         * math/e_exp10l.c: Likewise.
67108         * math/e_exp2l.c: Likewise.
67109         * math/e_fmodl.c: Likewise.
67110         * math/e_gammal_r.c: Likewise.
67111         * math/e_hypotl.c: Likewise.
67112         * math/e_j0l.c: Likewise.
67113         * math/e_j1l.c: Likewise.
67114         * math/e_jnl.c: Likewise.
67115         * math/e_lgammal_r.c: Likewise.
67116         * math/e_log10l.c: Likewise.
67117         * math/e_log2l.c: Likewise.
67118         * math/e_logl.c: Likewise.
67119         * math/e_powl.c: Likewise.
67120         * math/e_sinhl.c: Likewise.
67121         * math/e_sqrtl.c: Likewise.
67122         * math/e_scalb.c: Completely rewritten and optimized.
67123         * math/e_scalbf.c: Likewise.
67124         * math/e_scalbl.c: Likewise.
67125         * math/w_acos.c: Likewise.
67126         * math/w_acosf.c: Likewise.
67127         * math/w_acosl.c: Likewise.
67128         * math/w_acosh.c: Likewise.
67129         * math/w_acoshf.c: Likewise.
67130         * math/w_acoshl.c: Likewise.
67131         * math/w_asin.c: Likewise.
67132         * math/w_asinf.c: Likewise.
67133         * math/w_asinl.c: Likewise.
67134         * math/w_atan2.c: Likewise.
67135         * math/w_atan2f.c: Likewise.
67136         * math/w_atan2l.c: Likewise.
67137         * math/w_atanh.c: Likewise.
67138         * math/w_atanhf.c: Likewise.
67139         * math/w_atanhl.c: Likewise.
67140         * math/w_exp10.c: Likewise.
67141         * math/w_exp10f.c: Likewise.
67142         * math/w_exp10l.c: Likewise.
67143         * math/w_fmod.c: Likewise.
67144         * math/w_fmodf.c: Likewise.
67145         * math/w_fmodl.c: Likewise.
67146         * math/w_j0.c: Likewise.
67147         * math/w_j0f.c: Likewise.
67148         * math/w_j0l.c: Likewise.
67149         * math/w_j1.c: Likewise.
67150         * math/w_j1f.c: Likewise.
67151         * math/w_j1l.c: Likewise.
67152         * math/w_jn.c: Likewise.
67153         * math/w_jnf.c: Likewise.
67154         * math/w_log.c: Likewise.
67155         * math/w_logf.c: Likewise.
67156         * math/w_logl.c: Likewise.
67157         * math/w_log10.c: Likewise.
67158         * math/w_log10f.c: Likewise.
67159         * math/w_log10l.c: Likewise.
67160         * math/w_log2.c: Likewise.
67161         * math/w_log2f.c: Likewise.
67162         * math/w_log2l.c: Likewise.
67163         * math/w_pow.c: Likewise.
67164         * math/w_powf.c: Likewise.
67165         * math/w_powl.c: Likewise.
67166         * math/w_remainder.c: Likewise.
67167         * math/w_remainderf.c: Likewise.
67168         * math/w_remainderl.c: Likewise.
67169         * math/w_scalb.c: Likewise.
67170         * math/w_scalbf.c: Likewise.
67171         * math/w_scalbl.c: Likewise.
67172         * math/w_sqrt.c: Likewise.
67173         * math/w_sqrtf.c: Likewise.
67174         * math/w_sqrtl.c: Likewise.
67175         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67176         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67177         used.
67178         * math/math_private.h: Declare __kernel_standard_f.
67179         * math/w_cosh.c: Remove cruft and optimize a bit.
67180         * math/w_coshf.c: Likewise.
67181         * math/w_coshl.c: Likewise.
67182         * math/w_exp2.c: Likewise.
67183         * math/w_exp2f.c: Likewise.
67184         * math/w_exp2l.c: Likewise.
67185         * math/w_hypot.c: Likewise.
67186         * math/w_hypotf.c: Likewise.
67187         * math/w_hypotl.c: Likewise.
67188         * math/w_lgamma.c: Likewise.
67189         * math/w_lgamma_r.c: Likewise.
67190         * math/w_lgammaf.c: Likewise.
67191         * math/w_lgammaf_r.c: Likewise.
67192         * math/w_lgammal.c: Likewise.
67193         * math/w_lgammal_r.c: Likewise.
67194         * math/w_sinh.c: Likewise.
67195         * math/w_sinhf.c: Likewise.
67196         * math/w_sinhl.c: Likewise.
67197         * math/w_tgamma.c: Likewise.
67198         * math/w_tgammaf.c: Likewise.
67199         * math/w_tgammal.c: Likewise.
67200         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67201         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67202         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67203         Minor optimizations.  Pretty printing.  Remove cruft.
67204         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67205         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67206         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67207         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67208         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67209         * sysdeps/i386/fpu/e_asin.S: Likewise.
67210         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67211         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67212         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67213         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67214         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67215         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67216         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67217         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67218         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67219         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67220         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67221         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67222         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67223         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67224         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67225         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67226         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67227         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67228         * sysdeps/i386/fpu/e_log.S: Likewise.
67229         * sysdeps/i386/fpu/e_log10.S: Likewise.
67230         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67231         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67232         * sysdeps/i386/fpu/e_log2.S: Likewise.
67233         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67234         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67235         * sysdeps/i386/fpu/e_logf.S: Likewise.
67236         * sysdeps/i386/fpu/e_logl.S: Likewise.
67237         * sysdeps/i386/fpu/e_pow.S: Likewise.
67238         * sysdeps/i386/fpu/e_powf.S: Likewise.
67239         * sysdeps/i386/fpu/e_powl.S: Likewise.
67240         * sysdeps/i386/fpu/e_remainder.S: Likewise.
67241         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67242         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67243         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67244         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67245         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67246         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67247         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67248         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67249         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67250         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67251         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67252         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67253         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67254         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67255         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67256         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67257         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67258         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67259         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67260         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67262         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67263         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67264         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67265         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67266         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67267         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67268         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67269         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67270         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67271         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67272         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67273         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67274         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67275         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67276         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67277         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67278         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67279         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67280         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67281         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67282         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67283         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67284         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67285         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67286         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67287         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67288         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67289         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67290         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67291         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67292         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67293         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67294         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67295         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67296         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67297         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67298         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67299         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67300         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67301         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67302         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67303         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67304         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67305         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67306         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67307         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67308         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67309         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67310         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67311         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67312         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67313         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67314         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67315         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67316         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67317         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67318         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67319         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67320         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67321         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67322         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67323         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67324         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67325         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67326         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67327         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67328         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67329         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67330         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67331         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67332         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67333         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67334         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67335         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67336         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67337         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67338         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67339         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67340         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67341         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67342         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67343         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67344         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67345         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67346         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67347         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67348         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67349         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67350         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67351         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67352         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67353         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67354         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67355         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67356         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67357         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67358         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67359         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
67360         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67361         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67362         (__isnanf): Likewise.
67363         (__isinf_ns): Likewise.
67364         (__isinf_nsf): Likewise.
67365         (__finite): Likewise.
67366         (__finitef): Likewise.
67367         (__ieee754_sqrt): Define as macro.
67368         (__ieee754_sqrtf): Define as macro.
67369         (__ieee754_sqrtl): Define as macro.
67370         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67371         inlined copy.
67372         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67373         __FINITE_MATH_ONLY__ consistent.
67374         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67376 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
67378         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67379         of rawmemchr.
67381         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67383 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67385         * po/ja.po: Update from translation team.
67387 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67389         * locale/programs/locarchive.c (prepare_address_space): New function.
67390         (create_archive, enlarge_archive, open_archive): Use it.
67392         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67393         inside [SHARED], where it is used.
67395         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67397         * nss/getent.c (netgroup_keys): Remove unused variable.
67398         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67400 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67402         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67403         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67405         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67406         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67407         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67408         * math/Makefile (libm-calls): Add s_isinf_ns.
67409         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67410         * math/multc3.c: Likewise.
67411         * math/s_casin.c: Likewise.
67412         * math/s_casinf.c: Likewise.
67413         * math/s_casinl.c: Likewise.
67414         * math/s_ccos.c: Likewise.
67415         * math/s_ccosf.c: Likewise.
67416         * math/s_ccosl.c: Likewise.
67417         * math/s_ctan.c: Likewise.
67418         * math/s_ctanf.c: Likewise.
67419         * math/s_ctanh.c: Likewise.
67420         * math/s_ctanhf.c: Likewise.
67421         * math/s_ctanhl.c: Likewise.
67422         * math/s_ctanl.c: Likewise.
67423         * math/w_fmod.c: Likewise.
67424         * math/w_fmodf.c: Likewise.
67425         * math/w_fmodl.c: Likewise.
67426         * math/w_remainder.c: Likewise.
67427         * math/w_remainderf.c: Likewise.
67428         * math/w_remainderl.c: Likewise.
67429         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67430         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67431         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67432         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67433         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67434         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67435         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67436         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67438         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67439         of the number.
67440         * stdio-common/printf_fphex.c: Likewise.
67441         * stdio-common/printf_size.c: Likewise.
67443         * math/e_exp10.c: Include math_private.h using <...> not "...".
67444         * math/e_exp10f.c: Likewise.
67445         * math/e_exp10l.c: Likewise.
67446         * math/e_exp2l.c: Likewise.
67447         * math/e_j0l.c: Likewise.
67448         * math/e_j1l.c: Likewise.
67449         * math/e_jnl.c: Likewise.
67450         * math/e_lgammal_r.c: Likewise.
67451         * math/e_rem_pio2l.c: Likewise.
67452         * math/e_scalb.c: Likewise.
67453         * math/e_scalbf.c: Likewise.
67454         * math/e_scalbl.c: Likewise.
67455         * math/k_cosl.c: Likewise.
67456         * math/k_sinl.c: Likewise.
67457         * math/k_tanl.c: Likewise.
67458         * math/s_cacoshf.c: Likewise.
67459         * math/s_catan.c: Likewise.
67460         * math/s_catanf.c: Likewise.
67461         * math/s_catanh.c: Likewise.
67462         * math/s_catanhf.c: Likewise.
67463         * math/s_catanhl.c: Likewise.
67464         * math/s_catanl.c: Likewise.
67465         * math/s_ccosh.c: Likewise.
67466         * math/s_ccoshf.c: Likewise.
67467         * math/s_ccoshl.c: Likewise.
67468         * math/s_cexp.c: Likewise.
67469         * math/s_cexpf.c: Likewise.
67470         * math/s_cexpl.c: Likewise.
67471         * math/s_clog.c: Likewise.
67472         * math/s_clog10.c: Likewise.
67473         * math/s_clog10f.c: Likewise.
67474         * math/s_clog10l.c: Likewise.
67475         * math/s_clogf.c: Likewise.
67476         * math/s_clogl.c: Likewise.
67477         * math/s_csin.c: Likewise.
67478         * math/s_csinf.c: Likewise.
67479         * math/s_csinh.c: Likewise.
67480         * math/s_csinhf.c: Likewise.
67481         * math/s_csinhl.c: Likewise.
67482         * math/s_csinl.c: Likewise.
67483         * math/s_csqrt.c: Likewise.
67484         * math/s_csqrtf.c: Likewise.
67485         * math/s_csqrtl.c: Likewise.
67486         * math/s_ctan.c: Likewise.
67487         * math/s_ctanf.c: Likewise.
67488         * math/s_ctanh.c: Likewise.
67489         * math/s_ctanhf.c: Likewise.
67490         * math/s_ctanhl.c: Likewise.
67491         * math/s_ctanl.c: Likewise.
67492         * math/s_ldexp.c: Likewise.
67493         * math/s_ldexpf.c: Likewise.
67494         * math/s_ldexpl.c: Likewise.
67495         * math/s_significand.c: Likewise.
67496         * math/s_significandf.c: Likewise.
67497         * math/s_significandl.c: Likewise.
67498         * math/w_acos.c: Likewise.
67499         * math/w_acosf.c: Likewise.
67500         * math/w_acosh.c: Likewise.
67501         * math/w_acoshf.c: Likewise.
67502         * math/w_acoshl.c: Likewise.
67503         * math/w_acosl.c: Likewise.
67504         * math/w_asin.c: Likewise.
67505         * math/w_asinf.c: Likewise.
67506         * math/w_asinl.c: Likewise.
67507         * math/w_atan2.c: Likewise.
67508         * math/w_atan2f.c: Likewise.
67509         * math/w_atan2l.c: Likewise.
67510         * math/w_atanh.c: Likewise.
67511         * math/w_atanhf.c: Likewise.
67512         * math/w_atanhl.c: Likewise.
67513         * math/w_cosh.c: Likewise.
67514         * math/w_coshf.c: Likewise.
67515         * math/w_coshl.c: Likewise.
67516         * math/w_dremf.c: Likewise.
67517         * math/w_exp10.c: Likewise.
67518         * math/w_exp10f.c: Likewise.
67519         * math/w_exp10l.c: Likewise.
67520         * math/w_exp2.c: Likewise.
67521         * math/w_exp2f.c: Likewise.
67522         * math/w_fmod.c: Likewise.
67523         * math/w_fmodf.c: Likewise.
67524         * math/w_fmodl.c: Likewise.
67525         * math/w_hypot.c: Likewise.
67526         * math/w_hypotf.c: Likewise.
67527         * math/w_hypotl.c: Likewise.
67528         * math/w_j0.c: Likewise.
67529         * math/w_j0f.c: Likewise.
67530         * math/w_j0l.c: Likewise.
67531         * math/w_j1.c: Likewise.
67532         * math/w_j1f.c: Likewise.
67533         * math/w_j1l.c: Likewise.
67534         * math/w_jn.c: Likewise.
67535         * math/w_jnf.c: Likewise.
67536         * math/w_jnl.c: Likewise.
67537         * math/w_lgamma.c: Likewise.
67538         * math/w_lgamma_r.c: Likewise.
67539         * math/w_lgammaf.c: Likewise.
67540         * math/w_lgammaf_r.c: Likewise.
67541         * math/w_lgammal.c: Likewise.
67542         * math/w_lgammal_r.c: Likewise.
67543         * math/w_log.c: Likewise.
67544         * math/w_log10.c: Likewise.
67545         * math/w_log10f.c: Likewise.
67546         * math/w_log10l.c: Likewise.
67547         * math/w_log2.c: Likewise.
67548         * math/w_log2f.c: Likewise.
67549         * math/w_log2l.c: Likewise.
67550         * math/w_logf.c: Likewise.
67551         * math/w_logl.c: Likewise.
67552         * math/w_pow.c: Likewise.
67553         * math/w_powf.c: Likewise.
67554         * math/w_powl.c: Likewise.
67555         * math/w_remainder.c: Likewise.
67556         * math/w_remainderf.c: Likewise.
67557         * math/w_remainderl.c: Likewise.
67558         * math/w_scalb.c: Likewise.
67559         * math/w_scalbf.c: Likewise.
67560         * math/w_scalbl.c: Likewise.
67561         * math/w_sinh.c: Likewise.
67562         * math/w_sinhf.c: Likewise.
67563         * math/w_sinhl.c: Likewise.
67564         * math/w_sqrt.c: Likewise.
67565         * math/w_sqrtf.c: Likewise.
67566         * math/w_sqrtl.c: Likewise.
67567         * math/w_tgamma.c: Likewise.
67568         * math/w_tgammaf.c: Likewise.
67569         * math/w_tgammal.c: Likewise.
67571         * po/ja.po: Update from translation team.
67573 2011-09-29  Andreas Jaeger  <aj@suse.de>
67575         [BZ #13179]
67576         * sunrpc/netname.c (netname2host): Fix logic.
67578         [BZ #6779]
67579         [BZ #6783]
67580         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67581         correctly.
67582         * math/w_remainder.c (__remainder): Likewise.
67583         * math/w_remainderf.c (__remainderf): Likewise.
67584         * math/libm-test.inc (remainder_test): Add test cases.
67586 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67588         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67589         sdiv_qrnnd.
67591 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67593         * string/test-memcmp.c: Avoid unncessary #defines.
67594         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67596 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67598         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67599         Use new sse2 version for core i3 - i7 as it's faster
67600         than sse42 version.
67601         (bit_Prefer_PMINUB_for_stringop): New.
67602         * sysdeps/x86_64/rawmemchr.S: Update.
67603         Replace with faster SSE2 version.
67604         * sysdeps/x86_64/memrchr.S: New file.
67605         * sysdeps/x86_64/memchr.S: Update.
67606         Replace with faster SSE2 version.
67608 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67610         * elf/dl-load.c (lose): Add cast to avoid warning.
67612 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67614         * po/ca.po: Update from translation team.
67616         * inet/getnetgrent_r.c: Hook up nscd.
67617         * nscd/Makefile (routines): Add nscd_netgroup.
67618         (nscd-modules): Add netgroupcache.
67619         (CFLAGS-netgroupcache.c): Define.
67620         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67621         (cache_search): Add const to second parameter.
67622         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67623         INNETGR.
67624         (dbs): Add netgrdb entry.
67625         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67626         (verify_persistent_db): Handle netgrdb.
67627         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67628         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67629         GETFDNETGR.
67630         (netgroup_response_header): Define.
67631         (innetgroup_response_header): Define.
67632         (datahead): Add netgroup_response_header and innetgroup_response_header
67633         elements.
67634         * nscd/nscd.conf: Add entries for netgroup cache.
67635         * nscd/nscd.h (dbtype): Add netgrdb.
67636         (_PATH_NSCD_NETGROUP_DB): Define.
67637         (netgroup_iov_disabled): Declare.
67638         (xmalloc, xcalloc, xrealloc): Move declarations here.
67639         (cache_search): Adjust prototype.
67640         Add netgroup-related prototypes.
67641         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67642         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67643         (__nscd_innetgr): Declare.
67644         * nscd/selinux.c (perms): Use access_vector_t as element type and
67645         add netgroup-related initializers.
67646         * nscd/netgroupcache.c: New file.
67647         * nscd/nscd_netgroup.c: New file.
67648         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67649         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67650         For four parameters use innetgr.
67651         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67652         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67653         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67654         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67656         * nscd/connections.c (register_traced_file): Don't register file
67657         for disabled databases.
67659 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67661         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67663         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67664         from tree and freeing node.
67666 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67668         * nss/nsswitch.c (__nss_database_lookup): Handle
67669         nss_parse_service_list out of memory case.
67671 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67673         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67674         out of memory case.
67676 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67678         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67679         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67680         pass it down.
67681         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67682         elf_machine_rela, elf_machine_lazy_rel.
67683         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67684         (ELF_DYNAMIC_DO_REL): Likewise.
67685         (ELF_DYNAMIC_DO_RELA): Likewise.
67686         (ELF_DYNAMIC_RELOCATE): Likewise.
67687         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67688         to ELF_DYNAMIC_DO_REL.
67689         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67690         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67691         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67692         elf_machine_rela.
67693         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67694         skip_ifunc, don't call ifunc function if non-zero.
67695         (elf_machine_rela): Likewise.
67696         (elf_machine_lazy_rel): Likewise.
67697         (elf_machine_lazy_rela): Likewise.
67698         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67699         (elf_machine_lazy_rel): Likewise.
67700         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67701         Likewise.
67702         (elf_machine_lazy_rel): Likewise.
67703         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67704         Likewise.
67705         (elf_machine_lazy_rel): Likewise.
67706         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67707         (elf_machine_lazy_rel): Likewise.
67708         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67709         (elf_machine_lazy_rel): Likewise.
67710         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67711         (elf_machine_lazy_rel): Likewise.
67712         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67713         (elf_machine_lazy_rel): Likewise.
67714         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67715         (elf_machine_lazy_rel): Likewise.
67716         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67717         (elf_machine_lazy_rel): Likewise.
67719 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67721         * nss/nss_files/files-init.c (_nss_files_init): Use static
67722         initialization for all the *_traced_file variables.
67724 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67726         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67728 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67730         [BZ #13226]
67731         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67733 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67735         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67736         Reread the line before reparsing it.
67738 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67740         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67742 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67743             Maxim Kuvyrkov  <maxim@codesourcery.com>
67744             Joseph Myers  <joseph@codesourcery.com>
67746         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67747         if needed for __stack_chk_guard.
67749 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67751         * sysdeps/posix/spawni.c (script_execute): Always define it.
67752         It will be optimized away if unused.
67753         (maybe_script_execute): New function.
67754         (__spawni): Call it.
67756         * Makerules: Don't include tls.make.
67757         (config-tls): Always set to thread.
67758         * tls.make.c: File removed.
67760 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67762         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67763         * config.make.in (CPPFLAGS-config): New substituted variable.
67765 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67767         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67769         [BZ #13192]
67770         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67771         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67773 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67775         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67776         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67777         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67778         (CALL_FAIL): Likewise.
67779         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67780         (CALL_FAIL): Macro removed.
67781         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67783 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67785         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67786         for __FINITE_MATH_ONLY__ == 1.
67788 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67790         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67791         __ieee754_sqrt instead of sqrt.
67792         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67793         __ieee754_sqrtf instead of sqrtf.
67794         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67795         __floorf instead of floorf.
67796         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67797         __floorf, __truncf instead of floorf, truncf.
67799 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67801         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67803         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67804         __extern_always_inline.
67805         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67806         32-bit.
67808 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67810         * elf/rtld.c (dl_main): Also relocate in dependency order when
67811         doing symbol dependency testing.
67813 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67815         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67816         Always define `refsym'.
67818 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67820         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67821         (__FD_ELT): Renamed from __FDELT.
67822         * misc/bits/select2.h (__FD_ELT): Likewise.
67823         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67824         __FD_MASK instead of __FDELT, __FDMASK.
67825         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67826         Likewise.
67827         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67828         Likewise.
67830         * elf/Makefile (gen-ldd): Fix pattern.
67832         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67833         (init_tls): Likewise.
67835 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67837         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67839 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67841         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67842         `struct cmsghdr *' instead of `void *'.
67843         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67844         Likewise.
67846 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67848         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67849         if non-absolute.
67850         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67851         ldd_rewrite_script.
67853 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67855         * configure.in: Remove --with-tls option.
67856         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67857         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67858         out in case it is missing.
67859         * sysdeps/ia64/elf/configure.in: Likewise.
67860         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67861         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67862         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67863         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67864         * sysdeps/sh/elf/configure.in: Likewise.
67865         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67866         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67867         * sysdeps/x86_64/elf/configure.in: Likewise.
67868         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67869         * sysdeps/mach/hurd/tls.h: Likewise.
67871         [BZ #13067]
67872         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67874         [BZ #13090]
67875         * configure.in: Fix use of AC_INIT.
67877         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67879 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67881         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67882         __set_errno.
67883         * malloc/hooks.c: Likewise.
67885         [BZ #11929]
67886         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67887         variables statically.
67888         (narenas): Initialize.
67889         (list_lock): Initialize.
67890         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67891         initializtion of main_arena and list_lock.  Small cleanups.
67892         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67893         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67894         Add initializers to main_arena and mp_.
67895         (malloc_state): Remove pagesize member.  Change all users to use
67896         GLRO(dl_pagesize).
67898         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67899         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67900         is always initialized.
67902         * malloc/malloc.c: Removed unused configurations and dead code.
67903         * malloc/arena.c: Likewise.
67904         * malloc/hooks.c: Likewise.
67905         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67907         * include/tls.h: Removed.  USE___THREAD must always be defined.
67908         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67909         * elf/dl-libc.c: Likewise.
67910         * elf/dl-tsd.c: Likewise.
67911         * include/errno.h: Likewise.
67912         * include/netdb.h: Likewise.
67913         * include/resolv.h: Likewise.
67914         * inet/herrno-loc.c: Likewise.
67915         * inet/herrno.c: Likewise.
67916         * malloc/arena.c: Likewise.
67917         * malloc/hooks.c: Likewise.
67918         * malloc/malloc.c: Likewise.
67919         * resolv/res-state.c: Likewise.
67920         * resolv/res_libc.c: Likewise.
67921         * sysdeps/i386/dl-machine.h: Likewise.
67922         * sysdeps/ia64/dl-machine.h: Likewise.
67923         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67924         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67925         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67926         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67927         * sysdeps/sh/dl-machine.h: Likewise.
67928         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67929         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67930         * sysdeps/unix/i386/sysdep.S: Likewise.
67931         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67932         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67933         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67934         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67935         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67936         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67937         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67941         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67942         * sysdeps/x86_64/dl-machine.h: Likewise.
67943         * tls.make.c: Likewise.
67945         * configure.in: Remove --with-__thread option.  Make tests for
67946         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67947         tls_model attribute fail if no support is available.  Remove
67948         USE_IN_LIBIO.
67949         * Makeconfig: Adjust for dropped configure option.  All features are
67950         now mandatory.
67951         * Makerules: Likewise.
67952         * Versions.def: Likewise.
67953         * argp/argp-fmtstream.c: Likewise.
67954         * argp/argp-fmtstream.h: Likewise.
67955         * argp/argp-help.c: Likewise.
67956         * assert/assert.c: Likewise.
67957         * config.h.in: Likewise.
67958         * config.make.in: Likewise.
67959         * configure: Likewise.
67960         * configure.in: Likewise.
67961         * csu/Versions: Likewise.
67962         * csu/init.c: Likewise.
67963         * elf/tst-audit2.c: Likewise.
67964         * elf/tst-tls10.c: Likewise.
67965         * elf/tst-tls10.h: Likewise.
67966         * elf/tst-tls11.c: Likewise.
67967         * elf/tst-tls12.c: Likewise.
67968         * elf/tst-tls14.c: Likewise.
67969         * elf/tst-tlsmod11.c: Likewise.
67970         * elf/tst-tlsmod12.c: Likewise.
67971         * elf/tst-tlsmod13.c: Likewise.
67972         * elf/tst-tlsmod13a.c: Likewise.
67973         * elf/tst-tlsmod14a.c: Likewise.
67974         * elf/tst-tlsmod15b.c: Likewise.
67975         * elf/tst-tlsmod16a.c: Likewise.
67976         * elf/tst-tlsmod16b.c: Likewise.
67977         * elf/tst-tlsmod7.c: Likewise.
67978         * elf/tst-tlsmod8.c: Likewise.
67979         * elf/tst-tlsmod9.c: Likewise.
67980         * gmon/gmon.c: Likewise.
67981         * grp/fgetgrent_r.c: Likewise.
67982         * grp/putgrent.c: Likewise.
67983         * hurd/fopenport.c: Likewise.
67984         * include/libc-symbols.h: Likewise.
67985         * include/tls.h: Likewise.
67986         * intl/gettextP.h: Likewise.
67987         * intl/loadinfo.h: Likewise.
67988         * locale/global-locale.c: Likewise.
67989         * locale/localeinfo.h: Likewise.
67990         * mach/devstream.c: Likewise.
67991         * malloc/arena.c: Likewise.
67992         * malloc/set-freeres.c: Likewise.
67993         * misc/err.c: Likewise.
67994         * misc/getttyent.c: Likewise.
67995         * misc/mntent_r.c: Likewise.
67996         * posix/getopt.c: Likewise.
67997         * posix/wordexp.c: Likewise.
67998         * pwd/fgetpwent_r.c: Likewise.
67999         * resolv/Versions: Likewise.
68000         * resolv/res_hconf.c: Likewise.
68001         * shadow/fgetspent_r.c: Likewise.
68002         * shadow/putspent.c: Likewise.
68003         * stdio-common/printf_fphex.c: Likewise.
68004         * stdio-common/tmpfile.c: Likewise.
68005         * stdlib/abort.c: Likewise.
68006         * stdlib/fmtmsg.c: Likewise.
68007         * sunrpc/auth_unix.c: Likewise.
68008         * sunrpc/clnt_perr.c: Likewise.
68009         * sunrpc/clnt_tcp.c: Likewise.
68010         * sunrpc/clnt_udp.c: Likewise.
68011         * sunrpc/clnt_unix.c: Likewise.
68012         * sunrpc/openchild.c: Likewise.
68013         * sunrpc/svc_simple.c: Likewise.
68014         * sunrpc/svc_tcp.c: Likewise.
68015         * sunrpc/svc_udp.c: Likewise.
68016         * sunrpc/svc_unix.c: Likewise.
68017         * sunrpc/xdr.c: Likewise.
68018         * sunrpc/xdr_array.c: Likewise.
68019         * sunrpc/xdr_rec.c: Likewise.
68020         * sunrpc/xdr_ref.c: Likewise.
68021         * sunrpc/xdr_stdio.c: Likewise.
68023 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68025         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68027 2011-07-03  Andreas Jaeger  <aj@suse.de>
68029         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68030         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68031         regenerate with gen-libm-tests.pl.
68033 2010-05-12  Petr Baudis  <pasky@suse.cz>
68035         [BZ #11589]
68036         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68037         around j0() zero points by switching to j1().
68038         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68039         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68041         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68043 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68045         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68046         instead of 0.
68047         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68048         instead of 0.
68049         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68050         Patch in part by Pavel Roskin <proski@gnu.org>.
68052         [BZ #13138]
68053         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68054         realloc.
68055         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68056         Free memory block if necessary.
68058         [BZ #12847]
68059         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68060         be NULL.  Don't lock in this case.
68062 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68064         * elf/elf.h (ELFOSABI_GNU): New macro.
68065         (ELFOSABI_LINUX): Define to that.
68067 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68069         * string/strncat.c (strncat): Undef the symbol in case it has been
68070         defined in bits/string.h.
68072 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68074         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68076         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68077         link map.
68079 2011-08-17  Andreas Jaeger  <aj@suse.de>
68081         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68083 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68084             Ian Lance Taylor  <iant@google.com>
68086         * math/libm-test.inc (lround_test): New testcase.
68087         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68089 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68091         * Makefile: Remove support for automatic cvs check-ins.
68092         * Makerules: Likewise.
68093         * config.make.in: Likewise.
68094         * configure.in: Likewise.
68095         * intl/Makefile: Likewise.
68096         * locale/Makefile: Likewise.
68097         * po/Makefile: Likewise.
68098         * posix/Makefile: Likewise.
68099         * sysdeps/gnu/Makefile: Likewise.
68100         * sysdeps/mach/hurd/Makefile: Likewise.
68101         * sysdeps/sparc/sparc32/Makefile: Likewise.
68103         [BZ #13118]
68104         * posix/Makefile (bug-regex32-ENV): Define.
68105         Patch by John Stanley <jpsinthemix@verizon.net>.
68107         * misc/Makefile (headers): Add bits/select2.h.
68108         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68109         * misc/bits/select2.h: New file.
68110         * include/bits/select2.h: New file.
68111         * debug/Makefile (routines): Add fdelt_chk.
68112         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68113         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68114         FD_ISSET.
68115         * debug/fdelt_chk.c: New file.
68117         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68118         * wcsmbs/test-wmemcmp.c: Likewise.
68119         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68120         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68122 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68124         * string/Makefile (strop-tests): Add memcmp.
68125         * string/test-wmemcmp.c: New file.
68126         * string/test-memcmp.c: Add wmemcmp support.
68128 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68130         [BZ #13153]
68131         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68132         2011-07-19 change.
68134         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68135         garbage value in a __mach_port_mod_refs call in the cases of the
68136         task-self and thread-self ports.
68138 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68140         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68142 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68144         * elf/dl-load.c (lose): Check for non-null L.
68146 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68148         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68150         * elf/dl-libc.c (dlerror_run): Pass back error code from
68151         dl_catch_error.
68153         [BZ #13123]
68154         * elf/dl-load.c (lose): Free l_origin if it is valid.
68156         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68157         names.
68158         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68159         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68160         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68161         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68162         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68163         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68165 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68167         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68168         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68169         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68170         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68171         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68172         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68173         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68174         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68175         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68176         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68178 2011-08-15  Alan Modra  <amodra@gmail.com>
68180         [BZ #13092]
68181         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68182         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68183         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68184         ppc_mcount to static-only-routines.
68185         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68186         __mcount_internal.
68187         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68188         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68190 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68192         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68193         for finite and infinity parameters.
68195 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68197         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68198         and add nop instructions for throughput optimization.
68199         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68201 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68203         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68204         aligned copy for power7 with vector-scalar instructions.
68205         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68207 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68209         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68210         AVX check.
68212 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68214         [BZ #13144]
68215         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68216         last change.
68218 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68220         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68221         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68222         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68223         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68224         clock_gettime.
68226 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68228         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68229         Forgot to demangle the pointer.
68231         * sysdeps/i386/sysdep.h: Define atom_text_section.
68232         * sysdeps/x86_64/sysdep.h: Likewise.
68233         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68234         section with atom_text_section.
68235         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68236         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68237         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68239         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68241         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68242         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68243         already be defined.  Change to take two parameters and don't assign
68244         result to variable.  Adjust all users.
68245         Define INTERNAL_GETTIME if not already defined.
68246         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68247         call.
68248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68249         HAVE_CLOCK_GETTIME_VSYSCALL.
68250         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68253         gettimeofday vsyscall, just use time.
68255 2011-09-06  Andreas Schwab  <schwab@redhat.com>
68257         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68258         <errno.h>.
68260 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
68262         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68263         syscall on x86-64.
68264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68265         syscall.
68266         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68267         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68268         syscall if possible.
68270 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68272         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68273         e_ident.  Don't pass to find_mapsXX.
68274         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68276 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68279         strchr-sse2-no-bsf strrchr-sse2-no-bsf
68280         * sysdeps/x86_64/multiarch/strchr.S: Update.
68281         Check bit_slow_BSF bit.
68282         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68283         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68284         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68286 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68288         [BZ #13134]
68289         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68290         before glibc 2.15.
68291         (tryshell): Define.
68292         (__spawni): Change last parameter to be flag.  Test
68293         SPAWN_XFLAGS_USE_PATH flag to use path or not.
68294         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68295         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68296         * posix/spawni.c: Likewise.
68297         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68298         * posix/spawnp.c: Likewise.  Change normal version to use
68299         SPAWN_XFLAGS_USE_PATH.
68300         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68301         SPAWN_XFLAGS_TRY_SHELL.
68303         [BZ #13150]
68304         * posix/glob.h: Remove gcc 1.x support.
68306         [BZ #13068]
68307         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68309 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68311         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68312         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68313         strrchr-sse2-bsf
68314         * sysdeps/i386/i686/multiarch/strchr.S: New file.
68315         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68316         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68317         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68318         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68319         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68321 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68323         * sysdeps/x86_64/wcscmp.S: New file.
68325         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68326         wcscmp-c wcscmp-sse2
68327         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68328         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68329         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68330         * wcsmbs/wcscmp.c: Allow renaming.
68332 2011-09-05  David S. Miller  <davem@davemloft.net>
68334         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68335         stack slot, rather than the struct return pointer slot.
68336         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68337         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68339         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68341 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
68343         * po/ja.po: Update from translation team.
68345         [BZ #13144]
68346         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68347         kernel in 64-bit binaries.
68349 2011-09-01  David S. Miller  <davem@davemloft.net>
68351         * elf/elf.h (HWCAP_SPARC_*): Move to..
68352         * sysdeps/sparc/sysdep.h: this new file and add new values.
68353         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68354         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68355         _DL_HWCAP_COUNT to 24.
68356         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68357         entries.
68358         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68359         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68360         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68361         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68362         instead of magic constants.
68363         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68365 2011-08-31  David S. Miller  <davem@davemloft.net>
68367         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68368         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68369         Reimplement to do errno handling inline.
68370         (SYSCALL_ERROR_HANDLER): New macro.
68371         (__SYSCALL_STRING): Do not do errno handling in asm.
68372         (__CLONE_SYSCALL_STRING): Delete.
68373         (__INTERNAL_SYSCALL_STRING): Delete.
68374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68375         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68376         (PSEUDO): Reimplement to do errno handling inline.
68377         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68378         (SYSCALL_ERROR_HANDLER): New macro.
68379         (__SYSCALL_STRING): Do not do errno handling in asm.
68380         (__CLONE_SYSCALL_STRING): Delete.
68381         (__INTERNAL_SYSCALL_STRING): Delete.
68382         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68383         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68384         i386.
68385         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68386         (inline_syscall*): Add 'err' argument.
68387         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68388         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68389         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68390         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68392         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68393         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68395 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68397         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68399 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68401         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68402         directive.
68404 2011-08-24  David S. Miller  <davem@davemloft.net>
68406         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68408 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68410         * elf/Makefile: Add rules to build and run unload8 test.
68411         * elf/unload8.c: New file.
68412         * elf/unload8mod1.c: New file.
68413         * elf/unload8mod1x.c: New file.
68414         * elf/unload8mod2.c: New file.
68415         * elf/unload8mod3.c: New file.
68417         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68418         it wasn't used.
68420 2011-08-23  David S. Miller  <davem@davemloft.net>
68422         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68423         subtract stack bias.
68424         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68425         %sp not %fp in calculations.
68426         (_JMPBUF_UNWINDS_ADJ): Likewise.
68428         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68429         (aio_suspend): Call it to force an exception region around the
68430         AIO_MISC_WAIT() invocation.
68432 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68434         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68435         backslash.
68437 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68439         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68440         protection macro.
68441         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68442         and <dl-machine.h>.
68443         (Elf64_FuncDesc): Remove.
68445 2011-08-22  David S. Miller  <davem@davemloft.net>
68447         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68448         sigaltstack check, add missing cfi directives.
68449         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68450         missing cfi directives, and sigaltstack handling.
68452 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68454         [BZ #11724]
68455         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68456         object is seen twice.
68457         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68459         * elf/Makefile (distribute): Add tst-initorder2.c.
68460         (tests): Add tst-initorder2.
68461         (modules-names): Add tst-initorder2a tst-initorder2b
68462         tst-initorder2c tst-initorder2d.  Add rules to build them.
68463         ($(objpfx)tst-initorder2.out): New rule.
68464         * elf/tst-initorder2.c: New file.
68465         * elf/tst-initorder2.exp: New file.
68467 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68469         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68471         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68472         dependencies back to end of function.
68474         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68475         $(elfobjdir)/ld.so.
68477 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68479         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68480         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68481         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68482         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68483         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68484         of __vdso_gettimeofday.
68485         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68486         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68487         attribute_hidden.
68488         (_libc_vdso_platform_setup): Remove initialization of
68489         __vdso_gettimeofday and __vdso_time.
68491 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68493         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68494         and fgetc_unlocked.
68495         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68496         getc_unlocked.
68498         * elf/dl-open.c (add_to_global): Report additions to the global scope
68499         for LD_DEBUG=scopes.
68500         (dl_open_worker): Also print scope of newly loaded dependencies.
68501         (_dl_show_scope): Indicate if there is no scope.
68503         [BZ #13114]
68504         * stdio-common/Makefile (tests): Add bug24.
68505         * stdio-common/bug24.c: New file.
68507 2011-08-19  Andreas Jaeger  <aj@suse.de>
68509         [BZ #13114]
68510         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68511         non-existant file when using close-on-exec mode.
68513 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68516         the very first instruction.
68518         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68519         the CFI state in the end.
68520         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68521         inclusion of dl-trampoline.h.
68522         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68524 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68526         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68527         expectations for long double.
68529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68530         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68532 2011-08-14  David S. Miller  <davem@davemloft.net>
68534         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68535         artificual limit depends upon the system page size.
68537 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68539         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68540         * resolv/Makefile: Define CFLAGS-libresolv.
68542 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68544         * nss/makedb.c (compute_tables): Make variables used in nested
68545         function static.
68547 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68549         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68550         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68551         if buffer was too small.
68553         * elf/pldd.c (main): Attach to all threads in the process.
68554         Rewrite /proc handling to use *at functions.
68556 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68558         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68559         specifies first scope to show.
68560         (dl_open_worker): Update callers.  Move printing scope of new
68561         object to before the relocation.
68562         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68563         * sysdeps/generic/ldsodefs.h: Update declaration.
68565         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68566         string for the scope number.
68568 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68570         * nscd/servicescache.c (cache_addserv): Make sure written is always
68571         initialized.
68573 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68575         * sysdeps/i386/i486/bits/atomic.h
68576         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68577         statement expression, so as to suppress "set but not used" warning.
68578         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68580         * string/strncat.c (STRNCAT): Use prototype definition.
68582         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68583         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68584         -Iprograms here.
68585         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68586         (localedef-modules): Add localedef.
68587         (locale-modules): Add locale.
68589         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68590         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68591         to avoid a warning.
68593 2011-08-14  David S. Miller  <davem@davemloft.net>
68595         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68596         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68598 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68600         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68601         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68602         * elf/rtld.c (dl_main): Set l_name of vDSO.
68603         Call _dl_show_scope when DL_DEBUG_SCOPES.
68604         (process_dl_debug): Recognize scopes flag and also set it for all.
68605         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68606         Declare _dl_show_scope.
68608         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68609         (do_dlopen): Pass caller_dlopen to dl_open.
68610         (__libc_dlopen_mode): Initialize caller_dlopen.
68612         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68613         of libc.  Make tolower call locale-independent.  Optimize a bit by
68614         using isdigit instead of isalnum.
68615         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68617 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68619         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68620         was a dependency or dynamically loaded.
68622 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68624         * intl/l10nflist.c: Allow architecture-specific pop function.
68625         * sysdeps/x86_64/l10nflist.c: New file.
68627         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68628         classification.
68630 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68632         * include/dirent.h: Add libc_hidden_proto for scandirat and
68633         scandirat64.  Don't declare __scandirat64.
68634         * dirent/scandirat.c: Add libc_hidden_def.
68635         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68636         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68638 2011-08-10  David S. Miller  <davem@davemloft.net>
68640         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68641         enum.
68642         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68643         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68644         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68646 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68648         * Versions.def [libc]: Add GLIBC_2.15.
68649         * dirent/Makefile (routines): Add scandirat and scandirat64.
68650         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68651         GLIBC_2.15.
68652         * dirent/dirent.h: Declare scandirat and scandirat64.
68653         * dirent/scandirat.c: New file.
68654         * dirent/scandirat64.c: New file.
68655         * sysdeps/wordsize-64/scandirat.c: New file.
68656         * sysdeps/wordsize-64/scandirat64.c: New file.
68657         * dirent/opendir.c: Define opendirat.
68658         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68659         using scandirat.
68660         * dirent/scandir64.c: Adjust for scandir.c change.
68661         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68662         __scandirat64, and __scandir_cancel_handler.
68663         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68664         additional parameter and use openat instead of open (outside of ld.so).
68665         Add new __opendir as wrapper around __opendirat.
68666         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68667         here without requiring old scandirat implementation.
68669 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68671         * dirent/scandir.c (cancel_handler): Renamed to
68672         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68673         defined.  Adjust users.
68674         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68675         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68677 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68679         * string/test-string.h (IMPL): Use __STRING to expand name and then
68680         stringify it.
68682         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68683         of cleanups.
68685 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68687         * string/Makefile: Update.
68688         (strop-tests): Append strncat.
68689         * string/test-wcscmp.c: New file.
68690         New comprehensive test for wcscmp.
68691         * string/test-strcmp.c: Update.
68692         (WIDE): New define.
68694 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68696         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68697         line.
68699 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68702         encoding to ACE if AI_IDN.
68704 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68706         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68707         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68709 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68711         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68712         Fix overflow bug in strncat.
68713         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68715         * string/test-strncat.c: Update.
68716         Add new tests for checking overflow bugs.
68718 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68721         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68722         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68723         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68724         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68725         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68726         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68727         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68728         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68730         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68731         (USE_AS_STRCAT): Define.
68732         Add strcat and strncat support.
68733         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68735 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68737         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68738         __n bigger than INT_MAX+1.
68739         (__strncmp_g): Likewise.
68741 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68743         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68744         * libio/stido.h: Likewise.
68746         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68747         (AF_NFC): Define.
68748         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68749         (AF_NFC): Define.
68751         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68752         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68753         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68754         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68755         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68757         [BZ #13021]
68758         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68759         installed.
68761         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68762         typo.
68763         (_dl_x86_64_save_sse): Likewise.
68765 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68767         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68768         OSXSAVE.
68769         (_dl_x86_64_save_sse): Likewise.
68771         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68773         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68775 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68777         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68778         change.
68779         (_dl_x86_64_save_sse): Use correct AVX check.
68781 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68783         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68784         bug in strncpy/strncat.
68785         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68787 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68789         * string/tester.c (test_strcat): Add tests for different alignments
68790         of source and destination.
68791         (test_strncat): Likewise.
68793 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68795         [BZ #12852]
68796         * posix/glob.c (glob): Check passed in values before using them in
68797         expressions to avoid some overflows.
68798         (glob_in_dir): Likewise.
68800         [BZ #13007]
68801         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68802         check for AVX enablement so that we don't crash with old kernels and
68803         new hardware.
68804         * elf/tst-audit4.c: Add same checks here.
68805         * elf/tst-audit6.c: Likewise.
68807         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68809 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68811         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68813 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68815         * po/cs.po: Update from translation team.
68816         * po/bg.po: Likewise.
68818 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68820         * misc/sys/cdefs.h: Add support for const attribute.
68821         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68822         to gnu_dev_{major,minor,makedev} functions.
68824 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68826         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68828 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68830         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68831         strlen results.
68833 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68835         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68836         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68837         register in order to avoid conflicts with the soft frame pointer
68838         being held in r11 when necessary.
68839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68840         (INTERNAL_VSYSCALL_NCS): Likewise.
68842 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68844         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68845         * elf/dl-fini.c (_dl_fini): Adjust caller.
68846         * elf/dl-close.c (_dl_close_worker): Likewise.
68847         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68849 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68851         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68852         "aux_cache->nlibs < 0".
68854         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68855         in the reload-count case.
68857 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68860         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68861         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68862         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68863         * sysdeps/x86_64/multiarch/strcat.S: New file.
68864         * sysdeps/x86_64/multiarch/strncat.S: New file.
68865         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68866         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68867         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68868         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68869         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68870         (USE_AS_STRCAT): Define.
68871         Add strcat and strncat support.
68872         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68873         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68874         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68875         * string/strncat.c: Update.
68876         (USE_AS_STRNCAT): Define.
68877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68878         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68879         and i7.
68880         * sysdeps/x86_64/multiarch/init-arch.h
68881         (bit_Prefer_PMINUB_for_stringop): New.
68882         (index_Prefer_PMINUB_for_stringop): Likewise.
68883         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68884         bit_Prefer_PMINUB_for_stringop.
68886 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68888         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68889         buffer64.
68890         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68891         of casting of buffer.
68892         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68893         buffer32 and buffer64.
68894         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68895         writes instead of casting of buffer.
68896         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68897         buffer32.
68898         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68899         casting of buffer.
68901 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68903         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68905 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68907         * nscd/nscd.c (termination_handler): Don't do anything for a database
68908         if it has not yet been initialized.
68910 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68912         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68914 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68916         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68918 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68920         * po/nl.po: Update from translation team.
68921         * po/sv.po: Likewise.
68923 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68925         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68926         now disallowed by GCC.
68928         * configure.in (use-default-link): Default to yes if a test -shared
68929         link meets our qualifications.
68930         * configure: Regenerated.
68932         * config.make.in (output-format): New variable.
68933         * configure.in: Check for ld --print-output-format support.
68934         * configure: Regenerated.
68935         * Makerules ($(common-objpfx)format.lds)
68936         [$(output-format) != unknown]: Just use $(output-format),
68937         instead of the linker-script munging.
68939 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68941         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68942         of $(common-objpfx)shlib.lds.
68943         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68945         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68946         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68948         * configure.in (-z relro check): Adjust test code to add a large
68949         writable data section after it.
68950         * configure: Regenerated.
68952 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68954         * configure.in (-z relro check): Fix test code to make the variable
68955         truly const.
68956         * configure: Regenerated.
68958 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68960         * nscd/nscd.h (struct traced_file): Define.
68961         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68962         elements.  Add traced_files.
68963         (inotify_fd): Declare.
68964         (register_traced_file): Declare.
68965         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68966         (inotify_fd): Export.
68967         (resolv_conf_descr): Remove.
68968         (nscd_init): Move inotify descriptor creation to main.
68969         Don't register files for notification here.
68970         (register_traced_file): New function.
68971         (invalidate_cache): Don't use reset_res to determine whether to call
68972         res_init, go through the list of registered files.
68973         (main_loop_poll): The inotify descriptors are now stored in the
68974         structures for the traced files.
68975         (main_loop_epoll): Likewise
68976         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68977         to __nss_disable_nscd.
68978         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68979         for a database anymore.  Check the records for all the registered
68980         files instead.
68981         * nss/Makefile (libnss_files-routines): Add files-init.
68982         (libnss_db-routines): Add db-init.
68983         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68984         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68985         * nss/nss_db/db-init.c: New file.
68986         * nss/nss_files/files-init.c: New file.
68987         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68988         __nss_lookup_function.
68989         (__nss_lookup_function): Call nss_load_library.
68990         (nss_load_all_libraries): New function.
68991         (__nss_disable_nscd): Take parameter with callback function for files
68992         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68993         used for the cached services.
68994         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68995         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68996         options for features to all the files in nscd.
68998         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69000 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69002         * csu/elf-init.c (__libc_csu_init): Comment typo.
69004 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69006         * po/pl.po: Update from translation team.
69007         * po/ja.po: Likewise.
69008         * po/ru.po: Likewise.
69009         * po/ko.po: Likewise.
69010         * po/fr.po: Likewise.
69012 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69014         * configure.in (.ctors/.dtors header and trailer check):
69015         Use an empirical test on a built program.
69016         * configure: Regenerated.
69018         * configure.in (-z relro check): Use an empirical test on a built DSO.
69019         Detect, but do not require, on ia64.
69020         * configure: Regenerated.
69022         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69023         Update tests that use readelf to use $READELF instead.
69024         * configure: Regenerated.
69026 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69028         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69029         if the result is not used.
69031 2011-07-05  Andreas Jaeger  <aj@suse.de>
69033         [BZ#9696]
69034         * stdlib/tst-strtod.c: Add testcase.
69036 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69038         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69039         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69040         The latter has a higher limit.  Take additional parameter to pass to
69041         the new function.
69042         (__pathconf): Pass file to __statfs_link_max.
69043         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69044         __statfs_link_max.
69045         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69046         __statfs_link_max.
69048         [BZ #12868]
69049         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69050         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69051         Handle Lustre.
69052         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69053         (__statfs_filesize_max): Likewise.
69054         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69056 2011-07-05  Andreas Jaeger  <aj@suse.de>
69058         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69060 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69062         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69063         `status' variable.
69064         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69065         Likewise.
69067 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69069         * Makefile (strop-tests): Add strncat.
69070         * string/test-strncat.c: New file.
69072 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69074         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69076 2011-06-21  Andreas Jaeger  <aj@suse.de>
69078         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69079         Copy rule from iconvdata/Makefile.
69081 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69083         [BZ #12922]
69084         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69085         but no long options are defined, just return 'W'.
69087 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69089         [BZ #9696]
69090         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69092 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69094         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69095         netgroups to read.
69096         (innetgr): Likewise.
69098 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69100         * config.make.in (install_root): Default to $(DESTDIR).
69102 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69104         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69106 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69108         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69110         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69111         containing directory rather than embedding absolute directory names.
69113         * scripts/check-local-headers.sh: Rewritten using awk.
69114         Match by word, not by line.  Print error messages for matches.
69115         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69117         * Makerules [shlib-lds-flags empty]:
69118         ($(common-objpfx)libc_pic.opts): New target.
69119         ($(common-objpfx)libc_pic.os.clean): New target.
69120         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69122         * config.make.in (OBJCOPY): New variable.
69123         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69124         * configure: Regenerated.
69126         * config.make.in (use-default-link): New variable.
69127         * configure.in (use_default_link): Grok --with-default-link to set it.
69128         * configure: Regenerated.
69129         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69130         (shlib-lds, shlib-lds-flags): Define to empty.
69132         * Makerules (shlib-lds): New variable.
69133         (shlib-lds-flags): New variable.
69134         (build-shlib, build-moduile, build-module-asneeded): Use it.
69135         ($(common-objpfx)libc.so): Use $(shlib-lds).
69136         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69137         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69139         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69140         DT_FLAGS/DT_FLAGS_1 with zero flags.
69142         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69143         linker script munging.
69145 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69147         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69148         as 128-bit value.
69149         * crypt/sha512.c (sha512_process_block): Perform total addition using
69150         128-bit if possible.
69151         (__sha512_finish_ctx): Likewise.
69152         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69153         as 64-bit value.
69154         * crypt/sha256.c (SWAP64): Define.
69155         (sha256_process_block): Perform total addition using 64-bit if
69156         possible.
69157         (__sha256_finish_ctx): Likewise.
69159 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69161         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69162         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69163         * nscd/hstcache.c (cache_addhst): Likewise.
69164         * nscd/grpcache.c (cache_addgr): Likewise.
69165         * nscd/aicache.c (addhstaiX): Likewise
69166         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69168 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69170         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69171         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69172         * nscd/hstcache.c (cache_addhst): Likewise.
69173         * nscd/grpcache.c (cache_addgr): Likewise.
69174         * nscd/aicache.c (addhstaiX): Likewise
69176 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69178         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69179         domain only when needed.
69181 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69184         is always restored.
69186 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69188         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69189         are re-adding the entry.
69190         * nscd/servicescache.c (cache_addserv): Likewise.
69192 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69194         * sysdeps/generic/dl-irel.h: fix protection against multiple
69195         inclusions.
69196         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69198 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69200         [BZ #12935]
69201         * malloc/memusage.sh: Fix quoting in message.
69202         * debug/xtrace.sh: Likewise.
69204         * configure.in: Remove support for --experimental-malloc option, make
69205         it the default.
69206         * config.make.in: Likewise.
69207         * malloc/Makefile: Likewise.
69209 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69211         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69212         two-byte characters.
69214 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69216         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69217         AC_CACHE_CHECK invocation.
69218         * configure: Regenerated.
69220         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69222 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69224         [BZ #12350]
69225         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69226         bit from old_res_options.
69228         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69230         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69231         value type for setfct.
69233 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
69235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69236         __gettimeofday instead of gettimeofday.
69238 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
69240         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69242 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
69244         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69246         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69247         info.
69249 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69252         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69253         strcpy-sse2-unaligned strncpy-sse2-unaligned
69254         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69255         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69256         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69257         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69258         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69259         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69260         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69261         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69262         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69263         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69264         (STRCPY): Support SSE2 and SSSE3 versions.
69266 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
69268         [BZ #12874]
69269         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69270         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69271         kernels which artificially limit size of requests.
69273 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
69275         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69276         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69277         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69278         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69279         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69280         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69281         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69282         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69283         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69284         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69285         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69286         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69287         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69288         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69289         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69291         Enable unaligned load optimization for Intel Core i3, i5 and i7
69292         processors.
69293         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69294         Define.
69295         (index_Fast_Unaligned_Load): Define.
69296         (HAS_FAST_UNALIGNED_LOAD): Define.
69298 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
69300         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69302 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69304         [BZ #12907]
69305         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69306         until it is clear that the information is realy needed.
69307         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69309 2011-06-22  Andreas Schwab  <schwab@redhat.com>
69311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69313 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
69315         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69316         /sys/devices/system/cpu/online if it is usable.
69318         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69319         reading the information from the /proc filesystem to once a second.
69321 2011-06-21  Andreas Jaeger  <aj@suse.de>
69323         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69324         NULL after inclusion of kernel headers.
69326 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
69328         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69329         calls to internal_setent.
69331         [BZ #12885]
69332         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69333         addresses using gethostbyname4_r ignore IPv4 addresses.
69335         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69336         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
69338         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69340 2011-06-20  David S. Miller  <davem@davemloft.net>
69342         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69343         inclusions.
69344         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69346         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69347         (elf_irel): Use it.
69348         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69349         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69350         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69351         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69352         * sysdeps/x86_64/dl-irel.h: Likewise.
69354         * elf/dl-runtime.c: Use elf_ifunc_invoke.
69355         * elf/dl-sym.c: Likewise.
69357 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69359         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
69360         need to dereference resplen2.
69362 2011-06-14  Andreas Schwab  <schwab@redhat.com>
69364         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69366 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
69368         * Makeconfig: Define vardbdir and inst_vardbdir.
69369         * nss/Makefile: Add rules to install db-Makefile.
69371         * nss/nss_db/db-XXX.c: Cleanup.
69373         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69374         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69375         GLIBC_PRIVATE.
69376         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69377         * nss/makedb.c: Implement -g option to specify that value strings
69378         are generated and should not be added to table iterated over for
69379         get*ent calls.
69380         * nss/nss_db/db-initgroups.c: New file.
69382         * nss/getent.c: Add support for initgroups lookups through getgrouplist
69383         interface.
69385         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69386         (internal_getgrouplist): Adjust to name change.
69387         Update use_initgroups_entry if this is not the first call.
69388         * nss/databases.def: Add initgroups entry.
69390         * nss/makedb.c (compute_tables): Check result of multiple hash table
69391         sizes to minimize maximum chain length.
69393 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69395         * Versions.def: Add entry for libnss_db.
69396         * shlib-versions: Likewise.
69397         * nss/Makefile: Add rules to build libnss_db.
69398         * nss/Versions: Add libnss_db information.  Organize libnss_files
69399         entries better.
69400         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69401         makedb progra.  Some minor improvements to generate smaller files.
69402         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69403         here from...
69404         * nss/makedb.c: ...here.
69405         Improve database format to be smaller and require less memory at
69406         runtime.
69407         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69408         db anymore.
69409         * nss/nss_db/db-netgrp.c: Likewise.
69410         * nss/nss_db/db-open.c: Likewise.
69411         * nss/nss_files/flies-XXX.x: Adjust comments.
69412         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69413         * nss/nss_files/files-grp.c: Likewise.
69414         * nss/nss_files/files-hosts.c: Likewise.
69415         * nss/nss_files/files-network.c: Likewise.
69416         * nss/nss_files/files-proto.c: Likewise.
69417         * nss/nss_files/files-pwd.c: Likewise.
69418         * nss/nss_files/files-rpc.c: Likewise.
69419         * nss/nss_files/files-service.c: Likewise.
69420         * nss/nss_files/files-sgrp.c: Likewise.
69421         * nss/nss_files/files-spwd.c: Likewise.
69422         * nss/nss_db/db-alias.c: Removed.
69423         * nss/nss_db/dummy-db.h: Removed.
69425 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69427         * nss/makedb.c: Rewritten to not use database library.
69428         * nss/Makefile: Update to build new makedb program.
69430 2011-06-14  Andreas Jaeger  <aj@suse.de>
69432         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69433         memset declaration.
69435 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69438         tmpbuf.
69440 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69442         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69443         * elf/Makefile ($(objpfx)ld.so): Likewise.
69445         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69446         Don't list ld.so twice in dependencies.
69448         * posix/bug-regex31.c: Include <stdlib.h>.
69450         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69452         * nis/nss_compat/compat-spwd.c
69453         (getspent_next_nss_netgr): Remove unused variable.
69454         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69456         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69457         nonmembers" output to use the right array.
69459         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69461         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69463         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69464         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69465         * catgets/gencat.c (read_input_file): Likewise.
69466         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69468         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69469         variable definition inside #if's controlling its use.
69471         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69473         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69475         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69477         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69478         unreachable code.
69480         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69482         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69483         * configure: Regenerated.
69485         * Makerules: Revert last change.
69486         * elf/Makefile: Likewise.
69488 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69490         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69491         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69492         (reloc-link): Likewise.
69494 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69496         * elf/Makefile: Add rules to build pldd.
69497         * elf/pldd.c: New file.
69498         * elf/pldd-xx.c: New file.
69500 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69502         * version.h: Update for 2.15 development version.
69504 2011-06-07  David S. Miller  <davem@davemloft.net>
69506         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69507         ifuncs.
69508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69509         elf_machine_lazy_rel): Likewise.
69510         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69511         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69512         elf_machine_lazy_rel): Likewise.
69513         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69514         dl_hwcap via passed in argument.
69515         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69516         Likewise.
69518 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69520         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69522 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69524         [BZ #12849]
69525         * manual/fdl-1.1.texi: New file, verbatim from:
69526         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69527         * manual/lgpl-2.1.texi: New file, verbatim from:
69528         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69529         * manual/Makefile (licenses): New variable, list those new file names.
69530         (texis): Use it.
69531         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69533         * manual/fdl.texi: File removed.
69534         * manual/lesser.texi: File removed.
69535         * manual/libc.texinfo (Copying, Documentation License):
69536         Use new @include file names, put @appendix directive before @include.
69538 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69540         [BZ #12841]
69541         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69542         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69543         (mq_open): Add __NTH.
69545 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69548         Assume Intel Core i3/i5/i7 processor if AVX is available.
69550 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69552         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69553         typo.
69555 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69557         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69558         memory.  Use alloca_account.  Fix memory leak when retrying.
69560 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69562         * version.h (RELEASE): Bump for 2.14 release.
69563         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69565         * config.make.in (RANLIB): Remove entry.
69567 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69569         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69570         (libc.pot): Work around missing support for .ksh extension in xgettext.
69572         [BZ #12684]
69573         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69574         if both request failed.
69575         (send_dg): In case of server errors clear resplen or *resplen2.
69577         [BZ #12454]
69578         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69579         when there are multiple maps.
69580         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69581         (_dl_fini): Remove test here.
69583         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69585 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69587         [BZ #12350]
69588         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69589         bit from old_res_options.
69590         (gaih_inet): Likewise.
69592         [BZ #11099]
69593         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69594         as signed.
69596         * resolv/res_init.c (res_setoptions): Make the code more compact.
69598         [BZ #11558]
69599         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69600         set RES_USEVC.
69602         [BZ #11634]
69603         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69605         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69607         [BZ #11781]
69608         * malloc/malloc.h: Declare malloc hook variables as volatile.
69610         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69611         in last patch.
69613         [BZ #11799]
69614         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69615         raise in the comment.
69616         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69617         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69618         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69620 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69622         [BZ #12811]
69623         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69624         grow the buffers more if it already has to be sufficient.
69625         (build_wcs_upper_buffer): Likewise.
69626         * posix/regexec.c (check_matching): Likewise.
69627         (clean_state_log_if_needed): Likewise.
69628         (extend_buffers): Don't enlarge buffers beyond size of the input
69629         buffer.
69630         Patches mostly by Emil Wojak <emil@wojak.eu>.
69631         * posix/bug-regex32.c: New file.
69632         * posix/Makefile (tests): Add bug-regex32.
69634         * locale/findlocale.c (_nl_find_locale): Return right away if
69635         _nl_explode_name failed.
69636         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69638         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69640         * debug/xtrace.sh: Unify messages.
69641         * malloc/memusage.sh: Likewise.
69643         [BZ #12813]
69644         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69645         time symbol from vDSO.  Substitute with vsyscall if not available.
69646         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69647         __vdso_time.
69649         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69650         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69651         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69652         Add sendmmsg and internal_sendmmsg.
69653         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69654         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69655         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69657         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69658         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69659         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69661 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69663         [BZ #12813]
69664         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69665         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69666         available.
69667         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69668         __vdso_getcpu.
69670         [BZ #12814]
69671         * iconvdata/Makefile (tests): Add bug-iconv9.
69672         * iconvdata/bug-iconv9.c: New file.
69674 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69676         [BZ #12814]
69677         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69679 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69681         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69682         (struct user_regs_struct): Change intcs field back to cs.
69684 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69686         * po/ja.po: Update from translation team.
69688 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69690         [BZ #12795]
69691         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69692         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69694 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69696         * stdlib/longlong.h: Update from GCC.
69698 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69700         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69701         parameter name.
69702         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69703         Add parameter name.
69704         (__sysconf): Pass it down.
69706 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69708         [BZ #12671]
69709         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69710         some situations.
69711         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69712         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69713         add in in __libc_use_alloca calls.  Adjust callers.
69714         (glob): Use malloc in some situations.
69716         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69717         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69718         pltexit.
69720 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69722         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69723         and CLOCK_BOOTTIME_ALARM.
69725         [BZ #12782]
69726         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69727         is returned.
69729         * string/_strerror.c (__strerror_r): Print negative errors as signed
69730         numbers.
69732         [BZ #12777]
69733         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69734         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69735         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69737         * configure.in: Fix typo in redirection and correct removal of test
69738         files in two cases.
69740         [BZ #12788]
69741         * locale/setlocale.c (new_composite_name): Fix test to check for
69742         identical name of all categories.
69744         [BZ #12792]
69745         * libio/filedoalloc.c (local_isatty): New function.
69746         (_IO_file_doallocate): Use local_isatty.
69747         * stdio-common/perror.c (perror): In case a new stream is used
69748         forward the stream error.
69749         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69750         error flag.
69752 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69754         [BZ #11884]
69755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69756         alloca.
69757         * include/alloca.h (extend_alloca_account): Define.
69759         [BZ #11857]
69760         * posix/regex.h: Fix comments with documentation of user-accessible
69761         fields after compilation and describe correct free'ing of pattern
69762         after re_compile_pattern.
69763         Patch by Reuben Thomas <rrt@sc3d.org>.
69765 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69767         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69768         and -mno-altivec to prevent the compiler from using Altivec and/or
69769         VSX instructions when the corresponding registers are not available.
69771 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69773         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69775 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69777         * libio/freopen.c (freopen): Use __dup2, not dup2.
69778         * libio/freopen64.c (freopen64): Likewise.
69780 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69782         [BZ #12775]
69783         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69784         * math/Makefile (tests): Add test-powl.
69785         (CFLAGS-test-powl.c): Define.
69786         * math/test-powl.c: New file.
69788 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69790         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69792 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69794         [BZ #11837]
69795         * iconvdata/gb18030.c: Update to GB18020-2005.
69797 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69799         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69800         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69801         Patch by Aharon Robbins <arnold@skeeve.com>.
69803         [BZ #11892]
69804         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69805         on the stack.
69807         [BZ #11895]
69808         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69809         through underflows.
69811         [BZ #12766]
69812         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69813         point to strings before performing equality test for error_one_per_line
69814         mode.
69816         [BZ #11697]
69817         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69819         [BZ #11820]
69820         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69821         (struct user_fpregs_struct): Avoid __uint*_t types.
69823         [BZ #6420]
69824         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69825         symbol info.  Use it instead of calling _dl_addr locally.
69826         (lock_and_info): New function.
69827         (tr_freehook): Call lock_and_info and pass symbol info as additional
69828         parameter to tr_where.
69829         (tr_mallochook): Likewise.
69830         (tr_reallochook): Likewise.
69831         (tr_memalignhook): Likewise.
69833         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69834         used and couldn't be at all thread-safe.
69836 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69838         * libio/freopen.c (freopen): Don't close old file descriptor
69839         before the new one is opened.  Instead dup the new file descriptor
69840         to the old one after the new stream is created.
69841         * libio/freopen64.c (freopen64): Likewise.
69842         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69843         * libio/fileops.c (_IO_new_file_close_it): Handle new
69844         _IO_FLAGS2_NOCLOSE flag.
69845         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69846         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69847         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69848         _IO_FLAGS2_NOCLOSE flag.
69849         * include/unistd.h: Add hidden_proto for dup3.
69850         Define __have_dup3.
69851         * io/dup3.c: Define hidden symbol.
69852         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69854         [BZ #7101]
69855         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69856         when an incomplete long option is used.
69857         * posix/tst-getopt_long1.c: New file.
69858         * posix/Makefile (tests): Add tst-getopt_long1.
69860         [BZ #10138]
69861         * scripts/config.guess: Update from autoconf-2.68.
69862         * scripts/config.sub: Likewise.
69864         [BZ #10157]
69865         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69866         tests into ...
69867         (has_cpuclock): ...this.  New function.
69868         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69869         macro here based on has_cpuclock code.
69871         [BZ #10149]
69872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69873         First byte (not low byte) is now always NUL.
69874         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69877         Use non-cancelable interfaces.
69879         [BZ #9809]
69880         * locale/iso-639.def: Add entry for Sorani.
69882         [BZ #11901]
69883         * include/stdlib.h: Move include protection to the right place.
69884         Define abort_msg_s.  Declare __abort_msg with it.
69885         * stdlib/abort.c (__abort_msg): Adjust type.
69886         * assert/assert.c (__assert_fail_base): New function.  Majority
69887         of code from __assert_fail.  Allocate memory for __abort_msg with
69888         mmap.
69889         (__assert_fail): Now call __assert_fail_base.
69890         * assert/assert-perr.c: Remove bulk of implementation.  Use
69891         __assert_fail_base.
69892         * include/assert.hL Declare __assert_fail_base.
69893         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69894         mmap.
69895         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69897 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69899         [BZ #11952]
69900         [BZ #12453]
69901         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69902         until all modules are registered in the DTV.
69903         * elf/Makefile: Add rules to build and run tst-tls19.
69904         * elf/tst-tls19.c: New file.
69905         * elf/tst-tls19mod1.c: New file.
69906         * elf/tst-tls19mod2.c: New file.
69907         * elf/tst-tls19mod3.c: New file.
69908         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69910         [BZ #12083]
69911         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69912         correctly.
69914         [BZ #12601]
69915         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69916         two-byte sequence errors.
69917         * iconvdata/Makefile (tests): Add bug-iconv8.
69918         * iconvdata/bug-iconv8.c: New file.
69920         [BZ #12626]
69921         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69922         buf2 definition.
69924         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69926         [BZ #12432]
69927         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69928         (dummy_getcfa): New function.
69929         (init): Get _Unwind_GetCFA address, use dummy if not found.
69930         (backtrace_helper): In recursion check, also check whether CFA changes.
69931         (__backtrace): Completely initialize arg.
69933         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69934         storing incomplete byte sequence in state object.  Avoid testing for
69935         guaranteed too small input if we know there is enough data available.
69937 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69939         * Makeconfig (+link-pie): Indent.
69940         * Rules (binaries-pie): Define if $(have-fpie) and
69941         $(build-shared).
69942         (binaries-shared): Also filter out $(binaries-pie).
69943         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69944         * nscd/Makefile (others-pie): Add nscd.
69945         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69946         ($(objpfx)nscd): Remove command override.
69947         * login/Makefile (others-pie): Add pt_chown.
69948         ($(objpfx)pt_chown): Remove command override.
69949         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69950         remove command overrides.
69952 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69954         * libio/tst_putwc.c: Fix error messages.
69956         [BZ #12724]
69957         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69958         currently writing and seek to current position when not.
69959         * libio/Makefile (tests): Add bug-fclose1.
69960         * libio/bug-fclose1.c: New file.
69962 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69964         [BZ #12511]
69965         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69966         don't set DF_1_NODELETE here.
69967         (do_lookup_x): When entering new entry test for copy relocation
69968         and if necessary set DF_1_NODELETE flag.
69969         * elf/tst-unique4.cc: New file.
69970         * elf/tst-unique4.h: New file.
69971         * elf/tst-unique4lib.cc: New file.
69972         * elf/Makefile: Add rules to build and run tst-unique4.
69973         Patch by Piotr Bury <pbury@goahead.com>.
69975 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69977         [BZ #12052]
69978         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69980         [BZ #12625]
69981         * misc/mntent_r.c (addmntent): Flush the stream after the output
69983         [BZ #12393]
69984         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69985         (is_trusted_path_normalize): Skip initial colon.  Append slash
69986         to empty buffer.  Duplicate is_trusted_path code but allow
69987         constructed patch to be prefix.
69988         (is_dst): Allow $ORIGIN followed by /.
69989         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69990         Correct testing of result of is_trusted_path_normalize
69991         (decompose_rpath): Fix warning.
69993 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69995         [BZ #11257]
69996         * grp/initgroups.c (internal_getgrouplist): When we found the service
69997         list through the initgroups entry in nsswitch.conf do not always
69998         continue on a successful lookup.  Don't always use the
69999         __nss_group_database value if it is set.
70000         * nss/nsswitch.conf (initgroups): Change action for successful db
70001         lookup to continue for compatibility.
70003 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70005         [BZ #11532]
70006         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70007         and CP774 modules.
70008         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70009         and CP774 modules.
70010         * iconvdata/tst-tables.sh: Likewise.
70011         * iconvdata/cp770.c: New file.
70012         * iconvdata/cp771.c: New file.
70013         * iconvdata/cp772.c: New file.
70014         * iconvdata/cp773.c: New file.
70015         * iconvdata/cp774.c: New file.
70016         * iconvdata/testdata/CP770: New file.
70017         * iconvdata/testdata/CP770..UTF8: New file.
70018         * iconvdata/testdata/CP771: New file.
70019         * iconvdata/testdata/CP771..UTF8: New file.
70020         * iconvdata/testdata/CP772: New file.
70021         * iconvdata/testdata/CP772..UTF8: New file.
70022         * iconvdata/testdata/CP773: New file.
70023         * iconvdata/testdata/CP773..UTF8: New file.
70024         * iconvdata/testdata/CP774: New file.
70025         * iconvdata/testdata/CP774..UTF8: New file.
70027         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70028         END CHARMAP line.
70029         * iconvdata/gen-8bit-gap.sh: Likewise.
70030         * iconvdata/gen-8bit.sh: Likewise.
70032         * locale/iso-639.def: Add ary entry.
70034         [BZ #11258]
70035         * locale/C-translit.h.in: Add U20A1 transliteration.
70037         [BZ #12178]
70038         * locale/iso-639.def: Add wae entry.
70039         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70041         [BZ #12545]
70042         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70043         for n.
70045         [BZ #12711]
70046         * locale/C-translit.h.in: Add entry for U20B9.
70047         Patch by pravin.d.s@gmail.com.
70049 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70051         [BZ #12713]
70052         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70053         ENAMETOOLONG use generic getcwd.
70054         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70055         in rtld.  Use *stat64.
70056         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70057         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70058         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70059         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70060         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70061         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70062         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70063         __fstatat64 macros.
70064         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70065         * dirent/rewinddir.c: Add libc_hidden_def.
70066         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70067         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70069         * include/dirent.h (__alloc_dir): Add flags parameter.
70070         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70071         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70072         __alloc_dir.
70073         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70074         from fdopendir if O_CLOEXEC is already set.
70076 2011-03-15  Alan Modra  <amodra@gmail.com>
70078         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70079         l_tls_firstbyte_offset non-zero.  Save padding offset in
70080         l_tls_firstbyte_offset for later use.
70081         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70082         freeing static tls block.
70084 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70086         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70087         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70088         being defined by the kernel headers.
70090 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70092         [BZ #12734]
70093         * resolv/resolv.h: Define RES_NOTLDQUERY.
70094         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70095         no-tld-query and set RES_NOTLDQUERY.
70096         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70097         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70098         modern BIND to search name as TLD unless forbidden.
70100 2011-05-07  Petr Baudis  <pasky@suse.cz>
70101             Ulrich Drepper  <drepper@gmail.com>
70103         [BZ #12393]
70104         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70105         (is_trusted_path): ...to here.
70106         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70107         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70108         using is_trusted_path_normalize() in setuid scripts.
70110 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70112         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70113         __BEGIN/__END_DECLS.
70115 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70117         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70118         NSS_STATUS_NOTFOUND if no record was found.
70120 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70122         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70123         (headers-not-in-tirpc): Remove rpc/netdb.h
70124         * resolv/netdb.h: Revert last change.
70126 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70128         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70129         circular dependency between libgcc.a and libc.a.
70131 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70133         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70134         * nis/Makefile: Don't install rpcsvc/*.
70135         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70136         instead of <rpc/types.h>.
70137         (MAXHOSTNAMELEN): Define.
70139 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70141         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70143 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70145         [BZ #12714]
70146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70147         gethostbyname4_r when IPv6 results are possible.
70149 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70151         [BZ #12723]
70152         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70153         _PC_PIPE_BUF handling.
70155 2011-04-30  Bruno Haible  <bruno@clisp.org>
70157         [BZ #12717]
70158         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70159         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70160         to 'int'.
70161         * inet/getnameinfo.c (getnameinfo): Likewise.
70163 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70165         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70166         to groups setting in database lookup.
70167         * nss/nsswitch.conf: Add initgroups entry.
70169 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70171         [BZ #12685]
70172         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70173         mode string.
70174         Patch by Eric Blake <eblake@redhat.com>.
70176 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70178         * sunrpc/Makefile (need-export-routines): Add svc_run.
70179         (routines): Remove svc_run.
70180         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70181         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70182         * sunrpc/svc_run.c (svc_run): Likewise.
70183         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70185 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70187         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70188         problem in reallocation in last patch.
70190 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70192         * sunrpc/Makefile: Move inclusion of Rules.
70194 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70196         * nss/nss_files/files-initgroups.c: New file.
70197         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70198         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70199         _nss_files_initgroups_dyn.
70201 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70203         * elf/elf.h (R_ARM_IRELATIVE): Define.
70205 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70207         * po/ru.po: Update from translation team.
70209 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70211         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70212         dependencies.
70214 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70216         [BZ #12653]
70217         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70218         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70219         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70220         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70221         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70223 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70225         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70226         differing bytes.
70227         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70228         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70229         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70231 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70233         [BZ #12420]
70234         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70235         storing it.
70236         * stdlib/bug-getcontext.c: New file.
70237         * stdlib/Makefile: Add rules to build and run bug-getcontext.
70239 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70241         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70242         instructions into .machine "z9-109".
70243         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70244         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70246 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70248         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70249         between environment variables and auxiliary vector.
70251 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
70253         * Makefile: Add rules to build linkobj/libc.so.
70254         * include/libc-symbols.h: Define libc_hidden_nolink.
70255         * include/rpc/auth.h: Mark functions which are to be hidden.
70256         * include/rpc/auth_des.h: Likewise.
70257         * include/rpc/auth_unix.h: Likewise.
70258         * include/rpc/clnt.h: Likewise.
70259         * include/rpc/des_crypt.h: Likewise.
70260         * include/rpc/key_prot.h: Likewise.
70261         * include/rpc/pmap_clnt.h: Likewise.
70262         * include/rpc/pmap_prot.h: Likewise.
70263         * include/rpc/pmap_rmt.h: Likewise.
70264         * include/rpc/rpc_msg.h: Likewise.
70265         * include/rpc/svc.h: Likewise.
70266         * include/rpc/svc_auth.h: Likewise.
70267         * include/rpc/xdr.h: Likewise.
70268         * nis/Makefile: Link all DSOs against linkobj/libc.so.
70269         * nss/Makefile: Likewise.
70270         * sunrpc/Makefile: Don't install headers.  Build library with normal
70271         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
70272         * sunrpc/auth_des.c: Hide exported symbols by default, export some
70273         for the compat linking library.  Remove use of INTDEF/INTUSE.
70274         * sunrpc/auth_none.c: Likewise.
70275         * sunrpc/auth_unix.c: Likewise.
70276         * sunrpc/authdes_prot.c: Likewise.
70277         * sunrpc/authuxprot.c: Likewise.
70278         * sunrpc/clnt_gen.c: Likewise.
70279         * sunrpc/clnt_perr.c: Likewise.
70280         * sunrpc/clnt_raw.c: Likewise.
70281         * sunrpc/clnt_simp.c: Likewise.
70282         * sunrpc/clnt_tcp.c: Likewise.
70283         * sunrpc/clnt_udp.c: Likewise.
70284         * sunrpc/clnt_unix.c: Likewise.
70285         * sunrpc/des_crypt.c: Likewise.
70286         * sunrpc/des_soft.c: Likewise.
70287         * sunrpc/get_myaddr.c: Likewise.
70288         * sunrpc/key_call.c: Likewise.
70289         * sunrpc/key_prot.c: Likewise.
70290         * sunrpc/netname.c: Likewise.
70291         * sunrpc/pm_getmaps.c: Likewise.
70292         * sunrpc/pm_getport.c: Likewise.
70293         * sunrpc/pmap_clnt.c: Likewise.
70294         * sunrpc/pmap_prot.c: Likewise.
70295         * sunrpc/pmap_prot2.c: Likewise.
70296         * sunrpc/pmap_rmt.c: Likewise.
70297         * sunrpc/publickey.c: Likewise.
70298         * sunrpc/rpc_cmsg.c: Likewise.
70299         * sunrpc/rpc_common.c: Likewise.
70300         * sunrpc/rpc_dtable.c: Likewise.
70301         * sunrpc/rpc_prot.c: Likewise.
70302         * sunrpc/rpc_thread.c: Likewise.
70303         * sunrpc/rtime.c: Likewise.
70304         * sunrpc/svc.c: Likewise.
70305         * sunrpc/svc_auth.c: Likewise.
70306         * sunrpc/svc_authux.c: Likewise.
70307         * sunrpc/svc_raw.c: Likewise.
70308         * sunrpc/svc_run.c: Likewise.
70309         * sunrpc/svc_simple.c: Likewise.
70310         * sunrpc/svc_tcp.c: Likewise.
70311         * sunrpc/svc_udp.c: Likewise.
70312         * sunrpc/svc_unix.c: Likewise.
70313         * sunrpc/svcauth_des.c: Likewise.
70314         * sunrpc/xcrypt.c: Likewise.
70315         * sunrpc/xdr.c: Likewise.
70316         * sunrpc/xdr_array.c: Likewise.
70317         * sunrpc/xdr_float.c: Likewise.
70318         * sunrpc/xdr_intXX_t.c: Likewise.
70319         * sunrpc/xdr_mem.c: Likewise.
70320         * sunrpc/xdr_rec.c: Likewise.
70321         * sunrpc/xdr_ref.c: Likewise.
70322         * sunrpc/xdr_sizeof.c: Likewise.
70323         * sunrpc/xdr_stdio.c: Likewise.
70325 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
70327         [BZ #12650]
70328         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70329         * sysdeps/ia64/dl-tls.h: Likewise.
70330         * sysdeps/powerpc/dl-tls.h: Likewise.
70331         * sysdeps/s390/dl-tls.h: Likewise.
70332         * sysdeps/sh/dl-tls.h: Likewise.
70333         * sysdeps/sparc/dl-tls.h: Likewise.
70334         * sysdeps/x86_64/dl-tls.h: Likewise.
70335         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70337 2011-03-14  Andreas Schwab  <schwab@redhat.com>
70339         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70340         rpath element also skip the following colon.
70341         (expand_dynamic_string_token): Add is_path parameter and pass
70342         down to DL_DST_REQUIRED and _dl_dst_substitute.
70343         (decompose_rpath): Call expand_dynamic_string_token with
70344         non-zero is_path.  Ignore empty rpaths.
70345         (_dl_map_object_from_fd): Call expand_dynamic_string_token
70346         with zero is_path.
70348 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
70350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70351         Make cancelable.
70353 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
70355         [BZ #12655]
70356         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70357         Patch by Filipe David Manana <fdmanana@apache.org>.
70359 2011-04-07  Andreas Schwab  <schwab@redhat.com>
70361         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70362         Maintain aligned stack.
70363         (CHECK_RSP): Remove unused macro.
70365 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
70367         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70368         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70370 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
70372         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70374         * include/features.h: Mention __USE_XOPEN2K8 in comment.
70376 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
70378         [BZ #12518]
70379         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70380         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70381         * sysdeps/x86_64/memmove.c: New file.
70382         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70383         (memcpy): Renamed to ...
70384         (__new_memcpy): This.
70385         (memcpy): Provide GLIBC_2_14 memcpy.
70386         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70387         (memcpy): Provide GLIBC_2_2_5 memcpy.
70389 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70391         [BZ #12631]
70392         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70394 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70396         * misc/syncfs.c: New file.
70397         * misc/Makefile (routines): Add syncfs.
70398         * posix/unistd.h: Declare syncfs.
70399         * sysdeps/unix/syscalls.list: Add syncfs.
70401 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70403         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70404         open_by_handle_at.
70405         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70406         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70407         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70408         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70410         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70411         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70413 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70415         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70416         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70417         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70419         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70423         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70424         sync_file_range.c with -fexceptions.
70425         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70426         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70427         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70428         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70429         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70430         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70432         sync_file_range as cancellation point
70433         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70434         now a wrapper around __call_sync_file_range with cancellation handling.
70435         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70436         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70437         function name to __call_sync_file_range.
70438         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70439         Add call_sync_file_range.
70441 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70444         bits/timex.h.
70446 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70448         * iconv/iconv.h: Fix typo in comment.
70449         * io/fcntl.h: Likewise.
70450         * libio/stdio.h: Likewise.
70451         * posix/spawn.h: Likewise.
70452         * posix/unistd.h: Likewise.
70453         * stdlib/stdlib.h: Likewise.
70454         * time/time.h: Likewise.
70455         * wcsmbs/wchar.h: Likewise.
70457         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70458         open_by_handle): Add.
70459         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70460         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70461         Augment a few comments.
70462         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70464         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70466         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70467         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70468         open_by_handle.
70470         * io/fcntl.h (AT_EMPTY_PATH): Define.
70472 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70474         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70475         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70476         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70477         to...
70478         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70479         * Versions.def: Add GLIBC_2.14.
70480         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70481         Export.
70483 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70485         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70486         round counter.
70487         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70489 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70491         [BZ #12597]
70492         * string/test-strncmp.c (do_page_test): New function.
70493         (check2): Likewise.
70494         (test_main): Call check2.
70495         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70497 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70499         [BZ #12587]
70500         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70501         Handle cache information in CPU leaf 4.
70502         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70504 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70506         [BZ #12583]
70507         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70508         character representation.
70509         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70511 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70513         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70514         END(__isnan) to END(__isnanf) to match function entry point/label
70515         EALIGN(__isnanf,...).
70517 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70519         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70521 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70523         [BZ #12510]
70524         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70525         copy from the symbol referenced in the relocation to initialize the
70526         used variable.
70527         Patch by Piotr Bury <pbury@goahead.com>.
70528         * elf/Makefile: Add rules to build and tst-unique3.
70529         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70530         * elf/tst-unique3.cc: New file.
70531         * elf/tst-unique3.h: New file.
70532         * elf/tst-unique3lib.cc: New file.
70533         * elf/tst-unique3lib2.cc: New file.
70535         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70537 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70539         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70540         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70541         to _start.
70543 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70545         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70546         to-be-loaded object along a path to loader is ld.so.
70548 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70549             Ulrich Drepper  <drepper@gmail.com>
70551         * sysdeps/x86_64/memset.S: After aligning destination, code
70552         branches to different locations depending on the value of
70553         misalignment, when multiarch is enabled. Fix this.
70555 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70557         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70558         Set _x86_64_preferred_memory_instruction for AMD processsors.
70559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70560         Set bit_Prefer_SSE_for_memop for AMD processors.
70562 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70564         * libio/fmemopen.c (fmemopen): Optimize a bit.
70566 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70568         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70570 2011-03-03  Roland McGrath  <roland@redhat.com>
70572         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70574 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70576         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70577         __bzero_ultra1 instead of __memset_ultra1.
70579 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70580             Ulrich Drepper  <drepper@gmail.com>
70582         [BZ #12509]
70583         * include/link.h (struct link_map): Add l_orig_initfini.
70584         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70585         returning unsuccessfully.
70586         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70587         close of a file loaded at startup, restore the original l_initfini
70588         list.
70589         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70590         list, store the pointer.
70591         * elf/Makefile ($(objpfx)noload-mem): New rule.
70592         (noload-ENV): Define.
70593         (tests): Add $(objpfx)noload-mem.
70594         * elf/noload.c: Include <memcheck.h>.
70595         (main): Call mtrace.  Close all opened handles.
70597 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70599         [BZ #12454]
70600         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70601         dependencies are missing.
70603 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70605         Fix __if_freereq crash: Unlike the generic version which uses free,
70606         Hurd needs munmap.
70607         * sysdeps/mach/hurd/ifreq.h: New file.
70609 2011-01-27  Petr Baudis  <pasky@suse.cz>
70610             Ulrich Drepper  <drepper@gmail.com>
70612         [BZ 12445]#
70613         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70614         to extend_alloca().
70615         * stdio-common/bug23.c: New file.
70616         * stdio-common/Makefile (tests): Add bug23.
70618 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70619             Ulrich Drepper  <drepper@gmail.com>
70621         [BZ #12489]
70622         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70623         before performing relro protection.  At old place add assertion
70624         to make sure nothing changed.
70626 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70627             Glauber de Oliveira Costa  <glommer@gmail.com>
70629         * elf/elf.h: Add new ARM TLS relocs.
70631 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70634         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70635         cast from r3.
70636         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70637         'tests' variable.
70638         * sysdeps/wordsize-64/tst-writev.c: New file.
70640 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70642         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70643         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70644         insns in _dl_start to prevent a TOC reference before relocs are
70645         resolved.
70647 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70649         [BZ #12469]
70650         * Makeconfig: Remove RANLIB definition.
70651         * Makerules: Don't use RANLIB.
70652         * aclocal.m4: Remove ranlib test.
70653         * configure.in: No need to check for ranlib.
70654         * elf/rtld-Rules: Don't use RANLIB.
70656 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70658         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70659         protection macro.
70660         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70661         inclusion protection macro.
70663         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70664         SIGRTMIN and SIGRTMAX and print information in that case only when
70665         SIGRTMIN is defined.
70667 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70669         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70670         arginfo fn returning -1.
70672         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70673         and thousands string is zero terminated.
70675 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70677         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70678         sysdeps/unix/sysv/linux/bits/socket.h.
70680 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70682         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70683         (__CPU_COUNT): Remove old macros.
70684         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70685         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70686         (__CPU_ALLOC, __CPU_FREE): Add macros.
70687         (__sched_cpualloc, __sched_cpufree): Add declarations.
70689 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70691         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70692         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70693         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70694         (readdhstai): Return value of addhstaiX call.
70695         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70696         (addgrbyX): Return value returned by cache_addgr.
70697         (readdgrbyname): Return value returned by addgrbyX.
70698         (readdgrbygid): Likewise.
70699         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70700         (addpwbyX): Return value returned by cache_addpw.
70701         (readdpwbyname): Return value returned by addhstbyX.
70702         (readdpwbyuid): Likewise.
70703         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70704         (addservbyX): Return value returned by cache_addserv.
70705         (readdservbyname): Return value returned by addservbyX:
70706         (readdservbyport): Likewise.
70707         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70708         (addhstbyX): Return value returned by cache_addhst.
70709         (readdhstbyname): Return value returned by addhstbyX.
70710         (readdhstbyaddr): Likewise.
70711         (readdhstbynamev6): Likewise.
70712         (readdhstbyaddrv6): Likewise.
70713         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70714         (readdinitgroups): Return value returned by addinitgroupsX.
70715         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70716         (prune_cache): Keep track of timeout value of re-added entries.
70717         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70718         * nscd/nscd.h: Adjust prototypes of readd* functions.
70720 2011-02-04  Roland McGrath  <roland@redhat.com>
70722         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70723         (nis_stats): Likewise.
70724         * nis/nis_modify.c (nis_modify): Likewise.
70725         * nis/nis_remove.c (nis_remove): Likewise.
70726         * nis/nis_add.c (nis_add): Likewise.
70728         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70730         * posix/fnmatch_loop.c: Add some consts.
70732         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70734 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70736         [BZ #12460]
70737         * config.make.in (config-cflags-novzeroupper): Define.
70738         * configure.in: Substitute libc_cv_cc_novzeroupper.
70739         * elf/Makefile (AVX-CFLAGS): Define.
70740         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70741         (CFLAGS-tst-auditmod4a.c): Likewise.
70742         (CFLAGS-tst-auditmod4b.c): Likewise.
70743         (CFLAGS-tst-auditmod6b.c): Likewise.
70744         (CFLAGS-tst-auditmod6c.c): Likewise.
70745         (CFLAGS-tst-auditmod7b.c): Likewise.
70746         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70748 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70750         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70751         function to the callback.
70752         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70754 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70756         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70757         of errno.
70759 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70761         [BZ #11724]
70762         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70763         of constructors.
70764         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70765         of destructors.
70766         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70768         [BZ #11724]
70769         * elf/Makefile: Add rules to build and run new test.
70770         * elf/tst-initorder.c: New file.
70771         * elf/tst-initorder.exp: New file.
70772         * elf/tst-initordera1.c: New file.
70773         * elf/tst-initordera2.c: New file.
70774         * elf/tst-initordera3.c: New file.
70775         * elf/tst-initordera4.c: New file.
70776         * elf/tst-initorderb1.c: New file.
70777         * elf/tst-initorderb2.c: New file.
70778         * elf/tst-order-a1.c: New file.
70779         * elf/tst-order-a2.c: New file.
70780         * elf/tst-order-a3.c: New file.
70781         * elf/tst-order-a4.c: New file.
70782         * elf/tst-order-b1.c: New file.
70783         * elf/tst-order-b2.c: New file.
70784         * elf/tst-order-main.c: New file.
70785         New test case by George Gensure <werkt0@gmail.com>.
70787 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70790         decoding ACE if AI_CANONIDN.
70792 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70794         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70796 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70798         * version.h (RELEASE): Bump for 2.13 release.
70799         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70801         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70803         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70804         MADV_NOHUGEPAGE.
70805         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70806         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70807         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70808         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70809         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70810         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70812         * posix/getconf.c: Update copyright year.
70813         * catgets/gencat.c: Likewise.
70814         * csu/version.c: Likewise.
70815         * debug/catchsegv.sh: Likewise.
70816         * debug/xtrace.sh: Likewise.
70817         * elf/ldconfig.c: Likewise.
70818         * elf/ldd.bash.in: Likewise.
70819         * elf/sprof.c (print_version): Likewise.
70820         * iconv/iconv_prog.c: Likewise.
70821         * iconv/iconvconfig.c: Likewise.
70822         * locale/programs/locale.c: Likewise.
70823         * locale/programs/localedef.c: Likewise.
70824         * malloc/memusage.sh: Likewise.
70825         * malloc/mtrace.pl: Likewise.
70826         * nscd/nscd.c (print_version): Likewise.
70827         * nss/getent.c: Likewise.
70829         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70830         PF_CAIF, and PF_ALG.
70831         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70833 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70835         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70836         (modules-names): Use them.
70837         (ifunc-test-modules, ifunc-pie-tests): Define.
70838         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70839         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70840         (test-extras): Likewise.
70841         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70842         $(compile-command.c).
70843         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70844         (all-built-dso): Define.
70845         (check-textrel.out, check-execstack.out): Depend on it.
70847         * configure.in: Don't override --enable-multi-arch.
70849 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70851         [BZ #6812]
70852         * nscd/hstcache.c (tryagain): Define.
70853         (cache_addhst): Return tryagain not notfound for temporary errors.
70854         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70855         failed.
70857 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70859         [BZ #10563]
70860         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70861         to make the syscall.
70862         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70864         [BZ #12378]
70865         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70866         and fall back to matching as normal character if the string ends before
70867         the matching ']' is found.  This is what POSIX requires.
70868         * posix/testfnm.c: Adjust test result.
70869         * posix/globtest.sh: Adjust test result.  Add new test.
70870         * posix/tst-fnmatch.input: Likewise.
70871         * posix/tst-fnmatch2.c: Add new test.
70873 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70875         * elf/Makefile (check-execstack): Revert last change.  Depend on
70876         check-execstack.h.
70877         (check-execstack.h): New target.
70878         (generated): Add check-execstack.h.
70879         * elf/check-execstack.c: Include "check-execstack.h".
70880         (main): Revert last change.
70881         (handle_file): Return zero if GNU_STACK is absent and
70882         DEFAULT_STACK_PERMS doesn't include PF_X.
70884 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70886         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70887         in child fails because the descriptor is already closed.
70888         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70889         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70890         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70892         [BZ #12397]
70893         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70894         syscall.
70896         [BZ #10484]
70897         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70898         temporary buffer used to handle multi lookups locally.
70899         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70901 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70903         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70904         loader is ld.so.
70906 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70908         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70909         alignment for SSE2.
70911 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70913         [BZ #12394]
70914         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70915         characters.  When rounding increased number of integer digits recompute
70916         number of groups.
70917         * stdio-common/tst-grouping.c: New file.
70918         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70920 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70922         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70923         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70925         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70926         void.
70927         * bits/select.h: Likewise.
70929 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70931         * po/ja.po: Update from translation team.
70933 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70935         [BZ #11155]
70936         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70937         implementation just like for lxstat, fxstatat, et al.
70939 2010-12-27  Jim Meyering  <meyering@redhat.com>
70941         [BZ #12348]
70942         * posix/regexec.c (build_trtable): Return failure indication upon
70943         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70945 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70947         [BZ #12201]
70948         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70949         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70950         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70951         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70953         [BZ #12207]
70954         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70956         [BZ #12204]
70957         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70958         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70960 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70962         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70963         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70964         script has SORT_BY_INIT_PRIORITY.
70965         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70966         NO_CTORS_DTORS_SECTIONS is defined.
70967         * elf/soinit.c: Likewise.
70968         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70969         NO_CTORS_DTORS_SECTIONS is defined.
70970         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70971         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70972         * sysdeps/sh/init-first.c: Likewise.
70973         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70975 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70977         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70978         always use the slow path.
70980 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70982         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70983         similar rule which adds the sysdep directories to the header search in
70984         order to pick up the correct platform stackinfo.h.
70985         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70986         perform test if it is, otherwise return successfully without testing.
70987         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70988         DEFAULT_STACK_PERMS define in stackinfo.h.
70989         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70990         defined in stackinfo.h.
70991         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70992         DEFAULT_STACK_PERMS defined in stackinfo.h.
70993         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70994         * sysdeps/ia64/stackinfo.h: Likewise.
70995         * sysdeps/s390/stackinfo.h: Likewise.
70996         * sysdeps/sh/stackinfo.h: Likewise.
70997         * sysdeps/sparc/stackinfo.h: Likewise.
70998         * sysdeps/x86_64/stackinfo.h: Likewise.
70999         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71000         PF_X for powerpc64.  Retain PF_X for powerpc32.
71002 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71004         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71005         accurately.
71006         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71007         GETDENTS_64BIT_ALIGNED.
71009 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71011         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71013 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71015         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71016         _GNU_SOURCE.
71018         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71019         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71020         Remove __restrict.
71021         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71022         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71024 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71026         [BZ #11655]
71027         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71028         are initialized.
71030 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71032         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71034 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71036         * po/it.po: Update from translation team.
71038 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71040         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71041         unused codes.
71043 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71045         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71047 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71049         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71050         specially.
71051         (gaih_getanswer_slice): Likewise.
71053 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71055         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71057 2010-05-31  Petr Baudis  <pasky@suse.cz>
71059         [BZ #11149]
71060         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71061         silently even in the chroot mode.
71063 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71065         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71066         last patch a bit.  Pretty printing
71068 2010-05-31  Petr Baudis <pasky@suse.cz>
71070         [BZ #10085]
71071         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71072         initialization of skip_initgroups_dyn.
71074 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71076         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71077         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71079 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71081         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71083 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71085         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71086         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71087         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71088         ($(objpfx)tst-fnmatch-mem): New rule.
71089         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71090         * posix/tst-fnmatch.c (main): Call mtrace.
71092 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71095         Support Intel processor model 6 and model 0x2c.
71097 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71099         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71100           signed comparison.
71102 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71104         [BZ #12205]
71105         * string/test-strncasecmp.c (check_result): New function.
71106         (do_one_test): Use it.
71107         (check1): New function.
71108         (test_main): Use it.
71109         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71110         Support strcasecmp and strncasecmp.
71112 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71114         [BZ #12194]
71115         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71116         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71118 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71120         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71121         IFUNC support.
71122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71123         memset-x86-64.
71124         * sysdeps/x86_64/multiarch/bzero.S: New file.
71125         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71126         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71127         * sysdeps/x86_64/multiarch/memset.S: New file.
71128         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71130         Set bit_Prefer_SSE_for_memop for Intel processors.
71131         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71132         Define.
71133         (index_Prefer_SSE_for_memop): Define.
71134         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71136 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71138         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71139         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71141 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71143         [BZ #12191]
71144         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71145         (__x86_64_raw_data_cache_size_half): Likewise.
71146         (__x86_64_raw_shared_cache_size): Likewise.
71147         (__x86_64_raw_shared_cache_size_half): Likewise.
71149         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71150         (__x86_64_raw_data_cache_size_half): Likewise.
71151         (__x86_64_raw_shared_cache_size): Likewise.
71152         (__x86_64_raw_shared_cache_size_half): Likewise.
71153         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71154         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71155         and __x86_64_raw_shared_cache_size_half.  Round
71156         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71157         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71158         to multiple of 256 bytes.
71160 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71162         [BZ #12167]
71163         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71164         of inacessible symlinks.  Verify result of symlink before returning it.
71165         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71166         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71168 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71170         * math/math.h (isinf): Fix typo in comment.
71172 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71174         * po/da.po: Update from translation team.
71176 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71178         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71179         is added to the list.
71181 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71182             Ulrich Drepper  <drepper@gmail.com>
71184         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71185         the global list here.  Move code to...
71186         (_dl_add_to_namespace_list): ...here.  New function.
71187         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71188         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71189         * elf/dl-load.c (lose): Don't remove the element from the list.
71190         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71191         (_dl_map_object): Likewise.
71193 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71195         [BZ #12159]
71196         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71197         into all bytes of SSE register.
71198         Patch by Richard Li <richardpku@gmail.com>.
71200 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71202         [BZ #12140]
71203         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71204         perturbing.
71206 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71208         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71209         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71210         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71211         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71213         submachine.
71214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71216 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71218         * include/dlfcn.h (__RTLD_SECURE): Define.
71219         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71220         mode & __RTLD_SECURE instead.
71221         (open_path): Rename preloaded parameter to secure.
71222         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71223         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71224         * elf/dl-deps.c (openaux): Likewise.
71225         * elf/rtld.c (struct map_args): Remove is_preloaded.
71226         (map_doit): Don't use it.
71227         (dl_main): Likewise.
71228         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71229         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71231 2010-09-09  Andreas Schwab  <schwab@redhat.com>
71233         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71234         (sysd-rules-targets): Remove duplicates.
71235         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71236         rtld-%.$o dependency.
71238 2010-10-18  Andreas Schwab  <schwab@redhat.com>
71240         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71241         _dl_map_object do it.
71243 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
71245         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71246         fast fma builtins, define the macros in the C99 standard.
71247         (FP_FAST_FMAF): Likewise.
71248         (FP_FAST_FMAL): Likewise.
71249         * sysdeps/x86_64/bits/mathdef.h: Likewise.
71251         * bits/mathdef.h: Update copyright year.
71252         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71254 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
71256         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71257         builtins, define the macros in the C99 standard.
71258         (FP_FAST_FMAF): Likewise.
71259         (FP_FAST_FMAL): Likewise.
71260         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71261         multiply/add.
71262         (FP_FAST_FMAF): Likewise.
71264 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
71266         [BZ #3268]
71267         * math/libm-test.inc (fma_test): Some new testcases.
71268         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71269         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71270         y and infinite z.  Do multiplication by C already in long double.
71271         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71273         y and infinite z.  Do bitwise or of inexact bit into u.d.
71274         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71275         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71276         * sysdeps/i386/fpu/s_fma.S: Removed.
71277         * sysdeps/i386/fpu/s_fmal.S: Removed.
71279 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
71281         [BZ #3268]
71282         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71283         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71284         computation is not scheduled after fetestexcept.  Fix value
71285         of minimum denormal long double.
71287 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
71289         [BZ #3268]
71290         * math/libm-test.inc (fma_test): Add some more tests.
71291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71292         correctly.
71294 2010-10-15  Andreas Schwab  <schwab@redhat.com>
71296         * scripts/data/localplt-s390-linux-gnu.data: New file.
71297         * scripts/data/localplt-s390x-linux-gnu.data: New file.
71299 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
71301         [BZ #3268]
71302         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71303         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71304         instead of dbl-64.
71305         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71306         inlines.
71307         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71309         if one of x and y is very large and the other is subnormal.
71310         * sysdeps/s390/fpu/s_fmaf.c: New file.
71311         * sysdeps/s390/fpu/s_fma.c: New file.
71312         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71313         * sysdeps/powerpc/fpu/s_fma.S: New file.
71314         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71315         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71316         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71318 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
71320         [BZ #3268]
71321         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71322         fma tests.
71323         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71324         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71325         * sysdeps/i386/i686/multiarch/s_fma.c: Include
71326         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71327         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71328         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71329         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71331 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
71333         [BZ #12078]
71334         * posix/regcomp.c (parse_branch): One more memory leak plugged.
71335         * posix/bug-regex31.input: Add test case.
71337 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71339         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71340         * posix/bug-regex31.input: New file.
71342         [BZ #12078]
71343         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71344         (parse_sub_exp): Fix last change, use postorder.
71346         * posix/bug-regex31.c: New file.
71347         * posix/Makefile: Add rules to build and run bug-regex31.
71349         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71351         [BZ #12078]
71352         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71354         [BZ #12108]
71355         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71356         to have entries in sys_siglist.
71358         [BZ #12093]
71359         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71360         be NULL.
71362 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
71364         [BZ #3268]
71365         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71366         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71367         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71368         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71369         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71370         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71371         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71372         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71373         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71374         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71375         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71376         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71377         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71378         * math/ftestexcept.c (fetestexcept): Likewise.
71379         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71380         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71381         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71382         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71383         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71384         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71385         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71387 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71389         [BZ #12107]
71390         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71391         newline.
71393 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71395         * string/bug-strstr1.c: New file.
71396         * string/Makefile: Add rules to build and run bug-strstr1.
71398 2010-10-05  Eric Blake  <eblake@redhat.com>
71400         [BZ #12092]
71401         * string/str-two-way.h (two_way_long_needle): Always clear memory
71402         when skipping input due to the shift table.
71404 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71406         [BZ #12005]
71407         * malloc/mcheck.c: Handle large requests.
71409         [BZ #12077]
71410         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71411         for strncmp and strncasecmp.
71412         * string/stratcliff.c: Add tests for strcmp and strncmp.
71413         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71415 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71417         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71418         __set_fpscr.
71420 2010-09-30  Andreas Jaeger  <aj@suse.de>
71422         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71423         (CGROUP_SUPER_MAGIC): Define.
71424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71425         Handle btrfs and cgroup file systems.
71426         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71427         Likewise.
71429 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71431         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71432         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71434 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71436         [BZ #12067]
71437         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71438         trying to locate the ELF header.
71440 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71442         [BZ #11611]
71443         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71444         Mask out sign-bit copies when constructing f_fsid.
71446 2010-09-24  Petr Baudis <pasky@suse.cz>
71448         * debug/stack_chk_fail_local.c: Add missing licence exception.
71449         * debug/warning-nop.c: Likewise.
71451 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71453         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71454         implementing getdents64 using getdents syscall, set d_type if
71455         __ASSUME_GETDENTS32_D_TYPE.
71457 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71459         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71460         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71462 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71464         [BZ #12037]
71465         * posix/unistd.h: Undo change of feature selection for ftruncate from
71466         2010-01-11.
71468 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71470         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71471         detection.
71473 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71475         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71476         fanotify_mark.
71477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71479 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71481         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71482         variables after CHECK_SP call.
71483         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71485 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71486             Ulrich Drepper  <drepper@redhat.com>
71488         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71489         re-relocationg ld.so.
71490         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71491         _dl_init_paths call.
71492         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71493         here anymore.
71495 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71497         * resolv/res_init.c (__res_vinit): Count the default server we added.
71499 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71500             Ulrich Drepper  <drepper@redhat.com>
71502         [BZ #11968]
71503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71504         (____longjmp_chk): Use %ebx for saving value across system call.
71505         Add unwind info.
71507 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71509         * manual/Makefile: Don't mix pattern rules with normal rules.
71511 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71513         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71514         operation.
71515         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71516         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71517         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71518         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71520         Likewise.
71522 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71524         [BZ #11979]
71525         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71526         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71528 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71530         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71531         * sysdeps/x86_64/addmul_1.S: Likewise.
71532         * sysdeps/x86_64/lshift.S: Likewise.
71533         * sysdeps/x86_64/mul_1.S: Likewise.
71534         * sysdeps/x86_64/rshift.S: Likewise.
71535         * sysdeps/x86_64/sub_n.S: Likewise.
71536         * sysdeps/x86_64/submul_1.S: Likewise.
71538 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71540         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71541         Define __sched_param instead of SCHED_* and sched_param when
71542         <bits/sched.h> is included with __need_schedparam defined.
71543         * bits/sched.h [__need_schedparam]
71544         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71545         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71546         (__defined_schedparam): Define to 1.
71547         (__sched_param): New structure, identical to sched_param.
71548         (__need_schedparam): Undefine.
71550 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71552         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71553         (epoll_create1): Declare.
71555         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71557 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71559         [BZ #7066]
71560         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71561         shifting retval into place.
71563 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71565         * nis/rpcsvc/nis.h: Update copyright notice.
71566         * nis/rpcsvc/nis.x: Likewise.
71567         * nis/rpcsvc/nis_callback.h: Likewise.
71568         * nis/rpcsvc/nis_callback.x: Likewise.
71569         * nis/rpcsvc/nis_object.x: Likewise.
71570         * nis/rpcsvc/nis_tags.h: Likewise.
71571         * nis/rpcsvc/yp.h: Likewise.
71572         * nis/rpcsvc/yp.x: Likewise.
71573         * nis/rpcsvc/ypupd.h: Likewise.
71574         * nis/yp_xdr.c: Likewise.
71575         * nis/ypupdate_xdr.c: Likewise.
71577         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71578         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71579         (pmap_getport): Use __libc_rpc_getport.
71580         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71581         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71582         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71584 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71587         fanotify_mark.
71589 2010-08-27  Roland McGrath  <roland@redhat.com>
71591         * sysdeps/i386/i686/multiarch/Makefile
71592         (CFLAGS-varshift.c): New variable.
71594 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71596         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71597         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71599         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71601         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71603 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71605         * sysdeps/x86_64/strlen.S: Unroll the loop.
71606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71607         strlen-sse2 strlen-sse2-bsf.
71608         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71609         __strlen_no_bsf if bit_Slow_BSF is set.
71610         (__strlen_sse42): Removed.
71611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71612         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71614 2010-08-25  Roland McGrath  <roland@redhat.com>
71616         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71617         * sysdeps/x86_64/multiarch/varshift.c: New file.
71618         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71619         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71620         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71621         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71623 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71625         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71626         strlen-sse2 strlen-sse2-bsf.
71627         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71628         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71629         (__strlen_sse2): Removed.
71630         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71631         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71633         bit_Slow_BSF for Atom.
71634         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71635         (index_Slow_BSF): Define.
71636         (HAS_SLOW_BSF): Define.
71638 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71640         [BZ #10851]
71641         * resolv/res_init.c (__res_vinit): When no server address at all
71642         is given default to loopback.
71644 2010-08-24  Roland McGrath  <roland@redhat.com>
71646         * configure.in: Remove config-name.h generation.
71647         * configure: Regenerated.
71648         * config-name.in: File removed.
71649         * scripts/config-uname.sh: New file.
71650         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71651         ($(objdir)config-name.h): New target.
71653         * sunrpc/rpc_parse.h: Avoid nested comment.
71655 2010-08-24  Richard Henderson  <rth@redhat.com>
71656             Ulrich Drepper  <drepper@redhat.com>
71657             H.J. Lu  <hongjiu.lu@intel.com>
71659         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71661         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71662         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71663         _mm_alignr_epi8 with _mm_loadu_si128.
71664         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71665         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71666         (__m128i_shift_right): Removed.
71667         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71668         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71669         * sysdeps/x86_64/multiarch/varshift.h: New file.
71670         * sysdeps/x86_64/multiarch/varshift.S: New file.
71672 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71674         * configure.in: Move assembler checks to before sysdep dir checking.
71676 2010-08-20  Petr Baudis  <pasky@suse.cz>
71678         * LICENSES: Sync the sunrpc license.
71680 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71682         * sunrpc/auth_des.c: Update copyright notice once again.
71683         * sunrpc/auth_none.c: Likewise.
71684         * sunrpc/auth_unix.c: Likewise.
71685         * sunrpc/authdes_prot.c: Likewise.
71686         * sunrpc/authuxprot.c: Likewise.
71687         * sunrpc/bindrsvprt.c: Likewise.
71688         * sunrpc/clnt_gen.c: Likewise.
71689         * sunrpc/clnt_perr.c: Likewise.
71690         * sunrpc/clnt_raw.c: Likewise.
71691         * sunrpc/clnt_simp.c: Likewise.
71692         * sunrpc/clnt_tcp.c: Likewise.
71693         * sunrpc/clnt_udp.c: Likewise.
71694         * sunrpc/clnt_unix.c: Likewise.
71695         * sunrpc/des_crypt.c: Likewise.
71696         * sunrpc/des_soft.c: Likewise.
71697         * sunrpc/get_myaddr.c: Likewise.
71698         * sunrpc/getrpcport.c: Likewise.
71699         * sunrpc/key_call.c: Likewise.
71700         * sunrpc/key_prot.c: Likewise.
71701         * sunrpc/openchild.c: Likewise.
71702         * sunrpc/pm_getmaps.c: Likewise.
71703         * sunrpc/pm_getport.c: Likewise.
71704         * sunrpc/pmap_clnt.c: Likewise.
71705         * sunrpc/pmap_prot.c: Likewise.
71706         * sunrpc/pmap_prot2.c: Likewise.
71707         * sunrpc/pmap_rmt.c: Likewise.
71708         * sunrpc/rpc/auth.h: Likewise.
71709         * sunrpc/rpc/auth_unix.h: Likewise.
71710         * sunrpc/rpc/clnt.h: Likewise.
71711         * sunrpc/rpc/des_crypt.h: Likewise.
71712         * sunrpc/rpc/key_prot.h: Likewise.
71713         * sunrpc/rpc/netdb.h: Likewise.
71714         * sunrpc/rpc/pmap_clnt.h: Likewise.
71715         * sunrpc/rpc/pmap_prot.h: Likewise.
71716         * sunrpc/rpc/pmap_rmt.h: Likewise.
71717         * sunrpc/rpc/rpc.h: Likewise.
71718         * sunrpc/rpc/rpc_des.h: Likewise.
71719         * sunrpc/rpc/rpc_msg.h: Likewise.
71720         * sunrpc/rpc/svc.h: Likewise.
71721         * sunrpc/rpc/svc_auth.h: Likewise.
71722         * sunrpc/rpc/types.h: Likewise.
71723         * sunrpc/rpc/xdr.h: Likewise.
71724         * sunrpc/rpc_clntout.c: Likewise.
71725         * sunrpc/rpc_cmsg.c: Likewise.
71726         * sunrpc/rpc_common.c: Likewise.
71727         * sunrpc/rpc_cout.c: Likewise.
71728         * sunrpc/rpc_dtable.c: Likewise.
71729         * sunrpc/rpc_hout.c: Likewise.
71730         * sunrpc/rpc_main.c: Likewise.
71731         * sunrpc/rpc_parse.c: Likewise.
71732         * sunrpc/rpc_parse.h: Likewise.
71733         * sunrpc/rpc_prot.c: Likewise.
71734         * sunrpc/rpc_sample.c: Likewise.
71735         * sunrpc/rpc_scan.c: Likewise.
71736         * sunrpc/rpc_scan.h: Likewise.
71737         * sunrpc/rpc_svcout.c: Likewise.
71738         * sunrpc/rpc_tblout.c: Likewise.
71739         * sunrpc/rpc_util.c: Likewise.
71740         * sunrpc/rpc_util.h: Likewise.
71741         * sunrpc/rpcinfo.c: Likewise.
71742         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71743         * sunrpc/rpcsvc/key_prot.x: Likewise.
71744         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71745         * sunrpc/rpcsvc/mount.x: Likewise.
71746         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71747         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71748         * sunrpc/rpcsvc/rex.x: Likewise.
71749         * sunrpc/rpcsvc/rstat.x: Likewise.
71750         * sunrpc/rpcsvc/rusers.x: Likewise.
71751         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71752         * sunrpc/rpcsvc/spray.x: Likewise.
71753         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71754         * sunrpc/rtime.c: Likewise.
71755         * sunrpc/svc.c: Likewise.
71756         * sunrpc/svc_auth.c: Likewise.
71757         * sunrpc/svc_authux.c: Likewise.
71758         * sunrpc/svc_raw.c: Likewise.
71759         * sunrpc/svc_run.c: Likewise.
71760         * sunrpc/svc_simple.c: Likewise.
71761         * sunrpc/svc_tcp.c: Likewise.
71762         * sunrpc/svc_udp.c: Likewise.
71763         * sunrpc/svc_unix.c: Likewise.
71764         * sunrpc/svcauth_des.c: Likewise.
71765         * sunrpc/xcrypt.c: Likewise.
71766         * sunrpc/xdr.c: Likewise.
71767         * sunrpc/xdr_array.c: Likewise.
71768         * sunrpc/xdr_float.c: Likewise.
71769         * sunrpc/xdr_mem.c: Likewise.
71770         * sunrpc/xdr_rec.c: Likewise.
71771         * sunrpc/xdr_ref.c: Likewise.
71772         * sunrpc/xdr_sizeof.c: Likewise.
71773         * sunrpc/xdr_stdio.c: Likewise.
71775         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71776         handling.
71778 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71780         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71782 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71784         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71785         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71786         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71787         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71788         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71789         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71790         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71791         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71792         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71793         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71794         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71795         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71796         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71797         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71799 2010-07-26  Anton Blanchard  <anton@samba.org>
71801         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71802         * malloc/arena.c (heap_trim): Likewise.
71804 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71806         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71807         here.  Not...
71808         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71809         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71811 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71813         * sysdeps/i386/elf/Makefile: New file.
71815 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71817         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71818         from fanotify_init.
71819         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71822 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71824         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71825         of strncasecmp_l.
71826         * sysdeps/multiarch/strcmp.S: Likewise.
71828 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71830         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71831         strncase_l-nonascii.
71832         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71833         Add strncase_l-ssse3.
71834         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71835         * sysdeps/x86_64/strcmp.S: Likewise.
71836         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71837         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71838         * sysdeps/x86_64/strncase.S: New file.
71839         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71840         * sysdeps/x86_64/strncase_l.S: New file.
71841         * string/Makefile (strop-tests): Add strncasecmp.
71842         * string/test-strncasecmp.c: New file.
71844         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71845         warning.
71847         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71848         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71850 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71852         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71854 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71856         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71857         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71858         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71860 2010-05-01  Alan Modra  <amodra@gmail.com>
71862         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71863         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71864         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71865         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71866         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71867         tidying.  Don't tail-call __sigjmp_save for static lib.
71868         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71869         save location.
71870         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71871         (CALL_MCOUNT): Add eh info, and nop after bl.
71872         (TAIL_CALL_SYSCALL_ERROR): New macro.
71873         (PSEUDO_RET): Use it.
71874         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71875         Correct save location of integer regs and cr.
71876         (_dl_profile_resolve): Correct cr save location.  Delete nops
71877         after bl when SHARED.  Reduce cfi size a little by better
71878         placement of cfi directives.
71879         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71880         make a stack frame.  Instead use parm save area as a temp.
71881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71882         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71884         Don't make a stack frame for parent, use parm save area.
71885         Increase child stack frame to 112 bytes.  Don't save unused reg,
71886         and adjust reg usage.  Set up cfi on error recovery and
71887         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71889         (__makecontext): Add dummy nop after jump to exit.
71890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71891         Use correct parm save area and cr save, reduce stack frame.
71892         Correct cfi for possible PSEUDO_RET frame setup.
71893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71894         Branch to local label emitted by PSEUDO_RET rather than
71895         __syscall_error.
71897 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71899         [BZ #11904]
71900         * locale/programs/locale.c (print_assignment): New function.
71901         (show_locale_vars): Use it.
71903 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71905         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71906         field.
71907         (struct statfs64): Likewise.
71908         (_STATFS_F_FLAGS): Define.
71909         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71910         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71911         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71912         (ST_VALID): Define locally.
71913         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71914         __statvfs_getflags, use the provided value.
71915         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71916         __ASSUME_STATFS_F_FLAGS.
71918         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71920         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71921         Add sys/fanotify.h.
71922         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71923         fanotify_mask for GLIBC_2.13.
71924         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71925         fanotify_init and fanotify_mark.
71926         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71927         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71929         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71930         Add prlimit.
71931         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71932         prlimit64 for GLIBC_2.13.
71933         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71934         prlimit64.
71935         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71936         syscall.
71937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71938         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71939         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71940         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71941         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71942         add prlimit alias.
71943         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71945         [BZ #11903]
71946         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71947         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71949         * nss/Makefile: Add rules to build and run tst-nss-test1.
71950         * shlib-versions: Add entry for libnss_test1.
71951         * nss/nss_test1.c: New file.
71952         * nss/tst-nss-test1.c: New file.
71954         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71955         (__nss_configure_lookup): Set appropriate entry in
71956         __nss_configure_lookup to true.
71957         * nss/nsswitch.h: Define enum with indeces of databases in
71958         databases and __nss_database_custom arrays.  Declare
71959         __nss_database_custom.
71960         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71961         to avoid using nscd when custom rules are installed.
71962         * nss/getXXbyYY_r.c: Likewise.
71963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71965         * nss/nss_files/files-parse.c: Whitespace fixes.
71967 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71969         [BZ #11883]
71970         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71971         * posix/fnmatch_loop.c: Likewise.
71973 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71975         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71976         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71977         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71978         * Versions.def [GLIBC_2.13]: Add.
71980 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71982         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71983         Also fail if tpwd after pwuid call is NULL.
71985 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71987         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71988         when converting to ms.
71990 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71992         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71993         EOPNOTSUPP errors with ENOTTY.
71994         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71995         EOPNOTSUPP errors with ENOTTY.
71997 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71999         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72000         Add strcasecmp_l-ssse3.
72001         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72002         strcasecmp.
72003         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72004         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72005         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72007 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72009         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72011         * string/Makefile (strop-tests): Add strcasecmp.
72012         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72013         strcasecmp_l-nonascii.
72014         (gen-as-const-headers): Add locale-defines.sym.
72015         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72016         * sysdeps/x86_64/strcasecmp.S: New file.
72017         * sysdeps/x86_64/strcasecmp_l.S: New file.
72018         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72019         * sysdeps/x86_64/locale-defines.sym: New file.
72020         * string/test-strcasecmp.c: New file.
72022         * string/test-strcasestr.c: Test both ends of the range of characters.
72023         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72025 2010-07-29  Roland McGrath  <roland@redhat.com>
72027         [BZ #11856]
72028         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72030 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72032         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72033         for ld.so.
72035 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72037         * manual/memory.texi (Malloc Tunable Parameters): Document
72038         M_PERTURB.
72040 2010-07-26  Roland McGrath  <roland@redhat.com>
72042         [BZ #11840]
72043         * configure.in (-fgnu89-inline check): Set and substitute
72044         gnu89_inline, not libc_cv_gnu89_inline.
72045         * configure: Regenerated.
72046         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72048 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72050         * string/test-strnlen.c: New file.
72051         * string/Makefile (strop-tests): Add strnlen.
72052         * string/tester.c (test_strnlen): Add a few more test cases.
72053         * string/tst-strlen.c: Better error reporting.
72055         * sysdeps/x86_64/strnlen.S: New file.
72057 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72059         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72060         lower-latency instructions.
72062 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72064         * string/test-strcasestr.c: New file.
72065         * string/test-strstr.c: New file.
72066         * string/Makefile (strop-tests): Add strstr and strcasestr.
72067         * string/str-two-way.h: Don't undefine MAX.
72068         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72070 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72072         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72073         strcasestr-nonascii.
72074         (CFLAGS-strcasestr-nonascii.c): Define.
72075         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72076         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72077         Remove unused attribute.
72079 2010-07-20  Roland McGrath  <roland@redhat.com>
72081         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72082         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72083         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72084         like LD_HWCAP_MASK can disable hwcaps.
72086 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72088         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72090 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72092         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72093         call in strcasestr.
72094         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72095         __strcasestr_sse42_nonascii.
72096         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72097         strcasestr-nonascii.c.
72098         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72100 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72102         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72103         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72104         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72105         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72107 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72109         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72110         fcntl.
72112 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72114         [BZ #11577]
72115         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72116         dl_signal_cerror.
72118 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72120         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72121         _PC_PIPE_BUF using F_GETPIPE_SZ.
72123 2010-07-05  Roland McGrath  <roland@redhat.com>
72125         * manual/arith.texi (Rounding Functions): Fix rint description
72126         implicit in round description.
72128 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72130         * elf/Makefile: Fix linking for a few tests to make recent linker
72131         happy.
72133 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72135         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72136         $(common-objpfx)libc_nonshared.a.
72138 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72140         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72141         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72142         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72143         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72144         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72145         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72146         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72147         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72162         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72163         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72164         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72165         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72166         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72167         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72168         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72169         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72170         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72171         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72172         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72173         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72189 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72191         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72192         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72193         * string/memmove.c (memmove): Renamed to ...
72194         (MEMMOVE): ...this.  Default to memmove.
72195         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72196         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72197         (END_CHK): Define.
72198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72199         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72200         mempcpy-ssse3-back memmove-ssse3-back.
72201         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72202         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72204         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72205         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72206         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72207         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72208         * sysdeps/x86_64/multiarch/memmove.c: New file.
72209         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72210         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72211         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72212         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72213         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72214         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72215         Define.
72216         (index_Fast_Copy_Backward): Define.
72217         (HAS_ARCH_FEATURE): Define.
72218         (HAS_FAST_REP_STRING): Define.
72219         (HAS_FAST_COPY_BACKWARD): Define.
72221 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72223         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72224         Restore proper fallback handling.
72226 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
72228         [BZ #11701]
72229         * posix/group_member.c (__group_member): Correct checking loop.
72231         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72232         OOM in getpwuid_r correctly.  Return error number when the caller
72233         should return, otherwise -1.
72234         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72235         call returning > 0 value.
72236         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72238 2010-06-07  Andreas Schwab  <schwab@redhat.com>
72240         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72241         libc_nonshared.a from targets in modules-names.
72243 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
72245         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72246         requires it.
72248 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
72250         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72251         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72252         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72253         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72255 2010-06-02  Andreas Schwab  <schwab@redhat.com>
72257         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72259 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
72261         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72262         and F_GETPIPE_SZ.
72263         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72264         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72265         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72266         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72267         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72268         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
72270 2010-06-14  Roland McGrath  <roland@redhat.com>
72272         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72274 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
72276         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72277         __REDIRECT followed by __THROW.
72278         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72279         * posix/getopt.h (getopt): Likewise.
72281 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72283         * hurd/lookup-at.c (__file_name_lookup_at): Accept
72284         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
72285         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72286         in AT_FLAGS.
72287         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72288         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72290 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
72292         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72294 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
72296         [BZ #11640]
72297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72298         Properly check family and model.
72300 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
72302         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72304 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
72306         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72308 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
72310         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72311         symbol reference.
72313 2010-05-19  Andreas Schwab  <schwab@redhat.com>
72315         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72316         symbol reference.
72318 2010-05-21  Andreas Schwab  <schwab@redhat.com>
72320         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72321         and internal_recvmmsg.
72322         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72323         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72324         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72325         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72327         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72328         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72329         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72331 2010-05-20  Andreas Schwab  <schwab@redhat.com>
72333         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72335 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
72337         POWER7 optimizations.
72338         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72339         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72341 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
72343         * version.h: Update for 2.13 development version.
72345 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
72347         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72348         exceptions.  Return 0.
72350 2010-05-07  Roland McGrath  <roland@redhat.com>
72352         * elf/ldconfig.c (main): Add a const.
72354 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
72356         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72357         (args_options): Add no-idn option.
72358         (ahosts_keys_int): Add idn_flags to ai_flags.
72359         (parse_option): Handle 'i' option to clear idn_flags.
72361         * malloc/malloc.c (_int_free): Possible race in the most recently
72362         added check.  Only act on the data if no current modification
72363         happened.
72365 See ChangeLog.17 for earlier changes.